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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [section..data]
mov ebp, dword [esp + 0x74]
xor eax, esp
mov dword [esp + 0x5c], eax
cmp dword [0x10017fa4], 0xa
jl 0x100015ff
mov eax, dword [0x10017fa0]
lea ecx, [eax - 1]
imul ecx, eax
and ecx, 1
jne 0x1000166e
lea ebx, [esp + 0x38]
lea eax, [esp + 0x37]
lea edx, [esp + 0x30]
mov ecx, ebp
push ebx
push eax
call fcn.10002ed0
add esp, 8
lea edi, [esp + 0x58]
lea ecx, [esp + 0x3c]
mov edx, ebx
push edi
call fcn.10002fc0
add esp, 4
mov ecx, dword [esp + 0x58]
lea esi, [esp + 0x40]
mov edx, esi
call fcn.10003010
mov ecx, ebx
mov edx, esi
push edi
call fcn.10002ca0
add esp, 4
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x54]
lea edx, [esp + 0x3c]
push edi
push eax
call fcn.10002cf0
add esp, 8
mov ecx, dword [esp + 0x58]
movzx edx, byte [esp + 0x54]
call fcn.10002d30
test al, 1
jne 0x10001679
push ebp
call fcn.10001940
add esp, 4
jmp 0x100015ff
cmp byte [esp + 0x37], 0
je 0x1000171e
lea esi, [esp + 0x10]
lea edx, [esp + 0x54]
mov ecx, esi
push edi
call fcn.10002f30
add esp, 4
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
lea ebx, [esp + 0x14]
push ebx
call fcn.10002cc0
add esp, 4
lea edx, [esp + 0x58]
mov ecx, ebx
call fcn.10002c60
lea edx, [esp + 0x58]
mov ecx, esi
call fcn.10002cd0
lea ebx, [esp + 4]
lea ebp, [esp + 8]
nop word [eax + eax]
mov ecx, ebx
lea edx, [esp + 0x54]
push edi
call fcn.10002f30
add esp, 4
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
push ebp
call fcn.10002cc0
add esp, 4
mov ecx, ebp
mov edx, edi
call fcn.10002c60
movzx esi, byte [esp + 0x58]
mov ecx, ebx
mov edx, edi
call fcn.10002cd0
movzx edx, byte [esp + 0x58]
mov ecx, esi
call fcn.10002d20
test al, 1
je 0x100016d0
xor esi, esi
jmp 0x1000186c
lea esi, [esp + 0x4c]
lea edx, [esp + 0x54]
mov ecx, esi
push edi
call fcn.10002f30
add esp, 4
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
lea edi, [esp + 0x50]
push edi
call fcn.10002cc0
add esp, 4
lea edx, [esp + 0x58]
mov ecx, edi
call fcn.10002c60
movzx edi, byte [esp + 0x58]
lea edx, [esp + 0x58]
mov ecx, esi
call fcn.10002cd0
movzx edx, byte [esp + 0x58]
mov ecx, edi
call fcn.10002d20
test al, 1
je 0x10001881
jmp 0x100018b7
mov al, byte [esp + 0x1f]
lea ebx, [esp + 0x30]
mov edi, esi
cmp al, 1
jne 0x10001842
cmp dword [esp + 0x18], 0
je 0x1000179f
push dword [esp + 0x18]
call fcn.1000519f
add esp, 4
lea ebx, [esp + 0x28]
lea edx, [esp + 0x54]
mov ecx, ebx
push edi
call fcn.10002f30
add esp, 4
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
lea ebp, [esp + 0x2c]
push ebp
call fcn.10002cc0
add esp, 4
lea edx, [esp + 0x58]
mov ecx, ebp
call fcn.10002c60
lea edx, [esp + 0x58]
mov ecx, ebx
call fcn.10002cd0
lea ebx, [esp + 0x44]
lea ebp, [esp + 0x48]
nop word cs:[eax + eax]
nop
mov ecx, ebx
lea edx, [esp + 0x54]
push edi
call fcn.10002f30
add esp, 4
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
push ebp
call fcn.10002cc0
add esp, 4
mov ecx, ebp
mov edx, edi
call fcn.10002c60
movzx esi, byte [esp + 0x58]
mov ecx, ebx
mov edx, edi
call fcn.10002cd0
movzx edx, byte [esp + 0x58]
mov ecx, esi
call fcn.10002d20
test al, 1
je 0x100017f0
mov dword [esp], 0
xor esi, esi
jmp 0x1000186c
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x18]
push edi
push ebx
call fcn.10002f70
add esp, 8
mov ecx, dword [esp + 0x58]
mov eax, esp
mov edx, esi
push eax
call fcn.10002ff0
add esp, 4
mov esi, dword [esp]
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10005190
mov eax, esi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
lea edi, [esp + 0x30]
lea eax, [esp + 0x58]
lea edx, [esp + 0xc]
mov ecx, edi
push eax
call fcn.10002f50
add esp, 4
mov edx, dword [esp + 0x58]
mov ecx, edi
call fcn.10002fe0
push dword [esp + 0x30]
push dword [esp + 0x10]
push dword [esp + 0x7c]
call section..text
add esp, 0xc
lea eax, [esp + 0x58]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x18]
push eax
lea edi, [esp + 0x58]
push edi
call fcn.10002e60
add esp, 8
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x74]
lea ebp, [esp + 0x20]
lea eax, [esp + 0x1f]
push ebp
push eax
push dword [esp + 0x60]
call fcn.10002f90
add esp, 0xc
lea ebx, [esp + 0x24]
mov ecx, ebx
call fcn.10003000
lea esi, [esp + 0x58]
mov ecx, ebp
mov edx, esi
call fcn.10002f20
mov ecx, dword [esp + 0x58]
mov edx, ebx
push esi
push edi
call fcn.10002cf0
add esp, 8
mov ecx, dword [esp + 0x58]
movzx edx, byte [esp + 0x54]
call fcn.10002d30
test al, 1
je 0x10001881
jmp 0x1000177a