Function at 0x4eaef0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5973cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], 0
jmp 0x4eaf1e
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x38
jge 0x4eaf7b
mov ecx, dword [ebp - 0x10c]
movzx edx, byte [ecx + 0x595480]
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x104]
and eax, 7
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x104]
sar ecx, 3
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx]
mov ecx, dword [ebp - 0x108]
movzx edx, word [ecx*2 + 0x595400]
and eax, edx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x10c]
mov byte [ebp + ecx - 0x3c], al
jmp 0x4eaf0f
mov dword [ebp - 0x7c], 0
jmp 0x4eaf8d
mov edx, dword [ebp - 0x7c]
add edx, 1
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x7c], 0x10
jge 0x4eb14d
mov eax, dword [ebp - 0x7c]
shl eax, 1
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
add ecx, 1
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
mov dword [ebp + edx*4 - 0x100], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp + eax*4 - 0x100], 0
mov dword [ebp - 0x10c], 0
jmp 0x4eafe8
mov ecx, dword [ebp - 0x10c]
add ecx, 1
mov dword [ebp - 0x10c], ecx
cmp dword [ebp - 0x10c], 0x1c
jge 0x4eb03c
mov edx, dword [ebp - 0x7c]
movzx eax, byte [edx + 0x595470]
add eax, dword [ebp - 0x10c]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0x1c
jge 0x4eb026
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x104]
mov al, byte [ebp + edx - 0x3c]
mov byte [ebp + ecx - 0x74], al
jmp 0x4eb03a
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x104]
mov al, byte [ebp + edx - 0x58]
mov byte [ebp + ecx - 0x74], al
jmp 0x4eafd9
mov dword [ebp - 0x10c], 0x1c
jmp 0x4eb057
mov ecx, dword [ebp - 0x10c]
add ecx, 1
mov dword [ebp - 0x10c], ecx
cmp dword [ebp - 0x10c], 0x38
jge 0x4eb0ab
mov edx, dword [ebp - 0x7c]
movzx eax, byte [edx + 0x595470]
add eax, dword [ebp - 0x10c]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0x38
jge 0x4eb095
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x104]
mov al, byte [ebp + edx - 0x3c]
mov byte [ebp + ecx - 0x74], al
jmp 0x4eb0a9
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x104]
mov al, byte [ebp + edx - 0x58]
mov byte [ebp + ecx - 0x74], al
jmp 0x4eb048
mov dword [ebp - 0x10c], 0
jmp 0x4eb0c6
mov ecx, dword [ebp - 0x10c]
add ecx, 1
mov dword [ebp - 0x10c], ecx
cmp dword [ebp - 0x10c], 0x18
jge 0x4eb148
mov edx, dword [ebp - 0x10c]
movzx eax, byte [edx + 0x5954b8]
movzx ecx, byte [ebp + eax - 0x74]
test ecx, ecx
je 0x4eb10c
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp + edx*4 - 0x100]
or ecx, dword [eax*4 + 0x595410]
mov edx, dword [ebp - 0x108]
mov dword [ebp + edx*4 - 0x100], ecx
mov eax, dword [ebp - 0x10c]
movzx ecx, byte [eax + 0x5954d0]
movzx edx, byte [ebp + ecx - 0x74]
test edx, edx
je 0x4eb143
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp + eax*4 - 0x100]
or edx, dword [ecx*4 + 0x595410]
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x100], edx
jmp 0x4eb0b7
jmp 0x4eaf84
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x100]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004eb1b0
add esp, 0xc
push 0x38
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004f2850
add esp, 0xc
push 0x38
push 0
lea edx, [ebp - 0x74]
push edx
call fcn.004f2850
add esp, 0xc
push 0x80
push 0
lea eax, [ebp - 0x100]
push eax
call fcn.004f2850
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005060ef
mov esp, ebp
pop ebp
ret