// // sub_DCC434 from 0xdcc434 to 0xdcc53c (264 bytes) // // 2 xrefs: // > PKCS7_dataInit @ 0xdcc640 // > PKCS7_dataInit @ 0xdcc668 // // 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 sub_DCC434(__int64 *a1, __int64 *a2) { __int64 v3; // x0 _QWORD *v4; // x19 unsigned int v5; // w0 char *v6; // x0 __int64 digestbyname; // x3 v3 = BIO_f_md(); v4 = (_QWORD *)BIO_new(v3); if ( v4 ) { v5 = OBJ_obj2nid(*a2); v6 = OBJ_nid2sn(v5); digestbyname = EVP_get_digestbyname((__int64)v6); if ( digestbyname ) { BIO_ctrl((__int64)v4, 0x6Fu, 0, digestbyname); if ( !*a1 ) { *a1 = (__int64)v4; return 1; } if ( BIO_push(*a1, (__int64)v4) ) return 1; ERR_put_error(33, 125, 32, (__int64)"crypto/pkcs7/pk7_doit.c", 74); } else { ERR_put_error(33, 125, 109, (__int64)"crypto/pkcs7/pk7_doit.c", 66); } } else { ERR_put_error(33, 125, 32, (__int64)"crypto/pkcs7/pk7_doit.c", 60); } BIO_free(v4); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source