// // SSL_srp_server_param_with_username from 0xd5c568 to 0xd5c638 (208 bytes) // // 2 xrefs: // > tls_post_process_client_hello @ 0xd5157c // > @ 0x56730 // // 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_srp_server_param_with_username(_QWORD *a1, _DWORD *a2) { __int64 (__fastcall *v2)(_QWORD *); // x3 __int64 result; // x0 __int64 v6; // x0 __int64 v7; // x0 _BYTE v8[48]; // [xsp+20h] [xbp+20h] BYREF v2 = (__int64 (__fastcall *)(_QWORD *))a1[100]; *a2 = 115; if ( !v2 || (result = v2(a1), !(_DWORD)result) ) { v6 = a1[104]; *a2 = 80; if ( v6 && a1[105] && a1[106] && a1[111] && (int)RAND_bytes(v8, 48) > 0 ) { a1[110] = BN_bin2bn(v8, 48, 0); OPENSSL_cleanse(v8, 48); v7 = SRP_Calc_B(a1[110], a1[104], a1[105], a1[111]); a1[107] = v7; if ( v7 ) return 0; else return 2; } else { return 2; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source