Function at 0x42ecd0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], edi
nop word [eax + eax]
movzx ecx, byte [edx + str.80_]
mov eax, ecx
and ecx, 7
shr eax, 3
movzx eax, byte [eax + esi]
test byte [ecx*2 + 0x502110], al
movzx ecx, byte [edx + 0x501cd1]
setne al
mov byte [ebp + edx - 0x148], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*2 + 0x502110], al
movzx ecx, byte [edx + 0x501cd2]
setne al
mov byte [ebp + edx - 0x147], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*2 + 0x502110], al
movzx ecx, byte [edx + 0x501cd3]
setne al
mov byte [ebp + edx - 0x146], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*2 + 0x502110], al
setne al
mov byte [ebp + edx - 0x145], al
add edx, 4
cmp edx, 0x38
jl 0x42ed00
mov ecx, 0x1e
xor ebx, ebx
mov dword [ebp - 0x108], ecx
nop dword [eax]
cmp edi, 1
lea eax, [ebx + ebx]
lea edi, [ebp - 0x84]
cmovne ecx, eax
xor eax, eax
lea esi, [ebp + ecx*4 - 0x80]
lea edi, [edi + ecx*4]
mov dword [esi], 0
movzx ecx, byte [ebx + 0x501bc0]
mov dword [edi], 0
nop dword [eax + eax]
cmp ecx, 0x1c
jge 0x42edee
mov dl, byte [ebp + ecx - 0x148]
jmp 0x42edf5
mov dl, byte [ebp + ecx - 0x164]
mov byte [ebp + eax - 0x180], dl
inc ecx
inc eax
cmp eax, 0x1c
jl 0x42ede0
movzx eax, byte [ebx + 0x501bc0]
mov ecx, 0x1c
add eax, ecx
cmp eax, 0x38
jge 0x42ee1f
mov dl, byte [ebp + eax - 0x148]
jmp 0x42ee26
mov dl, byte [ebp + eax - 0x164]
mov byte [ebp + ecx - 0x180], dl
inc eax
inc ecx
cmp ecx, 0x38
jl 0x42ee11
xor eax, eax
nop word [eax + eax]
movzx ecx, byte [eax + 0x501930]
cmp byte [ebp + ecx - 0x180], 0
je 0x42ee5a
mov ecx, dword [eax*4 + 0x501b60]
or dword [edi], ecx
movzx ecx, byte [eax + 0x501948]
cmp byte [ebp + ecx - 0x180], 0
je 0x42ee74
mov ecx, dword [eax*4 + 0x501b60]
or dword [esi], ecx
inc eax
cmp eax, 0x18
jl 0x42ee40
mov ecx, dword [ebp - 0x108]
inc ebx
mov edi, dword [ebp - 0x10c]
sub ecx, 2
mov dword [ebp - 0x108], ecx
cmp ecx, 0xfffffffe
jg 0x42edb0
lea eax, [ebp - 0x104]
mov dword [ebp - 0x10c], 0x10
lea ebx, [ebp - 0x84]
mov dword [ebp - 0x108], eax
mov edi, dword [ebx + 4]
lea ebx, [ebx + 8]
mov esi, dword [ebx - 8]
mov edx, edi
shr edx, 4
mov eax, edi
and eax, 0xfc0
and edx, 0xfc000
or edx, eax
mov ecx, esi
and ecx, 0xfc0
shr edx, 6
shl ecx, 4
mov eax, esi
and eax, 0xfc0000
or ecx, eax
mov eax, dword [ebp - 0x108]
shl ecx, 6
or edx, ecx
mov ecx, esi
and ecx, 0x3f
and esi, 0x3f000
mov dword [eax], edx
mov edx, eax
shl ecx, 4
mov eax, edi
or ecx, esi
shr eax, 4
shl ecx, 0xc
and eax, 0x3f00
or ecx, eax
and edi, 0x3f
or ecx, edi
mov dword [edx + 4], ecx
add edx, 8
sub dword [ebp - 0x10c], 1
mov dword [ebp - 0x108], edx
jne 0x42eeb5
mov ebx, dword [ebp - 0x110]
lea ecx, [ebp - 0x104]
xor edx, edx
lea eax, [ebx + 0x80]
cmp eax, ebx
sbb esi, esi
and esi, 0xffffffe0
add esi, 0x20
je 0x42ef63
mov eax, ecx
sub ebx, eax
mov eax, dword [ecx]
lea ecx, [ecx + 4]
inc edx
mov dword [ebx + ecx - 4], eax
cmp edx, esi
jb 0x42ef55
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 8