// // sub_DFFE04 from 0xdffe04 to 0xdfffdc (472 bytes) // // 1 xrefs: // > @ 0x1225858 // // 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 // int *__fastcall sub_DFFE04(__int64 a1, __int64 a2, unsigned int *a3) { int v4; // w19 int *v5; // x24 __int64 v6; // x0 int v7; // w4 int v8; // w5 int v9; // w6 int v10; // w7 __int64 v11; // x2 _QWORD *v12; // x20 char *v13; // x3 char **v14; // x22 int v15; // w2 int v16; // w3 int v17; // w4 int v18; // w5 int v19; // w6 int v20; // w7 char **v21; // x21 _QWORD *v22; // x3 bool v23; // cc int v24; // w1 char vars0; // [xsp+0h] [xbp+0h] char vars0a; // [xsp+0h] [xbp+0h] v4 = 0; v5 = (int *)OPENSSL_sk_new_null(); if ( v5 ) { while ( 1 ) { v23 = v4 < (int)OPENSSL_sk_num(a3); v24 = v4++; if ( !v23 ) return v5; v6 = OPENSSL_sk_value((__int64)a3, v24); v11 = *(_QWORD *)(v6 + 16); v12 = (_QWORD *)v6; if ( !v11 || (v13 = *(char **)(v6 + 8)) == nullptr ) { v21 = nullptr; ERR_put_error(34, 145, 110, (__int64)"crypto/x509v3/v3_pmaps.c", 82); v14 = nullptr; ERR_add_error_data(6, "section:", *v12, ",name:", v12[1], ",value:", v12[2]); goto LABEL_13; } v14 = OBJ_txt2obj(v13, 0, v11, (int)v13, v7, v8, v9, v10, vars0); v21 = OBJ_txt2obj((char *)v12[2], 0, v15, v16, v17, v18, v19, v20, vars0a); if ( !v21 || !v14 ) { ERR_put_error(34, 145, 110, (__int64)"crypto/x509v3/v3_pmaps.c", 90); ERR_add_error_data(6, "section:", *v12, ",name:", v12[1], ",value:", v12[2]); goto LABEL_13; } v22 = (_QWORD *)POLICY_MAPPING_new(); if ( !v22 ) break; *v22 = v14; v22[1] = v21; OPENSSL_sk_push(v5, (__int64)v22); } ERR_put_error(34, 145, 65, (__int64)"crypto/x509v3/v3_pmaps.c", 96); LABEL_13: ASN1_OBJECT_free((__int64)v14); ASN1_OBJECT_free((__int64)v21); OPENSSL_sk_pop_free(v5, (void (__fastcall *)(__int64))POLICY_MAPPING_free); return nullptr; } else { ERR_put_error(34, 145, 65, (__int64)"crypto/x509v3/v3_pmaps.c", 74); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source