Function at 0x416970
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x104
mov eax, dword [0x6f7654]
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 0x4169a0
movzx ecx, byte [eax + str.80_]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x6f8c90], dl
setne cl
mov byte [esp + eax + 0xd8], cl
movzx ecx, byte [eax + 0x6f8d01]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x6f8c90], dl
setne cl
mov byte [esp + eax + 0xd9], cl
movzx ecx, byte [eax + 0x6f8d02]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x6f8c90], dl
setne cl
mov byte [esp + eax + 0xda], cl
movzx ecx, byte [eax + 0x6f8d03]
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and ecx, 7
test byte [ecx*2 + 0x6f8c90], dl
setne cl
mov byte [esp + eax + 0xdb], cl
add eax, 4
cmp eax, 0x38
jl 0x4169a0
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x1e
jmp 0x416a54
mov ecx, dword [esp + 0x14]
cmp word [esp + 0x11c], 1
mov eax, dword [esp + 0x10]
je 0x416a66
lea eax, [ecx + ecx]
movzx ebp, byte [ecx + 0x6f8d38]
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 ecx, [ecx]
lea edi, [ecx - 3]
cmp edi, 0x1c
jge 0x416aa1
mov dl, byte [esp + eax + 0xd6]
jmp 0x416aa8
mov dl, byte [esp + edi + 0xbc]
lea edi, [ecx - 2]
cmp edi, 0x1c
mov byte [esp + esi + 0xa0], dl
jge 0x416ac0
mov dl, byte [esp + eax + 0xd7]
jmp 0x416ac7
mov dl, byte [esp + edi + 0xbc]
cmp eax, 0x1c
mov byte [esp + esi + 0xa1], dl
jge 0x416adc
mov dl, byte [esp + eax + 0xd8]
jmp 0x416ae3
mov dl, byte [esp + eax + 0xbc]
cmp ecx, 0x1c
mov byte [esp + esi + 0xa2], dl
jge 0x416af8
mov dl, byte [esp + eax + 0xd9]
jmp 0x416aff
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 0x416a90
mov edi, 0x1c
lea edx, [ebp + 0x1f]
lea eax, [ebp + 0x1e]
lea ecx, [edx - 3]
cmp ecx, 0x38
jge 0x416b34
mov cl, byte [esp + eax + 0xd6]
jmp 0x416b3b
mov cl, byte [esp + ecx + 0xbc]
lea esi, [edx - 2]
cmp esi, 0x38
mov byte [esp + edi + 0xa0], cl
jge 0x416b53
mov cl, byte [esp + eax + 0xd7]
jmp 0x416b5a
mov cl, byte [esp + esi + 0xbc]
cmp eax, 0x38
mov byte [esp + edi + 0xa1], cl
jge 0x416b6f
mov cl, byte [esp + eax + 0xd8]
jmp 0x416b76
mov cl, byte [esp + eax + 0xbc]
cmp edx, 0x38
mov byte [esp + edi + 0xa2], cl
jge 0x416b8b
mov cl, byte [esp + eax + 0xd9]
jmp 0x416b92
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 0x416b23
xor eax, eax
lea ecx, [ecx]
movzx edx, byte [eax + 0x6f8d48]
cmp byte [esp + edx + 0xa0], 0
mov ecx, dword [esp + 0x18]
je 0x416bce
mov edx, dword [eax*4 + 0x6f8ca0]
or dword [ecx], edx
movzx edx, byte [eax + 0x6f8d60]
cmp byte [esp + edx + 0xa0], 0
je 0x416be8
mov edx, dword [eax*4 + 0x6f8ca0]
or dword [ebx], edx
movzx edx, byte [eax + 0x6f8d49]
cmp byte [esp + edx + 0xa0], 0
je 0x416c02
mov edx, dword [eax*4 + 0x6f8ca4]
or dword [ecx], edx
movzx edx, byte [eax + 0x6f8d61]
cmp byte [esp + edx + 0xa0], 0
je 0x416c1c
mov edx, dword [eax*4 + 0x6f8ca4]
or dword [ebx], edx
movzx edx, byte [eax + 0x6f8d4a]
cmp byte [esp + edx + 0xa0], 0
je 0x416c36
mov edx, dword [eax*4 + 0x6f8ca8]
or dword [ecx], edx
movzx edx, byte [eax + 0x6f8d62]
cmp byte [esp + edx + 0xa0], 0
je 0x416c50
mov edx, dword [eax*4 + 0x6f8ca8]
or dword [ebx], edx
movzx edx, byte [eax + 0x6f8d4b]
cmp byte [esp + edx + 0xa0], 0
je 0x416c6a
mov edx, dword [eax*4 + 0x6f8cac]
or dword [ecx], edx
movzx edx, byte [eax + 0x6f8d63]
cmp byte [esp + edx + 0xa0], 0
je 0x416c84
mov edx, dword [eax*4 + 0x6f8cac]
or dword [ebx], edx
movzx edx, byte [eax + 0x6f8d4c]
cmp byte [esp + edx + 0xa0], 0
je 0x416c9e
mov edx, dword [eax*4 + 0x6f8cb0]
or dword [ecx], edx
movzx edx, byte [eax + 0x6f8d64]
cmp byte [esp + edx + 0xa0], 0
je 0x416cb8
mov edx, dword [eax*4 + 0x6f8cb0]
or dword [ebx], edx
movzx edx, byte [eax + 0x6f8d4d]
cmp byte [esp + edx + 0xa0], 0
je 0x416cd2
mov edx, dword [eax*4 + 0x6f8cb4]
or dword [ecx], edx
movzx ecx, byte [eax + 0x6f8d65]
cmp byte [esp + ecx + 0xa0], 0
je 0x416cec
mov edx, dword [eax*4 + 0x6f8cb4]
or dword [ebx], edx
add eax, 6
cmp eax, 0x18
jl 0x416bb0
mov eax, dword [esp + 0x10]
inc dword [esp + 0x14]
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x416a50
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
call fcn.00416760
mov ecx, dword [esp + 0x114]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005ea848
add esp, 0x104
ret