// // sub_D9CC10 from 0xd9cc10 to 0xd9ce54 (580 bytes) // // 2 xrefs: // > ENGINE_set_default_string @ 0xd9cf44 // > ENGINE_set_default_string @ 0xd9cf70 // // 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_D9CC10(const char *a1, int a2, _DWORD *a3) { const char *v3; // x19 size_t v5; // x20 const char *v6; // x0 v3 = a1; if ( !a1 ) return (unsigned int)v3; v5 = a2; if ( !strncmp(a1, "ALL", a2) ) { *a3 |= 0xFFFFu; return 1; } else if ( !strncmp(v3, "RSA", v5) ) { *a3 |= 1u; return 1; } else { if ( strncmp(v3, "DSA", v5) ) { if ( !strncmp(v3, "DH", v5) ) { LODWORD(v3) = 1; *a3 |= 4u; } else if ( !strncmp(v3, "EC", v5) ) { LODWORD(v3) = 1; *a3 |= 0x800u; } else if ( !strncmp(v3, "RAND", v5) ) { LODWORD(v3) = 1; *a3 |= 8u; } else if ( !strncmp(v3, "CIPHERS", v5) ) { LODWORD(v3) = 1; *a3 |= 0x40u; } else if ( !strncmp(v3, "DIGESTS", v5) ) { LODWORD(v3) = 1; *a3 |= 0x80u; } else if ( !strncmp(v3, "PKEY", v5) ) { LODWORD(v3) = 1; *a3 |= 0x600u; } else if ( !strncmp(v3, "PKEY_CRYPTO", v5) ) { LODWORD(v3) = 1; *a3 |= 0x200u; } else { v6 = v3; LODWORD(v3) = 0; if ( !strncmp(v6, "PKEY_ASN1", v5) ) { LODWORD(v3) = 1; *a3 |= 0x400u; } } return (unsigned int)v3; } *a3 |= 2u; return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source