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

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
mov eax, dword [esi + 0x60]
inc eax
test eax, eax
jle 0x1005fec3
xor ebx, ebx
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x114]
mov edx, dword [esi + 8]
push ecx
lea ecx, [eax + ebx + 0xe4]
push edx
push ecx
call fcn.1005d300
mov edx, dword [esi + 0x60]
add esp, 0xc
inc edi
add ebx, 0xf0
inc edx
cmp edi, edx
jl 0x1005fe96
mov eax, dword [esi + 0x114]
push eax
call fcn.100642c0
mov eax, dword [esi + 0x60]
add esp, 4
test eax, eax
jle 0x1005ff38
xor edi, edi
test eax, eax
jle 0x1005ff29
mov ecx, dword [esi + 0x124]
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x1005ff21
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push edx
add eax, 0x38
push ecx
push eax
call fcn.1005d300
mov edx, dword [esi + 0x124]
mov eax, dword [edx + edi*4]
mov ecx, dword [eax + 0x44]
push ecx
call fcn.100642c0
mov edx, dword [esi + 0x124]
mov eax, dword [edx + edi*4]
push eax
call fcn.100642c0
add esp, 0x14
mov eax, dword [esi + 0x60]
inc edi
cmp edi, eax
jl 0x1005fedf
mov ecx, dword [esi + 0x124]
push ecx
call fcn.100642c0
add esp, 4
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0xa0]
mov eax, dword [esi + 8]
push edx
add ecx, 0x38
push eax
push ecx
call fcn.1005d300
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0xa4]
mov eax, dword [esi + 8]
push edx
add ecx, 0x38
push eax
push ecx
call fcn.1005d300
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xc0]
push eax
push ecx
call fcn.1005d300
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xcc]
push eax
push ecx
call fcn.1005d300
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xe4]
push eax
push ecx
call fcn.1005d300
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0x128]
push eax
push ecx
call fcn.1005d300
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
add esp, 0x48
lea ecx, [esi + 0x134]
push edx
push eax
push ecx
call fcn.1005d300
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0x140]
push eax
push ecx
call fcn.1005d300
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xfc]
push eax
push ecx
call fcn.1005d300
mov al, byte [esi + 0x18]
add esp, 0x24
test al, 1
je 0x1006002a
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xa8]
push eax
push ecx
call fcn.1005d300
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xb4]
push eax
push ecx
call fcn.1005d300
add esp, 0x18
mov edx, dword [esi + 0xa0]
mov eax, dword [edx + 0x44]
push eax
call fcn.100642c0
mov ecx, dword [esi + 0xa0]
push ecx
call fcn.100642c0
mov edx, dword [esi + 0xa4]
mov eax, dword [edx + 0x44]
push eax
call fcn.100642c0
mov ecx, dword [esi + 0xa4]
push ecx
call fcn.100642c0
mov al, byte [esi + 0x18]
add esp, 0x10
test al, 4
je 0x10060079
mov edx, dword [esi + 0x98]
push edx
call fcn.100642c0
add esp, 4
test byte [esi + 0x18], 8
je 0x1006008e
mov eax, dword [esi + 0x9c]
push eax
call fcn.100642c0
add esp, 4
mov eax, dword [esi + 0x90]
test eax, eax
jle 0x100600f6
mov edx, dword [esi + 0x248]
xor ecx, ecx
mov dword [esp + 0xc], ecx
xor edi, edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0x10305
test eax, eax
mov dword [esp + 0x10], edx
jle 0x100600e7
mov eax, dword [esi + 0x94]
mov ecx, dword [eax + edi*8]
lea eax, [eax + edi*8]
test ecx, ecx
je 0x100600dc
mov eax, dword [eax + 4]
lea edx, [esp + 0xc]
push 0
push edx
push 2
push eax
call ecx
add esp, 0x10
mov eax, dword [esi + 0x90]
inc edi
cmp edi, eax
jl 0x100600ba
mov ecx, dword [esi + 0x94]
push ecx
call fcn.100642c0
add esp, 4
mov edx, dword [esi + 0x78]
push edx
call fcn.100642c0
mov eax, dword [esi + 0x88]
add esp, 4
test eax, eax
jbe 0x1006011b
mov eax, dword [esi + 0x8c]
push eax
call fcn.100642c0
add esp, 4
mov eax, dword [esi + 0x240]
test eax, eax
jle 0x100601cb
mov ebx, 1
mov edi, 0x48
mov eax, dword [esi + 0x240]
mov ecx, dword [esi + 0x250]
cmp eax, ecx
mov edx, eax
jl 0x10060147
mov edx, ecx
cmp edx, 1
jge 0x10060153
mov eax, 1
jmp 0x10060159
cmp eax, ecx
jl 0x10060159
mov eax, ecx
cmp ebx, eax
jge 0x10060186
mov ecx, dword [esi + 0x244]
mov edx, dword [edi + ecx + 0x3c]
push edx
call fcn.100642c0
mov eax, dword [esi + 0x244]
mov ecx, dword [edi + eax + 0x40]
push ecx
call fcn.100642c0
add esp, 8
inc ebx
add edi, 0x48
jmp 0x10060133
mov edx, dword [esi + 0x244]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x1006019c
push eax
call fcn.100642c0
add esp, 4
mov eax, dword [esi + 0x240]
xor edi, edi
test eax, eax
jle 0x100601cb
xor ebx, ebx
mov eax, dword [esi + 0x244]
mov ecx, dword [ebx + eax + 0x1c]
push ecx
call fcn.100642c0
mov eax, dword [esi + 0x240]
add esp, 4
inc edi
add ebx, 0x48
cmp edi, eax
jl 0x100601aa
mov edx, dword [esi + 0x244]
push edx
call fcn.100642c0
push esi
call fcn.100642c0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret