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

Disassembly:
sub esp, 0x2a0
push esi
mov esi, ecx
mov al, byte [esi + 0xc0]
test al, al
je 0x487ffa
mov byte [esi + 0xc1], 1
mov al, byte [esi + 0xc1]
test al, al
je 0x488753
mov ecx, 0x2209408
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 + 0x9c], eax
fld dword [esp + 0x9c]
fcomp dword [0x6bc4dc]
fnstsw ax
test ah, 1
jne 0x4880b2
mov eax, 0xff
jmp 0x4880e2
fld dword [esp + 0x9c]
fcomp dword [0x6bb5fc]
fnstsw ax
test ah, 0x41
jp 0x4880ca
xor eax, eax
jmp 0x4880e2
fld dword [esp + 0x9c]
fmul dword [0x6bc8c4]
fadd dword [0x6bc860]
call fcn.005cd414
mov ecx, dword [esi + 0xbc]
mov edx, dword [esi + 0xb8]
push ebx
push ebp
push edi
push ecx
shl eax, 0x18
push edx
or eax, 0xffffff
push eax
lea ecx, [esi + 0x36c8]
call fcn.00549ff0
push 0
lea eax, [esp + 0x1b0]
push eax
push esi
mov ecx, 0x8655e8
call fcn.004ce790
mov edx, dword [esi + 0xbc]
mov eax, dword [esi + 0xb8]
lea ecx, [esp + 0x1ac]
push ecx
push 0
push 0xffffffffffffffff
add edx, 0x1c8
push edx
add eax, 0x78
push eax
push 0x2209408
call fcn.005418c0
add esp, 0x18
push 0
lea ecx, [esp + 0x1b0]
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 + 0x1ac]
push eax
push 0
push 0xffffffffffffffff
add ecx, 0x1f3
push ecx
add edx, 0x78
push edx
push 0x2209408
call fcn.005418c0
add esp, 0x18
lea ecx, [esi + 0x3658]
call fcn.0052d390
lea edi, [esi + 0x1c0]
mov ebx, 5
lea ebx, [ebx]
mov ecx, edi
call fcn.005277a0
add edi, 0x5d8
dec ebx
jne 0x4881b0
xor edi, edi
mov eax, dword [esi + edi*4 + 0x2c]
test eax, eax
je 0x48825e
lea ebp, [edi + edi*2]
xor ebx, ebx
lea ebp, [ebp*8 + 0x709560]
lea ebx, [ebx]
cmp edi, 3
jge 0x4881e9
xor ecx, ecx
jmp 0x4881fd
jne 0x4881f2
mov ecx, 1
jmp 0x4881fd
xor ecx, ecx
cmp edi, 4
setne cl
add ecx, 2
fild dword [esi + 0xbc]
lea eax, [ebx + ecx*2]
add eax, ecx
shl eax, 4
mov ecx, dword [eax + 0x70962c]
fadd dword [ebp + 4]
mov edx, dword [eax + 0x709628]
push ecx
mov ecx, dword [eax + 0x709624]
push edx
mov edx, dword [eax + 0x709620]
push ecx
push edx
push 0x40
push 0x40
call fcn.005cd414
fild dword [esi + 0xb8]
push eax
fadd dword [ebp]
call fcn.005cd414
push eax
push 0xffffffffffffffff
lea ecx, [esi + 0x3708]
call fcn.00549ba0
inc ebx
add ebp, 8
cmp ebx, 3
jl 0x4881e0
jmp 0x4882ef
mov eax, dword [esi + edi*4 + 0xc]
test eax, eax
je 0x4882ef
lea ebp, [edi + edi*2]
xor ebx, ebx
lea ebp, [ebp*8 + 0x709560]
cmp edi, 3
jge 0x48827f
xor ecx, ecx
jmp 0x488293
jne 0x488288
mov ecx, 1
jmp 0x488293
xor ecx, ecx
cmp edi, 4
setne cl
add ecx, 2
fild dword [esi + 0xbc]
lea eax, [ebx + ecx*2]
add eax, ecx
shl eax, 4
mov ecx, dword [eax + 0x70962c]
fadd dword [ebp + 4]
mov edx, dword [eax + 0x709628]
push ecx
mov ecx, dword [eax + 0x709624]
push edx
mov edx, dword [eax + 0x709620]
push ecx
push edx
push 0x40
push 0x40
call fcn.005cd414
fild dword [esi + 0xb8]
push eax
fadd dword [ebp]
call fcn.005cd414
push eax
push 0xffffffffffffffff
lea ecx, [esi + 0x36f8]
call fcn.00549ba0
inc ebx
add ebp, 8
cmp ebx, 3
jl 0x488276
mov eax, dword [esi + edi*4 + 0x2c]
test eax, eax
je 0x488358
mov eax, edi
cdq
and edx, 3
add eax, edx
mov ecx, edi
sar eax, 2
and ecx, reloc.ijl15.dll_Ordinal_3
jns 0x488311
dec ecx
or ecx, 0xfffffffc
inc ecx
lea edx, [eax + 3]
shl edx, 6
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
add eax, 2
sub esp, 0x10
shl eax, 6
fmul dword [0x6c127c]
mov dword [esp + 0x20], eax
shl ecx, 6
mov dword [esp + 0x28], ecx
fstp dword [esp + 0xc]
add ecx, 0x40
fild dword [esp + 0x20]
mov dword [esp + 0x20], ecx
fmul dword [0x6c127c]
fstp dword [esp + 8]
fild dword [esp + 0x20]
jmp 0x4883bd
mov eax, dword [esi + edi*4 + 0xc]
test eax, eax
je 0x48840b
mov eax, edi
cdq
and edx, 3
add eax, edx
sar eax, 2
shl eax, 6
mov ecx, edi
and ecx, reloc.ijl15.dll_Ordinal_3
mov dword [esp + 0x14], eax
jns 0x488385
dec ecx
or ecx, 0xfffffffc
inc ecx
add eax, 0x40
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
sub esp, 0x10
shl ecx, 6
mov dword [esp + 0x28], ecx
fmul dword [0x6c127c]
add ecx, 0x40
fstp dword [esp + 0xc]
fild dword [esp + 0x24]
mov dword [esp + 0x24], ecx
fmul dword [0x6c127c]
fstp dword [esp + 8]
fild dword [esp + 0x24]
fmul dword [0x6c127c]
fstp dword [esp + 4]
fild dword [esp + 0x28]
fmul dword [0x6c127c]
fstp dword [esp]
push 0x40
fild dword [esi + 0xbc]
push 0x40
fadd dword [edi*8 + 0x709524]
call fcn.005cd414
fild dword [esi + 0xb8]
push eax
fadd dword [edi*8 + 0x709520]
call fcn.005cd414
push eax
lea ecx, [esi + 0x36e8]
push 0xffffffffffffffff
call fcn.00549ba0
inc edi
cmp edi, 8
jl 0x4881c2
lea eax, [esp + 0x5c]
push eax
mov ecx, 0x2209408
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x5c], 0x3f800000
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0x20], 0x3f800000
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x9c], 0x3f800000
mov dword [esp + 0x88], 0x3f800000
mov dword [esp + 0x74], 0x3f800000
mov dword [esp + 0x60], 0x3f800000
call fcn.00542520
fild dword [0x7085a0]
push 0x461c4000
push 0
push ecx
fstp dword [esp]
push 0
fild dword [0x70859c]
push ecx
lea ecx, [esp + 0x180]
fstp dword [esp]
push 0
push ecx
call fcn.005e6659
mov eax, dword [0x2209400]
mov edx, dword [eax]
lea ecx, [esp + 0x16c]
push ecx
push 3
push eax
call dword [edx + 0xb0]
push 0
mov ecx, 0x2209408
call fcn.00541bb0
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 0x112
push eax
call dword [edx + 0x164]
mov edx, dword [esi + 0x154]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 0x20
push 0
push edx
push 0
push eax
call dword [ecx + 0x190]
mov eax, dword [0x2209400]
mov ecx, dword [eax]
push 2
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 2
push 4
push 0
push eax
call dword [ecx + 0x10c]
mov eax, dword [0x2209400]
mov edx, dword [eax]
push 2
push 5
push 0
push eax
call dword [edx + 0x10c]
push 0x3f800000
push 0x42f00000
push 0x42a00000
lea eax, [esp + 0xf8]
push eax
call fcn.005e56bb
xor ebp, ebp
jmp 0x488630
test ebp, ebp
mov eax, dword [0x2209400]
jne 0x488648
mov ecx, dword [eax]
push 3
push 0x16
push eax
call dword [ecx + 0xe4]
jmp 0x488655
mov edx, dword [eax]
push 2
push 0x16
push eax
call dword [edx + 0xe4]
mov edi, 0x7094c8
lea ebx, [esi + 0xc4]
mov eax, dword [ebx + 8]
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.005e5875
fild dword [0x7085a0]
fild dword [esi + 0xbc]
push 0x447a0000
sub esp, 8
lea edx, [esp + 0x138]
fadd dword [edi + 4]
fadd dword [0x6be974]
fsubp st(1)
fstp dword [esp + 4]
fild dword [esi + 0xb8]
fadd dword [edi]
fadd dword [0x6bc8b8]
fstp dword [esp]
push edx
call fcn.005e574f
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0xf0]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.005e4db8
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov edx, ecx
push edx
call fcn.005e4db8
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x2209408
call fcn.00542640
test ebp, ebp
mov eax, dword [0x2209400]
mov ecx, dword [eax]
jne 0x488706
mov edx, dword [ebx]
mov edx, dword [esi + edx*4 + 0x158]
jmp 0x48870c
mov edx, dword [esi + 0x1b0]
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 ebx, 0x10
cmp edi, 0x709510
jl 0x488660
inc ebp
cmp ebp, 2
jl 0x488630
mov ecx, 0x71c1f0
call fcn.0041ffd0
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x2a0
ret