Function at 0x10022170
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a1ab0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x100f3900]
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
movss xmm5, dword [edx + 8]
movss xmm6, dword [edx + 4]
subss xmm5, dword [esi + 8]
subss xmm6, dword [esi + 4]
movss xmm7, dword [edx]
subss xmm7, dword [esi]
mov edi, dword [ebx + 0xc]
movaps xmm1, xmm5
mov dword [ebp - 0x3c], edx
mulss xmm1, xmm5
movaps xmm0, xmm6
mov dword [ebp - 0x38], esi
mulss xmm0, xmm6
movss dword [ebp - 0x70], xmm5
movss dword [ebp - 0x78], xmm6
addss xmm0, xmm1
movss dword [ebp - 0x74], xmm7
movaps xmm1, xmm7
mulss xmm1, xmm7
addss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100222a6
movaps xmm0, xmm1
lea eax, [ebp - 0x70]
sqrtss xmm0, xmm0
lea ecx, [ebp - 0x6c]
push eax
push 1
push 3
movss dword [ebp - 0x70], xmm0
call fcn.10028ad0
movups xmm0, xmmword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x94]
movups xmmword [ebp - 0xa4], xmm0
call fcn.10028fd0
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x94]
push eax
call fcn.10044890
mov ecx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x48]
movss xmm7, dword [ecx]
movss xmm6, dword [ecx + 4]
movss xmm5, dword [ecx + 8]
subss xmm7, dword [eax]
subss xmm6, dword [eax + 4]
subss xmm5, dword [eax + 8]
divss xmm7, xmm0
divss xmm6, xmm0
divss xmm5, xmm0
movss dword [ebp - 0x74], xmm7
movss dword [ebp - 0x78], xmm6
movss dword [ebp - 0x70], xmm5
mov eax, dword [ebx + 8]
movaps xmm4, xmm7
movaps xmm0, xmm6
movaps xmm2, xmm6
mulss xmm0, dword [eax]
mulss xmm4, dword [eax + 4]
movss xmm1, dword [eax + 8]
mulss xmm5, dword [eax]
subss xmm4, xmm0
mulss xmm2, xmm1
movaps xmm0, xmm7
mulss xmm0, xmm1
movss dword [ebp - 0x80], xmm4
subss xmm5, xmm0
movss xmm0, dword [ebp - 0x70]
mulss xmm0, dword [eax + 4]
subss xmm2, xmm0
movss dword [ebp - 0x84], xmm5
movaps xmm0, xmm4
movaps xmm1, xmm5
mulss xmm0, xmm4
mulss xmm1, xmm5
movss dword [ebp - 0x88], xmm2
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x1002239c
movaps xmm0, xmm1
lea eax, [ebp - 0x18]
sqrtss xmm0, xmm0
lea ecx, [ebp - 0x6c]
push eax
push 1
push 3
movss dword [ebp - 0x18], xmm0
call fcn.10028ad0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x4c]
push eax
call fcn.10028fd0
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.10044890
mov eax, dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x38]
movss xmm6, dword [ebp - 0x78]
movss xmm7, dword [ebp - 0x74]
movss xmm2, dword [eax]
divss xmm2, xmm0
movss dword [ebp - 0x24], xmm2
movss xmm5, dword [eax + 4]
divss xmm5, xmm0
movss dword [ebp - 0x20], xmm5
movss xmm4, dword [eax + 8]
divss xmm4, xmm0
movss dword [ebp - 0x1c], xmm4
jmp 0x100223af
movq xmm0, qword [ebp - 0x88]
mov eax, dword [ebp - 0x80]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], eax
movaps xmm0, xmm7
movss dword [ebp - 0x18], xmm2
mulss xmm0, xmm5
lea eax, [ebp - 0x79]
lea ecx, [ebp - 0x68]
movaps xmm1, xmm6
movaps xmm3, xmm4
mulss xmm1, xmm2
push eax
mulss xmm4, xmm7
push 4
subss xmm1, xmm0
mulss xmm3, xmm6
push 4
movss xmm0, dword [ebp - 0x70]
mulss xmm0, xmm2
movaps xmm2, xmm5
movss dword [ebp - 0x28], xmm1
subss xmm4, xmm0
movss xmm0, dword [ebp - 0x70]
mulss xmm0, xmm2
subss xmm0, xmm3
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x30], xmm0
call fcn.1001c460
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x18]
call fcn.1004b860
mov ecx, edi
mov dword [ebp - 4], 0xb
call fcn.100295b0
mov dword [edi], 0x3f800000
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x3f800000
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0x3f800000
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0x3f800000
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x68], xmm0
mov ecx, edi
mov dword [ebp - 4], 0xd
call fcn.100295b0
movss xmm0, dword [ebp - 0x68]
movss dword [edi], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x68], xmm0
mov ecx, edi
mov dword [ebp - 4], 0xf
call fcn.100295b0
movss xmm0, dword [ebp - 0x68]
movss dword [edi + 0x10], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x68], xmm0
mov ecx, edi
mov dword [ebp - 4], 0x11
call fcn.100295b0
movss xmm0, dword [ebp - 0x68]
movss dword [edi + 0x20], xmm0
movss xmm0, dword [ebp - 0x30]
movss dword [ebp - 0x68], xmm0
mov ecx, edi
mov dword [ebp - 4], 0x13
call fcn.100295b0
movss xmm0, dword [ebp - 0x68]
movss dword [edi + 4], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x68], xmm0
mov ecx, edi
mov dword [ebp - 4], 0x15
call fcn.100295b0
movss xmm0, dword [ebp - 0x68]
movss dword [edi + 0x14], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x68], xmm0
mov ecx, edi
mov dword [ebp - 4], 0x17
call fcn.100295b0
movss xmm0, dword [ebp - 0x68]
movss dword [edi + 0x24], xmm0
movss xmm0, dword [ebp - 0x74]
xorps xmm0, xmmword [0x100e7360]
movss dword [ebp - 0x68], xmm0
mov ecx, edi
mov dword [ebp - 4], 0x19
call fcn.100295b0
movss xmm0, dword [ebp - 0x68]
movss dword [edi + 8], xmm0
movss xmm0, dword [ebp - 0x78]
xorps xmm0, xmmword [0x100e7360]
movss dword [ebp - 0x68], xmm0
mov ecx, edi
mov dword [ebp - 4], 0x1b
call fcn.100295b0
movss xmm0, dword [ebp - 0x68]
movss dword [edi + 0x18], xmm0
movss xmm0, dword [ebp - 0x70]
xorps xmm0, xmmword [0x100e7360]
movss dword [ebp - 0x68], xmm0
mov ecx, edi
mov dword [ebp - 4], 0x1d
call fcn.100295b0
movss xmm0, dword [ebp - 0x68]
lea eax, [ebp - 0x68]
movss xmm2, dword [0x100e7360]
movss dword [edi + 0x28], xmm0
movss xmm0, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x20]
xorps xmm0, xmm2
mov dword [ebp - 0x6c], eax
xorps xmm1, xmm2
mulss xmm0, dword [esi + 8]
mulss xmm1, dword [esi + 4]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x24]
xorps xmm0, xmm2
mulss xmm0, dword [esi]
addss xmm0, xmm1
movss dword [ebp - 0x68], xmm0
mov ecx, edi
mov dword [ebp - 4], 0x21
call fcn.100295b0
movss xmm0, dword [ebp - 0x68]
lea eax, [ebp - 0x68]
movss xmm2, dword [0x100e7360]
movss dword [edi + 0x30], xmm0
movss xmm0, dword [ebp - 0x28]
movss xmm1, dword [ebp - 0x2c]
xorps xmm0, xmm2
mov dword [ebp - 0x6c], eax
xorps xmm1, xmm2
mulss xmm0, dword [esi + 8]
mulss xmm1, dword [esi + 4]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x30]
xorps xmm0, xmm2
mulss xmm0, dword [esi]
addss xmm0, xmm1
movss dword [ebp - 0x68], xmm0
mov dword [ebp - 4], 0x25
mov ecx, edi
call fcn.100295b0
movss xmm0, dword [ebp - 0x68]
lea eax, [ebp - 0x68]
movss xmm1, dword [ebp - 0x70]
movss dword [edi + 0x34], xmm0
movss xmm0, dword [ebp - 0x78]
mov dword [ebp - 0x6c], eax
mulss xmm1, dword [esi + 8]
mulss xmm0, dword [esi + 4]
addss xmm0, xmm1
movss xmm1, dword [ebp - 0x74]
mulss xmm1, dword [esi]
addss xmm1, xmm0
movss dword [ebp - 0x74], xmm1
mov ecx, edi
mov dword [ebp - 4], 0x29
call fcn.100295b0
movss xmm0, dword [ebp - 0x74]
movss dword [edi + 0x38], xmm0
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.10075417
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret