Function at 0x100a1bf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
mov eax, dword [0x10155368]
xor eax, esp
mov dword [esp + 0x104], eax
mov eax, dword [ebp + 8]
mov ecx, dword [0x101cbde8]
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 [0x101d3a4c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
cmp eax, dword [ecx + 4]
jle 0x100a1c7b
push 0x101d3a4c
call fcn.100d1535
add esp, 4
cmp dword [0x101d3a4c], 0xffffffff
jne 0x100a1c77
mov eax, dword [0x101d389c]
push 0x101d3a4c
mov dword [0x101d3a14], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [0x101d3a14]
movq xmm0, qword [esi + eax]
mov eax, dword [esi + eax + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [0x101d3a0c]
movq qword [esp + 0x44], xmm0
cmp eax, dword [ecx + 4]
jle 0x100a1cd1
push 0x101d3a0c
call fcn.100d1535
add esp, 4
cmp dword [0x101d3a0c], 0xffffffff
jne 0x100a1ccd
mov eax, dword [0x101d38a4]
push 0x101d3a0c
mov dword [0x101d3a00], eax
call fcn.100d14eb
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [0x101d3a00]
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 [0x101d376c]
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 [0x10150270]
addss xmm0, dword [0x10150138]
divss xmm1, xmm0
movss xmm0, dword [0x10150220]
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 0x100a1e05
push 0x101d376c
call fcn.100d1535
add esp, 4
cmp dword [0x101d376c], 0xffffffff
jne 0x100a1de3
mov eax, dword [0x101d3764]
push 0x101d376c
mov dword [0x101d3768], eax
call fcn.100d14eb
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 [0x101d3768]
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 0x100a1eb7
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 [0x10150ad0]
jmp 0x100a1f59
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 0x100a1f18
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 [0x10150ad0]
jmp 0x100a1f59
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 [0x101503d8]
comiss xmm0, xmm1
jb 0x100a200f
mov edi, dword [0x101cbe18]
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.10055e60
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 0x100a200f
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.100d1418
mov esp, ebp
pop ebp
ret 0x10