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

Disassembly:
mov eax, 0x60
call fcn.10086e00
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x74]
xor esi, esi
cmp edi, esi
jne 0x100749e6
push 0x54
push str..cryptopkcs12p12_npas.c
push 0x69
jmp 0x10074d44
mov eax, dword [esp + 0x78]
push 0xffffffffffffffff
push eax
push edi
call sym.LIBEAY32.dll_PKCS12_verify_mac
add esp, 0xc
test eax, eax
jne 0x10074a08
push 0x5b
push str..cryptopkcs12p12_npas.c
push 0x71
jmp 0x10074d44
push edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], esi
call sym.LIBEAY32.dll_PKCS12_unpack_authsafes
mov ebx, eax
add esp, 4
cmp ebx, esi
mov dword [esp + 0x2c], ebx
je 0x10074d3b
call sym.LIBEAY32.dll_sk_new_null
mov ebp, eax
cmp ebp, esi
mov dword [esp + 0x30], ebp
je 0x10074d3b
push ebx
mov dword [esp + 0x1c], esi
call sym.LIBEAY32.dll_sk_num
add esp, 4
test eax, eax
jle 0x10074c80
mov ecx, dword [esp + 0x18]
push ecx
push ebx
call sym.LIBEAY32.dll_sk_value
mov esi, eax
mov edx, dword [esi + 0x10]
push edx
call sym.LIBEAY32.dll_OBJ_obj2nid
mov ebp, eax
add esp, 0xc
cmp ebp, 0x15
mov dword [esp + 0x44], ebp
jne 0x10074a8c
push esi
call sym.LIBEAY32.dll_PKCS12_unpack_p7data
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
jmp 0x10074afe
cmp ebp, 0x1a
jne 0x10074c62
mov eax, dword [esp + 0x78]
push 0xffffffffffffffff
push eax
push esi
call sym.LIBEAY32.dll_PKCS12_unpack_p7encdata
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 4]
mov edi, dword [edx + 4]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 4]
lea edx, [esp + 0x40]
mov ecx, dword [eax]
push ecx
push edx
push 0
call sym.LIBEAY32.dll_d2i_PBEPARAM
mov esi, eax
mov eax, dword [edi]
push eax
call sym.LIBEAY32.dll_OBJ_obj2nid
mov ecx, dword [esi + 4]
mov dword [esp + 0x44], eax
push ecx
call sym.LIBEAY32.dll_ASN1_INTEGER_get
mov edx, dword [esi]
mov dword [esp + 0x40], eax
push esi
mov eax, dword [edx]
mov dword [esp + 0x48], eax
call sym.LIBEAY32.dll_PBEPARAM_free
mov esi, dword [esp + 0x34]
add esp, 0x24
test esi, esi
je 0x10074d5d
xor edi, edi
push esi
mov dword [esp + 0x20], edi
call sym.LIBEAY32.dll_sk_num
add esp, 4
test eax, eax
jle 0x10074c05
push edi
push esi
call sym.LIBEAY32.dll_sk_value
mov ebx, eax
mov ecx, dword [ebx]
push ecx
call sym.LIBEAY32.dll_OBJ_obj2nid
add esp, 0xc
cmp eax, 0x97
jne 0x10074beb
mov edx, dword [esp + 0x78]
mov eax, dword [ebx + 4]
push 0xffffffffffffffff
push edx
push eax
call sym.LIBEAY32.dll_PKCS8_decrypt
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
je 0x10074d1e
mov ecx, dword [ebx + 4]
mov edi, dword [ecx]
mov eax, dword [edi + 4]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x38]
mov eax, dword [edx]
push eax
push ecx
push 0
call sym.LIBEAY32.dll_d2i_PBEPARAM
mov edx, dword [edi]
mov esi, eax
push edx
call sym.LIBEAY32.dll_OBJ_obj2nid
mov edi, eax
mov eax, dword [esi + 4]
push eax
call sym.LIBEAY32.dll_ASN1_INTEGER_get
mov ecx, dword [esi]
push esi
mov ebp, eax
mov edx, dword [ecx]
mov dword [esp + 0x58], edx
call sym.LIBEAY32.dll_PBEPARAM_free
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x94]
push eax
push ebp
push ecx
push 0
push 0xffffffffffffffff
push edx
push 0
push edi
call sym.LIBEAY32.dll_PKCS8_encrypt
mov esi, eax
add esp, 0x38
test esi, esi
je 0x10074d1a
mov eax, dword [ebx + 4]
push eax
call sym.LIBEAY32.dll_X509_SIG_free
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x20]
mov dword [ebx + 4], esi
mov esi, dword [esp + 0x14]
add esp, 4
inc edi
push esi
mov dword [esp + 0x20], edi
call sym.LIBEAY32.dll_sk_num
add esp, 4
cmp edi, eax
jl 0x10074b1d
mov ebx, dword [esp + 0x2c]
cmp ebp, 0x15
push esi
jne 0x10074c15
call sym.LIBEAY32.dll_PKCS12_pack_p7data
add esp, 4
jmp 0x10074c38
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push 0
push 0xffffffffffffffff
push eax
push ecx
call sym.LIBEAY32.dll_PKCS12_pack_p7encdata
add esp, 0x1c
push sym.LIBEAY32.dll_PKCS12_SAFEBAG_free
push esi
mov edi, eax
call sym.LIBEAY32.dll_sk_pop_free
add esp, 8
test edi, edi
je 0x10074d5d
mov edx, dword [esp + 0x30]
push edi
push edx
call sym.LIBEAY32.dll_sk_push
mov edi, dword [esp + 0x7c]
add esp, 8
mov esi, dword [esp + 0x18]
push ebx
inc esi
mov dword [esp + 0x1c], esi
call sym.LIBEAY32.dll_sk_num
add esp, 4
cmp esi, eax
jl 0x10074a57
mov ebp, dword [esp + 0x30]
push sym.LIBEAY32.dll_PKCS7_free
push ebx
call sym.LIBEAY32.dll_sk_pop_free
mov ecx, dword [edi + 8]
add esp, 8
mov esi, dword [ecx + 0x14]
call sym.LIBEAY32.dll_ASN1_OCTET_STRING_new
mov edx, dword [edi + 8]
mov dword [edx + 0x14], eax
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x10074cf9
push ebp
push edi
call sym.LIBEAY32.dll_PKCS12_pack_authsafes
add esp, 8
test eax, eax
je 0x10074cf9
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x4c]
push ecx
push edx
push 0xffffffffffffffff
push eax
push edi
call sym.LIBEAY32.dll_PKCS12_gen_mac
add esp, 0x14
test eax, eax
je 0x10074cf9
call sym.LIBEAY32.dll_ASN1_OCTET_STRING_new
test eax, eax
mov dword [esp + 0x14], eax
je 0x10074cf9
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x4c]
push ecx
push edx
push eax
call sym.LIBEAY32.dll_ASN1_OCTET_STRING_set
add esp, 0xc
test eax, eax
jne 0x10074d6d
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x14]
push edx
call sym.LIBEAY32.dll_ASN1_OCTET_STRING_free
mov eax, dword [esp + 0x18]
push eax
call sym.LIBEAY32.dll_ASN1_OCTET_STRING_free
mov ecx, dword [edi + 8]
add esp, 8
mov dword [ecx + 0x14], esi
jmp 0x10074d3b
mov esi, dword [esp + 0x10]
push sym.LIBEAY32.dll_PKCS12_SAFEBAG_free
push esi
call sym.LIBEAY32.dll_sk_pop_free
mov eax, dword [esp + 0x34]
push sym.LIBEAY32.dll_PKCS7_free
push eax
call sym.LIBEAY32.dll_sk_pop_free
add esp, 0x10
push 0x60
push str..cryptopkcs12p12_npas.c
push 0x72
push 0x80
push 0x23
call sym.LIBEAY32.dll_ERR_put_error
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
push sym.LIBEAY32.dll_PKCS7_free
push ebx
call sym.LIBEAY32.dll_sk_pop_free
add esp, 8
jmp 0x10074d3b
mov edx, dword [edi + 4]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
push ecx
call sym.LIBEAY32.dll_ASN1_OCTET_STRING_free
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x18]
push esi
mov eax, dword [edx]
mov dword [eax + 4], ecx
call sym.LIBEAY32.dll_ASN1_OCTET_STRING_free
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret