Function at 0x10214610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x40], edx
mov eax, dword [eax + 8]
push esi
mov edx, dword [ecx + 0xc]
mov esi, dword [ecx + 4]
mov dword [esp + 0xb0], edx
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ecx]
mov dword [esp + 0x1c], eax
mov ecx, dword [edx + 0x2c]
movss xmm4, dword [ebp + 0x10]
lea eax, [edi*4]
movd xmm0, edi
mov dword [esp + 0x90], eax
mov eax, dword [edx + 8]
mov edx, ecx
imul edx, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x88], edi
add edx, dword [esp + 0x90]
add edx, eax
mov dword [esp + 0x10], edx
lea edx, [esi + 1]
mov dword [esp + 0x34], edx
imul edx, ecx
lea ecx, [edi*4]
add edx, ecx
mov ecx, dword [esp + 0x10]
add edx, eax
movzx eax, byte [ecx + 3]
add ecx, 4
mov dword [esp + 0x10], ecx
add dword [esp + 0x10], 4
mov dword [esp + 0x14], eax
movzx ecx, byte [ecx + 3]
mov dword [esp + 0xc], ecx
movzx ecx, byte [edx + 3]
mov dword [esp + 0x20], ecx
movzx ecx, byte [edx + 7]
add edx, 8
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], ecx
movss xmm3, dword [edx + 0x14]
movss xmm2, dword [edx + 0x18]
subss xmm3, xmm0
movss xmm1, dword [edx + 0x1c]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
subss xmm1, xmm0
movaps xmm0, xmm3
unpcklps xmm0, xmm2
movq qword [esp + 0x24], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
mulss xmm2, xmm2
movss dword [esp + 0x70], xmm1
mov eax, dword [esp + 0x70]
addss xmm2, xmm0
mulss xmm1, xmm1
mov dword [esp + 0x2c], eax
movss xmm0, dword [esp + 0x28]
addss xmm2, xmm1
addss xmm2, dword [0x10300014]
movaps xmm1, xmm2
rsqrtss xmm1, xmm1
mulss xmm0, xmm1
mulss xmm3, xmm1
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, xmm1
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x2c], xmm0
mov eax, dword [esp + 0xc]
xorps xmm2, xmm2
sub eax, dword [esp + 0x14]
add eax, eax
mov dword [esp + 0x70], 0x3f800000
sub eax, dword [esp + 0x20]
add eax, ecx
movd xmm3, eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x14]
add eax, eax
sub eax, dword [esp + 0xc]
add eax, ecx
mov ecx, dword [esp + 0x4c]
cvtdq2ps xmm3, xmm3
movd xmm1, eax
mulss xmm3, dword [0x10300100]
mov eax, dword [esp + 0x70]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x60], eax
xorps xmm3, xmmword [0x10300a00]
mulss xmm1, dword [0x10300100]
mulss xmm3, xmm4
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, xmm4
movaps xmm0, xmm3
unpcklps xmm0, xmm1
movq qword [esp + 0x58], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm1
mulss xmm0, xmm3
addss xmm1, xmm0
movss xmm0, dword [esp + 0x60]
addss xmm1, dword [0x10300128]
addss xmm1, dword [0x10300014]
movss xmm2, xmm1
movss xmm1, dword [esp + 0x5c]
rsqrtss xmm2, xmm2
mulss xmm0, xmm2
mulss xmm3, xmm2
movss dword [esp + 0x60], xmm0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x40], eax
lea eax, [edx + 8]
push eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x28]
mulss xmm1, xmm2
push eax
lea eax, [esp + 0x40]
push eax
unpcklps xmm3, xmm1
movq qword [esp + 0x44], xmm3
call fcn.1020d370
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
add ecx, 4
lea eax, [edi + 1]
mov dword [esp + 0x1c], ecx
mov ecx, eax
mov dword [esp + 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 8]
dec eax
mov dword [esp + 0x80], eax
cmp ecx, eax
jge 0x10214a65
mov edi, dword [esp + 0x48]
mov dword [esp + 0xd0], 0x3f800000
nop dword [eax + eax]
movd xmm0, dword [esp + 0x50]
movss xmm2, dword [edi + 0x14]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
movss xmm4, dword [edi + 0x18]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
movss xmm5, dword [ebp + 0x10]
subss xmm2, xmm0
movss xmm3, dword [edi + 0x1c]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 4
movzx eax, byte [eax + 3]
subss xmm4, xmm0
mov dword [esp + 0xc], eax
movd xmm0, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x54]
add dword [esp + 0x54], 4
movzx eax, byte [eax + 3]
movaps xmm1, xmm4
mulss xmm0, xmm5
mov dword [esp + 0x18], eax
mulss xmm1, xmm4
subss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
addss xmm1, dword [0x10300014]
movaps xmm0, xmm1
rsqrtss xmm0, xmm0
mulss xmm3, xmm0
movaps xmm1, xmm0
mulss xmm1, xmm2
movss dword [esp + 0x70], xmm3
mov eax, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
sub eax, ecx
mulss xmm4, xmm0
add eax, eax
sub eax, edx
add eax, dword [esp + 0x18]
unpcklps xmm1, xmm4
movq qword [esp + 0x24], xmm1
movd xmm3, eax
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x14]
add eax, eax
sub eax, dword [esp + 0xc]
sub eax, ecx
add eax, dword [esp + 0x18]
add eax, edx
cvtdq2ps xmm3, xmm3
movd xmm2, eax
mulss xmm3, dword [0x103000ac]
mov eax, dword [esp + 0xd0]
cvtdq2ps xmm2, xmm2
mov dword [esp + 0x60], eax
xorps xmm3, xmmword [0x10300a00]
mulss xmm2, dword [0x103000e8]
mulss xmm3, xmm5
xorps xmm2, xmmword [0x10300a00]
mulss xmm2, xmm5
movaps xmm0, xmm3
unpcklps xmm0, xmm2
movq qword [esp + 0x58], xmm0
movaps xmm0, xmm3
mulss xmm2, xmm2
mulss xmm0, xmm3
addss xmm2, xmm0
addss xmm2, dword [0x10300128]
addss xmm2, dword [0x10300014]
mov ecx, dword [esp + 0x4c]
xorps xmm1, xmm1
movss xmm1, xmm2
rsqrtss xmm1, xmm1
mulss xmm3, xmm1
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x60]
mulss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x60], xmm1
mov eax, dword [esp + 0x60]
mov dword [esp + 0x40], eax
lea eax, [edi + 8]
push eax
lea eax, [esp + 0x28]
unpcklps xmm3, xmm0
push eax
lea eax, [esp + 0x40]
movq qword [esp + 0x40], xmm3
push eax
call fcn.1020d370
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x50]
inc ecx
mov dword [esp + 0x50], ecx
cmp ecx, dword [esp + 0x80]
jl 0x10214890
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x88]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
movss xmm6, dword [ebp + 0x10]
movd xmm0, ecx
mov ecx, dword [esp + 0xc]
movss xmm3, dword [eax + 0x14]
movss xmm4, dword [eax + 0x18]
cvtdq2ps xmm0, xmm0
mov edx, dword [esp + 0x14]
subss xmm3, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov esi, eax
movss xmm5, dword [esi + 0x1c]
subss xmm4, xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm4
mulss xmm0, xmm6
mulss xmm1, xmm4
subss xmm5, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
addss xmm1, dword [0x10300014]
movaps xmm2, xmm1
rsqrtss xmm2, xmm2
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm2, xmm5
mulss xmm1, xmm3
movss dword [esp + 0x70], xmm2
xorps xmm2, xmm2
mov eax, dword [esp + 0x70]
mov dword [esp + 0x2c], eax
mov eax, ecx
mov ecx, dword [esp + 0x18]
sub eax, edx
add eax, eax
mulss xmm0, xmm4
sub eax, dword [esp + 0x20]
add eax, ecx
mov dword [esp + 0x70], 0x3f800000
sub ecx, dword [esp + 0xc]
unpcklps xmm1, xmm0
add ecx, ecx
movq qword [esp + 0x24], xmm1
sub ecx, edx
add ecx, dword [esp + 0x20]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov eax, dword [esp + 0x70]
mov dword [esp + 0x60], eax
movd xmm1, ecx
mulss xmm3, dword [0x10300100]
cvtdq2ps xmm1, xmm1
xorps xmm3, xmmword [0x10300a00]
mulss xmm1, dword [0x10300100]
mulss xmm3, xmm6
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, xmm6
movaps xmm0, xmm3
unpcklps xmm0, xmm1
movq qword [esp + 0x58], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm1
mulss xmm0, xmm3
addss xmm1, xmm0
addss xmm1, dword [0x10300128]
addss xmm1, dword [0x10300014]
movss xmm2, xmm1
rsqrtss xmm2, xmm2
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x5c]
mulss xmm2, dword [esp + 0x60]
mulss xmm1, xmm3
movss dword [esp + 0x60], xmm2
unpcklps xmm1, xmm0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x28]
movq qword [esp + 0x3c], xmm1
push eax
lea eax, [esp + 0x40]
push eax
call fcn.1020d370
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xb4]
dec ecx
mov dword [esp + 0x84], ecx
cmp eax, ecx
jge 0x10215260
lea edx, [eax + 1]
mov dword [esp + 0x110], 0x3f800000
mov dword [esp + 0xa0], 0x3f800000
mov dword [esp + 0x94], edx
mov ecx, dword [ebp + 8]
lea esi, [edx - 2]
mov edi, dword [esp + 0x90]
movd xmm0, dword [esp + 0x88]
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx + 0x2c]
mov edx, eax
mov ecx, dword [ecx + 8]
imul edx, dword [esp + 0x34]
imul esi, eax
movss xmm4, dword [ebp + 0x10]
add edx, ecx
add edx, edi
add esi, ecx
mov dword [esp + 0x50], edx
add esi, edi
mov edx, dword [esp + 0x94]
imul edx, eax
movzx eax, byte [esi + 7]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
add edx, ecx
add edx, edi
mov dword [esp + 0x14], edx
movzx ecx, byte [eax + 3]
movzx edx, byte [esi + 3]
add esi, 8
mov dword [esp + 0xac], esi
movzx esi, byte [eax + 7]
add eax, 8
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
movzx eax, byte [eax + 3]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + 7]
add eax, 8
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], ecx
movss xmm3, dword [eax + 0x14]
movss xmm2, dword [eax + 0x18]
subss xmm3, xmm0
movd xmm0, dword [esp + 0x34]
movss xmm1, dword [eax + 0x1c]
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movd xmm0, dword [esp + 0x20]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
subss xmm1, xmm0
movaps xmm0, xmm3
unpcklps xmm0, xmm2
movq qword [esp + 0x24], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
mulss xmm2, xmm2
movss dword [esp + 0x100], xmm1
mov eax, dword [esp + 0x100]
addss xmm2, xmm0
mulss xmm1, xmm1
mov dword [esp + 0x2c], eax
mov eax, esi
sub eax, dword [esp + 0x20]
add eax, eax
sub eax, dword [esp + 0x10]
addss xmm2, xmm1
sub eax, edx
addss xmm2, dword [0x10300014]
movaps xmm1, xmm2
rsqrtss xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, xmm3
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x28]
mulss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm1
add eax, ecx
xorps xmm2, xmm2
add eax, dword [esp + 0xc]
push dword [esp + 0x8c]
movd xmm3, eax
mov eax, dword [esp + 0x14]
sub eax, edx
add eax, eax
sub eax, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [esp + 0x50]
cvtdq2ps xmm3, xmm3
movd xmm1, eax
mulss xmm3, dword [0x103000e8]
mov eax, dword [esp + 0x114]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x64], eax
xorps xmm3, xmmword [0x10300a00]
mulss xmm1, dword [0x103000ac]
mulss xmm3, xmm4
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, xmm4
movaps xmm0, xmm3
unpcklps xmm0, xmm1
movq qword [esp + 0x5c], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm1
addss xmm0, xmm1
addss xmm0, dword [0x10300128]
addss xmm0, dword [0x10300014]
movss xmm2, xmm0
rsqrtss xmm2, xmm2
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm2, dword [esp + 0x64]
mulss xmm0, dword [esp + 0x60]
movss dword [esp + 0x64], xmm2
mov eax, dword [esp + 0x64]
mov dword [esp + 0xf8], eax
lea eax, [esp + 0x28]
mulss xmm1, xmm3
push eax
lea eax, [esp + 0xf4]
push eax
unpcklps xmm1, xmm0
movq qword [esp + 0xf8], xmm1
call fcn.1020d370
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0x80]
jge 0x102150a7
mov edi, dword [esp + 0x48]
mov dword [esp + 0x130], 0x3f800000
nop word [eax + eax]
movd xmm0, dword [esp + 0x54]
movss xmm3, dword [edi + 0x14]
movss xmm4, dword [edi + 0x18]
cvtdq2ps xmm0, xmm0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xb0], esi
movss xmm6, dword [ebp + 0x10]
subss xmm3, xmm0
movss xmm5, dword [edi + 0x1c]
movd xmm0, dword [esp + 0x34]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xac]
movaps xmm1, xmm3
subss xmm4, xmm0
mulss xmm1, xmm3
movd xmm0, dword [esp + 0xb0]
movzx esi, byte [eax + 3]
add eax, 4
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], esi
movzx esi, byte [eax + 3]
add eax, 4
mulss xmm0, xmm6
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
add dword [esp + 0x14], 4
subss xmm5, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
movzx eax, byte [eax + 3]
mov dword [esp + 0x30], eax
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
addss xmm1, dword [0x10300014]
movaps xmm2, xmm1
rsqrtss xmm2, xmm2
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm2, xmm5
mulss xmm1, xmm3
movss dword [esp + 0x124], xmm2
mov eax, dword [esp + 0x124]
mov dword [esp + 0x2c], eax
mov eax, esi
sub eax, dword [esp + 0x20]
add eax, eax
mulss xmm0, xmm4
sub eax, ecx
sub eax, edx
add eax, dword [esp + 0x30]
add eax, dword [esp + 0xc]
unpcklps xmm1, xmm0
movq qword [esp + 0x24], xmm1
movd xmm3, eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
add eax, eax
sub eax, dword [esp + 0xc]
sub eax, ecx
add eax, dword [esp + 0x30]
add eax, edx
cvtdq2ps xmm3, xmm3
movd xmm1, eax
mulss xmm3, dword [0x10300098]
cvtdq2ps xmm1, xmm1
xorps xmm3, xmmword [0x10300a00]
mulss xmm1, dword [0x10300098]
mulss xmm3, xmm6
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, xmm6
movaps xmm0, xmm3
unpcklps xmm0, xmm1
movq qword [esp + 0xb8], xmm0
xorps xmm2, xmm2
mov eax, dword [esp + 0x130]
movaps xmm0, xmm3
mulss xmm0, xmm3
mov ecx, dword [esp + 0x4c]
mulss xmm1, xmm1
mov dword [esp + 0xc0], eax
addss xmm0, xmm1
addss xmm0, dword [0x10300128]
addss xmm0, dword [0x10300014]
movss xmm2, xmm0
rsqrtss xmm2, xmm2
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm2, dword [esp + 0xc0]
mulss xmm0, dword [esp + 0xbc]
movss dword [esp + 0xc0], xmm2
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xd0], eax
lea eax, [edi + 8]
push eax
mulss xmm1, xmm3
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0xd0]
push eax
unpcklps xmm1, xmm0
movq qword [esp + 0xd4], xmm1
call fcn.1020d370
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x54]
inc ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], ecx
cmp ecx, dword [esp + 0x80]
jl 0x10214e80
mov dword [esp + 0x20], eax
mov eax, ecx
movd xmm0, eax
mov eax, dword [esp + 0x48]
cvtdq2ps xmm0, xmm0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
movss xmm3, dword [eax + 0x14]
movss xmm4, dword [eax + 0x18]
subss xmm3, xmm0
movd xmm0, dword [esp + 0x34]
movss xmm5, dword [eax + 0x1c]
movss xmm6, dword [ebp + 0x10]
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm3
subss xmm4, xmm0
mulss xmm1, xmm3
movd xmm0, esi
cvtdq2ps xmm0, xmm0
sub esi, dword [esp + 0x20]
add esi, esi
sub esi, edx
sub esi, ecx
mulss xmm0, xmm6
subss xmm5, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
addss xmm1, dword [0x10300014]
movaps xmm2, xmm1
rsqrtss xmm2, xmm2
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm1, xmm3
mulss xmm2, xmm5
mulss xmm0, xmm4
movss dword [esp + 0xe0], xmm2
xorps xmm2, xmm2
mov eax, dword [esp + 0xe0]
unpcklps xmm1, xmm0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
add esi, eax
sub eax, dword [esp + 0xc]
add esi, dword [esp + 0xc]
add eax, eax
movq qword [esp + 0x24], xmm1
sub eax, ecx
add eax, edx
movd xmm3, esi
cvtdq2ps xmm3, xmm3
movd xmm1, eax
mulss xmm3, dword [0x103000e8]
mov eax, dword [esp + 0xa0]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x40], eax
xorps xmm3, xmmword [0x10300a00]
mulss xmm1, dword [0x103000ac]
mulss xmm3, xmm6
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, xmm6
movaps xmm0, xmm3
unpcklps xmm0, xmm1
movq qword [esp + 0x38], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm1
mulss xmm0, xmm3
addss xmm1, xmm0
addss xmm1, dword [0x10300128]
addss xmm1, dword [0x10300014]
movss xmm2, xmm1
rsqrtss xmm2, xmm2
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x3c]
mulss xmm2, dword [esp + 0x40]
mulss xmm1, xmm3
movss dword [esp + 0x40], xmm2
unpcklps xmm1, xmm0
movq qword [esp + 0x68], xmm1
mov eax, dword [esp + 0x40]
push dword [esp + 0x8c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.1020d370
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x94]
mov edi, dword [esp + 0x88]
inc edx
mov dword [esp + 0x94], edx
mov dword [ecx], eax
add ecx, 4
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x84]
jl 0x10214c23
mov esi, dword [esp + 0x48]
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0xb4]
movss xmm3, dword [esi + 0x14]
add edx, 0xfffffffe
movss xmm2, dword [esi + 0x18]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 8]
imul edx, ecx
imul ecx, dword [esp + 0x84]
movss xmm4, dword [ebp + 0x10]
movss xmm1, dword [esi + 0x1c]
movd xmm0, edi
add edx, eax
add edx, dword [esp + 0x90]
add ecx, eax
cvtdq2ps xmm0, xmm0
lea eax, [edi*4]
add ecx, eax
movzx eax, byte [edx + 3]
mov dword [esp + 0x10], eax
movzx eax, byte [edx + 7]
add edx, 8
subss xmm3, xmm0
mov dword [esp + 0x84], edx
movzx edx, byte [ecx + 3]
add ecx, 4
movd xmm0, dword [esp + 0x34]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0xc], eax
mov dword [esp + 0x30], ecx
movzx ecx, byte [ecx + 3]
add dword [esp + 0x30], 4
mov dword [esp + 0x14], edx
subss xmm2, xmm0
mov dword [esp + 0x18], ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
subss xmm1, xmm0
movaps xmm0, xmm3
unpcklps xmm0, xmm2
movq qword [esp + 0x24], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
mulss xmm2, xmm2
movss dword [esp + 0xa0], xmm1
mov eax, dword [esp + 0xa0]
addss xmm0, xmm2
mulss xmm1, xmm1
mov dword [esp + 0x2c], eax
mov eax, ecx
sub eax, edx
add eax, eax
sub eax, dword [esp + 0x10]
add eax, dword [esp + 0xc]
addss xmm0, xmm1
addss xmm0, dword [0x10300014]
movaps xmm1, xmm0
rsqrtss xmm1, xmm1
movaps xmm0, xmm1
mulss xmm0, xmm3
movd xmm3, eax
mov eax, edx
sub eax, dword [esp + 0x10]
add eax, eax
movss dword [esp + 0x24], xmm0
sub eax, dword [esp + 0xc]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x28]
add eax, ecx
mulss xmm1, dword [esp + 0x2c]
cvtdq2ps xmm3, xmm3
movd xmm2, eax
mulss xmm3, dword [0x10300100]
cvtdq2ps xmm2, xmm2
xorps xmm3, xmmword [0x10300a00]
mulss xmm2, dword [0x10300100]
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm1
xorps xmm2, xmmword [0x10300a00]
mulss xmm3, xmm4
mulss xmm2, xmm4
movaps xmm0, xmm3
mov ecx, dword [esp + 0x4c]
push dword [esp + 0x8c]
xorps xmm1, xmm1
mov dword [esp + 0xa4], 0x3f800000
unpcklps xmm0, xmm2
movq qword [esp + 0x3c], xmm0
movaps xmm0, xmm3
mov eax, dword [esp + 0xa4]
mulss xmm0, xmm3
mov dword [esp + 0x44], eax
mulss xmm2, xmm2
addss xmm2, xmm0
addss xmm2, dword [0x10300128]
addss xmm2, dword [0x10300014]
movss xmm1, xmm2
rsqrtss xmm1, xmm1
mulss xmm3, xmm1
movaps xmm0, xmm1
mulss xmm1, dword [esp + 0x44]
mulss xmm0, dword [esp + 0x40]
movss dword [esp + 0x44], xmm1
mov eax, dword [esp + 0x44]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x70]
unpcklps xmm3, xmm0
push eax
movq qword [esp + 0x74], xmm3
call fcn.1020d370
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x48]
mov dword [edi], eax
add edi, 4
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], edi
cmp eax, dword [esp + 0x80]
jge 0x10215664
mov dword [esp + 0xe0], 0x3f800000
nop
movd xmm0, dword [esp + 0x7c]
movss xmm3, dword [esi + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
movss xmm4, dword [esi + 0x18]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
movss xmm6, dword [ebp + 0x10]
subss xmm3, xmm0
movss xmm5, dword [esi + 0x1c]
movd xmm0, dword [esp + 0x34]
cvtdq2ps xmm0, xmm0
movzx edi, byte [eax + 3]
add eax, 4
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x30], 4
movaps xmm1, xmm3
mov dword [esp + 0xc], edi
subss xmm4, xmm0
mulss xmm1, xmm3
movzx eax, byte [eax + 3]
movd xmm0, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x18], eax
mulss xmm0, xmm6
subss xmm5, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
addss xmm1, dword [0x10300014]
movaps xmm2, xmm1
rsqrtss xmm2, xmm2
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm2, xmm5
mulss xmm1, xmm3
movss dword [esp + 0xa0], xmm2
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
sub eax, edx
mulss xmm0, xmm4
add eax, eax
sub eax, ecx
add eax, edi
unpcklps xmm1, xmm0
movq qword [esp + 0x24], xmm1
movd xmm3, eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
add eax, eax
sub eax, ecx
sub eax, edi
add eax, edx
add eax, dword [esp + 0x18]
cvtdq2ps xmm3, xmm3
movd xmm1, eax
mulss xmm3, dword [0x103000ac]
mov eax, dword [esp + 0xe0]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x40], eax
xorps xmm3, xmmword [0x10300a00]
mulss xmm1, dword [0x103000e8]
mulss xmm3, xmm6
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, xmm6
movaps xmm0, xmm3
unpcklps xmm0, xmm1
movq qword [esp + 0x38], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm1
mulss xmm0, xmm3
addss xmm1, xmm0
addss xmm1, dword [0x10300128]
mov ecx, dword [esp + 0x4c]
xorps xmm2, xmm2
addss xmm1, dword [0x10300014]
movss xmm2, xmm1
rsqrtss xmm2, xmm2
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm2, dword [esp + 0x40]
mulss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x40], xmm2
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], eax
lea eax, [esi + 8]
push eax
mulss xmm1, xmm3
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x70]
push eax
unpcklps xmm1, xmm0
movq qword [esp + 0x74], xmm1
call fcn.1020d370
mov edi, dword [esp + 0x1c]
mov dword [edi], eax
add edi, 4
mov eax, dword [esp + 0x7c]
inc eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x7c], eax
cmp eax, dword [esp + 0x80]
jl 0x10215480
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
movss xmm3, dword [esi + 0x14]
mov ecx, dword [esp + 0x18]
movss xmm4, dword [esi + 0x18]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov edx, dword [esp + 0x14]
movss xmm6, dword [ebp + 0x10]
subss xmm3, xmm0
movss xmm5, dword [esi + 0x1c]
movd xmm0, dword [esp + 0x34]
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm3
subss xmm4, xmm0
mulss xmm1, xmm3
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm6
subss xmm5, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
addss xmm1, dword [0x10300014]
movaps xmm2, xmm1
rsqrtss xmm2, xmm2
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm2, xmm5
mulss xmm1, xmm3
movss dword [esp + 0xa0], xmm2
xorps xmm2, xmm2
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x2c], eax
mov eax, ecx
sub ecx, dword [esp + 0xc]
sub eax, edx
mulss xmm0, xmm4
add eax, eax
sub eax, dword [esp + 0x10]
add ecx, ecx
add eax, dword [esp + 0xc]
sub ecx, dword [esp + 0x10]
unpcklps xmm1, xmm0
add ecx, edx
movq qword [esp + 0x24], xmm1
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mov dword [esp + 0xa0], 0x3f800000
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x40], eax
movd xmm1, ecx
mulss xmm3, dword [0x10300100]
cvtdq2ps xmm1, xmm1
xorps xmm3, xmmword [0x10300a00]
mulss xmm1, dword [0x10300100]
mulss xmm3, xmm6
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, xmm6
movaps xmm0, xmm3
unpcklps xmm0, xmm1
movq qword [esp + 0x38], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm1
addss xmm0, xmm1
addss xmm0, dword [0x10300128]
addss xmm0, dword [0x10300014]
movss xmm2, xmm0
rsqrtss xmm2, xmm2
movaps xmm1, xmm2
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x3c]
mulss xmm2, dword [esp + 0x40]
mulss xmm1, xmm3
movss dword [esp + 0x40], xmm2
mov eax, dword [esp + 0x40]
unpcklps xmm1, xmm0
movq qword [esp + 0x68], xmm1
mov dword [esp + 0x70], eax
push dword [esp + 0x8c]
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.1020d370
mov dword [edi], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret