Function at 0x401660
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
shr ecx, 4
xor ecx, dword [ebp - 0x10]
and ecx, 0xf0f0f0f
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
shl eax, 4
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
shr ecx, 0x10
xor ecx, dword [ebp - 0x10]
and ecx, 0xffff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0xc]
shl eax, 0x10
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
shr ecx, 2
xor ecx, dword [ebp - 0x14]
and ecx, 0x33333333
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
shl eax, 2
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
shr ecx, 8
xor ecx, dword [ebp - 0x14]
and ecx, 0xff00ff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
shl eax, 8
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
shl ecx, 1
mov edx, dword [ebp - 0x10]
shr edx, 0x1f
and edx, 1
or ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x10]
and eax, 0xaaaaaaaa
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x14]
shl eax, 1
mov ecx, dword [ebp - 0x14]
shr ecx, 0x1f
and ecx, 1
or eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
jmp 0x40176b
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 8
jge 0x40194c
mov eax, dword [ebp - 0x10]
shl eax, 0x1c
mov ecx, dword [ebp - 0x10]
shr ecx, 4
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
xor eax, dword [edx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0xc]
and edx, 0x3f
mov eax, dword [edx*4 + 0x4056e8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
shr ecx, 8
and ecx, 0x3f
mov edx, dword [ebp - 4]
or edx, dword [ecx*4 + 0x4054e8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ebp - 4]
or ecx, dword [eax*4 + 0x4052e8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
shr edx, 0x18
and edx, 0x3f
mov eax, dword [ebp - 4]
or eax, dword [edx*4 + 0x4050e8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
xor edx, dword [ecx]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0x3f
mov edx, dword [ebp - 4]
or edx, dword [ecx*4 + 0x4057e8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
shr eax, 8
and eax, 0x3f
mov ecx, dword [ebp - 4]
or ecx, dword [eax*4 + 0x4055e8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
shr edx, 0x10
and edx, 0x3f
mov eax, dword [ebp - 4]
or eax, dword [edx*4 + 0x4053e8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
shr ecx, 0x18
and ecx, 0x3f
mov edx, dword [ebp - 4]
or edx, dword [ecx*4 + 0x4051e8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 0x1c
mov edx, dword [ebp - 0x14]
shr edx, 4
or ecx, edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [eax]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 0xc]
and eax, 0x3f
mov ecx, dword [eax*4 + 0x4056e8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
shr edx, 8
and edx, 0x3f
mov eax, dword [ebp - 4]
or eax, dword [edx*4 + 0x4054e8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
and ecx, 0x3f
mov edx, dword [ebp - 4]
or edx, dword [ecx*4 + 0x4052e8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
shr eax, 0x18
and eax, 0x3f
mov ecx, dword [ebp - 4]
or ecx, dword [eax*4 + 0x4050e8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
xor eax, dword [edx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0xc]
and edx, 0x3f
mov eax, dword [ebp - 4]
or eax, dword [edx*4 + 0x4057e8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
shr ecx, 8
and ecx, 0x3f
mov edx, dword [ebp - 4]
or edx, dword [ecx*4 + 0x4055e8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ebp - 4]
or ecx, dword [eax*4 + 0x4053e8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
shr edx, 0x18
and edx, 0x3f
mov eax, dword [ebp - 4]
or eax, dword [edx*4 + 0x4051e8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
jmp 0x401762
mov edx, dword [ebp - 0x10]
shl edx, 0x1f
mov eax, dword [ebp - 0x10]
shr eax, 1
or edx, eax
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x10]
and ecx, 0xaaaaaaaa
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 0x1f
mov edx, dword [ebp - 0x14]
shr edx, 1
or ecx, edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
shr eax, 8
xor eax, dword [ebp - 0x10]
and eax, 0xff00ff
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
shl edx, 8
xor edx, dword [ebp - 0x14]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
shr eax, 2
xor eax, dword [ebp - 0x10]
and eax, 0x33333333
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
shl edx, 2
xor edx, dword [ebp - 0x14]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
shr eax, 0x10
xor eax, dword [ebp - 0x14]
and eax, 0xffff
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
shl edx, 0x10
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
shr eax, 4
xor eax, dword [ebp - 0x14]
and eax, 0xf0f0f0f
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
shl edx, 4
xor edx, dword [ebp - 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
add edx, 4
mov dword [ebp + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret