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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 3]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 4]
shl ecx, 8
movzx esi, byte [edx + 5]
or ecx, esi
movzx esi, byte [edx + 6]
movzx edx, byte [edx + 7]
shl ecx, 8
or ecx, esi
shl ecx, 8
or ecx, edx
mov edx, eax
shr edx, 4
xor edx, ecx
and edx, 0xf0f0f0f
xor ecx, edx
shl edx, 4
xor eax, edx
mov edx, eax
shr edx, 0x10
xor edx, ecx
and edx, 0xffff
xor ecx, edx
shl edx, 0x10
xor eax, edx
mov edx, ecx
shr edx, 2
xor edx, eax
and edx, 0x33333333
xor eax, edx
add edx, edx
add edx, edx
xor ecx, edx
mov edx, ecx
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor eax, edx
shl edx, 8
xor ecx, edx
mov esi, eax
shr esi, 1
xor esi, ecx
and esi, 0x55555555
lea edx, [esi + esi]
xor edx, eax
xor esi, ecx
mov ecx, dword [ebp + 8]
rol edx, 1
rol esi, 1
add ecx, 8
mov dword [ebp + 8], 4
mov eax, dword [ecx - 8]
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]
xor edx, edi
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
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, esi
xor edx, edi
ror eax, 4
xor eax, dword [ecx + 0xc]
add 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 - 0x10]
xor edx, edi
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 - 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 esi, edi
dec dword [ebp + 8]
jne 0x402c78
ror esi, 1
ror edx, 1
mov ecx, edx
mov eax, esi
mov edx, eax
shr edx, 1
xor edx, ecx
and edx, 0x55555555
xor ecx, edx
add edx, edx
xor eax, edx
mov edx, ecx
shr edx, 8
xor edx, eax
and edx, 0xff00ff
xor eax, edx
shl edx, 8
xor ecx, edx
mov edx, ecx
shr edx, 2
xor edx, eax
and edx, 0x33333333
xor eax, edx
add edx, edx
add edx, edx
xor ecx, edx
mov esi, dword [ebp + 0xc]
mov edx, eax
shr edx, 0x10
xor edx, ecx
and edx, 0xffff
xor ecx, edx
shl edx, 0x10
xor eax, edx
mov edx, eax
shr edx, 4
xor edx, ecx
and edx, 0xf0f0f0f
xor ecx, edx
shl edx, 4
xor eax, edx
mov edx, eax
shr edx, 0x18
mov byte [esi], dl
mov edx, eax
shr edx, 0x10
mov byte [esi + 1], dl
mov edx, eax
mov byte [esi + 3], al
shr edx, 8
mov eax, ecx
shr eax, 0x18
mov byte [esi + 2], dl
mov byte [esi + 4], al
mov edx, ecx
shr edx, 0x10
mov eax, ecx
shr eax, 8
pop edi
mov byte [esi + 5], dl
mov byte [esi + 6], al
mov byte [esi + 7], cl
pop esi
pop ebx
pop ebp
ret