Function at 0x10009b00
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x54
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x10047658]
mov byte [ecx + 0x10055210], al
inc eax
cmp eax, 0x40
jl 0x10009b05
push ebx
mov ebx, dword [0x100473a8]
push ebp
push esi
push edi
mov ecx, 0x10
xor eax, eax
mov edi, 0x10051d10
rep stosd dword es:[edi], eax
xor edi, edi
xor eax, eax
mov al, byte [edi + 0x100473b8]
test eax, eax
je 0x10009b7b
mov ecx, ebx
mov ebp, 0x1c
and ecx, 0xff
lea esi, [eax + ecx - 1]
mov eax, esi
cdq
idiv ebp
cmp edx, ecx
jge 0x10009b5b
sub esi, ebp
xor eax, eax
mov al, byte [esi + str.91__]
test eax, eax
jle 0x10009b75
dec eax
mov edx, eax
and eax, 7
or edx, 7
sub edx, eax
inc edx
mov eax, edx
mov byte [edi + 0x10051d10], al
inc edi
cmp edi, 0x40
jl 0x10009b33
push 8
push 8
push 0x10051d10
push 0x10051d50
call fcn.10009e60
add esp, 0x10
xor ebp, ebp
mov ebx, 0x10052550
mov ecx, 0x10
xor eax, eax
mov edi, 0x10051d10
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov cl, byte [eax + 0x100473b8]
test ecx, ecx
je 0x10009bcb
mov dl, al
inc dl
mov byte [esp + ecx + 0x23], dl
inc eax
cmp eax, 0x40
jl 0x10009bb7
xor esi, esi
xor ecx, ecx
mov cl, byte [esi + 0x100473b8]
test ecx, ecx
je 0x10009bfb
add ecx, ebp
mov edi, 0x1c
mov eax, ecx
cdq
idiv edi
cmp edx, ebp
jg 0x10009bf1
sub ecx, edi
mov al, byte [esp + ecx + 0x24]
mov byte [esi + 0x10051d10], al
inc esi
cmp esi, 0x40
jl 0x10009bd3
push 8
push 8
push 0x10051d10
push ebx
call fcn.10009e60
add esp, 0x10
add ebx, 0x800
inc ebp
cmp ebx, 0x10053550
jl 0x10009b9e
mov edx, 0x10047340
mov esi, 0x10051d10
sub edx, 2
xor ecx, ecx
cmp ecx, 2
jge 0x10009c3e
xor eax, eax
jmp 0x10009c6e
xor eax, eax
mov al, byte [edx + ecx]
mov edi, eax
xor eax, eax
mov al, byte [edi + 0x100472ff]
cmp eax, 0x20
jle 0x10009c57
sub eax, 0x20
jmp 0x10009c5c
test eax, eax
jle 0x10009c6e
dec eax
test eax, eax
jle 0x10009c6e
dec eax
mov edi, eax
and eax, 7
or edi, 7
sub edi, eax
inc edi
mov eax, edi
mov byte [esi + ecx], al
inc ecx
cmp ecx, 8
jl 0x10009c35
add edx, 6
add esi, 8
cmp edx, 0x1004736e
jl 0x10009c33
push 8
push 4
push 0x10051d10
push 0x100535f0
call fcn.10009e60
mov esi, 0x10051d10
add esp, 0x10
xor ecx, ecx
dec esi
xor edx, edx
xor eax, eax
mov dl, byte [ecx + 0x10047618]
mov al, byte [edx + 0x100472ff]
test eax, eax
jle 0x10009cc5
dec eax
mov edx, eax
and eax, 7
or edx, 7
sub edx, eax
inc edx
mov eax, edx
mov dl, cl
inc dl
inc ecx
cmp ecx, 0x40
mov byte [esi + eax], dl
jl 0x10009ca3
push 8
push 8
push 0x10051d10
push 0x100539f0
call fcn.10009e60
add esp, 0x10
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + 0x10047340]
inc eax
cmp eax, 0x30
mov dl, byte [ecx + 0x100475f7]
mov byte [eax + 0x10051d0f], dl
jl 0x10009cea
xor ebx, ebx
mov dword [esp + 0x10], 0x100551f0
mov ebp, 0x100549f0
xor esi, esi
mov eax, esi
mov ecx, esi
sar eax, 2
and eax, 4
and ecx, 8
or eax, ecx
mov edx, esi
sar eax, 1
and edx, 0x20
mov ecx, esi
or eax, edx
and ecx, 1
mov edx, esi
mov edi, 0x100551f0
shl ecx, 3
and edx, 2
or ecx, edx
xor edx, edx
sar eax, 1
shl ecx, 2
or eax, ecx
mov ecx, esi
and ecx, 4
or eax, ecx
mov dl, byte [eax + ebx + 0x100473f8]
mov eax, edx
sar edx, 2
mov ecx, eax
and edx, 2
and ecx, 4
or edx, ecx
mov ecx, eax
and ecx, 1
and eax, 2
shl ecx, 2
or ecx, eax
xor eax, eax
sar edx, 1
shl ecx, 1
or edx, ecx
mov ecx, 8
rep stosd dword es:[edi], eax
xor edi, edi
mov eax, edx
mov ecx, edi
sar eax, cl
mov ecx, dword [esp + 0x10]
and al, 1
mov byte [ecx + edi], al
inc edi
cmp edi, 4
jl 0x10009d85
xor eax, eax
mov ecx, 0x17
xor edx, edx
add eax, eax
mov dl, byte [ecx + 0x10051d10]
mov edi, edx
xor edx, edx
mov dl, byte [edi + 0x100551ef]
or eax, edx
dec ecx
jns 0x10009da1
mov byte [esp + 0x14], al
sar eax, 6
mov byte [esp + 0x15], al
sar eax, 6
mov byte [esp + 0x16], al
sar eax, 6
mov byte [esp + 0x17], al
mov ecx, dword [esp + 0x14]
and ecx, 0xff3f3f3f
shl ecx, 2
mov dword [ebp - 0x800], ecx
xor eax, eax
mov ecx, 0x17
xor edx, edx
add eax, eax
mov dl, byte [ecx + 0x10051d28]
mov edi, edx
xor edx, edx
mov dl, byte [edi + 0x100551ef]
or eax, edx
dec ecx
jns 0x10009ded
mov byte [esp + 0x1c], al
add ebp, 4
sar eax, 6
mov byte [esp + 0x1d], al
sar eax, 6
mov byte [esp + 0x1e], al
sar eax, 6
mov byte [esp + 0x1f], al
mov ecx, dword [esp + 0x1c]
and ecx, 0xff3f3f3f
shl ecx, 2
mov dword [ebp - 4], ecx
inc esi
cmp esi, 0x40
jl 0x10009d15
mov edx, dword [esp + 0x10]
add ebx, 0x40
add edx, 4
cmp ebp, 0x100551f0
mov dword [esp + 0x10], edx
jl 0x10009d13
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret