// // X509V3_EXT_nconf from 0x853d94 to 0x853f50 (444 bytes) // // 3 xrefs: // > X509V3_EXT_add_nconf_sk @ 0x8542d0 // > X509V3_EXT_conf @ 0x85455c // > @ 0x68b9c // // 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 // const char ***__fastcall X509V3_EXT_nconf(int a1, int a2, char *a3, char *a4) { char *v5; // r4 size_t v8; // r9 const char *v9; // r0 int v10; // t1 int v11; // r7 const char *v12; // lr int v13; // r3 int v14; // t1 const char ***result; // r0 char *v16; // r0 v5 = a4; v8 = strlen(a4); if ( v8 <= 8 ) { v11 = 0; } else { if ( strncmp(v5, "critical,", 9u) ) { v11 = 0; goto LABEL_7; } v9 = v5 + 9; if ( (*(_BYTE *)(ctype_ + (unsigned __int8)v5[9] + 1) & 8) != 0 ) { do v10 = *(unsigned __int8 *)++v9; while ( (*(_BYTE *)(ctype_ + v10 + 1) & 8) != 0 ); } v5 = (char *)v9; v11 = 1; v8 = strlen(v9); } if ( v8 <= 3 ) { LABEL_15: v16 = OBJ_sn2nid((int)a3); result = sub_8539DC(a1, a2, (unsigned int)v16, v11, v5); if ( !result ) { ERR_put_error(34, 152, 128, (int)"crypto/x509v3/v3_conf.c", 47); ERR_add_error_data(4, "name=", a3, ", value=", v5); return nullptr; } return result; } LABEL_7: if ( !strncmp(v5, "DER:", 4u) ) { v12 = v5 + 4; v13 = 1; } else { if ( v8 == 4 || strncmp(v5, "ASN1:", 5u) ) goto LABEL_15; v12 = v5 + 5; v13 = 2; } if ( (*(_BYTE *)(ctype_ + *(unsigned __int8 *)v12 + 1) & 8) != 0 ) { do v14 = *(unsigned __int8 *)++v12; while ( (*(_BYTE *)(ctype_ + v14 + 1) & 8) != 0 ); } return sub_853810(a3, v12, v11, v13, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source