// // sub_D9E48C from 0xd9e48c to 0xd9e54c (192 bytes) // // 1 xrefs: // > ENGINE_pkey_asn1_find_str @ 0xd9e94c // // 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_D9E48C(__int64 result, __int64 a2, __int64 a3, __int64 a4) { __int64 v4; // x19 unsigned int v6; // w25 bool v8; // cc __int64 v9; // x23 __int64 v10; // x22 const char *v11; // x21 int v12; // w2 __int64 v13; // [xsp+58h] [xbp+58h] BYREF v4 = *(_QWORD *)(a4 + 8); if ( !v4 ) { v6 = result; while ( 1 ) { v8 = (int)v4 < (int)OPENSSL_sk_num(a2); result = a2; if ( !v8 ) break; v9 = OPENSSL_sk_value(a2, (unsigned int)v4); LODWORD(v4) = v4 + 1; (*(void (__fastcall **)(__int64, __int64 *, _QWORD, _QWORD))(v9 + 80))(v9, &v13, 0, v6); v10 = v13; v11 = *(const char **)(v13 + 16); v12 = strlen(v11); if ( v12 == *(_DWORD *)(a4 + 24) ) { result = strncasecmp(v11, *(const char **)(a4 + 16), v12); if ( !(_DWORD)result ) { *(_QWORD *)a4 = v9; *(_QWORD *)(a4 + 8) = v10; return result; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source