Function at 0x100a7e70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x1015a368]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x10223928]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword fs:[0x2c]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov eax, dword [eax + ecx*4]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov ecx, eax
mov eax, dword [0x1022b678]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
cmp eax, dword [ecx + 4]
jle 0x100a7efb
push 0x1022b678
call fcn.100d8275
add esp, 4
cmp dword [0x1022b678], 0xffffffff
jne 0x100a7ef7
mov eax, dword [0x1022b3e4]
push 0x1022b678
mov dword [0x1022b644], eax
call fcn.100d822b
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [0x1022b644]
movq xmm0, qword [esi + eax]
mov eax, dword [esi + eax + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [0x1022b63c]
movq qword [esp + 0x44], xmm0
cmp eax, dword [ecx + 4]
jle 0x100a7f51
push 0x1022b63c
call fcn.100d8275
add esp, 4
cmp dword [0x1022b63c], 0xffffffff
jne 0x100a7f4d
mov eax, dword [0x1022b3e0]
push 0x1022b63c
mov dword [0x1022b630], eax
call fcn.100d822b
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [0x1022b630]
movss xmm5, dword [edi]
movss xmm6, dword [edi + 4]
subss xmm5, dword [edx]
subss xmm6, dword [edx + 4]
movq xmm0, qword [esi + eax]
movss xmm7, dword [edi + 8]
subss xmm7, dword [edx + 8]
movq qword [esp + 0x38], xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
movaps xmm1, xmm6
mov eax, dword [esi + eax + 8]
mulss xmm1, xmm6
mov dword [esp + 0x40], eax
movss xmm3, dword [esp + 0x38]
movss xmm2, dword [esp + 0x3c]
addss xmm1, xmm0
movss xmm4, dword [esp + 0x40]
movaps xmm0, xmm7
mov eax, dword [0x1022b2ac]
mulss xmm0, xmm7
addss xmm3, dword [esp + 0x44]
addss xmm2, dword [esp + 0x48]
addss xmm1, xmm0
xorps xmm0, xmm0
addss xmm4, dword [esp + 0x4c]
sqrtss xmm0, xmm1
movss xmm1, dword [0x10155c80]
addss xmm0, dword [0x10155b38]
divss xmm1, xmm0
movss xmm0, dword [0x10155c24]
mulss xmm5, xmm1
mulss xmm6, xmm1
mulss xmm7, xmm1
mulss xmm3, xmm0
mulss xmm2, xmm0
mulss xmm4, xmm0
movss dword [esp + 0x18], xmm5
movss dword [esp + 0x1c], xmm6
movss dword [esp + 0x28], xmm7
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x24], xmm4
cmp eax, dword [ecx + 4]
jle 0x100a8085
push 0x1022b2ac
call fcn.100d8275
add esp, 4
cmp dword [0x1022b2ac], 0xffffffff
jne 0x100a8063
mov eax, dword [0x1022b2a4]
push 0x1022b2ac
mov dword [0x1022b2a8], eax
call fcn.100d822b
add esp, 4
mov edx, dword [esp + 0x14]
movss xmm6, dword [esp + 0x1c]
movss xmm5, dword [esp + 0x18]
movss xmm4, dword [esp + 0x24]
movss xmm3, dword [esp + 0x10]
movss xmm2, dword [esp + 0x20]
mov eax, dword [0x1022b2a8]
movaps xmm7, xmm5
addss xmm3, dword [esi + eax]
addss xmm2, dword [esi + eax + 4]
addss xmm4, dword [esi + eax + 8]
movaps xmm0, xmm3
movss dword [esp + 0x10], xmm3
subss xmm0, dword [edx]
movaps xmm1, xmm2
movaps xmm3, xmm4
subss xmm1, dword [edx + 4]
subss xmm3, dword [edx + 8]
mulss xmm7, xmm0
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm6
mulss xmm0, xmm1
movss dword [esp + 0x18], xmm3
addss xmm7, xmm0
movss dword [esp + 0x14], xmm7
movss xmm7, dword [esp + 0x28]
movaps xmm0, xmm7
mulss xmm0, xmm3
movss xmm3, dword [esp + 0x14]
addss xmm3, xmm0
xorps xmm0, xmm0
movss dword [esp + 0x14], xmm3
comiss xmm0, xmm3
movss xmm3, dword [esp + 0x10]
jbe 0x100a8137
movss xmm0, dword [esp + 0x1c]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, xmm0
addss xmm1, xmm0
sqrtss xmm1, xmm1
xorps xmm1, xmmword [0x10156560]
jmp 0x100a81d9
movaps xmm1, xmm5
movaps xmm0, xmm6
mulss xmm0, xmm6
mulss xmm1, xmm5
addss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm7
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss xmm1, dword [esp + 0x14]
comiss xmm1, xmm0
jbe 0x100a8198
subss xmm2, dword [edi + 4]
subss xmm3, dword [edi]
subss xmm4, dword [edi + 8]
xorps xmm1, xmm1
mulss xmm2, xmm2
mulss xmm3, xmm3
mulss xmm4, xmm4
addss xmm2, xmm3
addss xmm2, xmm4
sqrtss xmm1, xmm2
xorps xmm1, xmmword [0x10156560]
jmp 0x100a81d9
mulss xmm5, xmm1
mulss xmm6, xmm1
mulss xmm7, xmm1
xorps xmm1, xmm1
addss xmm5, dword [edx]
addss xmm6, dword [edx + 4]
addss xmm7, dword [edx + 8]
subss xmm3, xmm5
subss xmm2, xmm6
subss xmm4, xmm7
mulss xmm3, xmm3
mulss xmm2, xmm2
mulss xmm4, xmm4
addss xmm2, xmm3
addss xmm2, xmm4
sqrtss xmm1, xmm2
movss xmm0, dword [0x10155e20]
comiss xmm0, xmm1
jb 0x100a828f
mov edi, dword [0x10223958]
lea ecx, [esp + 0x50]
push dword [esp + 0x2c]
xorps xmm0, xmm0
mov dword [esp + 0xc4], 0
push edx
mov eax, dword [edi]
movaps xmmword [esp + 0xa8], xmm0
movaps xmmword [esp + 0xb8], xmm0
mov esi, dword [eax + 0xc]
call fcn.10055ee0
lea ecx, [esp + 0xa0]
push ecx
push dword [esp + 0x34]
mov ecx, edi
push 0x4600400b
push eax
call esi
mov ecx, dword [esp + 0x34]
movss xmm0, dword [ecx + 0x2c]
comiss xmm0, dword [esp + 0xcc]
jbe 0x100a828f
movups xmm0, xmmword [esp + 0xa0]
mov eax, dword [esp + 0xf0]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esp + 0xb0]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [esp + 0xc0]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [esp + 0xd0]
movups xmmword [ecx + 0x30], xmm0
movups xmm0, xmmword [esp + 0xe0]
movups xmmword [ecx + 0x40], xmm0
mov dword [ecx + 0x50], eax
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
xor ecx, esp
call fcn.100d8158
mov esp, ebp
pop ebp
ret 0x10