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

Disassembly:
sub esp, 0x74
lea eax, [esp + 0x24]
mov dword [esp + 0x30], 0
push esi
push eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x28], 0
call fcn.100299e0
mov esi, eax
add esp, 4
test esi, esi
js 0x100201f1
lea eax, [esp + 0x48]
push eax
call fcn.100299e0
mov esi, eax
add esp, 4
test esi, esi
js 0x100201f1
lea eax, [esp + 0x68]
push eax
call fcn.100299e0
mov esi, eax
add esp, 4
test esi, esi
js 0x100201f1
lea eax, [esp + 8]
push eax
call fcn.100299e0
mov esi, eax
add esp, 4
test esi, esi
js 0x100201f1
lea eax, [esp + 0x38]
push eax
call fcn.100299e0
mov esi, eax
add esp, 4
test esi, esi
js 0x100201f1
lea eax, [esp + 0x58]
push eax
call fcn.100299e0
mov esi, eax
add esp, 4
test esi, esi
js 0x100201f1
lea eax, [esp + 0x18]
push eax
call fcn.100299e0
mov esi, eax
add esp, 4
test esi, esi
js 0x100201f1
push edi
mov edi, dword [esp + 0x80]
push edi
call fcn.10028e00
add esp, 4
cmp eax, 0x17
jbe 0x1001fdfd
mov esi, 0xfffffffd
jmp 0x100201f0
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x88]
push edi
call fcn.10029ca0
mov esi, eax
add esp, 0xc
test esi, esi
js 0x100201f0
lea eax, [esp + 0x2c]
push eax
push 1
push eax
call fcn.1002a730
mov esi, eax
add esp, 0xc
test esi, esi
js 0x100201f0
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.10028e00
mov ebx, dword [esp + 0xa0]
sub eax, ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
lea ecx, [ebx - 1]
push ecx
push eax
call fcn.10028e50
mov esi, eax
add esp, 0xc
test esi, esi
js 0x100201ef
push 0
lea eax, [esp + 0x14]
push eax
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.10029310
mov esi, eax
add esp, 0x10
test esi, esi
js 0x100201ef
lea eax, [esp + 0x10]
push edi
push eax
call fcn.10029080
add esp, 8
test eax, eax
js 0x1001feb4
lea eax, [esp + 0x10]
push eax
push 1
push edi
call fcn.1002a730
mov esi, eax
add esp, 0xc
test esi, esi
js 0x100201ef
mov edi, dword [esp + 0x90]
lea eax, [esp + 0x60]
push ebp
mov ebp, dword [esp + 0x9c]
push eax
push 1
test ebp, ebp
je 0x1001fee9
push dword [esp + 0xa0]
call fcn.10028ee0
mov esi, eax
add esp, 0xc
test esi, esi
js 0x100201ee
jmp 0x1001ff46
push dword [esp + 0x98]
call fcn.1002a730
mov esi, eax
add esp, 0xc
test esi, esi
js 0x100201ee
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10029310
mov esi, eax
add esp, 0x10
test esi, esi
js 0x100201ee
lea eax, [esp + 0x44]
push eax
call fcn.100291f0
add esp, 4
test eax, eax
jne 0x100201e9
push edi
call fcn.1002aaf0
add esp, 4
test esi, esi
jne 0x100201c5
mov edi, edi
lea eax, [esp + 0x14]
push eax
call fcn.10028e00
add esp, 4
cmp eax, dword [esp + 0x10]
jb 0x100201c5
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.10029310
mov esi, eax
add esp, 0x10
test esi, esi
js 0x100201ee
lea eax, [esp + 0x44]
push eax
call fcn.100291f0
add esp, 4
test eax, eax
jne 0x1002016a
lea eax, [esp + 0x54]
push eax
call fcn.10028e00
add esp, 4
test ebp, ebp
jne 0x10020048
mov ecx, ebx
shr ecx, 1
cmp eax, ecx
jne 0x1002016a
lea eax, [esp + 0x54]
push 2
push eax
call fcn.100264c0
add esp, 8
cmp eax, 0xffffffff
je 0x1002016a
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x58]
push 1
push eax
call fcn.10028ee0
mov esi, eax
add esp, 0xc
test esi, esi
js 0x100201ee
lea eax, [esp + 0x64]
push eax
call fcn.10020250
mov esi, eax
add esp, 4
test esi, esi
je 0x1002001a
cmp esi, 0xffffffff
jne 0x100201ee
jmp 0x1002016a
push edi
call fcn.100291f0
add esp, 4
test eax, eax
jne 0x10020186
lea eax, [esp + 0x64]
push edi
push eax
call fcn.10029220
mov esi, eax
add esp, 8
test esi, esi
js 0x100201ee
jmp 0x1002016a
cmp eax, ebx
jne 0x1002016a
lea eax, [esp + 0x54]
push 4
push eax
call fcn.100264c0
add esp, 8
cmp eax, 0xffffffff
je 0x1002016a
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.1002a670
mov esi, eax
add esp, 0xc
test esi, esi
js 0x100201ee
lea eax, [esp + 0x74]
push eax
push eax
call fcn.10029510
mov esi, eax
add esp, 8
test esi, esi
js 0x100201ee
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x78]
push eax
call fcn.1002a2f0
mov esi, eax
add esp, 8
test esi, esi
js 0x100201ee
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x9c]
lea eax, [esp + 0x2c]
push eax
call fcn.1002a670
mov esi, eax
add esp, 0xc
test esi, esi
js 0x100201ee
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.1002a4b0
mov esi, eax
add esp, 8
test esi, esi
js 0x100201ee
lea eax, [esp + 0x24]
push edi
push eax
call fcn.1002a2f0
mov esi, eax
add esp, 8
test esi, esi
js 0x100201ee
lea eax, [esp + 0x44]
push edi
push eax
call fcn.10029080
add esp, 8
test eax, eax
je 0x1002018d
lea eax, [esp + 0x24]
push eax
push 1
push eax
call fcn.10028ee0
mov esi, eax
add esp, 0xc
test esi, esi
js 0x100201ee
lea eax, [esp + 0x24]
push edi
push eax
call fcn.1002a2f0
mov esi, eax
add esp, 8
test esi, esi
js 0x100201ee
lea eax, [esp + 0x44]
push edi
push eax
call fcn.10029080
add esp, 8
test eax, eax
je 0x1002018d
lea eax, [esp + 0x14]
push eax
push 1
push eax
call fcn.1002a730
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1001ff50
jmp 0x100201c5
mov esi, 0xfffffffd
jmp 0x100201c5
push dword [esp + 0x90]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.10028e70
mov esi, eax
add esp, 0xc
test esi, esi
js 0x100201ee
push edi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.1002a670
mov esi, eax
add esp, 0xc
test esi, esi
js 0x100201ee
lea eax, [esp + 0x14]
push eax
call fcn.10028e00
add esp, 4
cmp eax, dword [esp + 0x10]
jae 0x100201ee
test ebp, ebp
jne 0x100201e9
push edi
call fcn.100291f0
add esp, 4
test eax, eax
jne 0x100201ee
mov esi, 0xfffffffd
pop ebp
pop ebx
pop edi
lea eax, [esp + 0x28]
push eax
call fcn.10029030
lea eax, [esp + 0x4c]
push eax
call fcn.10029030
lea eax, [esp + 0x70]
push eax
call fcn.10029030
lea eax, [esp + 0x14]
push eax
call fcn.10029030
lea eax, [esp + 0x48]
push eax
call fcn.10029030
lea eax, [esp + 0x6c]
push eax
call fcn.10029030
lea eax, [esp + 0x30]
push eax
call fcn.10029030
add esp, 0x1c
mov eax, esi
pop esi
add esp, 0x74
ret