Function at 0x4496c0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x84
mov eax, dword [0x61ac94]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 4], ebx
test ebx, ebx
jne 0x4496fd
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004e5fb0
add esp, 0x84
ret
push 0x80
push 0
push ebx
call fcn.004e5fc0
mov edx, dword [esp + 0x9c]
add esp, 0xc
push ebp
push esi
xor eax, eax
push edi
lea esp, [esp]
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 + 0x6174b8], esi
setne cl
mov byte [esp + eax + 0x58], cl
movsx ecx, byte [eax + 0x617221]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x6174b8], esi
setne cl
mov byte [esp + eax + 0x59], cl
movsx ecx, byte [eax + 0x617222]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x6174b8], esi
setne cl
mov byte [esp + eax + 0x5a], cl
movsx ecx, byte [eax + 0x617223]
dec ecx
mov esi, ecx
sar esi, 3
movsx esi, byte [esi + edx]
and ecx, 7
test dword [ecx*4 + 0x6174b8], esi
setne cl
mov byte [esp + eax + 0x5b], cl
add eax, 4
cmp eax, 0x38
jl 0x449720
xor edi, edi
jmp 0x4497c0
movsx ecx, byte [edi + 0x617258]
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 0x4497e9
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 0x44980d
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 0x449838
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 0x44985c
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 0x4497d0
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 0x4498a0
movsx eax, byte [esi + 0x617267]
cmp byte [esp + eax + 0x1f], 0
je 0x4498d6
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 + 0x6174b8]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
movsx eax, byte [esi + 0x617268]
cmp byte [esp + eax + 0x1f], 0
je 0x44990c
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 + 0x6174bc]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
movsx eax, byte [ebp + 0x617268]
cmp byte [esp + eax + 0x1f], 0
je 0x449942
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 + 0x6174c0]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
mov edx, dword [esp + 0x1c]
movsx eax, byte [edx + 0x617268]
cmp byte [esp + eax + 0x1f], 0
je 0x44997c
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 + 0x6174c4]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
mov edx, dword [esp + 0x18]
movsx eax, byte [edx + 0x617268]
cmp byte [esp + eax + 0x1f], 0
je 0x4499b6
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 + 0x6174c8]
mov ebx, dword [esp + 0x10]
sar edx, 2
or byte [eax], dl
mov edx, dword [esp + 0x14]
movsx eax, byte [edx + 0x617268]
cmp byte [esp + eax + 0x1f], 0
je 0x4499f0
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 + 0x6174cc]
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 0x4498a0
inc edi
cmp edi, 0x10
jl 0x4497c0
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004e5fb0
add esp, 0x84
ret