Function at 0x1008e690
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push esi
push edi
lea edi, [ebp - 0xac]
mov ecx, 0x2b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 8], 0
jmp 0x1008e6d3
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1c
jae 0x1008e732
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x100f58b8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
shr eax, 3
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + eax]
mov eax, dword [ebp - 0x10]
and eax, 7
and edx, dword [eax*4 + 0x100f5898]
je 0x1008e714
mov edx, 1
mov ecx, dword [ebp - 8]
shl edx, cl
mov dword [ebp - 0xa8], edx
jmp 0x1008e71e
mov dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa0]
or eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa0], eax
jmp 0x1008e6ca
mov dword [ebp - 8], 0x1c
jmp 0x1008e744
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x38
jae 0x1008e7a6
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x100f58b8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
shr ecx, 3
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + ecx]
mov ecx, dword [ebp - 0x10]
and ecx, 7
and eax, dword [ecx*4 + 0x100f5898]
je 0x1008e788
mov ecx, dword [ebp - 8]
sub ecx, 0x1c
mov edx, 1
shl edx, cl
mov dword [ebp - 0xac], edx
jmp 0x1008e792
mov dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xa4]
or eax, dword [ebp - 0xac]
mov dword [ebp - 0xa4], eax
jmp 0x1008e73b
mov dword [ebp - 4], 0
jmp 0x1008e7b8
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x10
jae 0x1008e97b
mov edx, dword [ebp - 4]
movzx ecx, byte [edx + 0x100f5888]
mov eax, dword [ebp - 0xa0]
shr eax, cl
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x100f5888]
mov ecx, 0x1c
sub ecx, edx
mov edx, dword [ebp - 0xa0]
shl edx, cl
or eax, edx
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x100f5888]
mov edx, dword [ebp - 0xa4]
shr edx, cl
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x100f5888]
mov eax, 0x1c
sub eax, ecx
mov esi, dword [ebp - 0xa4]
mov ecx, eax
shl esi, cl
or edx, esi
mov dword [ebp - 0xa4], edx
mov ecx, dword [ebp - 0xa0]
and ecx, 0x3f
mov edx, dword [ebp - 0xa0]
shr edx, 6
and edx, 3
mov eax, dword [ebp - 0xa0]
shr eax, 7
and eax, 0x3c
or edx, eax
mov ecx, dword [ecx*4 + 0x100f58f0]
or ecx, dword [edx*4 + 0x100f59f0]
mov edx, dword [ebp - 0xa0]
shr edx, 0xd
and edx, 0xf
mov eax, dword [ebp - 0xa0]
shr eax, 0xe
and eax, 0x30
or edx, eax
or ecx, dword [edx*4 + 0x100f5af0]
mov edx, dword [ebp - 0xa0]
shr edx, 0x14
and edx, 1
mov eax, dword [ebp - 0xa0]
shr eax, 0x15
and eax, 6
or edx, eax
mov eax, dword [ebp - 0xa0]
shr eax, 0x16
and eax, 0x38
or edx, eax
or ecx, dword [edx*4 + 0x100f5bf0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xa4]
and ecx, 0x3f
mov edx, dword [ebp - 0xa4]
shr edx, 7
and edx, 3
mov eax, dword [ebp - 0xa4]
shr eax, 8
and eax, 0x3c
or edx, eax
mov ecx, dword [ecx*4 + 0x100f5cf0]
or ecx, dword [edx*4 + 0x100f5df0]
mov edx, dword [ebp - 0xa4]
shr edx, 0xf
and edx, 0x3f
or ecx, dword [edx*4 + 0x100f5ef0]
mov eax, dword [ebp - 0xa4]
shr eax, 0x15
and eax, 0xf
mov edx, dword [ebp - 0xa4]
shr edx, 0x16
and edx, 0x30
or eax, edx
or ecx, dword [eax*4 + 0x100f5ff0]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
shl eax, 0x10
mov ecx, dword [ebp - 0xc]
and ecx, 0xffff
or eax, ecx
mov dword [ebp - 0x14], eax
push 0x1e
mov edx, dword [ebp - 0x14]
push edx
call fcn.100caddd
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ebp + ecx*8 - 0x98], eax
mov edx, dword [ebp - 0xc]
shr edx, 0x10
mov eax, dword [ebp - 0x10]
and eax, 0xffff0000
or edx, eax
mov dword [ebp - 0x14], edx
push 0x1a
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100caddd
add esp, 8
mov edx, dword [ebp + 0x10]
mov dword [ebp + edx*8 - 0x94], eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], eax
jmp 0x1008e7af
push 0x80
lea ecx, [ebp - 0x98]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100c8130
add esp, 0xc
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x1008e9bc]
call fcn.100c8efc
pop eax
pop edx
pop edi
pop esi
add esp, 0xac
cmp ebp, esp
call fcn.100c8ed9
mov esp, ebp
pop ebp
ret