// // EVP_PKEY_asn1_find_str from 0xd689d4 to 0xd68ad8 (260 bytes) // // 10 xrefs: // > ssl_load_ciphers @ 0xd3c948 // > ssl_load_ciphers @ 0xd3c9b8 // > ssl_load_ciphers @ 0xd3ca24 // > ssl_load_ciphers @ 0xd3ca90 // > ssl_load_ciphers @ 0xd3caf8 // > EVP_PKEY_set_type_str @ 0xdac368 // > PEM_bytes_read_bio @ 0xdc8968 // > PEM_bytes_read_bio @ 0xdc8b5c // > PEM_read_bio_PrivateKey @ 0xdc8e6c // > @ 0x75648 // // 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_PKEY_asn1_find_str(_QWORD *a1, char *a2, unsigned int a3) { unsigned int v3; // w22 __int64 str; // x20 int v8; // w19 bool v9; // cc int v10; // w0 __int64 v11; // x0 __int64 v12; // x20 const char *v13; // x21 __int64 v14; // [xsp+48h] [xbp+48h] BYREF v3 = a3; if ( a3 == -1 ) v3 = strlen(a2); if ( a1 ) { str = ENGINE_pkey_asn1_find_str(&v14, a2, v3); if ( str ) { if ( !(unsigned int)ENGINE_init(v14) ) str = 0; ENGINE_free(v14); *a1 = v14; return str; } *a1 = 0; } v8 = 0; while ( 1 ) { v9 = v8 < (int)EVP_PKEY_asn1_get_count(); v10 = v8++; if ( !v9 ) return 0; v11 = EVP_PKEY_asn1_get0(v10); v12 = v11; if ( (*(_QWORD *)(v11 + 8) & 1) == 0 ) { v13 = *(const char **)(v11 + 16); if ( v3 == (unsigned int)strlen(v13) && !strncasecmp(v13, a2, (int)v3) ) break; } } return v12; }
GD Web Decomp Icon

GD Web Decomp

Raw Source