// // sub_DFE508 from 0xdfe508 to 0xdfe71c (532 bytes) // // 2 xrefs: // > sub_DFE71C @ 0xdfe74c // > sub_DFE71C @ 0xdfe764 // // 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_DFE508(unsigned int *a1, __int64 a2, int a3, const char *a4) { int i; // w23 _DWORD **v10; // x19 _DWORD *v11; // x1 int *v12; // x2 int v13; // w20 unsigned __int8 *v14; // x19 int v15; // w22 int j; // w20 int v17; // w2 int v18; // w4 if ( (int)OPENSSL_sk_num(a1) > 0 ) BIO_printf(a2, "%*s%s:\n", a3, &byte_F288A0, a4); for ( i = 0; i < (int)OPENSSL_sk_num(a1); ++i ) { v10 = (_DWORD **)OPENSSL_sk_value((__int64)a1, i); BIO_printf(a2, "%*s", a3 + 2, &byte_F288A0); v11 = *v10; if ( **v10 == 7 ) { v12 = *((int **)v11 + 1); v13 = *v12; v14 = *((unsigned __int8 **)v12 + 1); BIO_puts(a2, (__int64)&unk_F80BF0); if ( v13 == 8 ) { BIO_printf(a2, "%d.%d.%d.%d/%d.%d.%d.%d", *v14, v14[1], v14[2], v14[3], v14[4], v14[5], v14[6], v14[7]); } else { if ( v13 == 32 ) { v15 = 1; for ( j = 0; ; ++j ) { v17 = *v14; v18 = v14[1]; v14 += 2; BIO_printf(a2, "%X", v18 | (v17 << 8)); if ( j == 7 ) { BIO_puts(a2, (__int64)&word_F2A0A8); } else { if ( j == 15 ) goto LABEL_5; BIO_puts(a2, (__int64)":"); if ( v15 == 16 ) goto LABEL_5; } ++v15; } } BIO_printf(a2, "IP Address:"); } } else { GENERAL_NAME_print(a2, (__int64)v11); } LABEL_5: BIO_puts(a2, (__int64)&byte_F1AB78); } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source