Function at 0x4d44d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov edx, dword [ebp + 8]
xor ecx, ecx
push esi
mov esi, dword [ebp + 0xc]
mov eax, edx
imul eax, esi
test esi, esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], eax
jle 0x4d45a9
lea eax, [edi + eax*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
lea eax, [eax + eax*2]
lea eax, [edi + eax*4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
lea eax, [edi + eax*8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
lea eax, [edx*4]
mov esi, dword [ebp - 0xc]
movss xmm1, dword [edi + ecx*4]
shl ecx, 2
add eax, ecx
movss xmm2, dword [esi]
mov esi, dword [ebp - 0x10]
addss xmm2, dword [esi]
mov esi, dword [ebp - 8]
addss xmm1, dword [esi]
mov esi, dword [ebp + 0x14]
movaps xmm0, xmm1
subss xmm1, xmm2
addss xmm0, xmm2
movss dword [esi + ecx*4], xmm0
lea ecx, [ecx + edx*2]
movss dword [esi + eax*4 - 4], xmm1
mov eax, dword [ebp - 0x14]
movss xmm0, dword [edi + eax*4]
mov eax, dword [ebp - 8]
subss xmm0, dword [eax]
mov eax, dword [ebp - 0xc]
movss dword [esi + ecx*4 - 4], xmm0
movss xmm0, dword [eax]
mov eax, dword [ebp - 0x10]
subss xmm0, dword [eax]
lea eax, [edx*4]
add dword [ebp - 8], eax
add dword [ebp - 0xc], eax
add dword [ebp - 0x10], eax
movss dword [esi + ecx*4], xmm0
mov ecx, dword [ebp - 0x14]
add ecx, edx
sub dword [ebp - 0x40], 1
mov dword [ebp - 0x14], ecx
jne 0x4d4521
mov eax, dword [ebp - 4]
cmp edx, 2
jl 0x4d492e
je 0x4d4846
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp dword [ebp + 0xc], ecx
jle 0x4d483d
lea eax, [eax + eax*2]
mov dword [ebp - 0x38], esi
lea eax, [edi + eax*4]
mov ecx, edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
shl ecx, 4
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 8]
lea eax, [edi + eax*4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
nop dword [eax]
lea eax, [ecx*4]
lea eax, [eax + edx*2]
cmp edx, 2
jle 0x4d481b
lea edi, [esi + eax*4]
shl ecx, 2
mov dword [ebp - 0x24], edi
mov edi, dword [ebp + 0x10]
lea edx, [ecx + edi]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp + 8]
lea eax, [eax + edx*2]
lea eax, [esi + eax*4]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
add eax, 4
mov dword [ebp - 0x50], eax
lea eax, [ecx + edx*2]
mov ecx, dword [ebp - 8]
lea eax, [esi + eax*4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x40]
lea eax, [edi + eax*4]
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, edi
sub eax, dword [ebp + 0x18]
sub edi, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x18]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
lea eax, [edx - 3]
mov edx, dword [ebp - 0x50]
shr eax, 1
mov dword [ebp - 0x48], edi
inc eax
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
nop dword [eax]
add dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x14]
movss xmm4, dword [edx - 4]
movss xmm2, dword [edx]
movaps xmm5, xmm4
add dword [ebp - 0x10], 8
mulss xmm4, dword [eax]
add dword [ebp - 0x18], 8
movss xmm0, dword [eax]
mulss xmm5, dword [eax - 4]
add dword [ebp - 0x1c], 8
mulss xmm0, xmm2
add dword [ebp - 0x20], 8
mulss xmm2, dword [eax - 4]
mov eax, dword [ebp - 0x10]
addss xmm5, xmm0
sub dword [ebp - 0x24], 8
add dword [ebp - 0x2c], 8
subss xmm4, xmm2
sub dword [ebp - 0x30], 8
movss xmm3, dword [eax - 4]
mov eax, dword [ebp - 0x34]
movss xmm2, dword [esi + edx]
movaps xmm0, xmm2
mulss xmm2, xmm3
movss xmm7, dword [ecx + eax]
mov ecx, dword [ebp - 0x10]
movss dword [ebp - 0xc], xmm4
movaps xmm4, xmm7
mulss xmm4, xmm3
mulss xmm0, dword [ecx]
mulss xmm7, dword [ecx]
mov ecx, dword [ebp - 0x18]
addss xmm4, xmm0
subss xmm7, xmm2
movss xmm2, dword [edi + edx]
movss xmm6, dword [ecx - 4]
movaps xmm0, xmm2
mulss xmm6, dword [eax]
mulss xmm2, dword [ecx - 4]
movss dword [ebp - 0x50], xmm4
movss xmm4, dword [ecx]
mulss xmm0, xmm4
mulss xmm4, dword [eax]
mov eax, dword [ebp - 0x1c]
addss xmm6, xmm0
subss xmm4, xmm2
movss xmm1, dword [eax - 4]
movss xmm3, dword [eax]
movaps xmm2, xmm1
addss xmm2, dword [ebp - 0x50]
mov eax, dword [ebp - 0x20]
movss dword [ebp - 0x28], xmm6
addss xmm6, xmm5
movss xmm0, dword [ebp - 0x28]
subss xmm0, xmm5
movaps xmm5, xmm4
subss xmm1, dword [ebp - 0x50]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0xc]
addss xmm5, xmm0
subss xmm0, xmm4
movaps xmm4, xmm3
addss xmm4, xmm7
subss xmm3, xmm7
movss dword [ebp - 0xc], xmm0
movaps xmm0, xmm2
addss xmm0, xmm6
movss dword [eax - 4], xmm0
movaps xmm0, xmm4
addss xmm0, xmm5
movss dword [eax], xmm0
movaps xmm0, xmm1
subss xmm0, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
addss xmm1, dword [ebp - 0xc]
movss dword [eax - 4], xmm0
movss xmm0, dword [ebp - 0x28]
subss xmm0, xmm3
movss dword [eax], xmm0
mov eax, dword [ebp - 0x2c]
addss xmm3, dword [ebp - 0x28]
add dword [ebp - 0x34], 8
subss xmm2, xmm6
mov ecx, dword [ebp - 0x48]
subss xmm5, xmm4
movss dword [eax - 4], xmm1
add edx, 8
sub dword [ebp - 0x44], 1
movss dword [eax], xmm3
mov eax, dword [ebp - 0x30]
movss dword [eax - 4], xmm2
movss dword [eax], xmm5
jne 0x4d4690
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x54]
add ecx, edx
add dword [ebp - 0x38], eax
lea eax, [edx*4]
add dword [ebp - 0x3c], eax
add dword [ebp - 0x40], eax
sub dword [ebp - 0x4c], 1
mov dword [ebp - 8], ecx
jne 0x4d45f0
test dl, 1
jne 0x4d492e
mov eax, dword [ebp - 4]
lea ecx, [eax - 1]
add ecx, edx
cmp dword [ebp + 0xc], 0
mov dword [ebp + 8], ecx
lea eax, [ecx + eax*2]
mov dword [ebp - 0x54], eax
lea eax, [edx*4]
jle 0x4d492e
shl eax, 2
lea ecx, [edx*4]
mov dword [ebp - 0x4c], eax
lea eax, [ecx + esi]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x54]
movss xmm3, dword [0x5cfa0c]
movss xmm4, dword [0x511540]
mov dword [ebp - 0x48], ecx
lea eax, [edi + eax*4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
lea eax, [edi + eax*4]
mov dword [ebp - 0x40], eax
lea eax, [edx + edx*2]
lea edx, [esi + eax*4]
mov eax, dword [ebp - 4]
add eax, dword [ebp + 8]
lea esi, [edi + eax*4]
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 4]
lea edi, [edi + eax*4]
mov eax, dword [ebp - 0x50]
nop dword [eax + eax]
mov ecx, dword [ebp - 0x3c]
movss xmm0, dword [ecx]
mov ecx, dword [ebp - 0x40]
movss xmm1, dword [ecx]
movaps xmm2, xmm1
mov ecx, dword [ebp - 0x48]
subss xmm1, xmm0
add dword [ebp - 0x40], ecx
addss xmm2, xmm0
add dword [ebp - 0x3c], ecx
movss xmm0, dword [edi]
mulss xmm1, xmm3
mulss xmm2, xmm3
addss xmm0, xmm1
xorps xmm2, xmm4
movss dword [eax - 4], xmm0
movss xmm0, dword [edi]
add edi, ecx
subss xmm0, xmm1
movss dword [edx - 4], xmm0
movaps xmm0, xmm2
subss xmm0, dword [esi]
movss dword [eax], xmm0
movss xmm0, dword [esi]
add esi, ecx
add eax, dword [ebp - 0x4c]
addss xmm0, xmm2
movss dword [edx], xmm0
add edx, dword [ebp - 0x4c]
sub dword [ebp + 0xc], 1
jne 0x4d48c0
pop edi
pop esi
mov esp, ebp
pop ebp
ret