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

Disassembly:
mov eax, 0x14
call fcn.1026b810
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
push edi
test ebp, ebp
je 0x10139c90
cmp dword [esp + 0x30], 0
je 0x10139c90
cmp dword [esp + 0x34], 0
je 0x10139c90
push ebp
call fcn.100ffab0
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, 2
jl 0x10139c90
push 1
push ebp
call fcn.100ffd00
push 0
push ebp
mov edi, eax
call fcn.100ffd00
mov ebx, eax
add esp, 0x10
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x10139a30
test ebx, ebx
je 0x10139c90
cmp dword [esi + 0x24], 0
jne 0x10139a3e
test edi, edi
je 0x10139c90
test ebx, ebx
je 0x10139a56
push eax
call fcn.10132110
push 4
push ebx
mov dword [esi + 0x20], ebx
call fcn.101328e0
add esp, 0xc
test edi, edi
je 0x10139a70
push dword [esi + 0x24]
call fcn.10132110
push 4
push edi
mov dword [esi + 0x24], edi
call fcn.101328e0
add esp, 0xc
inc dword [esi + 0x78]
lea edi, [esi + 0x78]
push 0
push ebp
call fcn.100ff6b0
push 0
push ebp
call fcn.100ff6b0
push dword [esp + 0x40]
call fcn.100ffab0
mov ebx, dword [esp + 0x2c]
add esp, 0x14
cmp ebx, eax
jne 0x10139b99
push dword [esp + 0x34]
call fcn.100ffab0
inc eax
add esp, 4
cmp ebx, eax
jne 0x10139b99
push 0
push dword [esp + 0x38]
call fcn.100ffd00
push 1
push dword [esp + 0x3c]
mov dword [esp + 0x24], eax
call fcn.100ffd00
push 0
push dword [esp + 0x44]
mov dword [esp + 0x28], eax
call fcn.100ffd00
mov ecx, dword [esi + 0x28]
add esp, 0x18
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x10139af2
test eax, eax
je 0x10139c90
cmp dword [esi + 0x2c], 0
jne 0x10139b03
cmp dword [esp + 0x10], 0
je 0x10139c90
cmp dword [esi + 0x30], 0
jne 0x10139b14
cmp dword [esp + 0x14], 0
je 0x10139c90
test eax, eax
je 0x10139b30
push ecx
call fcn.10132110
mov eax, dword [esp + 0x20]
push 4
push eax
mov dword [esi + 0x28], eax
call fcn.101328e0
add esp, 0xc
cmp dword [esp + 0x10], 0
je 0x10139b51
push dword [esi + 0x2c]
call fcn.10132110
mov eax, dword [esp + 0x14]
push 4
push eax
mov dword [esi + 0x2c], eax
call fcn.101328e0
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x10139b72
push dword [esi + 0x30]
call fcn.10132110
mov eax, dword [esp + 0x18]
push 4
push eax
mov dword [esi + 0x30], eax
call fcn.101328e0
add esp, 0xc
inc dword [esi + 0x78]
push 0
push dword [esp + 0x34]
call fcn.100ff6b0
push 0
push dword [esp + 0x3c]
call fcn.100ff6b0
push 0
push dword [esp + 0x48]
call fcn.100ff6b0
add esp, 0x18
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x10], eax
cmp ebx, 2
jle 0x10139ca1
push ebx
push 0
call fcn.100ffa40
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10139c90
mov dword [esp + 0x14], 2
push ebp
call fcn.100ffac0
push dword [esp + 0x34]
mov edi, eax
mov dword [esp + 0x28], edi
call fcn.100ffac0
push dword [esp + 0x3c]
mov ebx, eax
call fcn.100ffac0
add esp, 0xc
mov ebp, eax
test edi, edi
je 0x10139c7f
test ebx, ebx
je 0x10139c7f
test ebp, ebp
je 0x10139c7f
push 0x334
push str.crypto_rsa_rsa_lib.c
push 0x14
call fcn.10101f20
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10139c7f
mov eax, dword [esp + 0x20]
push 4
push eax
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ebp
call fcn.101328e0
push 4
push dword [edi + 4]
call fcn.101328e0
push 4
push dword [edi + 8]
call fcn.101328e0
mov ebx, dword [esp + 0x34]
push edi
push ebx
call fcn.100ffb40
mov eax, dword [esp + 0x34]
add esp, 0x20
mov ebp, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x18]
jl 0x10139bc8
push esi
mov dword [esi + 0x4c], ebx
call fcn.10189fa0
add esp, 4
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x10139c9a
mov dword [esi + 0x4c], eax
push 0x1018a0e0
push dword [esp + 0x20]
call fcn.100ffae0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
mov ebx, dword [esp + 0x18]
lea edi, [esi + 0x78]
test eax, eax
je 0x10139cb3
push 0x1018a0a0
push eax
call fcn.100ffae0
add esp, 8
xor eax, eax
cmp ebx, 2
setg al
inc dword [edi]
pop edi
mov dword [esi + 8], eax
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x14
ret