Function at 0x1002e820
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x84
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
test ebx, ebx
jne 0x1002e85f
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.10038723
add esp, 0x84
ret 8
push 0x80
push 0
push ebx
call fcn.10038ae0
mov edx, dword [esp + 0x9c]
add esp, 0xc
push ebp
push esi
xor eax, eax
push edi
jmp 0x1002e880
movsx ecx, byte [eax + str.91__]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x10057798], esi
setne cl
mov byte [esp + eax + 0x58], cl
movsx ecx, byte [eax + 0x10057501]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x10057798], esi
setne cl
mov byte [esp + eax + 0x59], cl
movsx ecx, byte [eax + 0x10057502]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x10057798], esi
setne cl
mov byte [esp + eax + 0x5a], cl
movsx ecx, byte [eax + 0x10057503]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x10057798], esi
setne cl
mov byte [esp + eax + 0x5b], cl
add eax, 4
cmp eax, 0x38
jl 0x1002e880
xor edi, edi
jmp 0x1002e920
movsx ecx, byte [edi + 0x10057538]
xor eax, eax
sub ecx, 0x1a
lea esp, [esp]
xor edx, edx
cmp eax, 0x1c
setge dl
lea esi, [ecx + 0x1a]
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp esi, edx
jl 0x1002e949
lea esi, [ecx - 2]
mov dl, byte [esp + esi + 0x58]
lea esi, [esp + 0x20]
mov byte [esi + eax], 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 0x1002e96d
lea esi, [ecx - 1]
mov dl, byte [esp + esi + 0x58]
mov byte [esp + eax + 0x21], dl
lea edx, [eax + 2]
mov dword [esp + 0x14], eax
xor eax, eax
cmp edx, 0x1c
setge al
lea esi, [ecx + 0x1c]
dec eax
and eax, 0xffffffe4
add eax, 0x38
cmp esi, eax
mov eax, dword [esp + 0x14]
jl 0x1002e998
mov esi, ecx
mov dl, byte [esp + esi + 0x58]
lea esi, [esp + 0x22]
mov byte [esi + eax], 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 0x1002e9bc
lea esi, [ecx + 1]
mov dl, byte [esp + esi + 0x58]
mov byte [esp + eax + 0x23], dl
add eax, 4
add ecx, 4
cmp eax, 0x38
jl 0x1002e930
xor ecx, ecx
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 3
lea ebp, [ecx + 2]
mov esi, 1
jmp 0x1002ea00
movsx eax, byte [esi + 0x10057547]
cmp byte [esp + eax + 0x1f], 0
je 0x1002ea36
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea eax, [edx + edi*8]
add eax, ebx
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x10057798]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
movsx eax, byte [esi + 0x10057548]
cmp byte [esp + eax + 0x1f], 0
je 0x1002ea6c
mov eax, 0xaaaaaaab
mul esi
shr edx, 2
lea eax, [edx + edi*8]
add eax, ebx
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x1005779c]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
movsx eax, byte [ebp + 0x10057548]
cmp byte [esp + eax + 0x1f], 0
je 0x1002eaa2
mov eax, 0xaaaaaaab
mul ebp
shr edx, 2
lea eax, [edx + edi*8]
add eax, ebx
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x100577a0]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
mov edx, dword [esp + 0x1c]
movsx eax, byte [edx + 0x10057548]
cmp byte [esp + eax + 0x1f], 0
je 0x1002eadc
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + edi*8]
add eax, ebx
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x100577a4]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
mov edx, dword [esp + 0x18]
movsx eax, byte [edx + 0x10057548]
cmp byte [esp + eax + 0x1f], 0
je 0x1002eb16
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + edi*8]
add eax, ebx
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x100577a8]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
mov edx, dword [esp + 0x14]
movsx eax, byte [edx + 0x10057548]
cmp byte [esp + eax + 0x1f], 0
je 0x1002eb50
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + edi*8]
add eax, ebx
lea edx, [edx + edx*2]
add edx, edx
mov ebx, ecx
sub ebx, edx
mov edx, dword [ebx*4 + 0x100577ac]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
mov eax, 6
add dword [esp + 0x1c], eax
add dword [esp + 0x18], eax
add dword [esp + 0x14], eax
add esi, eax
add ecx, eax
add ebp, eax
cmp esi, 0x31
jl 0x1002ea00
inc edi
cmp edi, 0x10
jl 0x1002e920
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10038723
add esp, 0x84
ret 8