// // OPENSSL_cleanup from 0xdb1cbc to 0xdb1e10 (340 bytes) // // 3 xrefs: // > @ 0xb5a10 // > sub_DB1BF0 @ 0xdb1c18 // > @ 0x122e4d8 // // 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 // __int64 OPENSSL_cleanup() { __int64 result; // x0 _DWORD *local; // x19 __int64 v2; // x19 __int64 v3; // x0 __int64 v4; // x0 __int64 v5; // x0 result = (unsigned int)dword_125F0B8; if ( dword_125F0B8 ) { result = (unsigned int)dword_125F0C0; if ( !dword_125F0C0 ) { dword_125F0C0 = 1; local = (_DWORD *)CRYPTO_THREAD_get_local(&unk_125F0AC); CRYPTO_THREAD_set_local(&unk_125F0AC, 0); if ( local ) { if ( *local ) ASYNC_cleanup_thread(); if ( local[1] ) err_delete_thread_state(); CRYPTO_free(local, "crypto/init.c", 339); } v2 = qword_125F0C8; while ( v2 ) { (*(void (**)(void))v2)(); v3 = v2; v2 = *(_QWORD *)(v2 + 8); CRYPTO_free(v3, "crypto/init.c", 398); } qword_125F0C8 = 0; CRYPTO_THREAD_lock_free(qword_125F0B0); if ( dword_125F068 ) comp_zlib_cleanup_int(); if ( dword_125F080 ) async_deinit(); if ( dword_125F0A4 ) err_free_strings_int(); v4 = CRYPTO_THREAD_cleanup_local(&unk_125F0AC); rand_cleanup_int(v4); conf_modules_free_int(); engine_cleanup_int(); crypto_cleanup_all_ex_data_int(); bio_cleanup(); v5 = evp_cleanup_int(); obj_cleanup_int(v5); result = err_cleanup(); dword_125F0B8 = 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source