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

Disassembly:
push 0xffffffffffffffff
push 0x550808
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ba870]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
push ebp
lea eax, [esp + 0x58]
push eax
push ebp
push 0x30
call dword [0x560574]
mov ecx, dword [edi + 0x20]
call fcn.0047f830
mov esi, eax
mov edx, dword [esi]
mov eax, dword [edi + 0x20]
mov edx, dword [edx + 0xec]
push eax
mov ecx, esi
call edx
push eax
mov eax, dword [esp + 0x8c]
push eax
lea ecx, [esp + 0x6c]
call fcn.004ad8a0
mov eax, dword [edi + 0x20]
mov edx, dword [esi]
mov edx, dword [edx + 0x84]
push ebp
push ebp
push eax
push ebp
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
mov dword [esp + 0x90], ebp
call edx
mov esi, dword [esp + 0x94]
mov eax, dword [esi]
mov ecx, dword [edi + 0x20]
mov ebx, dword [esi + 4]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [ecx + 0x16c], eax
mov ecx, dword [edi + 0x2c]
cmp ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], eax
jle 0x4885fe
test eax, eax
jl 0x4885ef
cmp eax, dword [edi + 0x2c]
jge 0x4885ef
mov edx, dword [edi + 0x28]
mov esi, dword [edx + eax*4]
lea ecx, [edx + eax*4]
test esi, esi
je 0x48866f
mov ecx, dword [esi + 0x100]
cmp ecx, dword [edi + 0x20]
jne 0x48866f
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi]
mov edx, dword [eax + 0x8c]
and ecx, 0xfffffff7
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0
mov ecx, esi
call edx
test eax, eax
je 0x488663
mov ecx, dword [esp + 0x88]
mov eax, dword [esi]
mov eax, dword [eax + 0x94]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call eax
mov ecx, esi
mov dword [esi + 0x94], 0
call fcn.00483b40
test al, al
jns 0x4884c2
cmp dword [esp + 0x20], 0
je 0x4884e1
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x48853f
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x38]
sub eax, dword [ecx + 0xc]
add edx, ebx
cmp edx, eax
jle 0x48853f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push ebp
push eax
push ecx
mov ecx, edi
call fcn.004882c0
mov edx, dword [esp + 0x94]
mov eax, dword [edx + 4]
sub ebx, eax
cmp ebx, dword [esp + 0x14]
jle 0x488509
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esi + 0x98]
neg eax
sbb eax, eax
and eax, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
add eax, ebp
add dword [esp + 0x1c], eax
mov eax, 1
mov dword [esi + 0x94], eax
mov edx, dword [edi + 0x20]
xor ebp, ebp
mov dword [edx + 0x16c], eax
jmp 0x488553
cmp dword [esi + 0x98], 0
je 0x488553
cmp dword [esp + 0x20], 0
jne 0x488553
add ebx, dword [esp + 0x40]
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1b8]
mov dword [esp + 0x20], 0
call edx
test eax, eax
jne 0x48859d
fldz
fld qword [0x5be310]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x48859b
fimul dword [esp + 0x5c]
fild dword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x48859b
call fcn.0044f700
mov dword [esp + 0x34], eax
jmp 0x48859d
fstp st(0)
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
add edx, ecx
add eax, ebx
mov dword [esp + 0x30], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi]
mov edx, dword [edx + 0x74]
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x34]
add ebx, dword [esp + 0x38]
cmp ebp, eax
mov esi, dword [esp + 0x94]
jge 0x4885eb
mov ebp, eax
mov eax, dword [esp + 0x18]
inc eax
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
jl 0x488433
mov eax, dword [esp + 0x90]
lea ecx, [eax - 1]
cmp ecx, 0x752e
ja 0x488617
sub eax, dword [esi + 8]
sub eax, dword [esi]
mov ebp, eax
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 0x24]
push ebp
push eax
push edx
mov ecx, edi
call fcn.004882c0
mov eax, dword [esp + 0x1c]
sub eax, dword [esi]
sub ebx, dword [esi + 4]
add eax, ebp
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x88], eax
jle 0x488644
mov dword [esp + 0x14], ebx
xor ecx, ecx
cmp dword [esp + 0x28], ecx
jle 0x488702
test ecx, ecx
jl 0x48867b
cmp ecx, dword [edi + 0x2c]
jge 0x48867b
mov eax, dword [edi + 0x28]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
jmp 0x48867d
mov esi, dword [esp + 0x94]
jmp 0x4885eb
mov esi, dword [esp + 0x94]
jmp 0x4885ef
xor eax, eax
mov edx, dword [eax + 0xc0]
mov ebx, dword [eax + 0xc8]
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 0xc4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0xcc]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0xc4]
mov dword [esp + 0x48], edx
mov edx, ebx
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0xcc]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 4]
add ebp, edx
mov dword [esp + 0x94], ebp
mov ebp, dword [eax + 0xc0]
mov dword [eax + 0xb0], ebp
mov dword [eax + 0xb4], edx
mov edx, dword [esp + 0x94]
inc ecx
cmp ecx, dword [esp + 0x28]
mov dword [eax + 0xb8], ebx
mov dword [eax + 0xbc], edx
jl 0x488650
mov eax, dword [esp + 0x88]
cmp eax, 0x18
jge 0x48870c
mov eax, 0x18
cmp dword [esp + 0x14], 0
jne 0x48871b
mov dword [esp + 0x14], 0x16
mov ecx, dword [esi + 0xc]
add ecx, dword [esi + 4]
mov edx, dword [esi + 8]
add ecx, dword [esp + 0x14]
add edx, dword [esi]
mov esi, dword [esp + 0x84]
add edx, eax
mov dword [esi + 4], ecx
lea ecx, [esp + 0x64]
mov dword [esi], edx
mov dword [esp + 0x7c], 0xffffffff
call fcn.004ad8e0
mov eax, esi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret 0x14