Function at 0x4e0960
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x8c
mov eax, dword [0x51eed4]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x94]
push esi
mov dword [esp + 0x10], eax
mov esi, ecx
xor eax, eax
movzx ecx, byte [eax + 0x4fff98]
dec ecx
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*4 + 0x500010], dl
setne cl
mov byte [esp + eax + 0x14], cl
movzx ecx, byte [eax + 0x4fff99]
dec ecx
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*4 + 0x500010], dl
setne cl
mov byte [esp + eax + 0x15], cl
movzx ecx, byte [eax + 0x4fff9a]
dec ecx
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*4 + 0x500010], dl
setne cl
mov byte [esp + eax + 0x16], cl
movzx ecx, byte [eax + 0x4fff9b]
dec ecx
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*4 + 0x500010], dl
setne cl
mov byte [esp + eax + 0x17], cl
add eax, 4
cmp eax, 0x38
jl 0x4e0984
push ebx
xor edx, edx
push ebp
mov dword [esp + 0x14], edx
push edi
jmp 0x4e0a30
movzx ecx, byte [edx + 0x4fffd0]
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
sub ecx, 0x1a
lea ebx, [ebx]
xor edx, edx
cmp eax, 0x1c
setge dl
lea esi, [ecx + 0x1a]
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp esi, edx
jl 0x4e0a69
lea esi, [ecx - 2]
mov dl, byte [esp + esi + 0x20]
mov byte [esp + eax + 0x58], 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 0x4e0a8a
lea esi, [ecx - 1]
mov dl, byte [esp + esi + 0x20]
mov byte [esp + eax + 0x59], dl
xor edx, edx
cmp eax, 0x1a
setge dl
lea esi, [ecx + 0x1c]
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp esi, edx
jl 0x4e0aaa
mov esi, ecx
mov dl, byte [esp + esi + 0x20]
mov byte [esp + eax + 0x5a], 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 0x4e0acb
lea esi, [ecx + 1]
mov dl, byte [esp + esi + 0x20]
mov byte [esp + eax + 0x5b], dl
add eax, 4
add ecx, 4
cmp eax, 0x38
jl 0x4e0a50
xor ecx, ecx
mov dword [esp + 0x14], 5
mov dword [esp + 0x10], 4
lea ebp, [ecx + 3]
lea edi, [ecx + 2]
mov esi, 1
nop
movzx eax, byte [esi + 0x4fffdf]
cmp byte [esp + eax + 0x57], 0
je 0x4e0b34
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea eax, [esp + edx + 0x90]
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x500010]
sar edx, 2
or byte [eax], dl
movzx eax, byte [esi + 0x4fffe0]
cmp byte [esp + eax + 0x57], 0
je 0x4e0b68
mov eax, 0xaaaaaaab
mul esi
shr edx, 2
lea eax, [esp + edx + 0x90]
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x500014]
sar edx, 2
or byte [eax], dl
movzx eax, byte [edi + 0x4fffe0]
cmp byte [esp + eax + 0x57], 0
je 0x4e0b9c
mov eax, 0xaaaaaaab
mul edi
shr edx, 2
lea eax, [esp + edx + 0x90]
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x500018]
sar edx, 2
or byte [eax], dl
movzx eax, byte [ebp + 0x4fffe0]
cmp byte [esp + eax + 0x57], 0
je 0x4e0bd0
mov eax, 0xaaaaaaab
mul ebp
shr edx, 2
lea eax, [esp + edx + 0x90]
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x50001c]
sar edx, 2
or byte [eax], dl
mov edx, dword [esp + 0x10]
movzx eax, byte [edx + 0x4fffe0]
cmp byte [esp + eax + 0x57], 0
je 0x4e0c08
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [esp + edx + 0x90]
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x500020]
sar edx, 2
or byte [eax], dl
mov edx, dword [esp + 0x14]
movzx eax, byte [edx + 0x4fffe0]
cmp byte [esp + eax + 0x57], 0
je 0x4e0c40
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [esp + edx + 0x90]
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x500024]
sar edx, 2
or byte [eax], dl
mov eax, 6
add dword [esp + 0x10], eax
add dword [esp + 0x14], eax
add esi, eax
add ecx, eax
add edi, eax
add ebp, eax
cmp esi, 0x31
jl 0x4e0b00
mov eax, dword [esp + 0x90]
movzx ecx, byte [esp + 0x92]
mov esi, dword [esp + 0x1c]
movzx edi, al
shl edi, 8
or edi, ecx
mov ecx, dword [esp + 0x94]
movzx edx, cl
shl edi, 8
or edi, edx
movzx edx, byte [esp + 0x96]
shl edi, 8
or edi, edx
mov edx, dword [esp + 0x18]
movzx eax, ah
shl eax, 8
mov dword [esi + edx*8], edi
movzx edi, byte [esp + 0x93]
or eax, edi
shl eax, 8
movzx ecx, ch
or eax, ecx
movzx ecx, byte [esp + 0x97]
shl eax, 8
or eax, ecx
mov dword [esi + edx*8 + 4], eax
inc edx
cmp edx, 0x10
mov dword [esp + 0x18], edx
jl 0x4e0a30
cmp dword [esp + 0xa0], 0
jne 0x4e0d05
xor eax, eax
lea ecx, [esi + 0x7c]
mov edi, dword [ecx - 4]
mov edx, dword [esi + eax*4]
mov dword [esi + eax*4], edi
mov dword [ecx - 4], edx
mov edi, dword [ecx]
mov edx, dword [esi + eax*4 + 4]
mov dword [esi + eax*4 + 4], edi
mov dword [ecx], edx
add eax, 2
sub ecx, 8
cmp eax, 0x10
jl 0x4e0ce2
pop edi
lea edx, [esp + 0x1c]
mov ecx, 0x78
pop ebp
mov esi, ecx
mov eax, edx
pop ebx
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x4e0d15
pop esi
nop
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x4e0d20
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004be1d6
add esp, 0x8c
ret