Function at 0x100151f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
push esi
mov esi, dword [ebp + 8]
mov eax, edx
push edi
mov edi, dword [ebp + 0xc]
add esi, 0x108
imul eax, edi
mov dword [esp + 0x48], ecx
movss xmm0, dword [esi + eax*8]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + eax*8 + 4]
add eax, eax
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esi + eax*8]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esi + eax*8 + 4]
lea eax, [edi + edi*2]
movss dword [esp + 0x24], xmm0
lea ecx, [ecx + eax*8]
test edi, edi
jle 0x100155c8
mov eax, edx
mov dword [esp + 0x30], esi
shl eax, 5
mov dword [esp + 0x64], eax
lea eax, [edx + edx*2]
shl eax, 3
mov dword [esp + 0x60], eax
mov eax, edx
shl eax, 4
mov dword [esp + 0x5c], eax
lea eax, [edx*8]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x58], eax
mov eax, edx
sub eax, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], eax
lea eax, [edi*8]
sub eax, ecx
mov dword [esp + 0x28], esi
add eax, edx
mov dword [esp + 0x18], eax
mov eax, edi
shl eax, 5
sub eax, ecx
add eax, edx
mov dword [esp + 0x38], eax
mov eax, edi
shl eax, 4
sub eax, ecx
add edx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], edx
nop word [eax + eax]
movss xmm0, dword [eax + ecx]
mov edx, dword [esp + 0x28]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + ecx + 4]
mov eax, dword [esp + 0x18]
movss xmm4, dword [edx]
movss xmm2, dword [edx + 4]
movaps xmm5, xmm4
movss dword [esp + 0x1c], xmm0
mov edx, eax
mulss xmm5, dword [eax + ecx]
movaps xmm0, xmm2
mulss xmm2, dword [eax + ecx]
mov eax, dword [esp + 0x48]
mulss xmm0, dword [edx + ecx + 4]
mulss xmm4, dword [edx + ecx + 4]
mov edx, dword [esp + 0x2c]
subss xmm5, xmm0
addss xmm4, xmm2
movss xmm3, dword [edx]
movss dword [esp + 0x10], xmm5
movss xmm5, dword [edx + 4]
mov edx, dword [esp + 0x30]
movaps xmm0, xmm5
mulss xmm0, dword [eax + ecx + 4]
mulss xmm5, dword [eax + ecx]
movss xmm2, dword [edx + 4]
movss xmm7, dword [edx]
movss dword [esp + 0xc], xmm4
movaps xmm6, xmm7
mulss xmm6, dword [ecx]
movaps xmm4, xmm3
mulss xmm3, dword [eax + ecx + 4]
mulss xmm4, dword [eax + ecx]
mov eax, dword [esp + 0x38]
mulss xmm7, dword [ecx + 4]
addss xmm5, xmm3
movss xmm3, dword [esi]
subss xmm4, xmm0
movaps xmm0, xmm2
mulss xmm2, dword [ecx]
mulss xmm0, dword [ecx + 4]
movss dword [esp + 8], xmm5
addss xmm7, xmm2
movss xmm5, dword [esi + 4]
movss xmm2, dword [esp + 0xc]
subss xmm6, xmm0
movss dword [esp + 0x14], xmm4
movaps xmm0, xmm5
mulss xmm5, dword [eax + ecx]
movaps xmm4, xmm3
mulss xmm0, dword [eax + ecx + 4]
mulss xmm3, dword [eax + ecx + 4]
mulss xmm4, dword [eax + ecx]
mov eax, dword [esp + 0x34]
addss xmm5, xmm3
movss dword [esp + 0x4c], xmm7
movss xmm3, dword [esp + 0x10]
subss xmm4, xmm0
movaps xmm0, xmm5
addss xmm0, xmm2
subss xmm2, xmm5
movaps xmm1, xmm4
movaps xmm5, xmm6
addss xmm1, xmm3
subss xmm3, xmm4
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x14]
addss xmm5, xmm0
movss dword [esp + 0xc], xmm2
movss xmm2, dword [esp + 8]
subss xmm0, xmm6
addss xmm7, xmm2
movss dword [esp + 0x54], xmm1
subss xmm2, dword [esp + 0x4c]
movss dword [esp + 0x10], xmm3
movss dword [esp + 0x14], xmm0
movaps xmm0, xmm5
addss xmm0, xmm1
movss dword [esp + 8], xmm2
addss xmm0, dword [esp + 0x40]
movss xmm6, dword [esp + 0x50]
movaps xmm4, xmm1
movss dword [eax + ecx], xmm0
movaps xmm3, xmm6
mulss xmm4, dword [esp + 0x44]
movaps xmm0, xmm6
mov edx, dword [esp + 0x18]
addss xmm0, xmm7
mulss xmm3, dword [esp + 0x44]
addss xmm4, dword [esp + 0x40]
movss xmm2, dword [esp + 0xc]
addss xmm3, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x1c]
mulss xmm2, dword [esp + 0x20]
movss xmm1, dword [esp + 0x10]
mulss xmm1, dword [esp + 0x20]
movss dword [eax + ecx + 4], xmm0
movaps xmm0, xmm5
mulss xmm0, dword [esp + 0x3c]
xorps xmm1, xmmword [0x10044a30]
mulss xmm5, dword [esp + 0x44]
addss xmm4, xmm0
mulss xmm6, dword [esp + 0x3c]
movaps xmm0, xmm7
mulss xmm7, dword [esp + 0x44]
mulss xmm0, dword [esp + 0x3c]
addss xmm6, dword [esp + 0x1c]
addss xmm3, xmm0
movss xmm0, dword [esp + 8]
mulss xmm0, dword [esp + 0x24]
addss xmm6, xmm7
addss xmm2, xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [esp + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm4
subss xmm0, xmm2
addss xmm2, xmm4
movss dword [edx + ecx], xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
addss xmm1, xmm3
movss xmm3, dword [esp + 0x10]
mulss xmm3, dword [esp + 0x24]
movss dword [edx + ecx + 4], xmm0
mov edx, dword [esp + 0x38]
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [esp + 0x24]
movss dword [edx + ecx + 4], xmm1
movss xmm1, dword [esp + 0x54]
mulss xmm1, dword [esp + 0x3c]
movss dword [edx + ecx], xmm2
movss xmm2, dword [esp + 8]
mulss xmm2, dword [esp + 0x20]
mov edx, dword [esp + 0x48]
addss xmm1, dword [esp + 0x40]
subss xmm2, xmm0
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [esp + 0x20]
addss xmm1, xmm5
subss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
subss xmm1, xmm2
movss dword [edx + ecx], xmm0
movaps xmm0, xmm3
addss xmm0, xmm6
subss xmm6, xmm3
movss dword [edx + ecx + 4], xmm0
mov edx, dword [esp + 0x58]
add dword [esp + 0x28], edx
mov edx, dword [esp + 0x2c]
add edx, dword [esp + 0x5c]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
add edx, dword [esp + 0x60]
movss dword [ecx], xmm1
movss dword [ecx + 4], xmm6
add ecx, 8
add esi, dword [esp + 0x64]
mov dword [esp + 0x30], edx
sub edi, 1
jne 0x100152c0
pop edi
pop esi
mov esp, ebp
pop ebp
ret