// // EVP_CIPHER_param_to_asn1 from 0xdaa800 to 0xdaa900 (256 bytes) // // 8 xrefs: // > sub_D869F4 @ 0xd86c14 // > sub_D8B4C0 @ 0xd8b848 // > PKCS7_dataInit @ 0xdcc74c // > CMS_add0_recipient_password @ 0xe20a04 // > PKCS5_pbe2_set_iv @ 0xe72c28 // > PKCS5_pbe2_set_scrypt @ 0xe72f04 // > cms_EncryptedContent_init_bio @ 0xe7b318 // > @ 0x79ed8 // // 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 EVP_CIPHER_param_to_asn1(__int64 a1, __int64 a2) { unsigned int (*v3)(void); // x19 unsigned int v5; // w20 __int64 v7; // x0 unsigned __int64 v8; // x3 unsigned int **v9; // x0 v3 = *(unsigned int (**)(void))(*(_QWORD *)a1 + 56LL); if ( v3 ) return v3(); if ( (*(_QWORD *)(*(_QWORD *)a1 + 16LL) & 0x1000) != 0 ) { v7 = EVP_CIPHER_CTX_cipher(a1); v8 = EVP_CIPHER_flags(v7) & 0xF0007; if ( v8 != 65537 ) { if ( v8 <= 0x10001 ) { if ( v8 - 6 > 1 ) return EVP_CIPHER_set_asn1_iv(a1, a2); } else { if ( v8 == 65538 ) { v9 = (unsigned int **)a1; v5 = 1; if ( (unsigned int)EVP_CIPHER_CTX_nid(v9) == 246 ) ASN1_TYPE_set(a2, 5, 0); return v5; } if ( v8 != 65539 ) return EVP_CIPHER_set_asn1_iv(a1, a2); } } } return 0xFFFFFFFFLL; }
GD Web Decomp Icon

GD Web Decomp

Raw Source