// // sub_FDE7BC from 0xfde7bc to 0xfdea78 (700 bytes) // // 2 xrefs: // > SSL_add_ssl_module @ 0xfdec9c // > SSL_add_ssl_module @ 0xfdeca8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:15:36 +0000 // __int64 __fastcall sub_FDE7BC(__int64 a1, __int64 a2) { __int64 value; // x19 __int64 section; // d8 __int64 v6; // x19 __int64 v7; // x0 __int64 v8; // x19 __int64 v9; // d9 __int64 v10; // d11 __int64 v11; // x26 __int64 v12; // x20 __int64 v13; // x27 __int64 v14; // x0 __int64 v15; // x25 __int64 v16; // x0 __int64 v17; // x19 __int64 v18; // x1 __int64 v19; // x20 __int64 v20; // x0 const char *v21; // x23 __int64 v22; // x22 __int64 v23; // x21 char *v24; // x0 __int64 v25; // x0 __int64 v26; // x0 bool v27; // cc value = CONF_imodule_get_value(); section = NCONF_get_section(a2, value); if ( (int)OPENSSL_sk_num(section) <= 0 ) { if ( section ) ERR_put_error(20, 392, 126, "ssl/ssl_mcnf.c", 67); else ERR_put_error(20, 392, 136, "ssl/ssl_mcnf.c", 65); ERR_add_error_data(2, "section=", value); LABEL_20: sub_FDE6B4(); return 0; } v6 = (int)OPENSSL_sk_num(section); v7 = CRYPTO_zalloc(24 * v6, "ssl/ssl_mcnf.c", 72); qword_15662F8 = v7; qword_1566300 = v6; if ( v6 ) { v8 = v7; v9 = 0; v10 = 0; while ( 1 ) { v11 = v8 + v9; v12 = OPENSSL_sk_value(section, (unsigned int)v10); v13 = NCONF_get_section(a2, *(_QWORD *)(v12 + 16)); if ( (int)OPENSSL_sk_num(v13) <= 0 ) { if ( v13 ) ERR_put_error(20, 392, 117, "ssl/ssl_mcnf.c", 83); else ERR_put_error(20, 392, 125, "ssl/ssl_mcnf.c", 81); ERR_add_error_data(4, "name=", *(_QWORD *)(v12 + 8)); goto LABEL_20; } v14 = CRYPTO_strdup(*(_QWORD *)(v12 + 8), "ssl/ssl_mcnf.c", 87); *(_QWORD *)(v8 + v9) = v14; if ( !v14 ) goto LABEL_20; v15 = (int)OPENSSL_sk_num(v13); v16 = CRYPTO_zalloc(16 * v15, "ssl/ssl_mcnf.c", 91); *(_QWORD *)(v11 + 8) = v16; if ( !v16 ) goto LABEL_20; *(_QWORD *)(v11 + 16) = v15; v17 = 0; if ( v15 ) break; LABEL_14: v27 = qword_1566300 > (unsigned __int64)++v10; v9 += 24; if ( !v27 ) return 1; v8 = qword_15662F8; } while ( 1 ) { v18 = (unsigned int)v17; v19 = 16 * v17++; v20 = OPENSSL_sk_value(v13, v18); v21 = *(const char **)(v20 + 8); v22 = v20; v23 = *(_QWORD *)(v11 + 8); v24 = strchr(v21, 46); v25 = v24 ? (__int64)(v24 + 1) : (__int64)v21; *(_QWORD *)(v23 + v19) = CRYPTO_strdup(v25, "ssl/ssl_mcnf.c", 105); v26 = CRYPTO_strdup(*(_QWORD *)(v22 + 16), "ssl/ssl_mcnf.c", 106); *(_QWORD *)(v23 + v19 + 8) = v26; if ( !v26 || !*(_QWORD *)(v23 + v19) ) goto LABEL_20; if ( v15 == v17 ) goto LABEL_14; } } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source