// // tls12_copy_sigalgs from 0x7b1278 to 0x7b1444 (460 bytes) // // 3 xrefs: // > tls_construct_certificate_request @ 0x7aaee0 // > ssl_add_clienthello_tlsext @ 0x7b197c // > @ 0x5d60c // // 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 // _BYTE *__fastcall tls12_copy_sigalgs(int a1, _BYTE *a2, int a3, unsigned int a4) { _BYTE *v8; // r5 int v9; // r10 unsigned int v10; // r4 int v11; // r3 int *v13; // r11 unsigned int v14; // r3 if ( a4 ) { v8 = a2; v9 = a3; v10 = 0; while ( 1 ) { v11 = *(unsigned __int8 *)(a3 + v10); if ( *(_BYTE *)(a3 + v10) ) { switch ( v11 ) { case 1: v13 = dword_A0CD34; LABEL_16: if ( ssl_md(v13[2]) ) { v14 = *(unsigned __int8 *)(v9 + 1); if ( *(_BYTE *)(v9 + 1) ) { if ( v14 <= 3 || v14 - 237 <= 2 ) { if ( ssl_security(a1, 327691) ) { *v8 = *(_BYTE *)(a3 + v10); v8[1] = *(_BYTE *)(v9 + 1); v8 += 2; } } } } break; case 2: v13 = &dword_A0CD44; goto LABEL_16; case 3: v13 = &dword_A0CD54; goto LABEL_16; case 4: v13 = &dword_A0CD64; goto LABEL_16; case 5: v13 = &dword_A0CD74; goto LABEL_16; case 6: v13 = &dword_A0CD84; goto LABEL_16; case 237: v13 = &dword_A0CD94; goto LABEL_16; case 238: v13 = &dword_A0CDA4; goto LABEL_16; case 239: v13 = &dword_A0CDB4; goto LABEL_16; } } v10 += 2; v9 += 2; if ( a4 <= v10 ) return (_BYTE *)(v8 - a2); } } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source