Function at 0x4d7e80
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x594ccc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
test eax, eax
jne 0x4d7eb0
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d23b
mov esp, ebp
pop ebp
ret 8
push 0x80
push 0
push eax
call fcn.0051d250
mov edx, dword [ebp + 0xc]
add esp, 0xc
push ebx
push esi
xor eax, eax
push edi
jmp 0x4d7ed0
movsx ecx, byte [eax + str.91__]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x56c5e8], esi
setne cl
mov byte [ebp + eax - 0x74], cl
movsx ecx, byte [eax + 0x56c351]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x56c5e8], esi
setne cl
mov byte [ebp + eax - 0x73], cl
movsx ecx, byte [eax + 0x56c352]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x56c5e8], esi
setne cl
mov byte [ebp + eax - 0x72], cl
movsx ecx, byte [eax + 0x56c353]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x56c5e8], esi
setne cl
mov byte [ebp + eax - 0x71], cl
add eax, 4
cmp eax, 0x38
jl 0x4d7ed0
xor edi, edi
jmp 0x4d7f70
movsx ecx, byte [edi + 0x56c388]
xor eax, eax
sub ecx, 0x1a
lea esp, [esp]
xor edx, edx
cmp eax, 0x1c
setge dl
lea esi, [ecx + 0x1a]
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp esi, edx
jl 0x4d7f99
lea esi, [ecx - 2]
mov dl, byte [ebp + esi - 0x74]
lea esi, [ebp - 0x3c]
mov byte [esi + eax], dl
xor edx, edx
cmp eax, 0x1b
setge dl
lea esi, [ecx + 0x1b]
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp esi, edx
jl 0x4d7fbc
lea esi, [ecx - 1]
mov dl, byte [ebp + esi - 0x74]
xor ebx, ebx
mov byte [ebp + eax - 0x3b], dl
lea edx, [eax + 2]
cmp edx, 0x1c
setge bl
lea esi, [ecx + 0x1c]
dec ebx
and ebx, 0xffffffe4
add ebx, 0x38
cmp esi, ebx
jl 0x4d7fdf
mov esi, ecx
mov dl, byte [ebp + esi - 0x74]
lea esi, [ebp - 0x3a]
mov byte [esi + eax], dl
xor edx, edx
cmp eax, 0x19
setge dl
lea esi, [ecx + 0x1d]
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp esi, edx
jl 0x4d8002
lea esi, [ecx + 1]
mov dl, byte [ebp + esi - 0x74]
mov byte [ebp + eax - 0x39], dl
add eax, 4
add ecx, 4
cmp eax, 0x38
jl 0x4d7f80
xor ecx, ecx
mov dword [ebp - 0x84], 5
mov dword [ebp - 0x7c], 4
mov dword [ebp - 0x80], 3
mov dword [ebp - 0x88], 2
mov esi, 1
movsx eax, byte [esi + 0x56c397]
cmp byte [ebp + eax - 0x3d], 0
je 0x4d8077
mov ebx, dword [ebp - 0x78]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea eax, [edx + edi*8]
lea edx, [edx + edx*2]
add eax, ebx
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x56c5e8]
sar edx, 2
or byte [eax], dl
movsx eax, byte [esi + 0x56c398]
cmp byte [ebp + eax - 0x3d], 0
je 0x4d80ac
mov ebx, dword [ebp - 0x78]
mov eax, 0xaaaaaaab
mul esi
shr edx, 2
lea eax, [edx + edi*8]
lea edx, [edx + edx*2]
add eax, ebx
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x56c5ec]
sar edx, 2
or byte [eax], dl
mov edx, dword [ebp - 0x88]
movsx eax, byte [edx + 0x56c398]
cmp byte [ebp + eax - 0x3d], 0
je 0x4d80e7
mov ebx, dword [ebp - 0x78]
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + edi*8]
lea edx, [edx + edx*2]
add eax, ebx
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x56c5f0]
sar edx, 2
or byte [eax], dl
mov edx, dword [ebp - 0x80]
movsx eax, byte [edx + 0x56c398]
cmp byte [ebp + eax - 0x3d], 0
je 0x4d811f
mov ebx, dword [ebp - 0x78]
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + edi*8]
lea edx, [edx + edx*2]
add eax, ebx
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x56c5f4]
sar edx, 2
or byte [eax], dl
mov edx, dword [ebp - 0x7c]
movsx eax, byte [edx + 0x56c398]
cmp byte [ebp + eax - 0x3d], 0
je 0x4d8157
mov ebx, dword [ebp - 0x78]
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + edi*8]
lea edx, [edx + edx*2]
add eax, ebx
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x56c5f8]
sar edx, 2
or byte [eax], dl
mov edx, dword [ebp - 0x84]
movsx eax, byte [edx + 0x56c398]
cmp byte [ebp + eax - 0x3d], 0
je 0x4d8192
mov ebx, dword [ebp - 0x78]
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + edi*8]
lea edx, [edx + edx*2]
add eax, ebx
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x56c5fc]
sar edx, 2
or byte [eax], dl
mov eax, 6
add dword [ebp - 0x88], eax
add dword [ebp - 0x80], eax
add dword [ebp - 0x7c], eax
add dword [ebp - 0x84], eax
add esi, eax
add ecx, eax
cmp esi, 0x31
jl 0x4d8042
inc edi
cmp edi, 0x10
jl 0x4d7f70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0051d23b
mov esp, ebp
pop ebp
ret 8