Function at 0x4cc840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push esi
mov esi, eax
imul esi, edx
lea ecx, [eax*4]
mov dword [ebp - 4], ecx
push edi
mov dword [ebp - 0x14], esi
test edx, edx
jle 0x4cc8c3
mov edx, dword [ebp + 0x10]
lea edi, [eax*8]
mov ecx, dword [ebp - 0x14]
mov eax, edx
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x10], edi
lea edx, [edx + ecx*4]
mov ecx, esi
add ecx, 0xfffffffc
add edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
nop dword [eax]
movss xmm0, dword [edx]
addss xmm0, dword [eax]
movss dword [esi], xmm0
movss xmm0, dword [eax]
add eax, ecx
subss xmm0, dword [edx]
add esi, dword [ebp - 0x10]
add edx, ecx
movss dword [edi], xmm0
add edi, dword [ebp - 0x10]
sub dword [ebp - 0xc], 1
jne 0x4cc890
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
jmp 0x4cc8c6
mov dword [ebp - 4], ecx
cmp eax, 2
jl 0x4cca2d
je 0x4cc9e4
test edx, edx
jle 0x4cc9e0
mov edi, dword [ebp + 0x10]
lea ecx, [eax*8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
lea esi, [edi + esi*4]
mov edi, dword [ebp + 0x14]
add ecx, edi
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], edi
nop dword [eax]
cmp eax, 2
jle 0x4cc9b4
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp - 8]
add eax, 4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffd
shr eax, 1
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
add ecx, 8
add edx, 8
add edi, 8
sub esi, 8
movss xmm4, dword [ecx]
movss xmm1, dword [eax]
movaps xmm0, xmm4
mulss xmm4, dword [eax - 4]
movss xmm5, dword [ecx - 4]
mulss xmm5, dword [eax - 4]
add eax, 8
sub dword [ebp - 0x1c], 1
mulss xmm0, xmm1
mov dword [ebp - 0x18], eax
mulss xmm1, dword [ecx - 4]
addss xmm5, xmm0
subss xmm4, xmm1
movaps xmm0, xmm4
addss xmm0, dword [edx]
movss dword [edi], xmm0
movaps xmm0, xmm5
subss xmm4, dword [edx]
movss dword [esi], xmm4
addss xmm0, dword [edx - 4]
movss dword [edi - 4], xmm0
movss xmm0, dword [edx - 4]
subss xmm0, xmm5
movss dword [esi - 4], xmm0
jne 0x4cc934
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
add edx, ecx
add dword [ebp - 8], eax
add edi, eax
mov eax, dword [ebp + 8]
add esi, ecx
sub dword [ebp - 0x24], 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x10], esi
jne 0x4cc910
mov edx, dword [ebp + 0xc]
lea ecx, [eax*4]
test al, 1
jne 0x4cca2d
lea edi, [eax - 1]
mov esi, edi
add edi, dword [ebp - 0x14]
test edx, edx
jle 0x4cca2d
mov edx, dword [ebp + 0x14]
movss xmm1, dword [0x4e28b0]
shl eax, 3
add edx, ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
lea esi, [eax + esi*4]
lea edi, [eax + edi*4]
nop dword [eax]
movss xmm0, dword [edi]
add edi, ecx
xorps xmm0, xmm1
movss dword [edx], xmm0
mov eax, dword [esi]
add esi, ecx
mov dword [edx - 4], eax
add edx, dword [ebp + 8]
sub dword [ebp + 0xc], 1
jne 0x4cca10
pop edi
pop esi
mov esp, ebp
pop ebp
ret