// // PKCS12_item_i2d_encrypt from 0xe65ed4 to 0xe66010 (316 bytes) // // 3 xrefs: // > PKCS12_pack_p7encdata @ 0xe65898 // > PKCS8_set0_pbe @ 0xe66044 // > @ 0x450c0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall PKCS12_item_i2d_encrypt( __int64 *a1, __int64 a2, const char *a3, unsigned int a4, __int64 a5, int a6) { __int64 v11; // x19 int v12; // w20 _BYTE *v15; // [xsp+58h] [xbp+58h] BYREF v15 = nullptr; v11 = ASN1_OCTET_STRING_new(); if ( !v11 ) { ERR_put_error(35, 108, 65, (__int64)"crypto/pkcs12/p12_decr.c", 134); LABEL_9: ASN1_OCTET_STRING_free(v11); return 0; } v12 = ASN1_item_i2d(a5, (__int64 *)&v15, a2); if ( !v15 ) { ERR_put_error(35, 108, 102, (__int64)"crypto/pkcs12/p12_decr.c", 139); goto LABEL_9; } if ( !PKCS12_pbe_crypt(a1, a3, a4, v15, v12, (char **)(v11 + 8), (_DWORD *)v11, 1u) ) { ERR_put_error(35, 108, 103, (__int64)"crypto/pkcs12/p12_decr.c", 144); CRYPTO_free(v15, (__int64)"crypto/pkcs12/p12_decr.c", 145); goto LABEL_9; } if ( a6 ) OPENSSL_cleanse(v15, v12); CRYPTO_free(v15, (__int64)"crypto/pkcs12/p12_decr.c", 150); return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source