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

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebx
push ebp
push esi
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, eax
mov esi, edx
shr ecx, 4
and ecx, 0xf0f0f0f
and esi, 0xf0f0f0f
xor ecx, esi
push edi
xor edx, ecx
mov dword [esp + 0x10], 8
shl ecx, 4
xor eax, ecx
mov esi, edx
mov ecx, eax
and esi, 0xffff
shr ecx, 0x10
xor ecx, esi
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, edx
shr ecx, 2
mov esi, eax
and ecx, 0x33333333
and esi, 0x33333333
xor ecx, esi
xor eax, ecx
shl ecx, 2
xor edx, ecx
mov esi, eax
mov ecx, edx
and esi, 0xff00ff
shr ecx, 8
and ecx, 0xff00ff
xor ecx, esi
mov esi, dword [esp + 0x1c]
xor eax, ecx
shl ecx, 8
xor edx, ecx
mov ecx, edx
add edx, edx
shr ecx, 0x1f
or ecx, edx
mov edx, ecx
xor edx, eax
and edx, 0xaaaaaaaa
xor eax, edx
xor ecx, edx
mov edx, eax
add eax, eax
shr edx, 0x1f
or edx, eax
mov ebx, dword [esi]
mov eax, ecx
mov edi, ecx
add esi, 4
shl eax, 0x1c
shr edi, 4
or eax, edi
add esi, 4
xor eax, ebx
add esi, 4
mov ebx, eax
mov edi, eax
shr ebx, 0x10
and ebx, 0x3f
add esi, 4
shr edi, 0x18
mov ebp, dword [ebx*4 + 0xa12eec]
mov ebx, eax
and edi, 0x3f
and eax, 0x3f
shr ebx, 8
mov edi, dword [edi*4 + 0xa12cec]
and ebx, 0x3f
or edi, ebp
mov ebp, dword [ebx*4 + 0xa130ec]
mov ebx, dword [eax*4 + 0xa132ec]
mov eax, dword [esi - 0xc]
or edi, ebp
xor eax, ecx
or edi, ebx
mov ebx, eax
mov ebp, eax
shr ebx, 0x18
and ebx, 0x3f
shr ebp, 0x10
mov ebx, dword [ebx*4 + 0xa12dec]
and ebp, 0x3f
or ebx, dword [ebp*4 + 0xa12fec]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
and eax, 0x3f
or ebx, dword [ebp*4 + 0xa131ec]
mov ebp, dword [eax*4 + 0xa133ec]
or ebx, ebp
or ebx, edi
xor edx, ebx
mov ebx, dword [esi - 8]
mov eax, edx
mov edi, edx
shl eax, 0x1c
shr edi, 4
or eax, edi
xor eax, ebx
mov ebx, eax
mov edi, eax
shr ebx, 0x10
and ebx, 0x3f
shr edi, 0x18
mov ebp, dword [ebx*4 + 0xa12eec]
mov ebx, eax
and edi, 0x3f
and eax, 0x3f
shr ebx, 8
mov edi, dword [edi*4 + 0xa12cec]
and ebx, 0x3f
or edi, ebp
mov ebp, dword [ebx*4 + 0xa130ec]
mov ebx, dword [eax*4 + 0xa132ec]
mov eax, dword [esi - 4]
or edi, ebp
xor eax, edx
or edi, ebx
mov ebx, eax
mov ebp, eax
shr ebx, 0x18
and ebx, 0x3f
shr ebp, 0x10
mov ebx, dword [ebx*4 + 0xa12dec]
and ebp, 0x3f
or ebx, dword [ebp*4 + 0xa12fec]
mov ebp, eax
and eax, 0x3f
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0xa131ec]
mov ebp, dword [eax*4 + 0xa133ec]
mov eax, dword [esp + 0x10]
or ebx, ebp
or ebx, edi
xor ecx, ebx
dec eax
mov dword [esp + 0x10], eax
jne 0x4ba084
mov eax, ecx
pop edi
shl eax, 0x1f
shr ecx, 1
or eax, ecx
mov ecx, eax
xor ecx, edx
and ecx, 0xaaaaaaaa
xor edx, ecx
xor eax, ecx
mov ecx, edx
mov esi, eax
shl ecx, 0x1f
shr edx, 1
or ecx, edx
and esi, 0xff00ff
mov edx, ecx
shr edx, 8
and edx, 0xff00ff
xor edx, esi
xor eax, edx
shl edx, 8
xor ecx, edx
mov esi, eax
mov edx, ecx
and esi, 0x33333333
shr edx, 2
and edx, 0x33333333
xor edx, esi
xor eax, edx
shl edx, 2
xor ecx, edx
mov edx, eax
mov esi, ecx
shr edx, 0x10
and esi, 0xffff
xor edx, esi
xor ecx, edx
shl edx, 0x10
xor eax, edx
mov esi, ecx
mov edx, eax
and esi, 0xf0f0f0f
shr edx, 4
and edx, 0xf0f0f0f
xor edx, esi
mov esi, edx
shl esi, 4
xor esi, eax
mov eax, dword [esp + 0x14]
xor edx, ecx
mov dword [eax], esi
pop esi
pop ebp
mov dword [eax + 4], edx
pop ebx
pop ecx
ret