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

Disassembly:
jmp 0x1012a8d0
mov eax, 0x6c
call fcn.101aa6d0
mov eax, dword [0x102745f0]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x80]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x98]
xor ebx, ebx
xor ebp, ebp
xor esi, esi
test eax, eax
mov dword [esp + 0x18], 0x95
cmove eax, dword [esp + 0x18]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x18], 0x92
cmove eax, dword [esp + 0x18]
test edx, edx
mov dword [esp + 0x28], eax
mov eax, 0x800
cmove edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0xa0]
mov eax, 1
test edx, edx
cmove edx, eax
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0xa0], edx
test ecx, ecx
jne 0x1012a9e3
test edi, edi
jne 0x1012aa0e
test eax, eax
jne 0x1012aa62
push 0x3a
push str...cryptopkcs12p12_crt.c
push 0x68
push 0x69
push 0x23
call sym.libcrypto_1_1.dll_ERR_put_error
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.101aa6fb
add esp, 0x6c
ret
test edi, edi
je 0x1012aa62
push ecx
push edi
call sym.libcrypto_1_1.dll_X509_check_private_key
add esp, 8
test eax, eax
je 0x1012a9ce
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
call sym.libcrypto_1_1.dll_EVP_sha1
push eax
push edi
call sym.libcrypto_1_1.dll_X509_digest
add esp, 0x10
lea eax, [esp + 0x10]
push edi
push eax
call sym.libcrypto_1_1.dll_PKCS12_add_cert
mov esi, eax
mov eax, dword [esp + 0x34]
add esp, 8
test eax, eax
je 0x1012aa36
push 0xffffffffffffffff
push eax
push esi
call sym.libcrypto_1_1.dll_PKCS12_add_friendlyname_utf8
add esp, 0xc
test eax, eax
je 0x1012aa51
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1012aa5a
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call sym.libcrypto_1_1.dll_PKCS12_add_localkeyid
add esp, 0xc
test eax, eax
jne 0x1012aa5a
mov esi, dword [esp + 0x10]
jmp 0x1012ac40
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
push eax
xor edi, edi
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
add esp, 4
test eax, eax
jle 0x1012aaa0
mov esi, dword [esp + 0x20]
push edi
push esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_value
push eax
lea eax, [esp + 0x1c]
push eax
call sym.libcrypto_1_1.dll_PKCS12_add_cert
add esp, 0x10
test eax, eax
je 0x1012aa51
push esi
inc edi
call sym.libcrypto_1_1.dll_OPENSSL_sk_num
add esp, 4
cmp edi, eax
jl 0x1012aa75
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1012aacd
push dword [esp + 0x1c]
lea eax, [esp + 0x18]
push dword [esp + 0x1c]
push dword [esp + 0xa0]
push esi
push eax
call sym.libcrypto_1_1.dll_PKCS12_add_safe
mov ebp, dword [esp + 0x28]
add esp, 0x14
test eax, eax
je 0x1012ac40
push sym.libcrypto_1_1.dll_PKCS12_SAFEBAG_free
push esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_pop_free
mov edi, dword [esp + 0x3c]
xor esi, esi
add esp, 8
mov dword [esp + 0x10], esi
test edi, edi
je 0x1012abd5
push dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push dword [esp + 0x3c]
push edi
push eax
call sym.libcrypto_1_1.dll_PKCS12_add_key
mov esi, eax
add esp, 0x18
test esi, esi
je 0x1012aa51
push 0xffffffffffffffff
push 0x1a1
push edi
call sym.libcrypto_1_1.dll_EVP_PKEY_get_attr_by_NID
add esp, 0xc
test eax, eax
js 0x1012ab46
push eax
push edi
call sym.libcrypto_1_1.dll_EVP_PKEY_get_attr
push eax
lea eax, [esi + 8]
push eax
call sym.libcrypto_1_1.dll_X509at_add1_attr
add esp, 0x10
test eax, eax
je 0x1012aa51
push 0xffffffffffffffff
push 0x358
push edi
call sym.libcrypto_1_1.dll_EVP_PKEY_get_attr_by_NID
add esp, 0xc
test eax, eax
js 0x1012ab76
push eax
push edi
call sym.libcrypto_1_1.dll_EVP_PKEY_get_attr
push eax
lea eax, [esi + 8]
push eax
call sym.libcrypto_1_1.dll_X509at_add1_attr
add esp, 0x10
test eax, eax
je 0x1012aa51
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1012ab92
push 0xffffffffffffffff
push eax
push esi
call sym.libcrypto_1_1.dll_PKCS12_add_friendlyname_utf8
add esp, 0xc
test eax, eax
je 0x1012aa51
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1012abb1
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call sym.libcrypto_1_1.dll_PKCS12_add_localkeyid
add esp, 0xc
test eax, eax
je 0x1012aa51
mov esi, dword [esp + 0x10]
test esi, esi
je 0x1012abd5
push 0
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push esi
push eax
call sym.libcrypto_1_1.dll_PKCS12_add_safe
mov ebp, dword [esp + 0x28]
add esp, 0x14
test eax, eax
je 0x1012ac40
push sym.libcrypto_1_1.dll_PKCS12_SAFEBAG_free
push esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_pop_free
push 0x15
xor esi, esi
call sym.libcrypto_1_1.dll_PKCS12_init
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1012ac09
push ebp
push ebx
call sym.libcrypto_1_1.dll_PKCS12_pack_authsafes
add esp, 8
test eax, eax
jne 0x1012ac0d
push ebx
call sym.libcrypto_1_1.dll_PKCS12_free
add esp, 4
xor ebx, ebx
jmp 0x1012ac40
push sym.libcrypto_1_1.dll_PKCS7_free
push ebp
call sym.libcrypto_1_1.dll_OPENSSL_sk_pop_free
mov eax, dword [esp + 0xa8]
add esp, 8
xor ebp, ebp
cmp eax, 0xffffffff
je 0x1012ac74
push ebp
push eax
push ebp
push ebp
push 0xffffffffffffffff
push dword [esp + 0x30]
push ebx
call sym.libcrypto_1_1.dll_PKCS12_set_mac
add esp, 0x1c
test eax, eax
jne 0x1012ac74
push ebx
call sym.libcrypto_1_1.dll_PKCS12_free
push sym.libcrypto_1_1.dll_PKCS7_free
push ebp
call sym.libcrypto_1_1.dll_OPENSSL_sk_pop_free
push sym.libcrypto_1_1.dll_PKCS12_SAFEBAG_free
push esi
call sym.libcrypto_1_1.dll_OPENSSL_sk_pop_free
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.101aa6fb
add esp, 0x6c
ret
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.101aa6fb
add esp, 0x6c
ret