Function at 0x6b540a20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
mov edi, edx
push esi
push ebx
mov ebx, eax
sub esp, 0x10c
mov eax, dword [esp + 0x124]
mov esi, dword [esp + 0x12c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0x48], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [esp + 0xfc], eax
xor eax, eax
test esi, esi
mov eax, sym.libcrypto_1_1.dll_PKCS12_key_gen_utf8
cmove esi, eax
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OBJ_obj2nid
cmp eax, 0x15
jne 0x6b540d08
mov eax, dword [ebx]
mov dword [esp + 0x30], 1
mov edx, dword [eax + 4]
mov ecx, dword [edx + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx]
mov edx, dword [eax + 8]
mov dword [esp + 0x40], ecx
test edx, edx
je 0x6b540aac
mov dword [esp], edx
call sym.libcrypto_1_1.dll_ASN1_INTEGER_get
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
lea edx, [esp + 0x54]
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov eax, dword [eax]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_X509_SIG_get0
mov eax, dword [esp + 0x54]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x58]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_X509_ALGOR_get0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OBJ_obj2nid
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OBJ_nid2sn
mov dword [esp], eax
call sym.libcrypto_1_1.dll_EVP_get_digestbyname
mov ebx, eax
test eax, eax
je 0x6b540d90
mov dword [esp], eax
call sym.libcrypto_1_1.dll_EVP_MD_size
mov dword [esp], ebx
mov dword [esp + 0x38], eax
mov ebp, eax
call sym.libcrypto_1_1.dll_EVP_MD_type
mov edx, eax
xor eax, eax
test ebp, ebp
js 0x6b540bfe
lea eax, [edx - 0x3d6]
cmp eax, 1
jbe 0x6b540c20
cmp edx, 0x329
je 0x6b540c20
lea eax, [esp + 0x5c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 3
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call esi
test eax, eax
je 0x6b540dc8
call sym.libcrypto_1_1.dll_HMAC_CTX_new
mov ebp, eax
xor eax, eax
test ebp, ebp
je 0x6b540bda
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_HMAC_Init_ex
test eax, eax
jne 0x6b540d40
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], 0x40
mov dword [esp], eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
mov dword [esp], ebp
call sym.libcrypto_1_1.dll_HMAC_CTX_free
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0xfc]
xor edi, dword [sym.imp.libssp_0.dll___stack_chk_guard]
jne 0x6b540e49
add esp, 0x10c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.LEGACY_GOST_PKCS12
call sym._ossl_safe_getenv
mov ebp, eax
test eax, eax
jne 0x6b540b4d
mov eax, dword [esp + 0x30]
lea esi, [esp + 0x9c]
mov dword [esp + 0x18], 0x60
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call sym.libcrypto_1_1.dll_PKCS5_PBKDF2_HMAC
test eax, eax
je 0x6b540e08
mov eax, dword [esp + 0xdc]
mov dword [esp + 4], 0x60
mov dword [esp], esi
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x78], eax
call sym.libcrypto_1_1.dll_OPENSSL_cleanse
lea eax, [esp + 0x5c]
mov dword [esp + 0x38], 0x20
mov dword [esp + 0x4c], eax
jmp 0x6b540ba1
mov dword [esp + 0x10], 0x5c
mov dword [esp + 0xc], str.crypto_pkcs12_p12_mutl.c
mov dword [esp + 8], 0x79
mov dword [esp + 4], 0x6b
mov dword [esp], 0x23
call sym.libcrypto_1_1.dll_ERR_put_error
xor eax, eax
jmp 0x6b540bfe
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
mov dword [esp + 8], ecx
mov eax, dword [eax + 8]
mov dword [esp], ebp
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_HMAC_Update
test eax, eax
je 0x6b540bda
mov eax, dword [esp + 0x48]
mov dword [esp], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call sym.libcrypto_1_1.dll_HMAC_Final
test eax, eax
setne al
movzx eax, al
jmp 0x6b540bda
mov dword [esp + 0x10], 0x69
mov dword [esp + 0xc], str.crypto_pkcs12_p12_mutl.c
mov dword [esp + 8], 0x76
mov dword [esp + 4], 0x6b
mov dword [esp], 0x23
call sym.libcrypto_1_1.dll_ERR_put_error
xor eax, eax
jmp 0x6b540bfe
mov dword [esp + 0x10], 0x7d
xor ebp, ebp
mov dword [esp + 0xc], str.crypto_pkcs12_p12_mutl.c
mov dword [esp + 8], 0x6b
mov dword [esp + 4], 0x6b
mov dword [esp], 0x23
mov dword [esp + 0x30], eax
call sym.libcrypto_1_1.dll_ERR_put_error
mov eax, dword [esp + 0x30]
jmp 0x6b540bda
mov dword [esp + 0x10], 0x77
mov dword [esp + 0xc], str.crypto_pkcs12_p12_mutl.c
mov dword [esp + 8], 0x6b
mov dword [esp + 4], 0x6b
mov dword [esp], 0x23
mov dword [esp + 0x30], eax
call sym.libcrypto_1_1.dll_ERR_put_error
lea eax, [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
jmp 0x6b540bda
call sym.___stack_chk_fail
nop