- fix bug and memory leak in last patch
- implement CryptUnregisterOIDFunction - add stubs for CryptEncodeObject(Ex)/CryptDecodeObject(Ex)