// // sub_DF8F74 from 0xdf8f74 to 0xdf92c4 (848 bytes) // // 1 xrefs: // > @ 0x12249b0 // // 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_DF8F74(__int64 a1, __int64 *a2, __int64 a3, int a4) { __int64 v4; // x19 int v8; // w23 __int64 v9; // x0 __int64 v10; // x25 char *v11; // x28 char *v12; // x25 __int64 v13; // x19 char *v15; // x25 int v16; // w23 __int64 v17; // x0 __int64 v18; // x24 char *v19; // x28 char *v20; // x24 char *v21; // x24 v4 = *a2; if ( *a2 ) { BIO_printf(a3, "%*s%s:\n", a4, &byte_F288A0, "Autonomous System Numbers"); if ( *(_DWORD *)v4 ) { if ( *(_DWORD *)v4 != 1 ) return 0; v8 = 0; while ( v8 < (int)OPENSSL_sk_num(*(unsigned int **)(v4 + 8)) ) { v9 = OPENSSL_sk_value(*(_QWORD *)(v4 + 8), v8); v10 = v9; if ( *(_DWORD *)v9 ) { if ( *(_DWORD *)v9 != 1 ) return 0; v11 = (char *)i2s_ASN1_INTEGER(0, **(_QWORD **)(v9 + 8)); if ( !v11 ) return 0; BIO_printf(a3, "%*s%s-", a4 + 2, &byte_F288A0, v11); CRYPTO_free(v11, (__int64)"crypto/x509v3/v3_asid.c", 88); v12 = (char *)i2s_ASN1_INTEGER(0, *(_QWORD *)(*(_QWORD *)(v10 + 8) + 8LL)); if ( !v12 ) return 0; BIO_printf(a3, "%s\n", v12); ++v8; CRYPTO_free(v12, (__int64)"crypto/x509v3/v3_asid.c", 92); } else { v15 = (char *)i2s_ASN1_INTEGER(0, *(_QWORD *)(v9 + 8)); if ( !v15 ) return 0; BIO_printf(a3, "%*s%s\n", a4 + 2, &byte_F288A0, v15); ++v8; CRYPTO_free(v15, (__int64)"crypto/x509v3/v3_asid.c", 82); } } } else { BIO_printf(a3, "%*sinherit\n", a4 + 2, &byte_F288A0); } } v13 = a2[1]; if ( v13 ) { BIO_printf(a3, "%*s%s:\n", a4, &byte_F288A0, "Routing Domain Identifiers"); if ( *(_DWORD *)v13 ) { if ( *(_DWORD *)v13 != 1 ) return 0; v16 = 0; while ( v16 < (int)OPENSSL_sk_num(*(unsigned int **)(v13 + 8)) ) { v17 = OPENSSL_sk_value(*(_QWORD *)(v13 + 8), v16); v18 = v17; if ( *(_DWORD *)v17 ) { if ( *(_DWORD *)v17 != 1 ) return 0; v19 = (char *)i2s_ASN1_INTEGER(0, **(_QWORD **)(v17 + 8)); if ( !v19 ) return 0; BIO_printf(a3, "%*s%s-", a4 + 2, &byte_F288A0, v19); CRYPTO_free(v19, (__int64)"crypto/x509v3/v3_asid.c", 88); v20 = (char *)i2s_ASN1_INTEGER(0, *(_QWORD *)(*(_QWORD *)(v18 + 8) + 8LL)); if ( !v20 ) return 0; BIO_printf(a3, "%s\n", v20); ++v16; CRYPTO_free(v20, (__int64)"crypto/x509v3/v3_asid.c", 92); } else { v21 = (char *)i2s_ASN1_INTEGER(0, *(_QWORD *)(v17 + 8)); if ( !v21 ) return 0; BIO_printf(a3, "%*s%s\n", a4 + 2, &byte_F288A0, v21); ++v16; CRYPTO_free(v21, (__int64)"crypto/x509v3/v3_asid.c", 82); } } } else { BIO_printf(a3, "%*sinherit\n", a4 + 2, &byte_F288A0); } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source