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

Disassembly:
mov eax, 0x4c
call fcn.10228380
mov eax, dword [0x1033b254]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
push ebx
mov dword [esp + 0x20], eax
xor ebx, ebx
mov eax, dword [esp + 0x68]
push ebp
mov dword [esp + 0x2c], eax
xor ebp, ebp
mov eax, dword [esp + 0x70]
push esi
mov dword [esp + 0x2c], eax
xor esi, esi
mov eax, dword [esp + 0x78]
push edi
xor edi, edi
mov dword [esp + 0x20], esi
and eax, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], eax
nop dword [eax + eax]
push 0xfe
push str.cryptopempem_lib.c
test eax, eax
je 0x1016168e
push 0
push esi
call sym.libcrypto_3.dll_CRYPTO_secure_clear_free
push 0xff
push str.cryptopempem_lib.c
push 0
push edi
call sym.libcrypto_3.dll_CRYPTO_secure_clear_free
push 0x100
push str.cryptopempem_lib.c
push ebp
push ebx
call sym.libcrypto_3.dll_CRYPTO_secure_clear_free
add esp, 0x30
jmp 0x101616b7
push esi
call sym.libcrypto_3.dll_CRYPTO_free
push 0xff
push str.cryptopempem_lib.c
push edi
call sym.libcrypto_3.dll_CRYPTO_free
push 0x100
push str.cryptopempem_lib.c
push ebx
call sym.libcrypto_3.dll_CRYPTO_free
add esp, 0x24
push dword [esp + 0x7c]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x40]
call sym.libcrypto_3.dll_PEM_read_bio_ex
add esp, 0x18
test eax, eax
je 0x10161820
push dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push esi
call fcn.10160b90
add esp, 8
test eax, eax
jne 0x1016170d
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x10161650
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
push ebp
call sym.libcrypto_3.dll_PEM_get_EVP_CIPHER_INFO
mov edi, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x1016176e
push dword [esp + 0x30]
lea eax, [esp + 0x14]
push dword [esp + 0x38]
push eax
lea eax, [esp + 0x50]
push edi
push eax
call sym.libcrypto_3.dll_PEM_do_header
add esp, 0x14
test eax, eax
je 0x1016176e
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
mov dword [eax], edi
mov eax, dword [esp + 0x3c]
mov dword [eax], ebx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10161760
mov dword [eax], esi
mov dword [esp + 0x24], 1
test eax, eax
jne 0x1016178e
jmp 0x10161772
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x14], 0
push 0x116
push str.cryptopempem_lib.c
je 0x101617ad
push 0
push esi
call sym.libcrypto_3.dll_CRYPTO_secure_clear_free
add esp, 0x10
mov esi, dword [esp + 0x14]
test esi, esi
je 0x101617ba
push 0x117
push str.cryptopempem_lib.c
push 0
push ebp
call sym.libcrypto_3.dll_CRYPTO_secure_clear_free
add esp, 0x10
jmp 0x101617cd
push esi
call sym.libcrypto_3.dll_CRYPTO_free
mov esi, dword [esp + 0x20]
add esp, 0xc
push 0x117
push str.cryptopempem_lib.c
push ebp
call sym.libcrypto_3.dll_CRYPTO_free
add esp, 0xc
mov ebp, dword [esp + 0x24]
test ebp, ebp
jne 0x1016180b
push 0x119
push str.cryptopempem_lib.c
test esi, esi
je 0x10161802
push ebx
push edi
call sym.libcrypto_3.dll_CRYPTO_secure_clear_free
add esp, 0x10
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1022836f
add esp, 0x4c
ret
push edi
call sym.libcrypto_3.dll_CRYPTO_free
add esp, 0xc
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1022836f
add esp, 0x4c
ret
call sym.libcrypto_3.dll_ERR_peek_error
test eax, eax
mov ecx, 0x7fffff
mov edx, bind
cmovs ecx, edx
and ecx, eax
cmp ecx, 0x6c
jne 0x1016184e
push dword [esp + 0x28]
push str.Expecting:
push 2
call sym.libcrypto_3.dll_ERR_add_error_data
add esp, 0xc
mov ecx, dword [esp + 0x58]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1022836f
add esp, 0x4c
ret