Function at 0x406430
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x104
mov eax, dword [0x449af0]
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 0x406460
movzx ecx, byte [eax + str.80_]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x44af58], dl
setne cl
mov byte [esp + eax + 0xd8], cl
movzx ecx, byte [eax + 0x44afc9]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x44af58], dl
setne cl
mov byte [esp + eax + 0xd9], cl
movzx ecx, byte [eax + 0x44afca]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x44af58], dl
setne cl
mov byte [esp + eax + 0xda], cl
movzx ecx, byte [eax + 0x44afcb]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x44af58], dl
setne cl
mov byte [esp + eax + 0xdb], cl
add eax, 4
cmp eax, 0x38
jl 0x406460
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x1e
jmp 0x406514
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x11c], 1
mov eax, dword [esp + 0x10]
je 0x406525
lea eax, [ecx + ecx]
movzx ebp, byte [ecx + 0x44b000]
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 0x406561
mov dl, byte [esp + eax + 0xd6]
jmp 0x406568
mov dl, byte [esp + edi + 0xbc]
lea edi, [ecx - 2]
cmp edi, 0x1c
mov byte [esp + esi + 0xa0], dl
jge 0x406580
mov dl, byte [esp + eax + 0xd7]
jmp 0x406587
mov dl, byte [esp + edi + 0xbc]
cmp eax, 0x1c
mov byte [esp + esi + 0xa1], dl
jge 0x40659c
mov dl, byte [esp + eax + 0xd8]
jmp 0x4065a3
mov dl, byte [esp + eax + 0xbc]
cmp ecx, 0x1c
mov byte [esp + esi + 0xa2], dl
jge 0x4065b8
mov dl, byte [esp + eax + 0xd9]
jmp 0x4065bf
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 0x406550
mov edi, 0x1c
lea edx, [ebp + 0x1f]
lea eax, [ebp + 0x1e]
lea ecx, [edx - 3]
cmp ecx, 0x38
jge 0x4065f4
mov cl, byte [esp + eax + 0xd6]
jmp 0x4065fb
mov cl, byte [esp + ecx + 0xbc]
lea esi, [edx - 2]
cmp esi, 0x38
mov byte [esp + edi + 0xa0], cl
jge 0x406613
mov cl, byte [esp + eax + 0xd7]
jmp 0x40661a
mov cl, byte [esp + esi + 0xbc]
cmp eax, 0x38
mov byte [esp + edi + 0xa1], cl
jge 0x40662f
mov cl, byte [esp + eax + 0xd8]
jmp 0x406636
mov cl, byte [esp + eax + 0xbc]
cmp edx, 0x38
mov byte [esp + edi + 0xa2], cl
jge 0x40664b
mov cl, byte [esp + eax + 0xd9]
jmp 0x406652
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 0x4065e3
xor eax, eax
lea ecx, [ecx]
movzx edx, byte [eax + 0x44b010]
cmp byte [esp + edx + 0xa0], 0
mov ecx, dword [esp + 0x18]
je 0x40668e
mov edx, dword [eax*4 + 0x44af68]
or dword [ecx], edx
movzx edx, byte [eax + 0x44b028]
cmp byte [esp + edx + 0xa0], 0
je 0x4066a8
mov edx, dword [eax*4 + 0x44af68]
or dword [ebx], edx
movzx edx, byte [eax + 0x44b011]
cmp byte [esp + edx + 0xa0], 0
je 0x4066c2
mov edx, dword [eax*4 + 0x44af6c]
or dword [ecx], edx
movzx edx, byte [eax + 0x44b029]
cmp byte [esp + edx + 0xa0], 0
je 0x4066dc
mov edx, dword [eax*4 + 0x44af6c]
or dword [ebx], edx
movzx edx, byte [eax + 0x44b012]
cmp byte [esp + edx + 0xa0], 0
je 0x4066f6
mov edx, dword [eax*4 + 0x44af70]
or dword [ecx], edx
movzx edx, byte [eax + 0x44b02a]
cmp byte [esp + edx + 0xa0], 0
je 0x406710
mov edx, dword [eax*4 + 0x44af70]
or dword [ebx], edx
movzx edx, byte [eax + 0x44b013]
cmp byte [esp + edx + 0xa0], 0
je 0x40672a
mov edx, dword [eax*4 + 0x44af74]
or dword [ecx], edx
movzx edx, byte [eax + 0x44b02b]
cmp byte [esp + edx + 0xa0], 0
je 0x406744
mov edx, dword [eax*4 + 0x44af74]
or dword [ebx], edx
movzx edx, byte [eax + 0x44b014]
cmp byte [esp + edx + 0xa0], 0
je 0x40675e
mov edx, dword [eax*4 + 0x44af78]
or dword [ecx], edx
movzx edx, byte [eax + 0x44b02c]
cmp byte [esp + edx + 0xa0], 0
je 0x406778
mov edx, dword [eax*4 + 0x44af78]
or dword [ebx], edx
movzx edx, byte [eax + 0x44b015]
cmp byte [esp + edx + 0xa0], 0
je 0x406792
mov edx, dword [eax*4 + 0x44af7c]
or dword [ecx], edx
movzx ecx, byte [eax + 0x44b02d]
cmp byte [esp + ecx + 0xa0], 0
je 0x4067ac
mov edx, dword [eax*4 + 0x44af7c]
or dword [ebx], edx
add eax, 6
cmp eax, 0x18
jl 0x406670
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], 1
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x406510
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
call fcn.00406800
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004220fe
add esp, 0x104
ret 8