// // sub_84C4E0 from 0x84c4e0 to 0x84c5a6 (198 bytes) // // 1 xrefs: // > sub_824B7C @ 0x824c76 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:02:28 +0000 // int __fastcall sub_84C4E0(size_t *a1, int a2, _BYTE *a3) { int *v5; // r6 int result; // r0 _BYTE *v7; // r1 int v8; // t1 int v9; // r4 int v10; // r3 v5 = (int *)(a1 + 195); if ( !a2 ) v5 = (int *)(a1 + 189); result = sub_83ACFC("NTLM", a3, 4); if ( result ) { v7 = a3 + 4; if ( a3[4] ) { if ( (*(_BYTE *)((unsigned __int8)a3[4] + ctype_ + 1) & 8) == 0 ) { LABEL_15: result = sub_85106C(*a1, v7, v5); if ( !result ) *v5 = 2; return result; } while ( 1 ) { v8 = (unsigned __int8)*++v7; v9 = ctype_ + v8; if ( !v8 ) break; if ( (*(_BYTE *)(v9 + 1) & 8) == 0 ) goto LABEL_15; } } v10 = *v5; if ( *v5 == 4 ) { sub_8280FC(*a1, "NTLM auth restarted\n"); sub_851BD8(a1 + 189); sub_851BD8(a1 + 195); sub_84C88C(a1); goto LABEL_12; } if ( v10 == 3 ) { sub_8280FC(*a1, "NTLM handshake rejected\n"); sub_851BD8(a1 + 189); sub_851BD8(a1 + 195); sub_84C88C(a1); *v5 = 0; return 9; } else { if ( !v10 ) { LABEL_12: *v5 = 1; return 0; } sub_8280FC(*a1, "NTLM handshake failure (internal error)\n"); return 9; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source