// // sub_8021DC from 0x8021dc to 0x802344 (360 bytes) // // 3 xrefs: // > EVP_add_alg_module @ 0x802364 // > EVP_add_alg_module @ 0x80236c // > @ 0x80237c // // 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_8021DC(int a1, int a2) { int value; // r0 int section; // r6 int v5; // r4 int v6; // r0 int v7; // r1 int v8; // r5 int v9; // r9 int v11; // [sp+Ch] [bp-8h] BYREF value = CONF_imodule_get_value(a1); section = NCONF_get_section(a2, value); if ( section ) { v5 = 0; while ( 1 ) { while ( 1 ) { v6 = OPENSSL_sk_num(section); v7 = v5; if ( v5 >= v6 ) return 1; ++v5; v8 = OPENSSL_sk_value(section, v7); v9 = strcmp(*(const char **)(v8 + 4), "fips_mode"); if ( !v9 ) break; ERR_put_error(6, 177, 169, (int)"crypto/evp/evp_cnf.c", 53); ERR_add_error_data(4, "name=", *(_DWORD *)(v8 + 4), ", value=", *(_DWORD *)(v8 + 8)); } if ( !X509V3_get_value_bool(v8, &v11, 169, "crypto/evp/evp_cnf.c") ) break; if ( v11 > 0 ) { ERR_put_error(6, 177, 167, (int)"crypto/evp/evp_cnf.c", 48); return v9; } } ERR_put_error(6, 177, 168, (int)"crypto/evp/evp_cnf.c", 37); return v9; } else { v9 = 0; ERR_put_error(6, 177, 165, (int)"crypto/evp/evp_cnf.c", 29); return v9; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source