// // ssl_cipher_disabled from 0xd56100 to 0xd56200 (256 bytes) // // 4 xrefs: // > SSL_get1_supported_ciphers @ 0xd40c64 // > tls_construct_client_hello @ 0xd48f60 // > tls_process_server_hello @ 0xd495e8 // > @ 0x540d8 // // 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 ssl_cipher_disabled(__int64 a1, _DWORD *a2, unsigned int a3) { unsigned int v3; // w4 _DWORD *v4; // x3 int v5; // w5 int v6; // w4 bool v7; // cc int v8; // w4 int v9; // w3 v3 = 1; v4 = *(_DWORD **)(a1 + 144); if ( (v4[203] & a2[5]) != 0 ) return v3; if ( (v4[204] & a2[6]) != 0 ) return v3; v5 = v4[206]; if ( !v5 ) return v3; if ( (*(_DWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 8) + 192LL) + 104LL) & 8) == 0 ) { if ( v5 >= a2[9] && a2[10] >= v4[205] ) return (unsigned int)ssl_security(a1, a3, a2[15], 0, (__int64)a2) == 0; return v3; } v6 = a2[11]; if ( v6 != 256 ) { if ( v5 == 256 ) v5 = 65280; LABEL_8: v7 = v5 <= v6; v3 = 1; if ( !v7 ) return v3; goto LABEL_10; } v6 = 65280; if ( v5 != 256 ) goto LABEL_8; LABEL_10: v8 = a2[12]; v9 = v4[205]; if ( v8 == 256 ) { v8 = 65280; if ( v9 == 256 ) return (unsigned int)ssl_security(a1, a3, a2[15], 0, (__int64)a2) == 0; } else if ( v9 == 256 ) { v9 = 65280; } v7 = v9 < v8; v3 = 1; if ( !v7 ) return (unsigned int)ssl_security(a1, a3, a2[15], 0, (__int64)a2) == 0; return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source