Function at 0x488580
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 0x4885c3
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.00485a00
mov edx, dword [esi + 0x60]
add esp, 0xc
inc edi
add ebx, 0xf0
inc edx
cmp edi, edx
jl 0x488596
mov eax, dword [esi + 0x114]
push eax
call fcn.0048ca10
mov eax, dword [esi + 0x60]
add esp, 4
test eax, eax
jle 0x488638
xor edi, edi
test eax, eax
jle 0x488629
mov ecx, dword [esi + 0x124]
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x488621
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push edx
add eax, 0x38
push ecx
push eax
call fcn.00485a00
mov edx, dword [esi + 0x124]
mov eax, dword [edx + edi*4]
mov ecx, dword [eax + 0x44]
push ecx
call fcn.0048ca10
mov edx, dword [esi + 0x124]
mov eax, dword [edx + edi*4]
push eax
call fcn.0048ca10
add esp, 0x14
mov eax, dword [esi + 0x60]
inc edi
cmp edi, eax
jl 0x4885df
mov ecx, dword [esi + 0x124]
push ecx
call fcn.0048ca10
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.00485a00
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.00485a00
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xc0]
push eax
push ecx
call fcn.00485a00
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xcc]
push eax
push ecx
call fcn.00485a00
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xe4]
push eax
push ecx
call fcn.00485a00
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0x128]
push eax
push ecx
call fcn.00485a00
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.00485a00
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0x140]
push eax
push ecx
call fcn.00485a00
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xfc]
push eax
push ecx
call fcn.00485a00
mov al, byte [esi + 0x18]
add esp, 0x24
test al, 1
je 0x48872a
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xa8]
push eax
push ecx
call fcn.00485a00
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push edx
lea ecx, [esi + 0xb4]
push eax
push ecx
call fcn.00485a00
add esp, 0x18
mov edx, dword [esi + 0xa0]
mov eax, dword [edx + 0x44]
push eax
call fcn.0048ca10
mov ecx, dword [esi + 0xa0]
push ecx
call fcn.0048ca10
mov edx, dword [esi + 0xa4]
mov eax, dword [edx + 0x44]
push eax
call fcn.0048ca10
mov ecx, dword [esi + 0xa4]
push ecx
call fcn.0048ca10
mov al, byte [esi + 0x18]
add esp, 0x10
test al, 4
je 0x488779
mov edx, dword [esi + 0x98]
push edx
call fcn.0048ca10
add esp, 4
test byte [esi + 0x18], 8
je 0x48878e
mov eax, dword [esi + 0x9c]
push eax
call fcn.0048ca10
add esp, 4
mov eax, dword [esi + 0x90]
test eax, eax
jle 0x4887f6
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 0x4887e7
mov eax, dword [esi + 0x94]
mov ecx, dword [eax + edi*8]
lea eax, [eax + edi*8]
test ecx, ecx
je 0x4887dc
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 0x4887ba
mov ecx, dword [esi + 0x94]
push ecx
call fcn.0048ca10
add esp, 4
mov edx, dword [esi + 0x78]
push edx
call fcn.0048ca10
mov eax, dword [esi + 0x88]
add esp, 4
test eax, eax
jbe 0x48881b
mov eax, dword [esi + 0x8c]
push eax
call fcn.0048ca10
add esp, 4
mov eax, dword [esi + 0x240]
test eax, eax
jle 0x4888cb
mov ebx, 1
mov edi, 0x48
mov eax, dword [esi + 0x240]
mov ecx, dword [esi + 0x250]
cmp eax, ecx
mov edx, eax
jl 0x488847
mov edx, ecx
cmp edx, 1
jge 0x488853
mov eax, 1
jmp 0x488859
cmp eax, ecx
jl 0x488859
mov eax, ecx
cmp ebx, eax
jge 0x488886
mov ecx, dword [esi + 0x244]
mov edx, dword [edi + ecx + 0x3c]
push edx
call fcn.0048ca10
mov eax, dword [esi + 0x244]
mov ecx, dword [edi + eax + 0x40]
push ecx
call fcn.0048ca10
add esp, 8
inc ebx
add edi, 0x48
jmp 0x488833
mov edx, dword [esi + 0x244]
mov eax, dword [edx + 0x38]
test eax, eax
je 0x48889c
push eax
call fcn.0048ca10
add esp, 4
mov eax, dword [esi + 0x240]
xor edi, edi
test eax, eax
jle 0x4888cb
xor ebx, ebx
mov eax, dword [esi + 0x244]
mov ecx, dword [ebx + eax + 0x1c]
push ecx
call fcn.0048ca10
mov eax, dword [esi + 0x240]
add esp, 4
inc edi
add ebx, 0x48
cmp edi, eax
jl 0x4888aa
mov edx, dword [esi + 0x244]
push edx
call fcn.0048ca10
push esi
call fcn.0048ca10
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret