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

Disassembly:
sub esp, 0x298
push esi
mov esi, ecx
mov al, byte [esi + 0xc0]
test al, al
je 0x48877a
mov byte [esi + 0xc1], 1
mov al, byte [esi + 0xc1]
test al, al
je 0x488d0f
fld dword [esi + 0x3724]
push ebx
fmul dword [0x6bc8c4]
push ebp
push edi
call fcn.005cd414
mov edi, eax
mov ecx, 0x2209408
shl edi, 0x18
call fcn.00542d40
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 4
push 1
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 2
push 2
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 0
push 3
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 4
push 4
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 0
push 5
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 2
push 6
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [esi + 0x3724]
mov dword [esp + 0xa0], eax
fld dword [esp + 0xa0]
fcomp dword [0x6bc4dc]
fnstsw ax
test ah, 1
jne 0x48884b
mov eax, 0xff
jmp 0x48887b
fld dword [esp + 0xa0]
fcomp dword [0x6bb5fc]
fnstsw ax
test ah, 0x41
jp 0x488863
xor eax, eax
jmp 0x48887b
fld dword [esp + 0xa0]
fmul dword [0x6bc8c4]
fadd dword [0x6bc860]
call fcn.005cd414
mov ecx, dword [esi + 0xbc]
mov edx, dword [esi + 0xb8]
push ecx
shl eax, 0x18
push edx
or eax, 0xffffff
push eax
lea ecx, [esi + 0x36d8]
call fcn.00549ff0
push 0
lea eax, [esp + 0x1a8]
push eax
push esi
mov ecx, 0x8655e8
call fcn.004ce790
mov edx, dword [esi + 0xbc]
mov eax, dword [esi + 0xb8]
lea ecx, [esp + 0x1a4]
push ecx
push 0
mov ebx, edi
or ebx, 0xffffff
push ebx
add edx, 0x1c8
push edx
add eax, 0x78
push eax
push 0x2209408
call fcn.005418c0
add esp, 0x18
push 0
lea ecx, [esp + 0x1a8]
push ecx
lea edx, [esi + 0x50]
push edx
mov ecx, 0x8655e8
call fcn.004ce790
mov ecx, dword [esi + 0xbc]
mov edx, dword [esi + 0xb8]
lea eax, [esp + 0x1a4]
push eax
push 0
push ebx
add ecx, 0x1f3
push ecx
add edx, 0x78
push edx
push 0x2209408
call fcn.005418c0
mov eax, dword [esi + 0x3724]
add esp, 0x18
lea ecx, [esi + 0x3658]
mov dword [esi + 0x3694], eax
call fcn.0052d390
lea ebx, [esi + 0x1ef8]
mov ebp, 4
mov ecx, dword [esi + 0x3724]
mov dword [ebx + 0x98], ecx
mov ecx, ebx
call fcn.005277a0
add ebx, 0x5d8
dec ebp
jne 0x488952
lea edx, [esp + 0x54]
push edx
mov ecx, 0x2209408
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x54], 0x3f800000
mov dword [esp + 0x40], 0x3f800000
mov dword [esp + 0x2c], 0x3f800000
mov dword [esp + 0x18], 0x3f800000
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x94], 0x3f800000
mov dword [esp + 0x80], 0x3f800000
mov dword [esp + 0x6c], 0x3f800000
mov dword [esp + 0x58], 0x3f800000
call fcn.00542520
fild dword [0x7085a0]
push 0x461c4000
push 0
push ecx
fstp dword [esp]
push 0
fild dword [0x70859c]
push ecx
lea eax, [esp + 0xb8]
fstp dword [esp]
push 0
push eax
call fcn.005e6659
mov eax, dword [0x2209400]
mov ecx, dword [eax]
lea edx, [esp + 0xa4]
push edx
push 3
push eax
call dword [ecx + 0xb0]
push 0
mov ecx, 0x2209408
call fcn.00541bb0
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 0x112
push eax
call dword [ecx + 0x164]
mov ecx, dword [esi + 0x154]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 0x20
push 0
push ecx
push 0
push eax
call dword [edx + 0x190]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 4
push 1
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 2
push 2
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 0
push 3
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 4
push 4
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 3
push 5
push 0
push eax
call dword [edx + 0x10c]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 2
push 6
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push edi
push 0x3c
push eax
call dword [edx + 0xe4]
push 0x3f800000
push 0x437a0000
push 0x43160000
lea eax, [esp + 0xf0]
push eax
call fcn.005e56bb
mov dword [esp + 0x10], 0
lea ebx, [ebx]
mov eax, dword [esp + 0x10]
test eax, eax
mov eax, dword [0x2209400]
jne 0x488bdc
mov ecx, dword [eax]
push 3
push 0x16
push eax
call dword [ecx + 0xe4]
jmp 0x488be9
mov edx, dword [eax]
push 2
push 0x16
push eax
call dword [edx + 0xe4]
mov edi, 0x709510
lea ebp, [esi + 0x1b4]
lea ebx, [esi + 0xcc]
lea ebx, [ebx]
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x168]
push ecx
call fcn.005e5875
fild dword [0x7085a0]
fild dword [esi + 0xbc]
push 0x447a0000
sub esp, 8
lea edx, [esp + 0x130]
fadd dword [edi + 4]
fadd dword [0x6c1284]
fsubp st(1)
fstp dword [esp + 4]
fild dword [esi + 0xb8]
fadd dword [edi]
fadd dword [0x6c1280]
fstp dword [esp]
push edx
call fcn.005e574f
lea eax, [esp + 0x164]
push eax
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.005e4db8
lea eax, [esp + 0x124]
push eax
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
push edx
call fcn.005e4db8
lea eax, [esp + 0x14]
push eax
mov ecx, 0x2209408
call fcn.00542640
mov eax, dword [esp + 0x10]
test eax, eax
mov eax, dword [0x2209400]
mov ecx, dword [eax]
jne 0x488ca3
mov edx, dword [ebp]
jmp 0x488ca9
mov edx, dword [esi + 0x1bc]
push edx
push 0
push eax
call dword [ecx + 0x104]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 2
push 0
push 5
push eax
call dword [ecx + 0x144]
add edi, 8
add ebp, 4
add ebx, 0x10
cmp edi, 0x709520
jl 0x488c00
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 2
mov dword [esp + 0x10], eax
jl 0x488bc0
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 0
push 5
push 0
push eax
call dword [edx + 0x10c]
mov ecx, 0x71c1f0
call fcn.0041ffd0
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x298
ret