// // sub_100609424 from 0x100609424 to 0x10060964c (552 bytes) // // 2 xrefs: // > sub_100609024 @ 0x100609064 // > sub_10060D874 @ 0x10060d8f0 // // 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 // void **__fastcall sub_100609424(__int64 a1, __int64 a2, void **a3) { char *v3; // x0 char *v4; // x1 char *v5; // x1 char *v6; // x0 int *v7; // x8 unsigned __int8 *v8; // x23 int v9; // w8 __int64 v10; // x24 _BYTE v12[5]; // [xsp+2Bh] [xbp-155h] BYREF void **v13; // [xsp+30h] [xbp-150h] BYREF char __dst[264]; // [xsp+38h] [xbp-148h] BYREF v13 = a3; switch ( *(_DWORD *)a2 ) { case 0: v3 = "othername"; v4 = ""; goto LABEL_19; case 1: v5 = *(char **)(*(_QWORD *)(a2 + 8) + 8LL); v6 = "email"; goto LABEL_9; case 2: v5 = *(char **)(*(_QWORD *)(a2 + 8) + 8LL); v6 = "DNS"; goto LABEL_9; case 3: v3 = "X400Name"; v4 = ""; goto LABEL_19; case 4: sub_1005FF6A4(*(__int64 **)(a2 + 8), __dst, 256); v3 = "DirName"; goto LABEL_18; case 5: v3 = "EdiPartyName"; v4 = ""; goto LABEL_19; case 6: v5 = *(char **)(*(_QWORD *)(a2 + 8) + 8LL); v6 = "URI"; LABEL_9: sub_100606E14(v6, v5, &v13); return v13; case 7: v7 = *(int **)(a2 + 8); v8 = *((unsigned __int8 **)v7 + 1); v9 = *v7; if ( v9 == 16 ) { v10 = 0; __dst[0] = 0; do { sub_1005DD744((__int64)v12, 5u, "%X", v8[v10 + 1] | (v8[v10] << 8)); __strcat_chk(__dst, v12, 256); if ( (_DWORD)v10 == 14 ) break; __strcat_chk(__dst, ":", 256); v10 += 2; } while ( (_DWORD)v10 != 16 ); v3 = "IP Address"; goto LABEL_18; } if ( v9 == 4 ) { sub_1005DD744((__int64)__dst, 0x100u, "%d.%d.%d.%d", *v8, v8[1], v8[2], v8[3]); v3 = "IP Address"; LABEL_18: v4 = __dst; goto LABEL_19; } v3 = "IP Address"; v4 = ""; LABEL_19: sub_100606CE4(v3, v4, &v13); return v13; case 8: sub_1005EE258(__dst, 256, *(_QWORD *)(a2 + 8)); v3 = "Registered ID"; goto LABEL_18; default: return v13; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source