// // X509_STORE_new from 0xde7688 to 0xde775c (212 bytes) // // 7 xrefs: // > ssl_build_cert_chain @ 0xd3b83c // > SSL_CTX_new @ 0xd41514 // > sub_D62540 @ 0xd62594 // > sub_D62828 @ 0xd62884 // > sub_D628A0 @ 0xd628fc // > sub_D62918 @ 0xd6296c // > @ 0xa7598 // // 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 // void *X509_STORE_new() { void *result; // x0 __int64 v1; // x19 _QWORD *v2; // x0 _QWORD *v3; // x0 __int64 v4; // x0 pthread_rwlock_t *v5; // x0 result = CRYPTO_zalloc(&qword_98, (__int64)"crypto/x509/x509_lu.c", 146); v1 = (__int64)result; if ( result ) { v2 = OPENSSL_sk_new((__int64)sub_DE7248); *(_QWORD *)(v1 + 8) = v2; if ( v2 ) { *(_DWORD *)v1 = 1; v3 = OPENSSL_sk_new_null(); *(_QWORD *)(v1 + 16) = v3; if ( v3 ) { v4 = X509_VERIFY_PARAM_new(); *(_QWORD *)(v1 + 24) = v4; if ( !v4 ) { LABEL_10: X509_VERIFY_PARAM_free(v4); OPENSSL_sk_free(*(void ***)(v1 + 8)); OPENSSL_sk_free(*(void ***)(v1 + 16)); CRYPTO_free((void *)v1, (__int64)"crypto/x509/x509_lu.c", 171); return nullptr; } if ( (unsigned int)CRYPTO_new_ex_data(4u, v1, (_QWORD *)(v1 + 128)) ) { v5 = CRYPTO_THREAD_lock_new(); *(_QWORD *)(v1 + 144) = v5; if ( v5 ) { *(_DWORD *)(v1 + 136) = 1; return (void *)v1; } } } } v4 = *(_QWORD *)(v1 + 24); goto LABEL_10; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source