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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x4e9bb4]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
push edi
mov edi, dword [0x4fee08]
lea eax, [ebp + 8]
push eax
push 0
push eax
mov dword [esp + 0x30], edi
call fcn.00403591
movss xmm0, dword [edi + 0x34]
lea eax, [esp + 0x78]
cvtps2pd xmm0, xmm0
sub esp, 0xc
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 0
mulsd xmm0, qword [0x4df000]
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0
push eax
call fcn.004039dc
movss xmm1, dword [edi + 0x34]
lea eax, [esp + 0xb8]
cvtps2pd xmm1, xmm1
sub esp, 0xc
movaps xmm0, xmm1
mulsd xmm1, qword [0x4df000]
mulsd xmm0, qword [0x4dee78]
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp + 4], xmm0
mov dword [esp], 0
push eax
call fcn.004039dc
movss xmm1, dword [edi + 0x34]
lea eax, [esp + 0xf8]
cvtps2pd xmm1, xmm1
sub esp, 0xc
movaps xmm0, xmm1
mulsd xmm1, qword [0x4dee78]
mulsd xmm0, qword [0x4df000]
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp + 4], xmm0
mov dword [esp], 0
push eax
call fcn.004039dc
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0x7c]
push eax
push eax
call fcn.00403085
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0xbc]
push eax
push eax
call fcn.00403085
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0xfc]
push eax
push eax
call fcn.00403085
mov eax, dword [edi + 8]
lea edx, [esp + 0xc]
push 0
push edx
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov ecx, dword [edi + 4]
xor edx, edx
mov dword [esp + 0x2c], edx
test ecx, ecx
jle 0x48a6b9
xor eax, eax
lea esi, [edx + 0x18]
mov dword [esp + 0x1c], eax
xorps xmm0, xmm0
nop dword [eax + eax]
mov edi, dword [edi + 0xc]
movss xmm2, dword [eax + edi + 0x28]
comiss xmm2, xmm0
jb 0x48a5c0
movss xmm0, dword [eax + edi + 0x2c]
shufps xmm2, xmm2, 0
shufps xmm0, xmm0, 0
divps xmm2, xmm0
push ecx
movups xmm1, xmmword [eax + edi + 0x30]
movss xmm0, dword [eax + edi + 0x20]
mulps xmm2, xmm1
movss xmm1, dword [eax + edi + 0x18]
movss dword [esp + 0x14], xmm0
movss dword [esp], xmm1
movaps xmmword [esp + 0x34], xmm2
call fcn.0043b460
fmul dword [esp + 0x14]
mov eax, dword [esp + 0x20]
fadd dword [eax + edi]
movss xmm0, dword [eax + edi + 0x18]
fstp dword [esp + 0x1c]
movss dword [esp], xmm0
call fcn.0043b430
fmul dword [esp + 0x14]
add esp, 4
mov eax, dword [esp + 0x1c]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0xb0]
addss xmm0, dword [esp + 0x18]
movss xmm1, dword [eax + edi + 4]
fadd dword [eax + edi + 8]
mov eax, dword [esp + 0xc]
movss dword [esp + 0x28], xmm1
movss dword [esi + eax - 0x18], xmm0
movss xmm0, dword [esp + 0xac]
mov eax, dword [esp + 0xc]
addss xmm0, xmm1
movaps xmm1, xmmword [esp + 0x30]
comiss xmm1, dword [0x4dee40]
movss dword [esi + eax - 0x14], xmm0
mov eax, dword [esp + 0xc]
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x20], xmm0
subss xmm0, dword [esp + 0xa8]
movss dword [esi + eax - 0x10], xmm0
jb 0x48a195
mov dword [esp + 0x14], 0xff
jmp 0x48a1c8
comiss xmm2, xmm1
jb 0x48a1a4
mov dword [esp + 0x14], 0
jmp 0x48a1c8
movaps xmm0, xmm1
mulss xmm0, dword [0x4def9c]
addss xmm0, dword [0x4dee08]
call fcn.004b9060
movaps xmm1, xmmword [esp + 0x30]
xorps xmm2, xmm2
mov dword [esp + 0x14], eax
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
comiss xmm0, dword [0x4dee40]
movups xmmword [esp + 0x40], xmm0
jb 0x48a1e7
mov dword [esp + 0x10], 0xff
jmp 0x48a214
comiss xmm2, xmm0
jb 0x48a1f6
mov dword [esp + 0x10], 0
jmp 0x48a214
mulss xmm0, dword [0x4def9c]
addss xmm0, dword [0x4dee08]
call fcn.004b9060
movaps xmm1, xmmword [esp + 0x30]
mov dword [esp + 0x10], eax
movaps xmm0, xmm1
xorps xmm2, xmm2
shufps xmm0, xmm1, 0xaa
comiss xmm0, dword [0x4dee40]
movups xmmword [esp + 0x50], xmm0
jb 0x48a233
mov edi, 0xff
jmp 0x48a25b
comiss xmm2, xmm0
jb 0x48a23c
xor edi, edi
jmp 0x48a25b
mulss xmm0, dword [0x4def9c]
addss xmm0, dword [0x4dee08]
call fcn.004b9060
movaps xmm1, xmmword [esp + 0x30]
mov edi, eax
xorps xmm2, xmm2
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xff
comiss xmm0, dword [0x4dee40]
movups xmmword [esp + 0x60], xmm0
jb 0x48a277
mov ecx, 0xff
jmp 0x48a29c
comiss xmm2, xmm0
jb 0x48a280
xor ecx, ecx
jmp 0x48a29c
mulss xmm0, dword [0x4def9c]
addss xmm0, dword [0x4dee08]
call fcn.004b9060
movaps xmm1, xmmword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0xc]
shl ecx, 8
or ecx, dword [esp + 0x14]
shl ecx, 8
or ecx, dword [esp + 0x10]
shl ecx, 8
or ecx, edi
comiss xmm1, dword [0x4dee40]
mov dword [esi + eax - 0xc], ecx
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 8], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 4], 0
movss xmm0, dword [esp + 0xf0]
addss xmm0, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
movss dword [esi + eax], xmm0
movss xmm0, dword [esp + 0xec]
addss xmm0, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
movss dword [esi + eax + 4], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [esp + 0xe8]
mov eax, dword [esp + 0xc]
movss dword [esi + eax + 8], xmm0
jb 0x48a32c
mov dword [esp + 0x10], 0xff
jmp 0x48a35a
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x48a33e
mov dword [esp + 0x10], 0
jmp 0x48a35a
movaps xmm0, xmm1
mulss xmm0, dword [0x4def9c]
addss xmm0, dword [0x4dee08]
call fcn.004b9060
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x40]
xorps xmm1, xmm1
comiss xmm0, dword [0x4dee40]
jb 0x48a375
mov dword [esp + 0x14], 0xff
jmp 0x48a3a0
comiss xmm1, xmm0
jb 0x48a384
mov dword [esp + 0x14], 0
jmp 0x48a3a0
mulss xmm0, dword [0x4def9c]
addss xmm0, dword [0x4dee08]
call fcn.004b9060
mov dword [esp + 0x14], eax
xorps xmm1, xmm1
movups xmm0, xmmword [esp + 0x50]
comiss xmm0, dword [0x4dee40]
jb 0x48a3b5
mov edi, 0xff
jmp 0x48a3d5
comiss xmm1, xmm0
jb 0x48a3be
xor edi, edi
jmp 0x48a3d5
mulss xmm0, dword [0x4def9c]
addss xmm0, dword [0x4dee08]
call fcn.004b9060
mov edi, eax
movups xmm0, xmmword [esp + 0x60]
xorps xmm1, xmm1
comiss xmm0, dword [0x4dee40]
jb 0x48a3ed
mov ecx, 0xff
jmp 0x48a410
comiss xmm1, xmm0
jb 0x48a3f6
xor ecx, ecx
jmp 0x48a410
mulss xmm0, dword [0x4def9c]
addss xmm0, dword [0x4dee08]
call fcn.004b9060
mov ecx, eax
xorps xmm1, xmm1
mov eax, dword [esp + 0xc]
shl ecx, 8
or ecx, dword [esp + 0x10]
shl ecx, 8
or ecx, dword [esp + 0x14]
shl ecx, 8
or ecx, edi
mov dword [esi + eax + 0xc], ecx
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x10], 0x3f800000
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x14], 0
movss xmm0, dword [esp + 0x130]
addss xmm0, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
movss dword [esi + eax + 0x18], xmm0
movss xmm0, dword [esp + 0x12c]
addss xmm0, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
movss dword [esi + eax + 0x1c], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [esp + 0x128]
mov eax, dword [esp + 0xc]
movss dword [esi + eax + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x30]
comiss xmm0, dword [0x4dee40]
jb 0x48a4a6
mov dword [esp + 0x18], 0xff
jmp 0x48a4ce
comiss xmm1, xmm0
jb 0x48a4b5
mov dword [esp + 0x18], 0
jmp 0x48a4ce
mulss xmm0, dword [0x4def9c]
addss xmm0, dword [0x4dee08]
call fcn.004b9060
mov dword [esp + 0x18], eax
movups xmm0, xmmword [esp + 0x40]
xorps xmm1, xmm1
comiss xmm0, dword [0x4dee40]
jb 0x48a4e9
mov dword [esp + 0x10], 0xff
jmp 0x48a514
comiss xmm1, xmm0
jb 0x48a4f8
mov dword [esp + 0x10], 0
jmp 0x48a514
mulss xmm0, dword [0x4def9c]
addss xmm0, dword [0x4dee08]
call fcn.004b9060
mov dword [esp + 0x10], eax
xorps xmm1, xmm1
movups xmm0, xmmword [esp + 0x50]
comiss xmm0, dword [0x4dee40]
jb 0x48a529
mov edi, 0xff
jmp 0x48a549
comiss xmm1, xmm0
jb 0x48a532
xor edi, edi
jmp 0x48a549
mulss xmm0, dword [0x4def9c]
addss xmm0, dword [0x4dee08]
call fcn.004b9060
mov edi, eax
movups xmm0, xmmword [esp + 0x60]
comiss xmm0, dword [0x4dee40]
jb 0x48a55e
mov ecx, 0xff
jmp 0x48a581
xorps xmm1, xmm1
comiss xmm1, xmm0
jb 0x48a56a
xor ecx, ecx
jmp 0x48a581
mulss xmm0, dword [0x4def9c]
addss xmm0, dword [0x4dee08]
call fcn.004b9060
mov ecx, eax
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, dword [esp + 0x18]
shl ecx, 8
or ecx, dword [esp + 0x10]
shl ecx, 8
or ecx, edi
mov dword [esi + eax + 0x24], ecx
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x28], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x2c], 0x3f800000
jmp 0x48a697
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 0x18], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 0x10], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 0x14], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 0xc], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 8], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 4], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 8], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 4], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0xc], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x10], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x14], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x18], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x20], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x1c], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x24], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x28], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x2c], 0
mov edi, dword [esp + 0x24]
inc edx
mov eax, dword [esp + 0x1c]
add esi, 0x48
add eax, 0x40
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 4]
cmp edx, ecx
jl 0x48a0a0
mov eax, dword [esp + 0xc]
lea ecx, [ecx + ecx*2]
mov dword [eax + ecx*8], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 8], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 4], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0xc], 0
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x10], 0
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x14], 0
mov eax, dword [edi + 4]
inc eax
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x20], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x1c], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x24], 0
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x28], 0
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x2c], 0
mov eax, dword [edi + 4]
add eax, 2
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x38], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x34], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x3c], 0
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x40], 0
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x44], 0
mov eax, dword [edi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0x4fecac]
push dword [edi + 0x10]
mov eax, dword [eax + 0x2a3d8]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xf4]
mov eax, dword [0x4fecac]
push 0x18
push dword [edi + 8]
mov eax, dword [eax + 0x2a3d8]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14c]
mov eax, dword [0x4fecac]
push 0x142
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov eax, dword [esp + 0x24]
xor edi, edi
mov esi, dword [eax + 4]
test esi, esi
jle 0x48a8a5
mov eax, dword [0x4fecac]
mov edx, dword [eax + 0x2a490]
shr edx, 2
nop dword [eax]
mov eax, dword [eax + 0x2a3d8]
sub esi, edi
cmp edx, esi
cmovae edx, esi
mov ecx, dword [eax]
push edx
push edi
push 4
push eax
call dword [ecx + 0x118]
mov eax, dword [0x4fecac]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + 0x2a490]
mov esi, dword [ecx + 4]
shr edx, 2
add edi, edx
cmp edi, esi
jl 0x48a870
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.004955a0
mov esp, ebp
pop ebp
ret 0x40