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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push ebx
push esi
push edi
mov ebx, eax
mov edi, ecx
mov dword [esp + 0x14], 0
call fcn.10033d30
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x100863e1
call fcn.10033e60
call fcn.10033ef0
mov dword [esp + 0x28], eax
call fcn.10033ef0
mov dword [esp + 0x1c], eax
call fcn.10033ef0
mov dword [esp + 0x18], eax
call fcn.10033ef0
test eax, eax
je 0x100863dd
lea eax, [ebx + 1]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
sub ebx, esi
cmp dword [edi + 0x10], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ebx
jne 0x10086252
call fcn.10024220
mov dword [edi + 0x10], eax
test eax, eax
je 0x100863dd
cmp dword [edi + 0x18], 0
jne 0x10086268
call fcn.10024220
mov dword [edi + 0x18], eax
test eax, eax
je 0x100863dd
cmp dword [edi + 0x14], 0
jne 0x1008627e
call fcn.10024220
mov dword [edi + 0x14], eax
test eax, eax
je 0x100863dd
cmp dword [edi + 0x1c], 0
jne 0x10086294
call fcn.10024220
mov dword [edi + 0x1c], eax
test eax, eax
je 0x100863dd
cmp dword [edi + 0x20], 0
jne 0x100862aa
call fcn.10024220
mov dword [edi + 0x20], eax
test eax, eax
je 0x100863dd
cmp dword [edi + 0x24], 0
jne 0x100862c0
call fcn.10024220
mov dword [edi + 0x24], eax
test eax, eax
je 0x100863dd
cmp dword [edi + 0x28], 0
jne 0x100862d6
call fcn.10024220
mov dword [edi + 0x28], eax
test eax, eax
je 0x100863dd
cmp dword [edi + 0x2c], 0
jne 0x100862ec
call fcn.10024220
mov dword [edi + 0x2c], eax
test eax, eax
je 0x100863dd
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x14]
push eax
push ecx
call fcn.10024440
mov ebx, dword [ebp + 0xc]
mov edx, dword [edi + 0x1c]
push ebx
push 0
push 0
push 0
push esi
push edx
call fcn.10089590
add esp, 0x20
test eax, eax
je 0x100863dd
jmp 0x10086320
mov eax, dword [edi + 0x1c]
mov esi, dword [esp + 0x18]
push 0x100f7b0c
push eax
push esi
call fcn.1003bbc0
add esp, 0xc
test eax, eax
je 0x100863dd
mov ecx, dword [edi + 0x14]
mov eax, dword [esp + 0x10]
push ecx
push esi
mov esi, dword [esp + 0x24]
push esi
call fcn.1003aa10
add esp, 0xc
test eax, eax
je 0x100863dd
cmp dword [esi + 4], 1
jne 0x10086373
mov edx, dword [esi]
cmp dword [edx], 1
jne 0x10086373
cmp dword [esi + 0xc], 0
je 0x10086426
test ebx, ebx
je 0x100863b0
mov eax, dword [ebx]
sub eax, 1
je 0x10086399
sub eax, 1
je 0x10086387
xor eax, eax
jmp 0x100863b5
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
push ebx
push eax
push 2
call ecx
add esp, 0xc
jmp 0x100863b5
mov eax, dword [ebx + 8]
test eax, eax
je 0x100863b0
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push 2
call eax
add esp, 0xc
mov eax, 1
inc dword [esp + 0x14]
test eax, eax
je 0x100863dd
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x1c]
push ebx
push 0
push 0
push 0
push edx
push eax
call fcn.10089590
add esp, 0x18
test eax, eax
jne 0x10086320
mov esi, dword [esp + 0x10]
push 0xdf
mov eax, 3
push str...crypto_rsa_rsa_gen.c
push 4
lea ecx, [eax + 0x7e]
call fcn.1002c650
add esp, 0xc
xor ebx, ebx
test esi, esi
je 0x10086731
mov eax, dword [esi + 0x24]
test eax, eax
je 0x10086702
dec eax
mov dword [esi + 0x24], eax
mov eax, esi
call fcn.10033de0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
lea esi, [edx + 3]
mov eax, ebx
call fcn.10089550
test eax, eax
je 0x100863dd
xor esi, esi
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + 0x20]
push ebx
push 0
push 0
push 0
push ecx
push edx
call fcn.10089590
add esp, 0x18
test eax, eax
je 0x100863dd
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x1c]
call fcn.100246e0
test eax, eax
jne 0x10086469
inc esi
cmp esi, 3
jb 0x10086438
cmp esi, 3
je 0x100864e1
mov eax, dword [edi + 0x20]
mov esi, dword [esp + 0x18]
push 0x100f7b0c
push eax
push esi
call fcn.1003bbc0
add esp, 0xc
test eax, eax
je 0x100863dd
mov ecx, dword [edi + 0x14]
mov eax, dword [esp + 0x10]
push ecx
push esi
mov esi, dword [esp + 0x24]
push esi
call fcn.1003aa10
add esp, 0xc
test eax, eax
je 0x100863dd
mov edx, 1
cmp dword [esi + 4], edx
jne 0x100864c0
mov eax, dword [esi]
cmp dword [eax], edx
jne 0x100864c0
cmp dword [esi + 0xc], 0
je 0x10086506
mov edx, dword [esp + 0x14]
mov esi, 2
mov eax, ebx
call fcn.10089550
inc dword [esp + 0x14]
test eax, eax
jne 0x10086436
jmp 0x100863dd
push 0x9f
xor ebx, ebx
lea eax, [ebx + 0x78]
push str...crypto_rsa_rsa_gen.c
push 4
lea ecx, [eax + 9]
call fcn.1002c650
mov esi, dword [esp + 0x1c]
add esp, 0xc
jmp 0x100863ff
mov esi, 3
mov eax, ebx
call fcn.10089550
test eax, eax
je 0x100863dd
mov esi, dword [edi + 0x20]
mov ebx, dword [edi + 0x1c]
mov eax, esi
mov ecx, ebx
call fcn.100246e0
test eax, eax
jge 0x10086533
mov dword [edi + 0x1c], esi
mov dword [edi + 0x20], ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x20]
mov eax, dword [edi + 0x1c]
push ecx
mov ecx, dword [edi + 0x10]
push edx
push eax
push ecx
call fcn.1006a2c0
add esp, 0x10
test eax, eax
je 0x100863dd
mov edx, dword [edi + 0x1c]
mov ebx, dword [esp + 0x1c]
push 0x100f7b0c
push edx
push ebx
call fcn.1003bbc0
add esp, 0xc
test eax, eax
je 0x100863dd
mov eax, dword [edi + 0x20]
mov esi, dword [esp + 0x18]
push 0x100f7b0c
push eax
push esi
call fcn.1003bbc0
add esp, 0xc
test eax, eax
je 0x100863dd
mov ecx, dword [esp + 0x10]
push ecx
push esi
mov esi, dword [esp + 0x30]
push ebx
push esi
call fcn.1006a2c0
add esp, 0x10
test eax, eax
je 0x100863dd
test dword [edi + 0x3c], 0x100
jne 0x100865ec
mov edx, dword [esi]
mov dword [esp + 0x2c], edx
mov ecx, dword [esi + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esi + 8]
mov dword [esp + 0x34], edx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x3c]
and edx, 0xfffffffe
and ecx, 1
or edx, ecx
or edx, 6
lea eax, [esp + 0x2c]
mov dword [esp + 0x3c], edx
jmp 0x100865ee
mov eax, esi
mov edx, dword [esp + 0x10]
mov ecx, dword [edi + 0x18]
push edx
push eax
mov eax, dword [edi + 0x14]
push eax
push ecx
call fcn.1003ac10
add esp, 0x10
test eax, eax
je 0x100863dd
test dword [edi + 0x3c], 0x100
jne 0x1008664f
mov eax, dword [edi + 0x18]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [esp + 0x50]
and edx, 0xfffffffe
and eax, 1
or edx, eax
or edx, 6
lea esi, [esp + 0x40]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
jmp 0x10086652
mov esi, dword [edi + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x24]
push ecx
push ebx
push esi
push edx
push 0
call fcn.1006a730
add esp, 0x14
test eax, eax
je 0x100863dd
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x28]
push eax
push ecx
push esi
push edx
push 0
call fcn.1006a730
add esp, 0x14
test eax, eax
je 0x100863dd
test dword [edi + 0x3c], 0x100
jne 0x100866d3
mov eax, dword [edi + 0x1c]
mov edx, dword [eax]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x60], edx
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x64]
and eax, 0xfffffffe
and edx, 1
or eax, edx
or eax, 6
lea ecx, [esp + 0x54]
mov dword [esp + 0x64], eax
jmp 0x100866d6
mov ecx, dword [edi + 0x1c]
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 0x2c]
push eax
push ecx
mov ecx, dword [edi + 0x20]
push ecx
push edx
call fcn.1003ac10
add esp, 0x10
test eax, eax
je 0x100863dd
mov esi, dword [esp + 0x10]
mov ebx, 1
jmp 0x100863ff
dec dword [esi + 0x18]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov edi, dword [ecx + eax*4]
mov edx, dword [esi + 0x20]
cmp edi, edx
jae 0x10086720
sub edx, edi
call fcn.10034160
mov esi, dword [esp + 0x10]
mov eax, esi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], 0
call fcn.10033de0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret