Function at 0x536780
Capabilities:
Encode data using xor

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