Function at 0x4a5600
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov eax, dword [0x4aa688]
xor edx, edx
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov eax, dword [0x4aa68c]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov esi, 0x4aa610
movsx eax, byte [esi]
dec eax
test eax, eax
jns 0x4a5630
add eax, 7
sar eax, 3
mov edx, dword [ebp + 8]
mov ecx, 8
mov bl, byte [edx + eax]
movsx edx, byte [esi]
shl eax, 3
sub edx, eax
xor eax, eax
sub ecx, edx
mov al, bl
sar eax, cl
mov ebx, eax
mov eax, dword [ebp - 4]
cdq
mov ecx, 7
and bl, 1
idiv ecx
mov edi, eax
mov edx, dword [ebp - 4]
mov eax, edi
inc edx
shl eax, 3
mov ecx, 8
sub eax, edi
sub edx, eax
sub ecx, edx
shl bl, cl
or byte [ebp + edi - 0xc], bl
inc dword [ebp - 4]
inc esi
cmp dword [ebp - 4], 0x38
jl 0x4a5625
mov al, byte [ebp - 9]
xor edx, edx
mov byte [ebp - 5], al
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0x4aa678
mov edx, dword [ebp - 0x18]
movsx ecx, byte [edx]
dec ecx
jne 0x4a56b3
mov bl, byte [ebp - 0xc]
and bl, 0x80
and byte [ebp - 0xc], 0x7f
jmp 0x4a56bd
mov bl, byte [ebp - 0xc]
and bl, 0xc0
and byte [ebp - 0xc], 0x3f
mov dword [ebp - 0x14], 7
lea eax, [ebp - 5]
mov edx, dword [ebp - 0x18]
movsx ecx, byte [edx]
dec ecx
jne 0x4a56dd
mov cl, byte [eax]
and cl, 0x80
mov byte [ebp - 0xd], cl
and byte [eax], 0x7f
jmp 0x4a56e8
mov cl, byte [eax]
and cl, 0xc0
mov byte [ebp - 0xd], cl
and byte [eax], 0x3f
mov cl, byte [edx]
shl byte [eax], cl
movsx ecx, byte [edx]
dec ecx
jne 0x4a56f7
and byte [eax], 0xfd
jmp 0x4a56fa
and byte [eax], 0xfc
movsx ecx, byte [edx]
push ecx
mov ecx, 7
pop esi
sub ecx, esi
and ebx, 0xff
sar ebx, cl
or byte [eax], bl
mov bl, byte [ebp - 0xd]
dec dword [ebp - 0x14]
dec eax
cmp dword [ebp - 0x14], 0
jge 0x4a56ca
mov eax, dword [ebp - 0x18]
movsx edx, byte [eax]
dec edx
jne 0x4a5747
mov al, byte [ebp - 5]
mov bl, byte [ebp - 9]
and al, 3
and bl, 3
mov byte [ebp - 0xd], al
and byte [ebp - 9], 0xfc
and byte [ebp - 5], 0xfc
mov dl, byte [ebp - 0xd]
or byte [ebp - 9], dl
or byte [ebp - 5], bl
jmp 0x4a5766
mov al, byte [ebp - 5]
mov bl, byte [ebp - 9]
and al, 7
and bl, 7
mov byte [ebp - 0xd], al
and byte [ebp - 9], 0xf8
and byte [ebp - 5], 0xf8
mov dl, byte [ebp - 0xd]
or byte [ebp - 9], dl
or byte [ebp - 5], bl
xor ecx, ecx
mov esi, 0x4aa648
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x20]
mov edx, eax
mov dword [ebp - 0x1c], edx
movsx edi, byte [esi]
dec edi
mov ecx, 7
mov eax, edi
cdq
idiv ecx
mov ecx, 6
mov bl, byte [ebp + eax - 0xc]
mov eax, edi
cdq
idiv ecx
movsx edx, byte [esi]
add eax, eax
mov ecx, 8
lea eax, [eax + eax*2]
sub edx, eax
xor eax, eax
sub ecx, edx
mov al, bl
sar eax, cl
mov ebx, eax
mov eax, dword [ebp - 0x14]
cdq
mov ecx, 6
and bl, 1
idiv ecx
mov edi, eax
mov edx, dword [ebp - 0x14]
mov eax, edi
inc edx
add eax, eax
mov ecx, 8
lea eax, [eax + eax*2]
sub edx, eax
mov eax, dword [ebp - 0x1c]
sub ecx, edx
shl bl, cl
or byte [eax + edi], bl
inc dword [ebp - 0x14]
inc esi
cmp dword [ebp - 0x14], 0x30
jl 0x4a5778
inc dword [ebp - 4]
add dword [ebp - 0x20], 8
inc dword [ebp - 0x18]
cmp dword [ebp - 4], 0x10
jl 0x4a569e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8