// // sub_B9EBB4 from 0xb9ebb4 to 0xb9edb8 (516 bytes) // // 2 xrefs: // > sub_B7756C @ 0xb77764 // > sub_B7756C @ 0xb77900 // // 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_B9EBB4(__int64 *a1, unsigned __int8 a2, __int64 a3, const char *a4) { __int64 v4; // x27 int v5; // w28 char **v7; // x25 char *v8; // x23 __int64 *v9; // x26 char *v10; // x24 __int64 v11; // x19 __int64 v12; // x4 char *v13; // x0 char *v14; // x22 unsigned int v15; // w20 __int64 result; // x0 const char *v17; // x1 void *p; // [xsp+70h] [xbp+70h] BYREF char v20; // [xsp+78h] [xbp+78h] BYREF v4 = *a1; v5 = a2; if ( a2 ) { v7 = (char **)(a1 + 132); v8 = (char *)a1[49]; v9 = (__int64 *)(v4 + 35768); v10 = (char *)a1[50]; v11 = v4 + 35864; off_1231008((void *)a1[132]); *v7 = nullptr; if ( v8 ) goto LABEL_3; } else { v8 = (char *)a1[67]; v10 = (char *)a1[68]; v7 = (char **)(a1 + 135); v9 = (__int64 *)(v4 + 35704); v11 = v4 + 35832; off_1231008((void *)a1[135]); *v7 = nullptr; if ( v8 ) { LABEL_3: if ( v10 ) goto LABEL_4; LABEL_17: v12 = *v9; v10 = &byte_F288A0; if ( *v9 ) goto LABEL_5; LABEL_18: *(_BYTE *)(v11 + 24) = v12; return (unsigned int)v12; } } v8 = &byte_F288A0; if ( !v10 ) goto LABEL_17; LABEL_4: v12 = *v9; if ( !*v9 ) goto LABEL_18; LABEL_5: if ( *(_BYTE *)(v11 + 26) && (v13 = strchr(a4, 63)) != nullptr ) { v14 = sub_B8F880("%.*s", (int)v13 - (int)a4, a4); if ( !v14 ) return 27; } else { v14 = off_1231018(a4); if ( !v14 ) return 27; } v15 = sub_BB352C(v4, v8, v10, a3, v14, v9, &p, &v20); off_1231008(v14); result = v15; if ( v15 ) return result; if ( v5 ) v17 = "Proxy-"; else v17 = &byte_F288A0; *v7 = sub_B8F880("%sAuthorization: Digest %s\r\n", v17, (const char *)p); off_1231008(p); if ( *v7 ) { *(_BYTE *)(v11 + 24) = 1; return 0; } return 27; }
GD Web Decomp Icon

GD Web Decomp

Raw Source