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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc0
mov eax, dword [0x100b6004]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [ebp + 0x10]
movss dword [esp + 0x58], xmm3
movss dword [esp + 0x64], xmm2
mov dword [esp + 0x14], ecx
push esi
push edi
mov edi, edx
cmp eax, 2
jl 0x1000d4c7
movss xmm2, dword [edi + 4]
xorps xmm0, xmm0
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x58], xmm0
movss xmm3, dword [edi + 8]
movd xmm0, eax
mov eax, 0x200
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm2
mulss xmm0, dword [0x100aa858]
movss dword [esp + 0x24], xmm3
cvttss2si esi, xmm0
movss xmm0, dword [edi]
movaps xmm1, xmm0
movss dword [esp + 0x14], xmm0
mulss xmm1, xmm0
cmp esi, eax
movaps xmm0, xmm2
cmovg esi, eax
mulss xmm0, xmm2
mov dword [esp + 0x84], esi
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1000cd1c
sqrtsd xmm0, xmm0
jmp 0x1000cd21
call fcn.10098f60
mulsd xmm0, qword [0x100aa728]
lea eax, [esi - 1]
movss xmm1, dword [0x100aa6fc]
movss xmm2, dword [0x100aa724]
mulsd xmm0, qword [0x100aa7f0]
cvtsd2ss xmm0, xmm0
maxss xmm1, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x10], xmm1
divss xmm2, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x4c], xmm2
mulss xmm0, xmm1
mulss xmm0, dword [0x100aa6d0]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [ebp + 8]
mulss xmm0, dword [ebp + 0xc]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x78], xmm0
fld qword [esp + 0x78]
fld1
call fcn.10097300
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [esp + 0x60]
mov dword [esp + 0x28], 0
movss xmm2, dword [esp + 0x14]
movss xmm1, dword [esp + 0x18]
mulss xmm0, dword [0x100aa6d0]
movss xmm3, dword [esp + 0x24]
fstp dword [esp + 0x2c]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x4c]
mulss xmm0, dword [0x100aa900]
mulss xmm0, dword [0x100aa95c]
cvttss2si eax, xmm0
movss xmm0, dword [0x100aa6fc]
mulss xmm1, xmm0
shl eax, 3
mulss xmm2, xmm0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x1c]
mulss xmm3, xmm0
movss dword [edi + 4], xmm1
movaps xmm0, xmm2
movss dword [edi], xmm2
movss dword [edi + 8], xmm3
addss xmm0, dword [eax]
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x50], xmm0
movaps xmm0, xmm1
addss xmm0, dword [eax + 4]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm3
addss xmm0, dword [eax + 8]
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm1
mulss xmm0, xmm1
movaps xmm1, xmm2
mulss xmm1, xmm2
movss dword [esp + 0xc], xmm0
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1000ce85
sqrtsd xmm0, xmm0
jmp 0x1000ce8a
call fcn.10098f60
movss xmm2, dword [esp + 0x10]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
mov eax, dword [0x11a5f1d0]
cmp dword [eax + 0x24], 0
movss xmm0, dword [esp + 0x50]
addss xmm0, xmm1
movss dword [esp + 0x48], xmm1
movss dword [esp + 0xac], xmm1
movss dword [esp + 0xb0], xmm1
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0x54]
addss xmm0, xmm1
movss dword [esp + 0xa4], xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, xmm2
movss dword [esp + 0xa8], xmm0
movss xmm0, dword [esp + 0x50]
subss xmm0, xmm1
movss dword [esp + 0x94], xmm0
movss xmm0, dword [esp + 0x54]
subss xmm0, xmm1
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x1c]
subss xmm0, xmm2
movss dword [esp + 0x9c], xmm0
je 0x1000d4c7
mov eax, dword [0x11a5f4cc]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x1000cf52
cmp dword [0x11a217e8], 0
je 0x1000cf52
call eax
jmp 0x1000cf57
mov eax, 0x11a082a8
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x9c]
push eax
call dword [0x11a5f398]
add esp, 0xc
test eax, eax
je 0x1000d4c7
lea eax, [esp + 0xa0]
mov ecx, 0x11a07fd8
push 0
push eax
lea edx, [esp + 0x9c]
call fcn.100148b0
add esp, 8
test eax, eax
jne 0x1000d4c7
movss xmm1, dword [esp + 0x14]
xorps xmm2, xmm2
xorps xmm1, xmmword [0x100aaa70]
movaps xmm0, xmm1
movss dword [esp + 0x20], xmm1
mulss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, dword [esp + 0xc]
addss xmm0, xmm2
cvtss2sd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x1000cfd9
sqrtsd xmm0, xmm0
jmp 0x1000cfde
call fcn.10098f60
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1000d003
movss xmm0, dword [0x100aa724]
divss xmm0, xmm1
movaps xmm1, xmm0
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x18]
mov eax, esi
cdq
and edx, 7
mulss xmm2, xmm1
add eax, edx
sar eax, 3
mov dword [esp + 0x78], eax
mov edi, eax
lea eax, [esi + 1]
xor esi, esi
test eax, eax
jle 0x1000d4c7
movss xmm3, dword [esp + 0x48]
mulss xmm2, xmm3
movss dword [esp + 0x68], xmm2
movss xmm2, dword [esp + 0x20]
mulss xmm2, xmm1
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm2, xmm3
mulss xmm1, xmm3
movss dword [esp + 0x20], xmm2
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x64], xmm1
nop dword [eax]
xorps xmm0, xmm0
cvtsi2ss xmm0, esi
mulss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x2c], xmm0
mulss xmm0, dword [0x100aa8cc]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x40], xmm0
call fcn.10098d90
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x30], xmm0
movsd xmm0, qword [esp + 0x40]
call fcn.10098080
mov eax, dword [esp + 0x28]
cvtsd2ss xmm0, xmm0
sar eax, 0x10
and eax, 0x3f
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [eax*4 + 0x100ea0a0]
movaps xmm1, xmm0
movss dword [esp + 0x48], xmm0
mulss xmm1, dword [0x11a08098]
movss dword [esp + 0x38], xmm1
movaps xmm1, xmm0
mulss xmm0, dword [0x11a080a0]
mulss xmm1, dword [0x11a0809c]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, dword [0x100aa858]
movss dword [esp + 0x3c], xmm1
mulss xmm0, dword [0x100aa8ec]
addss xmm0, dword [ebp + 8]
cvtps2pd xmm0, xmm0
call fcn.10098080
movss xmm1, dword [esp + 0x48]
lea edx, [esp + 0x94]
movss xmm3, dword [esp + 0x30]
lea ecx, [esp + 0x88]
movss xmm2, dword [esp + 0x34]
movss xmm4, dword [esp + 0x14]
cvtps2pd xmm1, xmm1
mulss xmm4, xmm3
mulsd xmm0, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [esp + 0x68]
mulss xmm0, xmm2
addss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x11a0808c]
addss xmm4, dword [esp + 0x50]
addss xmm4, dword [esp + 0x38]
addss xmm4, xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, xmm3
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x88], xmm4
movss xmm4, dword [esp + 0x20]
mulss xmm4, xmm2
addss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x11a08090]
mulss xmm1, dword [0x11a08094]
addss xmm4, dword [esp + 0x54]
addss xmm4, dword [esp + 0x3c]
addss xmm4, xmm0
movss xmm0, dword [esp + 0x24]
mulss xmm0, xmm3
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x8c], xmm4
movss xmm4, dword [esp + 0x64]
mulss xmm4, xmm2
addss xmm4, xmm0
addss xmm4, dword [esp + 0x1c]
addss xmm4, dword [esp + 0x40]
addss xmm4, xmm1
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x90], xmm4
call fcn.1003dee0
test esi, esi
je 0x1000d408
movss xmm0, dword [esp + 0x98]
subss xmm0, dword [esp + 0x5c]
movss xmm2, dword [esp + 0x94]
subss xmm2, dword [esp + 0x58]
movaps xmm1, xmm0
movss dword [esp + 0x3c], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x40], xmm2
mulss xmm0, xmm2
xorps xmm2, xmm2
addss xmm1, xmm0
addss xmm1, xmm2
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1000d27d
sqrtsd xmm0, xmm0
jmp 0x1000d282
call fcn.10098f60
xorps xmm2, xmm2
xorps xmm3, xmm3
cvtsd2ss xmm2, xmm0
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jnp 0x1000d2a4
movss xmm0, dword [0x100aa724]
divss xmm0, xmm2
movaps xmm2, xmm0
movss xmm7, dword [esp + 0x6c]
movaps xmm4, xmm2
mulss xmm4, dword [esp + 0x40]
movaps xmm1, xmm2
sub esp, 8
mulss xmm1, dword [esp + 0x44]
mulss xmm2, xmm3
movaps xmm3, xmm4
mulss xmm3, dword [0x11a08098]
movaps xmm0, xmm1
mulss xmm0, dword [0x11a0808c]
movss dword [esp + 0xb0], xmm2
movaps xmm2, xmm4
mulss xmm2, dword [0x11a0809c]
addss xmm3, xmm0
movss dword [esp + 0xa8], xmm4
mulss xmm4, dword [0x11a080a0]
movaps xmm0, xmm1
mulss xmm0, dword [0x11a08090]
movss dword [esp + 0xac], xmm1
mulss xmm1, dword [0x11a08094]
addss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm7
addss xmm4, xmm1
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0xb4], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm7
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0xb8], xmm0
movaps xmm0, xmm4
mulss xmm0, xmm7
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0xbc], xmm0
movaps xmm0, xmm7
xorps xmm0, xmmword [0x100aaa70]
mulss xmm3, xmm0
mulss xmm2, xmm0
addss xmm3, dword [esp + 0x40]
mulss xmm4, xmm0
movss xmm0, dword [esp + 0x14]
addss xmm0, dword [esp + 0x78]
addss xmm2, dword [esp + 0x3c]
addss xmm4, dword [esp + 0x38]
movss dword [esp + 0xc0], xmm3
movss dword [esp + 4], xmm0
movss dword [esp + 0xc4], xmm2
movss dword [esp + 0xc8], xmm4
movss dword [esp + 0x14], xmm0
mov dword [esp], 0x3f800000
call dword [0x11a5f230]
lea eax, [esp + 0xb8]
push eax
call dword [0x11a5f1fc]
movss xmm0, dword [esp + 0xc]
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0
call dword [0x11a5f230]
lea eax, [esp + 0xac]
push eax
call dword [0x11a5f1fc]
movss xmm0, dword [esp + 0x94]
mov eax, dword [esp + 0x74]
add dword [esp + 0x28], eax
movss dword [esp + 0x58], xmm0
movss xmm0, dword [esp + 0x98]
movss dword [esp + 0x5c], xmm0
sub edi, 1
jne 0x1000d4b6
movss xmm1, dword [esp + 0x60]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1000d4b6
mov edi, dword [esp + 0x78]
sub esp, 8
mov dword [esp + 4], 0x3e000000
mov dword [esp], 0xbe000000
call dword [0x11a5f3e4]
movss xmm0, dword [0x100ea0a0]
add esp, 8
addss xmm0, dword [0x100ea1a0]
fmul dword [0x100aa904]
mov edx, 0x20
mov ecx, 0x100ea120
mulss xmm0, dword [0x100aa6fc]
fstp dword [esp + 0x40]
addss xmm0, dword [esp + 0x40]
movss dword [0x100ea120], xmm0
call fcn.1000a950
mov edx, 0x20
mov ecx, 0x100ea0a0
call fcn.1000a950
mov eax, dword [esp + 0x84]
inc esi
inc eax
cmp esi, eax
jl 0x1000d070
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
xor ecx, esp
call fcn.10048715
mov esp, ebp
pop ebp
ret