Function at 0x10210300
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe8
mov eax, dword [ebp + 0xc]
xorps xmm2, xmm2
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
push esi
mov edx, dword [ecx + 0xc]
mov esi, dword [ecx + 4]
mov dword [esp + 0x8c], edx
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ecx]
mov dword [esp + 0x78], 0x3f800000
mov ecx, dword [edx + 0x2c]
lea eax, [edi*4]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 8]
mov edx, ecx
imul edx, esi
add edx, eax
add edx, dword [esp + 0x18]
mov dword [esp + 0xc], edx
lea edx, [esi + 1]
mov dword [esp + 0x84], edx
imul edx, ecx
add edx, eax
lea eax, [edi*4]
add edx, eax
mov eax, dword [esp + 0xc]
movzx ecx, byte [eax + 7]
movzx esi, byte [eax + 3]
add eax, 8
mov dword [esp + 0xc], eax
movzx eax, byte [edx + 3]
mov dword [esp + 8], ecx
movzx ecx, byte [edx + 7]
add edx, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 8]
sub eax, esi
movq xmm0, qword [edx + 0x14]
add eax, eax
movq qword [esp + 0x44], xmm0
sub eax, dword [esp + 0x14]
add eax, ecx
movd xmm3, eax
mov eax, dword [esp + 0x14]
sub eax, esi
add eax, eax
sub eax, dword [esp + 8]
add eax, ecx
cvtdq2ps xmm3, xmm3
movd xmm1, eax
mulss xmm3, dword [0x10300100]
mov eax, dword [esp + 0x78]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x58], eax
xorps xmm3, xmmword [0x10300a00]
mulss xmm1, dword [0x10300100]
mulss xmm3, dword [ebp + 0x10]
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, dword [ebp + 0x10]
movaps xmm0, xmm3
unpcklps xmm0, xmm1
movq qword [esp + 0x50], 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
movss xmm0, dword [esp + 0x58]
movss xmm1, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
mulss xmm0, xmm2
mulss xmm3, xmm2
movss dword [esp + 0x58], xmm0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], eax
lea eax, [edx + 8]
push eax
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x48]
mulss xmm1, xmm2
push eax
lea eax, [esp + 0x30]
push eax
unpcklps xmm3, xmm1
movq qword [esp + 0x34], xmm3
call fcn.1020d1e0
mov esi, dword [esp + 0x20]
lea ecx, [edi + 1]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x94], ecx
mov dword [esi], eax
add esi, 4
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x20], esi
mov eax, dword [eax + 8]
dec eax
mov dword [esp + 0x64], eax
cmp ecx, eax
jge 0x1021061b
sub eax, ecx
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
xorps xmm2, xmm2
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
movq xmm0, qword [edi + 0x14]
movq qword [esp + 0x44], xmm0
movzx esi, byte [eax + 3]
add eax, 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
add dword [esp + 0x40], 4
mov dword [esp + 8], esi
movzx eax, byte [eax + 3]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, esi
sub eax, ecx
add eax, eax
sub eax, edx
add eax, dword [esp + 0x1c]
movd xmm3, eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
add eax, eax
sub eax, esi
sub eax, ecx
mov ecx, dword [esp + 0x38]
add eax, dword [esp + 0x1c]
add eax, edx
cvtdq2ps xmm3, xmm3
movd xmm1, eax
mulss xmm3, dword [0x103000ac]
mov eax, dword [esp + 0x78]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x58], eax
xorps xmm3, xmmword [0x10300a00]
mulss xmm1, dword [0x103000e8]
mulss xmm3, dword [ebp + 0x10]
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, dword [ebp + 0x10]
movaps xmm0, xmm3
unpcklps xmm0, xmm1
movq qword [esp + 0x50], xmm0
movaps xmm0, xmm3
mulss xmm1, xmm1
mulss xmm0, xmm3
addss xmm1, xmm0
movss xmm0, dword [esp + 0x58]
addss xmm1, dword [0x10300128]
addss xmm1, dword [0x10300014]
movss xmm2, xmm1
movss xmm1, dword [esp + 0x54]
rsqrtss xmm2, xmm2
mulss xmm0, xmm2
mulss xmm3, xmm2
movss dword [esp + 0x58], xmm0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], eax
lea eax, [edi + 8]
push eax
mulss xmm1, xmm2
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x30]
push eax
unpcklps xmm3, xmm1
movq qword [esp + 0x34], xmm3
call fcn.1020d1e0
mov esi, dword [esp + 0x20]
mov dword [esi], eax
add esi, 4
sub dword [esp + 0x24], 1
mov dword [esp + 0x20], esi
jne 0x102104d3
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x1c]
xorps xmm2, xmm2
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 8]
movss xmm3, dword [0x10300100]
sub eax, edx
add eax, eax
movq xmm0, qword [edi + 0x14]
sub eax, dword [esp + 0x14]
add eax, ecx
movq qword [esp + 0x44], xmm0
sub ecx, dword [esp + 8]
add ecx, ecx
mov dword [esp + 0x78], 0x3f800000
sub ecx, edx
add ecx, dword [esp + 0x14]
movd xmm4, eax
cvtdq2ps xmm4, xmm4
mov eax, dword [esp + 0x78]
mov dword [esp + 0x58], eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov ecx, dword [esp + 0x38]
mulss xmm4, xmm3
mulss xmm1, xmm3
xorps xmm4, xmmword [0x10300a00]
mulss xmm4, dword [ebp + 0x10]
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, dword [ebp + 0x10]
movaps xmm0, xmm4
unpcklps xmm0, xmm1
movq qword [esp + 0x50], xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
mulss xmm1, xmm1
addss xmm0, xmm1
movss xmm1, dword [esp + 0x54]
addss xmm0, dword [0x10300128]
addss xmm0, dword [0x10300014]
movss xmm2, xmm0
movss xmm0, dword [esp + 0x58]
rsqrtss xmm2, xmm2
mulss xmm0, xmm2
movaps xmm3, xmm2
mulss xmm3, xmm4
movss dword [esp + 0x58], xmm0
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], eax
lea eax, [edi + 8]
push eax
mulss xmm1, xmm2
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x30]
push eax
unpcklps xmm3, xmm1
movq qword [esp + 0x34], xmm3
call fcn.1020d1e0
mov ecx, dword [esp + 0x90]
mov dword [esi], eax
dec ecx
mov eax, dword [esp + 0x84]
add esi, 4
mov dword [esp + 0x6c], ecx
cmp eax, ecx
jge 0x10210bdd
lea edx, [eax + 1]
mov dword [esp + 0xd8], 0x3f800000
mov dword [esp + 0xa0], 0x3f800000
mov dword [esp + 0x24], edx
mov ecx, dword [ebp + 8]
add edx, 0xfffffffe
xorps xmm2, xmm2
mov eax, dword [ecx + 0x2c]
mov edi, eax
imul edi, dword [esp + 0x84]
mov ecx, dword [ecx + 8]
imul edx, eax
add edi, dword [esp + 0x18]
add edi, ecx
add edx, dword [esp + 0x18]
mov dword [esp + 0x1c], edi
add edx, ecx
mov edi, dword [esp + 0x24]
imul edi, eax
mov eax, edi
mov dword [esp + 0x14], edi
add eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add eax, ecx
mov dword [esp + 0x14], eax
movzx eax, byte [edx + 3]
mov dword [esp + 0x10], eax
movzx eax, byte [edx + 7]
add edx, 8
mov dword [esp + 8], eax
movzx eax, byte [edi + 3]
add edi, 4
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
movzx edi, byte [edi + 3]
add dword [esp + 0x1c], 4
movzx ecx, byte [edx + 7]
movzx eax, byte [edx + 3]
add edx, 8
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x40], ecx
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, edi
sub eax, dword [esp + 0x80]
add eax, eax
movq xmm0, qword [edx + 0x14]
sub eax, dword [esp + 0xc]
sub eax, dword [esp + 0x10]
add eax, ecx
movq qword [esp + 0x44], xmm0
add eax, dword [esp + 8]
movd xmm4, eax
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x10]
add eax, eax
sub eax, dword [esp + 8]
add eax, ecx
cvtdq2ps xmm4, xmm4
movd xmm1, eax
mulss xmm4, dword [0x103000e8]
mov eax, dword [esp + 0xd8]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x58], eax
xorps xmm4, xmmword [0x10300a00]
mulss xmm1, dword [0x103000ac]
mulss xmm4, dword [ebp + 0x10]
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, dword [ebp + 0x10]
movaps xmm0, xmm4
unpcklps xmm0, xmm1
movq qword [esp + 0x50], xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
mulss xmm1, xmm1
addss xmm0, xmm1
addss xmm0, dword [0x10300128]
addss xmm0, dword [0x10300014]
movss xmm2, xmm0
rsqrtss xmm2, xmm2
movaps xmm3, xmm2
movss xmm0, dword [esp + 0x58]
movss xmm1, dword [esp + 0x54]
push dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
mulss xmm0, xmm2
mulss xmm3, xmm4
movss dword [esp + 0x5c], xmm0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x48]
mulss xmm1, xmm2
push eax
lea eax, [esp + 0xc0]
push eax
unpcklps xmm3, xmm1
movq qword [esp + 0xc4], xmm3
call fcn.1020d1e0
mov ecx, dword [esp + 0x94]
mov dword [esi], eax
add esi, 4
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], esi
cmp ecx, eax
jge 0x10210ab3
sub eax, ecx
mov dword [esp + 0xe8], 0x3f800000
mov dword [esp + 0x8c], eax
nop dword [eax]
mov edx, dword [esp + 0x10]
xorps xmm2, xmm2
mov eax, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x80], edi
movss xmm3, dword [0x10300098]
push dword [esp + 0x68]
movzx edi, byte [eax + 3]
add eax, 4
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], edi
movzx edi, byte [eax + 3]
add eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
add dword [esp + 0x18], 4
movzx eax, byte [eax + 3]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
movq xmm0, qword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x50], eax
mov eax, edi
sub eax, ecx
movq qword [esp + 0x48], xmm0
add eax, eax
sub eax, esi
sub eax, edx
add eax, dword [esp + 0x44]
add eax, dword [esp + 0xc]
movd xmm4, eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x14]
add eax, eax
sub eax, edx
sub eax, dword [esp + 0xc]
add eax, esi
add eax, dword [esp + 0x44]
cvtdq2ps xmm4, xmm4
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [esp + 0xec]
mov dword [esp + 0xb4], eax
mulss xmm4, xmm3
mulss xmm1, xmm3
xorps xmm4, xmmword [0x10300a00]
mulss xmm4, dword [ebp + 0x10]
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, dword [ebp + 0x10]
movaps xmm0, xmm4
unpcklps xmm0, xmm1
movq qword [esp + 0xac], xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
mulss xmm1, xmm1
addss xmm0, xmm1
movss xmm1, dword [esp + 0xb0]
addss xmm0, dword [0x10300128]
addss xmm0, dword [0x10300014]
movss xmm2, xmm0
movss xmm0, dword [esp + 0xb4]
rsqrtss xmm2, xmm2
mulss xmm0, xmm2
movaps xmm3, xmm2
mulss xmm3, xmm4
movss dword [esp + 0xb4], xmm0
mov eax, dword [esp + 0xb4]
mulss xmm1, xmm2
mov dword [esp + 0xd0], eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xcc]
unpcklps xmm3, xmm1
movq qword [esp + 0xcc], xmm3
push eax
mov ecx, dword [esp + 0x44]
call fcn.1020d1e0
mov esi, dword [esp + 0x20]
mov dword [esi], eax
add esi, 4
sub dword [esp + 0x8c], 1
mov dword [esp + 0x20], esi
jne 0x10210920
sub edi, dword [esp + 0x80]
xorps xmm2, xmm2
mov eax, dword [esp + 0x3c]
add edi, edi
mov edx, dword [esp + 0xc]
sub edi, edx
mov ecx, dword [esp + 0x10]
sub edi, ecx
push dword [esp + 0x68]
movq xmm0, qword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x44]
add edi, eax
sub eax, dword [esp + 0xc]
add edi, dword [esp + 0xc]
add eax, eax
sub eax, ecx
movq qword [esp + 0x48], xmm0
add eax, edx
mov ecx, dword [esp + 0x3c]
movd xmm4, edi
cvtdq2ps xmm4, xmm4
movd xmm1, eax
mulss xmm4, dword [0x103000e8]
mov eax, dword [esp + 0xa4]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x34], eax
xorps xmm4, xmmword [0x10300a00]
mulss xmm1, dword [0x103000ac]
mulss xmm4, dword [ebp + 0x10]
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, dword [ebp + 0x10]
movaps xmm0, xmm4
unpcklps xmm0, xmm1
movq qword [esp + 0x2c], xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
mulss xmm1, xmm1
addss xmm0, xmm1
movss xmm1, dword [esp + 0x30]
addss xmm0, dword [0x10300128]
addss xmm0, dword [0x10300014]
movss xmm2, xmm0
movss xmm0, dword [esp + 0x34]
rsqrtss xmm2, xmm2
mulss xmm0, xmm2
movaps xmm3, xmm2
mulss xmm3, xmm4
movss dword [esp + 0x34], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x48]
mulss xmm1, xmm2
push eax
lea eax, [esp + 0x78]
push eax
unpcklps xmm3, xmm1
movq qword [esp + 0x7c], xmm3
call fcn.1020d1e0
mov edx, dword [esp + 0x24]
mov dword [esi], eax
inc edx
mov eax, dword [esp + 0x84]
add esi, 4
inc eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x84], eax
cmp eax, dword [esp + 0x6c]
jl 0x10210751
mov edi, dword [esp + 0x3c]
mov eax, dword [ebp + 8]
xorps xmm2, xmm2
mov ecx, dword [esp + 0x90]
add ecx, 0xfffffffe
movss xmm3, dword [0x10300100]
movq xmm0, qword [edi + 0x14]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 8]
imul ecx, edx
imul edx, dword [esp + 0x6c]
movq qword [esp + 0x44], xmm0
push dword [esp + 0x68]
mov dword [esp + 0xa4], 0x3f800000
add ecx, dword [esp + 0x1c]
add edx, dword [esp + 0x1c]
add ecx, eax
add edx, eax
movzx eax, byte [ecx + 3]
mov dword [esp + 0x1c], eax
movzx eax, byte [ecx + 7]
add ecx, 8
mov dword [esp + 0x10], eax
movzx eax, byte [edx + 3]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x70], ecx
movzx ecx, byte [edx + 7]
add edx, 8
mov eax, ecx
mov dword [esp + 0x14], ecx
sub eax, dword [esp + 0xc]
add eax, eax
mov dword [esp + 0x28], edx
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x10]
movd xmm4, eax
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x1c]
add eax, eax
sub eax, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [esp + 0x3c]
cvtdq2ps xmm4, xmm4
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x34], eax
mulss xmm4, xmm3
mulss xmm1, xmm3
xorps xmm4, xmmword [0x10300a00]
mulss xmm4, dword [ebp + 0x10]
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, dword [ebp + 0x10]
movaps xmm0, xmm4
unpcklps xmm0, xmm1
movq qword [esp + 0x2c], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm1
mulss xmm0, xmm4
addss xmm1, xmm0
movss xmm0, dword [esp + 0x34]
addss xmm1, dword [0x10300128]
addss xmm1, dword [0x10300014]
movss xmm2, xmm1
movss xmm1, dword [esp + 0x30]
rsqrtss xmm2, xmm2
mulss xmm0, xmm2
movaps xmm3, xmm2
mulss xmm3, xmm4
movss dword [esp + 0x34], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x48]
mulss xmm1, xmm2
push eax
lea eax, [esp + 0x78]
push eax
unpcklps xmm3, xmm1
movq qword [esp + 0x7c], xmm3
call fcn.1020d1e0
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x3c]
mov dword [esi], eax
add esi, 4
mov eax, dword [esp + 0x64]
mov dword [esp + 0x20], esi
cmp ecx, eax
jge 0x10210eae
sub eax, ecx
mov dword [esp + 0xa0], 0x3f800000
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x18]
xorps xmm2, xmm2
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x6c]
movq xmm0, qword [edi + 0x14]
movq qword [esp + 0x44], xmm0
movzx esi, byte [eax + 3]
add eax, 4
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x24]
add dword [esp + 0x24], 4
mov dword [esp + 0xc], esi
movzx eax, byte [eax + 3]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
sub eax, edx
add eax, eax
sub eax, ecx
add eax, esi
movd xmm4, eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x18]
add eax, eax
sub eax, ecx
mov ecx, dword [esp + 0x38]
sub eax, esi
add eax, edx
add eax, dword [esp + 0x10]
cvtdq2ps xmm4, xmm4
movd xmm1, eax
mulss xmm4, dword [0x103000ac]
mov eax, dword [esp + 0xa0]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x30], eax
xorps xmm4, xmmword [0x10300a00]
mulss xmm1, dword [0x103000e8]
mulss xmm4, dword [ebp + 0x10]
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, dword [ebp + 0x10]
movaps xmm0, xmm4
unpcklps xmm0, xmm1
movq qword [esp + 0x28], xmm0
movaps xmm0, xmm4
mulss xmm1, xmm1
mulss xmm0, xmm4
addss xmm1, xmm0
movss xmm0, dword [esp + 0x30]
addss xmm1, dword [0x10300128]
addss xmm1, dword [0x10300014]
movss xmm2, xmm1
movss xmm1, dword [esp + 0x2c]
rsqrtss xmm2, xmm2
mulss xmm0, xmm2
movaps xmm3, xmm2
mulss xmm3, xmm4
movss dword [esp + 0x30], xmm0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], eax
lea eax, [edi + 8]
push eax
mulss xmm1, xmm2
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x78]
push eax
unpcklps xmm3, xmm1
movq qword [esp + 0x7c], xmm3
call fcn.1020d1e0
mov esi, dword [esp + 0x20]
mov dword [esi], eax
add esi, 4
sub dword [esp + 0x64], 1
mov dword [esp + 0x20], esi
jne 0x10210d60
mov eax, dword [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x1c]
xorps xmm2, xmm2
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
movss xmm3, dword [0x10300100]
mov dword [esp + 0x4c], eax
mov eax, ecx
sub eax, dword [esp + 8]
sub ecx, dword [esp + 0xc]
add eax, eax
movq xmm0, qword [edi + 0x14]
sub eax, edx
add eax, dword [esp + 0xc]
add ecx, ecx
sub ecx, edx
movq qword [esp + 0x44], xmm0
add ecx, dword [esp + 8]
push dword [esp + 0x68]
movd xmm4, eax
cvtdq2ps xmm4, xmm4
mov dword [esp + 0xa4], 0x3f800000
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x34], eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
mov ecx, dword [esp + 0x3c]
mulss xmm4, xmm3
mulss xmm1, xmm3
xorps xmm4, xmmword [0x10300a00]
mulss xmm4, dword [ebp + 0x10]
xorps xmm1, xmmword [0x10300a00]
mulss xmm1, dword [ebp + 0x10]
movaps xmm0, xmm4
unpcklps xmm0, xmm1
movq qword [esp + 0x2c], xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
mulss xmm1, xmm1
addss xmm0, xmm1
movss xmm1, dword [esp + 0x30]
addss xmm0, dword [0x10300128]
addss xmm0, dword [0x10300014]
movss xmm2, xmm0
movss xmm0, dword [esp + 0x34]
rsqrtss xmm2, xmm2
mulss xmm0, xmm2
movaps xmm3, xmm2
mulss xmm3, xmm4
movss dword [esp + 0x34], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x48]
mulss xmm1, xmm2
push eax
lea eax, [esp + 0x78]
push eax
unpcklps xmm3, xmm1
movq qword [esp + 0x7c], xmm3
call fcn.1020d1e0
pop edi
mov dword [esi], eax
pop esi
mov esp, ebp
pop ebp
ret