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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
shl eax, 8
or eax, edx
movzx edx, byte [esi + 2]
shl eax, 8
or eax, edx
movzx edx, byte [esi + 3]
shl eax, 8
or eax, edx
movzx edx, byte [esi + 4]
shl edx, 8
push edi
movzx edi, byte [esi + 5]
or edx, edi
movzx edi, byte [esi + 6]
movzx esi, byte [esi + 7]
shl edx, 8
or edx, edi
shl edx, 8
or edx, esi
mov esi, eax
shr esi, 4
xor esi, edx
and esi, 0xf0f0f0f
xor edx, esi
shl esi, 4
xor eax, esi
mov esi, eax
shr esi, 0x10
xor esi, edx
and esi, 0xffff
xor edx, esi
shl esi, 0x10
xor eax, esi
mov esi, edx
shr esi, 2
xor esi, eax
and esi, 0x33333333
xor eax, esi
add esi, esi
add esi, esi
xor edx, esi
mov esi, edx
shr esi, 8
xor esi, eax
and esi, 0xff00ff
xor eax, esi
shl esi, 8
xor edx, esi
mov edi, eax
shr edi, 1
xor edi, edx
and edi, 0x55555555
lea esi, [edi + edi]
xor esi, eax
add ecx, 0x78
xor edx, edi
rol esi, 1
rol edx, 1
mov dword [ebp - 4], 4
mov eax, dword [ecx]
xor eax, edx
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x465aa0]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465ca0]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465ea0]
and eax, 0x3f
xor edi, dword [eax*4 + 0x4660a0]
mov eax, edx
xor esi, edi
ror eax, 4
xor eax, dword [ecx + 4]
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x4659a0]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465ba0]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465da0]
and eax, 0x3f
xor edi, dword [eax*4 + 0x465fa0]
mov eax, dword [ecx - 8]
xor esi, edi
xor eax, esi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x465aa0]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465ca0]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465ea0]
and eax, 0x3f
xor edi, dword [eax*4 + 0x4660a0]
mov eax, esi
xor edx, edi
ror eax, 4
xor eax, dword [ecx - 4]
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x4659a0]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465ba0]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465da0]
and eax, 0x3f
xor edi, dword [eax*4 + 0x465fa0]
mov eax, dword [ecx - 0x10]
xor edx, edi
xor eax, edx
mov edi, eax
shr edi, 0x18
mov ebx, eax
shr ebx, 0x10
and edi, 0x3f
mov edi, dword [edi*4 + 0x465aa0]
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465ca0]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465ea0]
and eax, 0x3f
xor edi, dword [eax*4 + 0x4660a0]
mov eax, edx
xor esi, edi
ror eax, 4
xor eax, dword [ecx - 0xc]
sub ecx, 0x20
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x4659a0]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465ba0]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465da0]
and eax, 0x3f
xor edi, dword [eax*4 + 0x465fa0]
mov eax, dword [ecx + 8]
xor esi, edi
xor eax, esi
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x465aa0]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465ca0]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465ea0]
and eax, 0x3f
xor edi, dword [eax*4 + 0x4660a0]
mov eax, esi
xor edx, edi
ror eax, 4
xor eax, dword [ecx + 0xc]
mov edi, eax
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x4659a0]
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465ba0]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x465da0]
and eax, 0x3f
xor edi, dword [eax*4 + 0x465fa0]
xor edx, edi
dec dword [ebp - 4]
jne 0x402fe8
ror edx, 1
mov ecx, edx
shr ecx, 1
ror esi, 1
mov eax, esi
xor ecx, eax
and ecx, 0x55555555
xor eax, ecx
add ecx, ecx
xor edx, ecx
mov ecx, eax
shr ecx, 8
xor ecx, edx
and ecx, 0xff00ff
xor edx, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, edx
and ecx, 0x33333333
xor edx, ecx
add ecx, ecx
add ecx, ecx
xor eax, ecx
mov esi, dword [ebp + 8]
mov ecx, edx
shr ecx, 0x10
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor edx, ecx
mov ecx, edx
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
xor eax, ecx
shl ecx, 4
xor edx, ecx
mov ecx, edx
shr ecx, 0x18
mov byte [esi], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 1], cl
mov ecx, edx
mov byte [esi + 3], dl
shr ecx, 8
mov edx, eax
shr edx, 0x18
mov byte [esi + 2], cl
mov byte [esi + 4], dl
mov ecx, eax
shr ecx, 0x10
mov edx, eax
shr edx, 8
pop edi
mov byte [esi + 5], cl
mov byte [esi + 6], dl
mov byte [esi + 7], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret