Function at 0x487e60
Capabilities:
Encode data using xor

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