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

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
lea esi, [eax + 4]
xor eax, eax
mov ah, byte [edi]
xor ecx, ecx
mov al, byte [edi + 1]
mov cl, byte [edi + 2]
shl eax, 8
or eax, ecx
xor edx, edx
mov dl, byte [edi + 3]
xor ecx, ecx
shl eax, 8
mov cl, byte [edi + 6]
or eax, edx
xor edx, edx
mov dh, byte [edi + 4]
mov dl, byte [edi + 5]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [edi + 7]
shl edx, 8
or edx, ecx
mov ecx, eax
shr ecx, 4
mov edi, edx
and ecx, 0xf0f0f0f
and edi, 0xf0f0f0f
xor ecx, edi
xor edx, ecx
shl ecx, 4
xor eax, ecx
mov edi, edx
mov ecx, eax
and edi, 0xffff
shr ecx, 0x10
xor ecx, edi
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, edx
shr ecx, 2
mov edi, eax
and ecx, 0x33333333
and edi, 0x33333333
xor ecx, edi
xor eax, ecx
shl ecx, 2
xor edx, ecx
mov edi, eax
mov ecx, edx
and edi, 0xff00ff
shr ecx, 8
and ecx, 0xff00ff
xor ecx, edi
mov edi, 8
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 eax, dword [esi]
add esi, 4
xor eax, ecx
add esi, 4
mov ebx, eax
mov ebp, eax
shr ebx, 0x18
and ebx, 0x3f
add esi, 4
shr ebp, 0x10
mov ebx, dword [ebx*4 + 0x48d15c]
and ebp, 0x3f
add esi, 4
xor ebx, dword [ebp*4 + 0x48d35c]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
and eax, 0x3f
xor ebx, dword [ebp*4 + 0x48d55c]
mov ebp, dword [eax*4 + 0x48d75c]
mov eax, ecx
xor ebx, ebp
mov ebp, dword [esi - 0xc]
xor edx, ebx
mov ebx, ecx
shl eax, 0x1c
shr ebx, 4
or eax, ebx
xor eax, ebp
mov ebx, eax
mov ebp, eax
shr ebx, 0x18
and ebx, 0x3f
shr ebp, 0x10
mov ebx, dword [ebx*4 + 0x48d05c]
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x48d25c]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
and eax, 0x3f
xor ebx, dword [ebp*4 + 0x48d45c]
mov ebp, dword [eax*4 + 0x48d65c]
mov eax, dword [esi - 8]
xor ebx, ebp
xor edx, ebx
xor eax, edx
mov ebx, eax
mov ebp, eax
shr ebx, 0x18
and ebx, 0x3f
shr ebp, 0x10
mov ebx, dword [ebx*4 + 0x48d15c]
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x48d35c]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
and eax, 0x3f
xor ebx, dword [ebp*4 + 0x48d55c]
mov ebp, dword [eax*4 + 0x48d75c]
mov eax, edx
xor ebx, ebp
mov ebp, dword [esi - 4]
xor ecx, ebx
mov ebx, edx
shl eax, 0x1c
shr ebx, 4
or eax, ebx
xor eax, ebp
mov ebx, eax
mov ebp, eax
shr ebx, 0x18
and ebx, 0x3f
shr ebp, 0x10
mov ebx, dword [ebx*4 + 0x48d05c]
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x48d25c]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x48d45c]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x48d65c]
xor ecx, ebx
dec edi
jne 0x4669b5
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, dword [esp + 0x18]
xor ecx, edx
shl edx, 4
xor eax, edx
mov byte [esi + 7], cl
mov edx, eax
mov byte [esi + 3], al
shr edx, 0x18
mov byte [esi], dl
mov edx, eax
shr edx, 0x10
mov byte [esi + 1], dl
mov edx, eax
mov eax, ecx
shr edx, 8
shr eax, 0x18
mov byte [esi + 2], dl
mov byte [esi + 4], al
mov edx, ecx
mov eax, ecx
shr edx, 0x10
shr eax, 8
mov byte [esi + 5], dl
mov byte [esi + 6], al
pop esi
pop ebp
xor eax, eax
pop ebx
ret