Function at 0x4c6131
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
movzx eax, byte [edx + 1]
push ebx
push ebp
push esi
movzx esi, byte [edx]
mov ebx, ecx
movzx ecx, byte [edx + 4]
shl esi, 8
or esi, eax
shl ecx, 8
movzx eax, byte [edx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 3]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 5]
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
mov eax, esi
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor esi, eax
mov eax, esi
shr eax, 0x10
xor eax, ecx
movzx eax, ax
xor ecx, eax
shl eax, 0x10
xor esi, eax
mov eax, ecx
shr eax, 2
xor eax, esi
and eax, 0x33333333
xor esi, eax
shl eax, 2
xor ecx, eax
mov eax, ecx
shr eax, 8
xor eax, esi
and eax, 0xff00ff
xor esi, eax
shl eax, 8
xor ecx, eax
push edi
mov edi, ecx
shr edi, 0x1f
lea eax, [ecx + ecx]
or edi, eax
mov eax, edi
xor eax, esi
and eax, 0xaaaaaaaa
xor esi, eax
xor edi, eax
push 8
ror esi, 0x1f
pop ebp
mov edx, dword [ebx]
lea ebx, [ebx + 0x10]
xor edx, edi
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x56a9d0]
xor ecx, dword [eax*4 + 0x56af90]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x56ac70]
xor ecx, dword [edx*4 + 0x56ad70]
mov edx, edi
xor esi, ecx
ror edx, 4
xor edx, dword [ebx - 0xc]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x56a8d0]
xor ecx, dword [eax*4 + 0x56b090]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x56a7b0]
xor ecx, dword [edx*4 + 0x56ae70]
mov edx, dword [ebx - 8]
xor esi, ecx
xor edx, esi
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x56a9d0]
xor ecx, dword [eax*4 + 0x56af90]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x56ac70]
xor ecx, dword [edx*4 + 0x56ad70]
mov edx, esi
xor edi, ecx
ror edx, 4
xor edx, dword [ebx - 4]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x56a8d0]
xor ecx, dword [eax*4 + 0x56b090]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x56a7b0]
xor ecx, dword [edx*4 + 0x56ae70]
xor edi, ecx
sub ebp, 1
jne 0x4c61db
mov ebx, edi
mov ecx, dword [esp + 0x14]
shl ebx, 0x1f
shr edi, 1
or ebx, edi
mov eax, ebx
xor eax, esi
and eax, 0xaaaaaaaa
xor esi, eax
xor ebx, eax
mov edx, esi
shr esi, 1
shl edx, 0x1f
or edx, esi
mov eax, edx
shr eax, 8
xor eax, ebx
and eax, 0xff00ff
xor ebx, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, ebx
and eax, 0x33333333
xor ebx, eax
shl eax, 2
xor edx, eax
mov eax, ebx
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
xor ebx, eax
mov eax, ebx
shr eax, 4
xor eax, edx
and eax, 0xf0f0f0f
xor edx, eax
shl eax, 4
xor ebx, eax
mov byte [ecx + 7], dl
mov eax, ebx
mov byte [ecx + 3], bl
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 1], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [ecx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 5], al
mov eax, edx
pop edi
pop esi
shr eax, 8
pop ebp
mov byte [ecx + 6], al
xor eax, eax
pop ebx
ret