// // sub_E025BC from 0xe025bc to 0xe027c8 (524 bytes) // // 1 xrefs: // > @ 0x1131b50 // // 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_E025BC(__int64 a1, __int64 a2, unsigned int *a3) { int v4; // w20 int *v5; // x24 unsigned __int64 v6; // x21 __int64 v7; // x0 __int64 v8; // x19 __int64 v9; // x0 const char *v10; // x19 _QWORD *v11; // x22 __int64 v12; // x2 int *v13; // x0 char *v15; // [xsp+68h] [xbp+68h] BYREF v4 = 0; v5 = (int *)OPENSSL_sk_new_null(); if ( v5 ) { while ( 1 ) { if ( v4 >= (int)OPENSSL_sk_num(a3) ) return v5; v9 = OPENSSL_sk_value((__int64)a3, v4); v10 = *(const char **)(v9 + 16); v11 = (_QWORD *)v9; if ( v10 ) { if ( !strcasecmp(*(const char **)(v9 + 16), "status_request") ) goto LABEL_13; } else { v10 = *(const char **)(v9 + 8); if ( !strcasecmp(v10, "status_request") ) { LABEL_13: v12 = 0; goto LABEL_14; } } if ( !strcasecmp(v10, "status_request_v2") ) { v12 = 1; LABEL_14: v6 = *((_QWORD *)&unk_1131AB0 + 2 * v12); v7 = ASN1_INTEGER_new(); v8 = v7; if ( !v7 ) { LABEL_15: ERR_put_error(34, 165, 65, (__int64)"crypto/x509v3/v3_tlsf.c", 126); v13 = v5; v5 = nullptr; OPENSSL_sk_pop_free(v13, (void (__fastcall *)(__int64))ASN1_INTEGER_free); return v5; } goto LABEL_9; } v6 = strtol(v10, &v15, 10); if ( v10 == v15 || *v15 || v6 > 0xFFFF ) { ERR_put_error(34, 165, 143, (__int64)"crypto/x509v3/v3_tlsf.c", 118); ERR_add_error_data(6, "section:", *v11, ",name:", v11[1], ",value:", v11[2]); OPENSSL_sk_pop_free(v5, (void (__fastcall *)(__int64))ASN1_INTEGER_free); return nullptr; } v7 = ASN1_INTEGER_new(); v8 = v7; if ( !v7 ) goto LABEL_15; LABEL_9: ++v4; ASN1_INTEGER_set(v7, v6); OPENSSL_sk_push(v5, v8); } } ERR_put_error(34, 165, 65, (__int64)"crypto/x509v3/v3_tlsf.c", 98); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source