// // tls_process_cert_status from 0xd4a410 to 0xd4a590 (384 bytes) // // 2 xrefs: // > ossl_statem_client_process_message @ 0xd4c2e0 // > @ 0x83148 // // 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 tls_process_cert_status(__int64 a1, const void **a2) { unsigned __int8 *v3; // x0 unsigned __int8 *v5; // x2 unsigned __int8 *v6; // x1 int v7; // t1 unsigned int v8; // w2 unsigned __int8 *v10; // x1 __int64 v11; // x3 __int64 v12; // x0 unsigned __int64 v13; // x21 size_t v14; // x21 void *v15; // x0 unsigned __int8 *v16; // x1 v3 = (unsigned __int8 *)a2[1]; if ( v3 && (v5 = (unsigned __int8 *)*a2, v6 = (unsigned __int8 *)*a2, v7 = *v6, *a2 = v6 + 1, a2[1] = v3 - 1, v7 == 1) ) { if ( (unsigned __int64)(v3 - 1) > 2 && (v10 = v3 - 4, v11 = v5[1], v12 = v5[3], v13 = (unsigned __int64)v5[2] << 8, *a2 = v5 + 4, a2[1] = v10, v14 = v13 | (v11 << 16) | v12, (unsigned __int8 *)v14 == v10) ) { v15 = (void *)CRYPTO_malloc(v14, "ssl/statem/statem_clnt.c", 1991); *(_QWORD *)(a1 + 632) = v15; if ( v15 ) { if ( v14 <= (unsigned __int64)a2[1] ) { memcpy(v15, *a2, v14); v16 = (unsigned __int8 *)a2[1]; *a2 = (char *)*a2 + v14; a2[1] = &v16[-v14]; *(_DWORD *)(a1 + 640) = v14; return 3; } ERR_put_error(20, 362, 159, "ssl/statem/statem_clnt.c", 1999); v8 = 50; } else { ERR_put_error(20, 362, 65, "ssl/statem/statem_clnt.c", 1994); v8 = 80; } } else { ERR_put_error(20, 362, 159, "ssl/statem/statem_clnt.c", 1988); v8 = 50; } } else { ERR_put_error(20, 362, 329, "ssl/statem/statem_clnt.c", 1982); v8 = 50; } ssl3_send_alert(a1, 2, v8); ossl_statem_set_error(a1); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source