// // EVP_PKEY2PKCS8 from 0x803e84 to 0x803f88 (260 bytes) // // 5 xrefs: // > i2d_PKCS8PrivateKeyInfo_fp @ 0x848a30 // > i2d_PKCS8PrivateKeyInfo_bio @ 0x848b3c // > i2d_PrivateKey @ 0x8674b0 // > sub_8BAB28 @ 0x8bab44 // > @ 0x6383c // // 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 // int __fastcall EVP_PKEY2PKCS8(int a1) { int v2; // r4 int v3; // r3 int (*v4)(void); // r3 v2 = PKCS8_PRIV_KEY_INFO_new(); if ( v2 ) { v3 = *(_DWORD *)(a1 + 12); if ( v3 ) { v4 = *(int (**)(void))(v3 + 40); if ( v4 ) { if ( v4() ) { RAND_add(*(_DWORD *)(*(_DWORD *)(v2 + 8) + 8), **(_DWORD **)(v2 + 8), 0, 0); return v2; } ERR_put_error(6, 113, 146, (int)"crypto/evp/evp_pkey.c", 72); } else { ERR_put_error(6, 113, 144, (int)"crypto/evp/evp_pkey.c", 76); } } else { ERR_put_error(6, 113, 118, (int)"crypto/evp/evp_pkey.c", 80); } PKCS8_PRIV_KEY_INFO_free(v2); return 0; } else { ERR_put_error(6, 113, 65, (int)"crypto/evp/evp_pkey.c", 65); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source