Function at 0x10010960
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5ef0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x158
mov eax, dword [0x100ee940]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xf4], esi
push dword [esi + 0x3c]
push 0x8d40
call dword [0x10104ec0]
push dword [esi + 0x40]
push 0x8d41
call dword [0x10104ea8]
push 0x4100
call dword [0x10104538]
push dword [esi + 0x34]
push dword [esi + 0x30]
push 0
push 0
call dword [0x101045bc]
movss xmm0, dword [esi + 0x28]
lea edx, [esi + 0x20]
movss xmm1, dword [edx + 4]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edx]
mulss xmm0, xmm0
addss xmm1, xmm0
comiss xmm1, dword [0x100e39b8]
jbe 0x10010a84
movaps xmm0, xmm1
lea eax, [ebp - 0xd4]
sqrtss xmm0, xmm0
lea ecx, [ebp - 0xfc]
push eax
sub esp, 8
movss dword [ebp - 0xd4], xmm0
call fcn.100298a0
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], edx
call fcn.10029da0
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x20]
push eax
call fcn.100457b0
mov eax, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x48]
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
divss xmm1, xmm0
divss xmm2, xmm0
movss xmm3, dword [eax + 8]
movss dword [ebp - 0xe0], xmm1
movss dword [ebp - 0xdc], xmm2
divss xmm3, xmm0
jmp 0x10010ab1
movq xmm0, qword [edx]
mov eax, dword [edx + 8]
movq qword [ebp - 0xe0], xmm0
movss xmm2, dword [ebp - 0xdc]
movss xmm1, dword [ebp - 0xe0]
mov dword [ebp - 0xd8], eax
movss xmm3, dword [ebp - 0xd8]
movss xmm0, dword [0x100e3ae0]
lea edx, [ebp - 0x2c]
mulss xmm1, xmm0
lea ecx, [ebp - 0xe0]
mulss xmm2, xmm0
mulss xmm3, xmm0
movss dword [ebp - 0x38], xmm1
movss dword [ebp - 0x34], xmm2
movss dword [ebp - 0x30], xmm3
movss dword [ebp - 0xe0], xmm1
movss dword [ebp - 0xdc], xmm2
movss dword [ebp - 0xd8], xmm3
call fcn.10023b00
movss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x7c], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x78], xmm0
movq xmm0, qword [esi + 0x9c]
mov eax, dword [esi + 0xa4]
movq qword [ebp - 0x5c], xmm0
movss xmm0, dword [esi + 0xa8]
movss xmm1, dword [esi + 0xac]
addss xmm0, xmm0
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x74]
movss dword [ebp - 0xf0], xmm0
movss xmm0, dword [esi + 0xb0]
movss dword [ebp - 0xd4], xmm0
movups xmm0, xmmword [esi + 0x50]
push ecx
movss dword [ebp - 0xf8], xmm1
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0x60], eax
movss xmm0, dword [esi + 0x64]
movss dword [ebp - 0xe8], xmm0
movss xmm0, dword [esi + 0x60]
movss dword [ebp - 0xec], xmm0
movq xmm0, qword [esi + 0x78]
movq qword [ebp - 0x74], xmm0
movq xmm0, qword [esi + 0x6c]
movq qword [ebp - 0x68], xmm0
movss dword [esp], xmm1
call fcn.1008ab54
movss xmm0, dword [ebp - 0xd4]
fstp dword [ebp - 0xe4]
movss dword [esp], xmm0
call fcn.1008ab54
movss xmm0, dword [ebp - 0xe4]
fstp dword [ebp - 0xd4]
addss xmm0, dword [ebp - 0xd4]
push ecx
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x100e3a58]
movsd qword [esp], xmm0
call fcn.1008a0cf
lea edi, [esi + 0x1a0]
lea eax, [ebp - 0x80]
push edi
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x38]
fstp dword [ebp - 0xe4]
call fcn.10022e50
movss xmm2, dword [ebp - 0x74]
add esp, 0x10
movss xmm0, dword [ebp - 0x60]
movss xmm1, dword [ebp - 0x64]
addss xmm0, dword [ebp - 0x6c]
addss xmm2, dword [ebp - 0x68]
addss xmm1, dword [ebp - 0x70]
movss dword [ebp - 0xd8], xmm0
mov eax, dword [ebp - 0xd8]
movss xmm0, dword [ebp - 0xec]
unpcklps xmm2, xmm1
movq qword [ebp - 0xe0], xmm2
movq qword [ebp - 0x4c], xmm2
mov dword [ebp - 0x44], eax
mulss xmm0, dword [ebp - 0xe8]
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0xd0]
movss dword [ebp - 0xe8], xmm0
call fcn.1001c8c0
lea ecx, [ebp - 0x4c]
mov edx, eax
push ecx
lea ecx, [ebp - 0x160]
call fcn.100233d0
add esp, 4
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.1002a380
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x20], edi
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.1002a380
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 4
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 2
call fcn.1002a380
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
movss xmm0, dword [ecx + 8]
movups xmm2, xmmword [eax + 0x20]
movss xmm4, dword [ecx]
movss xmm1, dword [ecx + 4]
movups xmm3, xmmword [eax + 0x10]
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
movups xmm0, xmmword [eax]
shufps xmm1, xmm1, 0
mulps xmm3, xmm1
movups xmm1, xmmword [eax + 0x30]
shufps xmm4, xmm4, 0
mulps xmm0, xmm4
addps xmm3, xmm0
movss xmm0, dword [ecx + 0xc]
shufps xmm0, xmm0, 0
mulps xmm1, xmm0
addps xmm3, xmm2
addps xmm3, xmm1
movaps xmmword [ebp - 0xc0], xmm3
movss xmm2, dword [ecx + 0x10]
movss xmm0, dword [ecx + 0x14]
movups xmm1, xmmword [eax + 0x10]
movups xmm3, xmmword [eax]
shufps xmm0, xmm0, 0
mulps xmm1, xmm0
movss xmm0, dword [ecx + 0x1c]
shufps xmm2, xmm2, 0
mulps xmm3, xmm2
shufps xmm0, xmm0, 0
addps xmm3, xmm1
movss xmm1, dword [ecx + 0x18]
shufps xmm1, xmm1, 0
mulps xmm1, xmmword [eax + 0x20]
addps xmm3, xmm1
movups xmm1, xmmword [eax + 0x30]
mulps xmm1, xmm0
addps xmm1, xmm3
movaps xmmword [ebp - 0xb0], xmm1
movss xmm0, dword [ecx + 0x24]
movups xmm2, xmmword [eax + 0x10]
movss xmm1, dword [ecx + 0x20]
shufps xmm0, xmm0, 0
mulps xmm2, xmm0
movups xmm0, xmmword [eax]
shufps xmm1, xmm1, 0
mulps xmm0, xmm1
movups xmm1, xmmword [eax + 0x20]
addps xmm2, xmm0
movss xmm0, dword [ecx + 0x28]
shufps xmm0, xmm0, 0
mulps xmm1, xmm0
movss xmm0, dword [ecx + 0x2c]
shufps xmm0, xmm0, 0
addps xmm2, xmm1
movups xmm1, xmmword [eax + 0x30]
mulps xmm1, xmm0
addps xmm2, xmm1
movaps xmmword [ebp - 0xa0], xmm2
movss xmm0, dword [ecx + 0x34]
movss xmm4, dword [ecx + 0x30]
movups xmm3, xmmword [eax + 0x10]
movss xmm2, dword [ecx + 0x38]
movss xmm1, dword [ecx + 0x3c]
lea ecx, [ebp - 0x28]
shufps xmm0, xmm0, 0
mulps xmm3, xmm0
movups xmm0, xmmword [eax]
shufps xmm4, xmm4, 0
mulps xmm0, xmm4
shufps xmm2, xmm2, 0
mulps xmm2, xmmword [eax + 0x20]
addps xmm0, xmm3
shufps xmm1, xmm1, 0
mulps xmm1, xmmword [eax + 0x30]
addps xmm0, xmm2
addps xmm0, xmm1
movaps xmmword [ebp - 0x90], xmm0
call fcn.10017480
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 3
call fcn.1002a380
mov ecx, edi
mov dword [ebp - 4], 4
call fcn.1002a380
movaps xmm0, xmmword [ebp - 0xc0]
movups xmmword [edi], xmm0
movaps xmm0, xmmword [ebp - 0xb0]
movups xmmword [edi + 0x10], xmm0
movaps xmm0, xmmword [ebp - 0xa0]
movups xmmword [edi + 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x90]
movups xmmword [edi + 0x30], xmm0
movss xmm2, dword [ebp - 0x34]
subss xmm2, dword [ebp - 0x58]
movss xmm1, dword [ebp - 0x30]
subss xmm1, dword [ebp - 0x54]
movss xmm0, dword [ebp - 0x38]
subss xmm0, dword [ebp - 0x5c]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
movaps xmm0, xmm2
sqrtss xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0xf0]
cvtps2pd xmm0, xmm0
divsd xmm0, qword [0x100e3ad8]
mulsd xmm0, qword [0x100e3a98]
call fcn.100a4b30
movss xmm1, dword [ebp - 0x50]
xorps xmm3, xmm3
mov ecx, dword [ebp - 0xf4]
cvtps2pd xmm1, xmm1
mov eax, dword [ecx + 0x30]
mulsd xmm0, xmm1
cvtsd2ss xmm3, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x100e3c20]
xorps xmm2, xmmword [0x100e3c60]
cvtpd2ps xmm5, xmm0
mov eax, dword [ecx + 0x34]
movaps xmm1, xmm5
mulss xmm5, xmm2
sub esp, 8
add ecx, 0x1e0
mulss xmm1, xmm3
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100e3c20]
cvtpd2ps xmm4, xmm0
movss xmm0, dword [ebp - 0xe4]
divss xmm5, xmm4
divss xmm1, xmm4
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0xf8]
movss dword [esp], xmm0
movaps xmm0, xmm5
call fcn.10023840
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10078315
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret