Function at 0x406480
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x104
mov eax, dword [0x44aaf0]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x108]
push ebx
push ebp
push esi
mov dword [esp + 0x18], eax
push edi
mov esi, ecx
xor eax, eax
jmp 0x4064b0
movzx ecx, byte [eax + str.80_]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x44bf58], dl
setne cl
mov byte [esp + eax + 0xd8], cl
movzx ecx, byte [eax + 0x44bfc9]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x44bf58], dl
setne cl
mov byte [esp + eax + 0xd9], cl
movzx ecx, byte [eax + 0x44bfca]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x44bf58], dl
setne cl
mov byte [esp + eax + 0xda], cl
movzx ecx, byte [eax + 0x44bfcb]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x44bf58], dl
setne cl
mov byte [esp + eax + 0xdb], cl
add eax, 4
cmp eax, 0x38
jl 0x4064b0
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x1e
jmp 0x406564
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x11c], 1
mov eax, dword [esp + 0x10]
je 0x406575
lea eax, [ecx + ecx]
movzx ebp, byte [ecx + 0x44c000]
lea ebx, [esp + eax*4 + 0x24]
lea eax, [esp + eax*4 + 0x20]
mov dword [ebx], 0
mov dword [esp + 0x18], eax
mov dword [eax], 0
xor esi, esi
lea ecx, [ebp + 3]
lea eax, [ebp + 2]
lea esp, [esp]
lea edi, [ecx - 3]
cmp edi, 0x1c
jge 0x4065b1
mov dl, byte [esp + eax + 0xd6]
jmp 0x4065b8
mov dl, byte [esp + edi + 0xbc]
lea edi, [ecx - 2]
cmp edi, 0x1c
mov byte [esp + esi + 0xa0], dl
jge 0x4065d0
mov dl, byte [esp + eax + 0xd7]
jmp 0x4065d7
mov dl, byte [esp + edi + 0xbc]
cmp eax, 0x1c
mov byte [esp + esi + 0xa1], dl
jge 0x4065ec
mov dl, byte [esp + eax + 0xd8]
jmp 0x4065f3
mov dl, byte [esp + eax + 0xbc]
cmp ecx, 0x1c
mov byte [esp + esi + 0xa2], dl
jge 0x406608
mov dl, byte [esp + eax + 0xd9]
jmp 0x40660f
mov dl, byte [esp + ecx + 0xbc]
mov byte [esp + esi + 0xa3], dl
add esi, 4
add eax, 4
add ecx, 4
cmp esi, 0x1c
jl 0x4065a0
mov edi, 0x1c
lea edx, [ebp + 0x1f]
lea eax, [ebp + 0x1e]
lea ecx, [edx - 3]
cmp ecx, 0x38
jge 0x406644
mov cl, byte [esp + eax + 0xd6]
jmp 0x40664b
mov cl, byte [esp + ecx + 0xbc]
lea esi, [edx - 2]
cmp esi, 0x38
mov byte [esp + edi + 0xa0], cl
jge 0x406663
mov cl, byte [esp + eax + 0xd7]
jmp 0x40666a
mov cl, byte [esp + esi + 0xbc]
cmp eax, 0x38
mov byte [esp + edi + 0xa1], cl
jge 0x40667f
mov cl, byte [esp + eax + 0xd8]
jmp 0x406686
mov cl, byte [esp + eax + 0xbc]
cmp edx, 0x38
mov byte [esp + edi + 0xa2], cl
jge 0x40669b
mov cl, byte [esp + eax + 0xd9]
jmp 0x4066a2
mov cl, byte [esp + edx + 0xbc]
mov byte [esp + edi + 0xa3], cl
add edi, 4
add eax, 4
add edx, 4
cmp edi, 0x38
jl 0x406633
xor eax, eax
lea ecx, [ecx]
movzx edx, byte [eax + 0x44c010]
cmp byte [esp + edx + 0xa0], 0
mov ecx, dword [esp + 0x18]
je 0x4066de
mov edx, dword [eax*4 + 0x44bf68]
or dword [ecx], edx
movzx edx, byte [eax + 0x44c028]
cmp byte [esp + edx + 0xa0], 0
je 0x4066f8
mov edx, dword [eax*4 + 0x44bf68]
or dword [ebx], edx
movzx edx, byte [eax + 0x44c011]
cmp byte [esp + edx + 0xa0], 0
je 0x406712
mov edx, dword [eax*4 + 0x44bf6c]
or dword [ecx], edx
movzx edx, byte [eax + 0x44c029]
cmp byte [esp + edx + 0xa0], 0
je 0x40672c
mov edx, dword [eax*4 + 0x44bf6c]
or dword [ebx], edx
movzx edx, byte [eax + 0x44c012]
cmp byte [esp + edx + 0xa0], 0
je 0x406746
mov edx, dword [eax*4 + 0x44bf70]
or dword [ecx], edx
movzx edx, byte [eax + 0x44c02a]
cmp byte [esp + edx + 0xa0], 0
je 0x406760
mov edx, dword [eax*4 + 0x44bf70]
or dword [ebx], edx
movzx edx, byte [eax + 0x44c013]
cmp byte [esp + edx + 0xa0], 0
je 0x40677a
mov edx, dword [eax*4 + 0x44bf74]
or dword [ecx], edx
movzx edx, byte [eax + 0x44c02b]
cmp byte [esp + edx + 0xa0], 0
je 0x406794
mov edx, dword [eax*4 + 0x44bf74]
or dword [ebx], edx
movzx edx, byte [eax + 0x44c014]
cmp byte [esp + edx + 0xa0], 0
je 0x4067ae
mov edx, dword [eax*4 + 0x44bf78]
or dword [ecx], edx
movzx edx, byte [eax + 0x44c02c]
cmp byte [esp + edx + 0xa0], 0
je 0x4067c8
mov edx, dword [eax*4 + 0x44bf78]
or dword [ebx], edx
movzx edx, byte [eax + 0x44c015]
cmp byte [esp + edx + 0xa0], 0
je 0x4067e2
mov edx, dword [eax*4 + 0x44bf7c]
or dword [ecx], edx
movzx ecx, byte [eax + 0x44c02d]
cmp byte [esp + ecx + 0xa0], 0
je 0x4067fc
mov edx, dword [eax*4 + 0x44bf7c]
or dword [ebx], edx
add eax, 6
cmp eax, 0x18
jl 0x4066c0
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], 1
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x406560
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
call fcn.00406850
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004225d3
add esp, 0x104
ret 8