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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [0x7314e0]
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call ebx
mov dword [ebp - 0xc], eax
mov ebx, dword [0x7314e0]
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
shr eax, 4
xor eax, dword [ebp - 0x10]
and eax, 0xf0f0f0f
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
shl eax, 4
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x10
xor eax, dword [ebp - 0x10]
and eax, 0xffff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
shr eax, 2
xor eax, dword [ebp - 0xc]
and eax, 0x33333333
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shl eax, 2
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shr eax, 8
xor eax, dword [ebp - 0xc]
and eax, 0xff00ff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shl eax, 8
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, eax
mov edx, dword [ebp - 0x10]
shr edx, 0x1f
or eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
and eax, 0xaaaaaaaa
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, eax
mov edx, dword [ebp - 0xc]
shr edx, 0x1f
or eax, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
shl eax, 0x1c
mov edx, dword [ebp - 0x10]
shr edx, 4
or eax, edx
mov edx, dword [ebp - 8]
xor eax, dword [edx]
mov dword [ebp - 0x14], eax
add dword [ebp - 8], 4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
add dword [ebp - 8], 4
mov eax, dword [ebp - 0x14]
and eax, 0x3f
mov eax, dword [eax*4 + 0x71b990]
mov edx, dword [ebp - 0x14]
shr edx, 8
and edx, 0x3f
or eax, dword [edx*4 + 0x71ba90]
mov edx, dword [ebp - 0x14]
shr edx, 0x10
and edx, 0x3f
or eax, dword [edx*4 + 0x71bb90]
mov edx, dword [ebp - 0x14]
shr edx, 0x18
and edx, 0x3f
or eax, dword [edx*4 + 0x71bc90]
mov edx, dword [ebp - 0x18]
and edx, 0x3f
or eax, dword [edx*4 + 0x71bd90]
mov edx, dword [ebp - 0x18]
shr edx, 8
and edx, 0x3f
or eax, dword [edx*4 + 0x71be90]
mov edx, dword [ebp - 0x18]
shr edx, 0x10
and edx, 0x3f
or eax, dword [edx*4 + 0x71bf90]
mov edx, dword [ebp - 0x18]
shr edx, 0x18
and edx, 0x3f
or eax, dword [edx*4 + 0x71c090]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shl eax, 0x1c
mov edx, dword [ebp - 0xc]
shr edx, 4
or eax, edx
mov edx, dword [ebp - 8]
xor eax, dword [edx]
mov dword [ebp - 0x14], eax
add dword [ebp - 8], 4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
add dword [ebp - 8], 4
mov eax, dword [ebp - 0x14]
and eax, 0x3f
mov eax, dword [eax*4 + 0x71b990]
mov edx, dword [ebp - 0x14]
shr edx, 8
and edx, 0x3f
or eax, dword [edx*4 + 0x71ba90]
mov edx, dword [ebp - 0x14]
shr edx, 0x10
and edx, 0x3f
or eax, dword [edx*4 + 0x71bb90]
mov edx, dword [ebp - 0x14]
shr edx, 0x18
and edx, 0x3f
or eax, dword [edx*4 + 0x71bc90]
mov edx, dword [ebp - 0x18]
and edx, 0x3f
or eax, dword [edx*4 + 0x71bd90]
mov edx, dword [ebp - 0x18]
shr edx, 8
and edx, 0x3f
or eax, dword [edx*4 + 0x71be90]
mov edx, dword [ebp - 0x18]
shr edx, 0x10
and edx, 0x3f
or eax, dword [edx*4 + 0x71bf90]
mov edx, dword [ebp - 0x18]
shr edx, 0x18
and edx, 0x3f
or eax, dword [edx*4 + 0x71c090]
xor dword [ebp - 0x10], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 8
jne 0x50a775
mov eax, dword [ebp - 0x10]
shl eax, 0x1f
mov edx, dword [ebp - 0x10]
shr edx, 1
or eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x10]
and eax, 0xaaaaaaaa
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shl eax, 0x1f
mov edx, dword [ebp - 0xc]
shr edx, 1
or eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shr eax, 8
xor eax, dword [ebp - 0x10]
and eax, 0xff00ff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
shl eax, 8
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shr eax, 2
xor eax, dword [ebp - 0x10]
and eax, 0x33333333
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
shl eax, 2
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
shr eax, 0x10
xor eax, dword [ebp - 0xc]
and eax, 0xffff
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shr eax, 4
xor eax, dword [ebp - 0xc]
and eax, 0xf0f0f0f
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
shl eax, 4
xor dword [ebp - 0x10], eax
mov ebx, dword [0x7314e0]
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x10]
call ebx
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov ebx, dword [0x7314e0]
mov ebx, dword [ebx]
mov eax, dword [ebp - 0xc]
call ebx
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret