Function at 0x100154e0
Capabilities:
Encode data using xor

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