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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [0x5ad2c8]
movaps xmm0, xmm1
push esi
push edi
mov edi, ecx
movss dword [esp + 0x20], xmm0
movss xmm0, dword [eax + 0x468]
movaps xmm2, xmm0
mov dword [esp + 0x3c], edi
mulss xmm2, dword [0x573588]
mov esi, dword [edi + 0x24]
mulss xmm1, dword [edi + 0x1c]
mov ecx, dword [edi + 0x28]
movss dword [esp + 0xc], xmm2
xorps xmm2, xmm2
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x1c], xmm1
mulss xmm1, dword [0x5735c8]
mulss xmm1, xmm0
mulss xmm0, dword [0x5735fc]
addss xmm1, xmm0
movss xmm0, dword [0x5734f8]
movss dword [esp + 0x30], xmm1
cmp esi, ecx
je 0x4805ff
mov edi, ecx
nop
mov eax, dword [esi]
mov ecx, dword [eax + 0x94]
test ecx, ecx
je 0x4805e5
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movss xmm2, dword [esp + 0x18]
movss xmm0, dword [0x5734f8]
test al, al
je 0x4805ef
addss xmm2, xmm0
movss dword [esp + 0x18], xmm2
add esi, 4
cmp esi, edi
jne 0x4805c0
mov eax, dword [0x5ad2c8]
mov edi, dword [esp + 0x3c]
movss xmm0, dword [eax + 0x468]
mulss xmm0, dword [0x5735c8]
mov esi, dword [0x5af950]
mov dword [esp + 0x50], 0
addss xmm0, dword [esi + 0x37e8]
lea ecx, [esi + 0x477c]
mulss xmm0, xmm2
mulss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x30]
subss xmm0, dword [edi + 0x20]
mulss xmm0, dword [0x5735b0]
mulss xmm0, dword [eax + 0x460]
lea eax, [esp + 0x50]
push eax
addss xmm0, dword [edi + 0x20]
movss dword [edi + 0x20], xmm0
movss xmm0, dword [esi + 0x3798]
movss dword [esp + 0x58], xmm0
call fcn.00435fb0
movss xmm0, dword [esp + 0x20]
lea eax, [esp + 0x50]
movss dword [esi + 0x3798], xmm0
mov esi, dword [0x5af950]
push eax
mov dword [esp + 0x54], 2
movss xmm1, dword [esi + 0x37a0]
lea ecx, [esi + 0x477c]
movss xmm0, dword [esi + 0x37a4]
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x5c], xmm0
call fcn.00435fb0
mov dword [esi + 0x37a0], 0
mov dword [esi + 0x37a4], 0
cmp dword [edi + 0x14], 0xf
mov eax, dword [0x5ad2c8]
mov dword [esp + 0x18], edi
movss xmm0, dword [eax + 0x468]
mulss xmm0, dword [0x573684]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [edi + 0x20]
movss dword [esp + 0x54], xmm0
jbe 0x480704
mov eax, dword [edi]
mov dword [esp + 0x18], eax
mov esi, dword [0x5af950]
xor edx, edx
mov eax, dword [esi + 0x3e60]
mov byte [eax + 0xa8], 1
mov eax, dword [esi + 0x3e60]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x1c]
call fcn.00420b60
add esp, 4
mov dword [esp + 0x38], eax
cmp dword [esi + 0x3e94], eax
jne 0x48075f
push ecx
push dword [esp + 0x1c]
mov edx, 0xb
mov ecx, eax
call fcn.00435960
mov eax, dword [esp + 0x40]
add esp, 8
push 0x18
lea ecx, [esp + 0x54]
mov edx, eax
push 1
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00426740
add esp, 0xc
mov ecx, 1
call fcn.004214d0
mov ecx, dword [0x5af950]
xor edx, edx
movss xmm7, dword [esp + 0x20]
movss xmm1, dword [0x5734f8]
mov eax, dword [ecx + 0x3e60]
movss xmm0, dword [eax + 0x18]
movss xmm5, dword [eax + 0x10]
movss xmm6, dword [eax + 0x14]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [eax + 0x1c]
mov byte [eax + 0xa8], 1
movups xmm2, xmmword [ecx + 0x3910]
mov eax, dword [ecx + 0x3e60]
mulss xmm7, dword [ecx + 0x3798]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [edi + 0x1c]
comiss xmm0, dword [0x573478]
mov esi, dword [eax + 0x260]
mov eax, 0x30
mov dword [esp + 0x18], esi
movaps xmm0, xmm2
movss dword [esp + 0x10], xmm5
shufps xmm0, xmm2, 0xff
mulss xmm7, xmm0
cmova edx, eax
xorps xmm0, xmm0
movss dword [esp + 0x40], xmm5
comiss xmm0, xmm2
movss dword [esp + 0x14], xmm6
movss dword [esp + 0x44], xmm6
movaps xmmword [esp + 0x50], xmm2
jbe 0x48082b
xorps xmm4, xmm4
jmp 0x480832
movaps xmm4, xmm1
minss xmm4, xmm2
comiss xmm0, dword [esp + 0x54]
movss xmm2, dword [0x573674]
movss xmm3, dword [0x5734b0]
mulss xmm4, xmm2
addss xmm4, xmm3
cvttss2si ecx, xmm4
jbe 0x48085a
xorps xmm4, xmm4
jmp 0x480863
movaps xmm4, xmm1
minss xmm4, dword [esp + 0x54]
mulss xmm4, xmm2
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm0, dword [esp + 0x58]
jbe 0x480880
xorps xmm4, xmm4
jmp 0x480889
movaps xmm4, xmm1
minss xmm4, dword [esp + 0x58]
mulss xmm4, xmm2
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm7
jbe 0x4808a4
xorps xmm1, xmm1
jmp 0x4808a8
minss xmm1, xmm7
mov eax, dword [0x5ad2c8]
movaps xmm0, xmm5
addss xmm0, dword [esp + 0x2c]
mulss xmm1, xmm2
push edx
push ecx
mov dword [esp], 0x41000000
addss xmm1, xmm3
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x58], xmm0
movss xmm0, dword [eax + 0x468]
mulss xmm0, dword [0x5735fc]
cvttss2si eax, xmm1
addss xmm0, xmm6
shl eax, 0x18
or eax, ecx
mov ecx, esi
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x50]
movss dword [esp + 0x64], xmm0
push eax
call fcn.0044c000
movss xmm0, dword [esp + 0x1c]
xorps xmm2, xmm2
movss xmm3, dword [0x573674]
mulss xmm0, xmm3
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x573468]
comiss xmm2, xmm0
jbe 0x48093a
xorps xmm4, xmm4
jmp 0x480946
movss xmm4, dword [0x5734f8]
minss xmm4, xmm0
mov eax, dword [0x5ad2c8]
movss xmm0, dword [esp + 0x38]
mulss xmm4, xmm3
push ecx
movss xmm1, dword [eax + 0x468]
mov ecx, esi
mulss xmm1, dword [0x5735fc]
mov dword [esp], 0x3f800000
addss xmm4, dword [0x5734b0]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x14]
addss xmm1, dword [esp + 0x18]
addss xmm0, xmm2
cvttss2si eax, xmm4
movss dword [esp + 0x58], xmm1
shl eax, 0x18
or eax, 0x312c2c
movss dword [esp + 0x44], xmm0
push eax
lea eax, [esp + 0x58]
movss dword [esp + 0x4c], xmm1
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0044bde0
cmp dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [esp + 0x24], edi
jbe 0x4809cd
mov ecx, dword [edi]
mov dword [esp + 0x24], ecx
movss xmm2, dword [esp + 0x20]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x4809e0
xorps xmm0, xmm0
jmp 0x4809ec
movss xmm0, dword [0x5734f8]
minss xmm0, xmm2
mulss xmm0, dword [0x573674]
mov esi, dword [0x5ad2c8]
movss xmm4, dword [esp + 0x10]
movss xmm5, dword [esp + 0x14]
addss xmm0, dword [0x5734b0]
movss xmm2, dword [esi + 0x468]
mov edx, dword [esi + 0x464]
cvttss2si eax, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x5735a4]
shl eax, 0x18
or eax, 0xffffff
mov dword [esp + 0x30], eax
addss xmm0, xmm4
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x5735a0]
mulss xmm2, dword [0x5735b4]
addss xmm0, xmm5
movss dword [esp + 0x54], xmm0
cmp edx, 5
ja case.default.0x480a63
jmp dword [edx*4 + 0x481188]
mov edx, dword [esi + 0x4f8]
jmp 0x480aa0
mov edx, dword [esi + 0x508]
jmp 0x480aa0
mov edx, dword [esi + 0x518]
jmp 0x480aa0
mov edx, dword [esi + 0x528]
jmp 0x480aa0
mov edx, dword [esi + 0x538]
jmp 0x480aa0
mov edx, dword [esi + 0x548]
jmp 0x480aa0
mov edx, dword [esi + 0x504]
test eax, 0xff000000
je 0x480b2d
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x480ab2
sub ecx, dword [esp + 0x38]
add ecx, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
cmp dword [esp + 0x24], ecx
je 0x480b2d
mov ecx, dword [esp + 0x18]
test edx, edx
jne 0x480ad9
mov eax, dword [ecx + 0x2c]
mov edx, dword [eax + 8]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x480aea
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
push 0
push ecx
mov dword [esp], 0
lea eax, [esp + 0x68]
push dword [esp + 0x40]
movups xmmword [esp + 0x6c], xmm0
push dword [esp + 0x30]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x68]
push eax
push ecx
mov ecx, edx
call fcn.00452cb0
mov esi, dword [0x5ad2c8]
movss xmm4, dword [esp + 0x10]
movss xmm5, dword [esp + 0x14]
movss xmm3, dword [esp + 0x1c]
comiss xmm3, dword [0x573464]
jbe 0x480b9b
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x480b9b
cmp dword [ecx + 0xbc], 0
je 0x480b9b
movss xmm1, dword [esi + 0x468]
movaps xmm2, xmm3
movaps xmm0, xmm1
mulss xmm1, dword [0x573598]
mulss xmm0, dword [0x573560]
addss xmm1, xmm5
addss xmm0, xmm4
movss dword [esp + 0x44], xmm1
push dword [esp + 0x44]
movss dword [esp + 0x44], xmm0
push dword [esp + 0x44]
push dword [esp + 0x20]
call fcn.00482ff0
mov esi, dword [0x5ad2c8]
movss xmm3, dword [esp + 0x1c]
movss xmm0, dword [0x5734ec]
comiss xmm0, xmm3
jbe 0x480f1e
movss xmm0, dword [0x5734f8]
mov edi, dword [0x5af950]
subss xmm0, xmm3
movss xmm1, dword [esi + 0x468]
movss xmm2, dword [esp + 0x10]
mov eax, dword [edi + 0x3e60]
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x5735c8]
addss xmm2, dword [eax + 0x18]
mulss xmm1, dword [0x5735c8]
subss xmm2, xmm0
movss xmm0, dword [esp + 0x14]
movss dword [esp + 0x24], xmm2
xorps xmm2, xmm2
addss xmm0, xmm2
addss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, dword [0x57362c]
addss xmm1, dword [0x57362c]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x5734b0]
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x573470]
movss dword [esp + 0x40], xmm0
call fcn.00437190
mulss xmm0, dword [esp + 0x30]
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x40]
call fcn.004371b0
mulss xmm0, dword [esp + 0x30]
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x5734d4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [0x573638]
mulss xmm0, dword [0x573470]
movss dword [esp + 0x40], xmm0
call fcn.00437190
mulss xmm0, dword [esp + 0xc]
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x40]
call fcn.004371b0
mulss xmm0, dword [esp + 0xc]
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [0x573638]
mulss xmm0, dword [0x573470]
movss dword [esp + 0x20], xmm0
call fcn.00437190
mulss xmm0, dword [esp + 0xc]
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x20]
call fcn.004371b0
mulss xmm0, dword [esp + 0xc]
movss xmm6, dword [esp + 0x38]
movups xmm2, xmmword [edi + 0x3880]
addss xmm0, dword [esp + 0x28]
mulss xmm6, dword [esi + 4]
movss xmm1, dword [0x5734f8]
movaps xmmword [esp + 0x60], xmm2
mulss xmm6, dword [edi + 0x3798]
movss dword [esp + 0x44], xmm0
movaps xmm0, xmm2
shufps xmm0, xmm2, 0xff
mulss xmm6, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x480d76
xorps xmm4, xmm4
jmp 0x480d7d
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm2, dword [0x573674]
movss xmm3, dword [0x5734b0]
movss xmm5, dword [esp + 0x64]
comiss xmm0, xmm5
mulss xmm4, xmm2
addss xmm4, xmm3
cvttss2si ecx, xmm4
jbe 0x480da9
xorps xmm4, xmm4
jmp 0x480db0
movaps xmm4, xmm1
minss xmm4, xmm5
movss xmm5, dword [esp + 0x68]
mulss xmm4, xmm2
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm0, xmm5
jbe 0x480dd1
xorps xmm4, xmm4
jmp 0x480dd8
movaps xmm4, xmm1
minss xmm4, xmm5
mulss xmm4, xmm2
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm6
jbe 0x480df3
xorps xmm1, xmm1
jmp 0x480df7
minss xmm1, xmm6
mov esi, dword [esp + 0x18]
mulss xmm1, xmm2
push ecx
mov dword [esp], 0x3f800000
addss xmm1, xmm3
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov ecx, esi
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0044bde0
mov eax, dword [0x5ad2c8]
mov ecx, dword [0x5af950]
movss xmm5, dword [esp + 0x38]
movss xmm1, dword [0x5734f8]
mulss xmm5, dword [eax + 4]
movups xmm2, xmmword [ecx + 0x3880]
mulss xmm5, dword [ecx + 0x3798]
movaps xmm0, xmm2
movaps xmmword [esp + 0x60], xmm2
shufps xmm0, xmm2, 0xff
mulss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x480e70
xorps xmm4, xmm4
jmp 0x480e77
movaps xmm4, xmm1
minss xmm4, xmm2
movss xmm2, dword [0x573674]
movss xmm3, dword [0x5734b0]
movss xmm6, dword [esp + 0x64]
comiss xmm0, xmm6
mulss xmm4, xmm2
addss xmm4, xmm3
cvttss2si ecx, xmm4
jbe 0x480ea3
xorps xmm4, xmm4
jmp 0x480eaa
movaps xmm4, xmm1
minss xmm4, xmm6
movss xmm6, dword [esp + 0x68]
mulss xmm4, xmm2
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 8
or ecx, eax
comiss xmm0, xmm6
jbe 0x480ecb
xorps xmm4, xmm4
jmp 0x480ed2
movaps xmm4, xmm1
minss xmm4, xmm6
mulss xmm4, xmm2
addss xmm4, xmm3
cvttss2si eax, xmm4
shl eax, 0x10
or ecx, eax
comiss xmm0, xmm5
ja 0x480eef
minss xmm1, xmm5
movaps xmm0, xmm1
mulss xmm0, xmm2
push ecx
mov dword [esp], 0x3f800000
addss xmm0, xmm3
cvttss2si eax, xmm0
shl eax, 0x18
or eax, ecx
mov ecx, esi
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0044bde0
mov edi, dword [esp + 0x3c]
cmp dword [edi + 0x14], 0xf
mov dword [esp + 0x28], edi
jbe 0x480f2e
mov eax, dword [edi]
mov dword [esp + 0x28], eax
mov esi, dword [0x5af950]
xor edx, edx
mov eax, dword [esi + 0x3e60]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x2c]
call fcn.00420b60
add esp, 4
mov dword [esp + 0x40], eax
cmp dword [esi + 0x3e94], eax
jne 0x480f7c
push ecx
push dword [esp + 0x2c]
mov edx, 0xb
mov ecx, eax
call fcn.00435960
mov eax, dword [esp + 0x48]
add esp, 8
movss xmm2, dword [esp + 0x10]
lea ecx, [esp + 0x50]
movss xmm3, dword [esp + 0x14]
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x2c]
movaps xmm0, xmm3
movss dword [esp + 0x50], xmm2
addss xmm0, dword [esp + 0x4c]
push 0
push 0
mov edx, eax
movss dword [esp + 0x5c], xmm3
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x64], xmm0
call fcn.0042ea90
add esp, 8
mov dword [esp + 0x28], edi
cmp dword [edi + 0x14], 0xf
jbe 0x480fd4
mov eax, dword [edi]
mov dword [esp + 0x28], eax
mov esi, dword [0x5af950]
xor edx, edx
mov eax, dword [esi + 0x3e60]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x2c]
call fcn.00420b60
add esp, 4
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x3e94], eax
jne 0x48101e
push ecx
push dword [esp + 0x2c]
mov edx, 0xb
mov ecx, eax
call fcn.00435960
add esp, 8
mov eax, dword [0x5ad2c8]
lea ecx, [esp + 0x50]
movss xmm2, dword [esp + 0x10]
movss xmm3, dword [esp + 0x14]
movaps xmm1, xmm2
addss xmm1, dword [esp + 0x2c]
movss xmm0, dword [eax + 0x468]
lea eax, [esp + 0xa]
mulss xmm0, dword [0x5735fc]
mov edx, dword [esp + 0x4c]
push 0
push eax
addss xmm0, xmm3
movss dword [esp + 0x58], xmm2
lea eax, [esp + 0x13]
movss dword [esp + 0x5c], xmm3
push eax
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x68], xmm0
call fcn.004385d0
add esp, 0xc
test al, al
je 0x48108e
cmp byte [edi + 0x18], 0
sete al
mov byte [edi + 0x18], al
movzx eax, byte [edi + 0x18]
movd xmm1, eax
mov eax, dword [0x5ad2c8]
cvtdq2ps xmm1, xmm1
subss xmm1, dword [edi + 0x1c]
mulss xmm1, dword [0x5735b0]
mulss xmm1, dword [eax + 0x460]
addss xmm1, dword [edi + 0x1c]
comiss xmm1, dword [0x573464]
movss dword [edi + 0x1c], xmm1
jbe 0x481172
mov eax, dword [0x5ad2c8]
mov ecx, dword [0x5af950]
movss xmm2, dword [eax + 0x468]
mov eax, dword [ecx + 0x3e60]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e60]
movss xmm1, dword [eax + 0x10]
subss xmm1, dword [eax + 0x74]
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x78]
mov byte [eax + 0x12d], 1
addss xmm1, xmm2
mulss xmm2, dword [0x57360c]
addss xmm0, xmm2
movss dword [eax + 0xec], xmm1
movss dword [eax + 0xf0], xmm0
call fcn.0042ee40
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x48113c
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [edi + 0x28]
mov esi, dword [edi + 0x24]
mov dword [esp + 0x4c], eax
cmp esi, eax
je 0x48116d
mov edi, dword [esp + 0x18]
nop
mov ecx, dword [esi]
movss xmm0, dword [esp + 0x1c]
push ecx
movss dword [esp], xmm0
mov eax, dword [ecx]
push edi
call dword [eax + 0xc]
add esi, 4
cmp esi, dword [esp + 0x4c]
jne 0x481150
call fcn.0042ef70
call fcn.00426940
mov ecx, 1
call fcn.004214d0
pop edi
pop esi
mov esp, ebp
pop ebp
ret