Function at 0x4cd260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, edx
xor edx, edx
push esi
mov esi, ecx
mov dword [ebp - 8], ebx
or ecx, ebx
push edi
mov edi, dword [ebp + 8]
or ecx, edi
or ecx, eax
test cl, 3
jne 0x4cd399
shr eax, 2
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], edx
test eax, eax
je 0x4cd492
cmp eax, 0x10
jb 0x4cd36f
lea ecx, [edi - 4]
mov dword [ebp - 4], edx
lea ecx, [ecx + eax*4]
cmp esi, ecx
ja 0x4cd2bc
lea ecx, [eax - 1]
lea ecx, [esi + ecx*4]
cmp ecx, edi
jae 0x4cd36f
lea ecx, [eax - 1]
lea ecx, [ebx + ecx*4]
cmp esi, ecx
ja 0x4cd2d4
lea ecx, [eax - 1]
lea ecx, [esi + ecx*4]
cmp ecx, ebx
jae 0x4cd36f
mov ecx, eax
mov edx, ebx
mov eax, esi
sub edx, edi
sub eax, edi
mov dword [ebp - 8], edx
mov edx, dword [ebp - 4]
and ecx, 0xfffffff0
mov dword [ebp - 0xc], eax
mov eax, ebx
sub eax, esi
mov dword [ebp - 0x14], ecx
lea ecx, [edi + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
lea edi, [esi + 0x20]
nop dword [eax]
movups xmm0, xmmword [ecx - 0x10]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ebx + edx*4]
lea edi, [edi + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [edi - 0x60], xmm1
movups xmm1, xmmword [eax + ecx - 0x40]
mov eax, dword [ebp - 0xc]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x30]
movups xmmword [eax + ecx - 0x40], xmm1
mov eax, dword [ebp - 0x10]
movups xmm1, xmmword [eax + edi - 0x40]
mov eax, dword [ebp - 8]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x20]
movups xmmword [edi - 0x40], xmm1
movups xmm1, xmmword [ebx + edx*4 + 0x30]
add edx, 0x10
pxor xmm1, xmm0
movups xmmword [edi - 0x30], xmm1
cmp edx, dword [ebp - 0x14]
jb 0x4cd300
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], edx
cmp edx, eax
jae 0x4cd492
sub ebx, edi
lea edx, [edi + edx*4]
sub esi, edi
sub eax, dword [ebp - 4]
nop dword [eax]
mov ecx, dword [edx + ebx]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
mov dword [edx + esi - 4], ecx
sub eax, 1
jne 0x4cd380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp + 8], edx
test eax, eax
je 0x4cd492
cmp eax, 0x40
jb 0x4cd471
lea ecx, [eax - 1]
xor edx, edx
add ecx, ebx
mov dword [ebp + 8], edx
cmp esi, ecx
ja 0x4cd3c8
lea ecx, [eax - 1]
add ecx, esi
cmp ecx, ebx
jae 0x4cd471
lea ecx, [eax - 1]
add ecx, edi
cmp esi, ecx
ja 0x4cd3de
lea ecx, [eax - 1]
add ecx, esi
cmp ecx, edi
jae 0x4cd471
mov ecx, eax
mov eax, edi
sub eax, ebx
and ecx, 0xffffffc0
mov dword [ebp + 8], eax
mov eax, esi
sub eax, ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], eax
lea ecx, [ebx + 0x10]
mov ebx, dword [ebp + 8]
mov eax, edi
sub eax, esi
mov dword [ebp - 0x10], eax
lea eax, [esi + 0x20]
movups xmm0, xmmword [ecx - 0x10]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [edx + edi]
lea eax, [eax + 0x40]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x40]
movups xmmword [eax - 0x60], xmm1
movups xmm1, xmmword [ebx + ecx - 0x40]
mov ebx, dword [ebp - 0x14]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x30]
movups xmmword [ebx + ecx - 0x40], xmm1
mov ebx, dword [ebp - 0x10]
movups xmm1, xmmword [ebx + eax - 0x40]
mov ebx, dword [ebp + 8]
pxor xmm1, xmm0
movups xmm0, xmmword [ecx - 0x20]
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [edx + edi + 0x30]
add edx, 0x40
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp edx, dword [ebp - 0xc]
jb 0x4cd404
mov eax, dword [ebp + 0xc]
mov ecx, edx
mov ebx, dword [ebp - 8]
mov dword [ebp + 8], edx
mov dword [ebp + 8], edx
cmp ecx, eax
jae 0x4cd492
add edx, ebx
sub edi, ebx
sub esi, ebx
sub eax, dword [ebp + 8]
nop word [eax + eax]
mov cl, byte [edx + edi]
lea edx, [edx + 1]
xor cl, byte [edx - 1]
mov byte [edx + esi - 1], cl
sub eax, 1
jne 0x4cd480
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret