Function at 0x4d010c
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405bbc
xor eax, eax
push ebp
push 0x4d0310
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x38
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x478e8c]
call fcn.00405a38
add esp, 4
push 0x38
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x478e8c]
call fcn.00405a38
add esp, 4
push 0x20
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x4cfc7c]
call fcn.00405a38
add esp, 4
xor eax, eax
mov ecx, 0x532ac8
xor edx, edx
mov dl, byte [ecx]
mov ebx, edx
and ebx, 7
mov dword [ebp - 0x20], ebx
shr edx, 3
mov ebx, dword [ebp - 4]
mov dl, byte [ebx + edx]
mov ebx, dword [ebp - 0x20]
and dl, byte [ebx + 0x532a60]
jne 0x4d01b8
mov edx, dword [ebp - 0x10]
mov byte [edx + eax], 0
jmp 0x4d01bf
mov edx, dword [ebp - 0x10]
mov byte [edx + eax], 1
inc eax
inc ecx
cmp eax, 0x38
jne 0x4d018f
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, 0x532b00
cmp word [ebp - 6], 1
jne 0x4d01e6
mov eax, 0xf
sub eax, dword [ebp - 0x1c]
add eax, eax
mov dword [ebp - 0x20], eax
jmp 0x4d01ee
mov eax, dword [ebp - 0x1c]
add eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
xor ebx, ebx
mov dword [eax + edx*4], ebx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
xor ebx, ebx
mov dword [eax + edx*4], ebx
xor eax, eax
xor edx, edx
mov dl, byte [ecx]
add edx, eax
cmp edx, 0x1c
jge 0x4d0226
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebx + edx]
mov ebx, dword [ebp - 0x14]
mov byte [ebx + eax], dl
jmp 0x4d0233
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebx + edx - 0x1c]
mov ebx, dword [ebp - 0x14]
mov byte [ebx + eax], dl
inc eax
cmp eax, 0x1c
jne 0x4d020d
mov eax, 0x1c
xor edx, edx
mov dl, byte [ecx]
add edx, eax
cmp edx, 0x38
jge 0x4d0257
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebx + edx]
mov ebx, dword [ebp - 0x14]
mov byte [ebx + eax], dl
jmp 0x4d0264
mov ebx, dword [ebp - 0x10]
mov dl, byte [ebx + edx - 0x1c]
mov ebx, dword [ebp - 0x14]
mov byte [ebx + eax], dl
inc eax
cmp eax, 0x38
jne 0x4d023e
mov eax, 0x18
mov edx, 0x532b10
mov dword [ebp - 0x28], 0x532a68
xor ebx, ebx
mov bl, byte [edx]
mov esi, dword [ebp - 0x14]
cmp byte [esi + ebx], 0
je 0x4d0296
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x28]
mov edi, dword [edi]
or dword [ebx + esi*4], edi
xor ebx, ebx
mov bl, byte [edx + 0x18]
mov esi, dword [ebp - 0x14]
cmp byte [esi + ebx], 0
je 0x4d02b2
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
mov edi, dword [edi]
or dword [ebx + esi*4], edi
add dword [ebp - 0x28], 4
inc edx
dec eax
jne 0x4d027b
inc dword [ebp - 0x1c]
inc ecx
cmp dword [ebp - 0x1c], 0x10
jne 0x4d01d0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
call fcn.004d0320
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0317
lea eax, [ebp - 0x18]
mov edx, dword [0x4cfc7c]
call fcn.00405b58
lea eax, [ebp - 0x14]
mov edx, dword [0x478e8c]
mov ecx, 2
call fcn.00404f5c
lea eax, [ebp - 4]
mov edx, dword [0x478e8c]
call fcn.00405b58
ret