Function at 0x4016c0
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov eax, 0x2460
call fcn.00405580
push esi
push edi
mov ecx, 8
mov esi, str.SOFTWARESymantecInstalledApps
lea edi, [esp + 0x68]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x78
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x68]
push eax
push ecx
push 0x80000002
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4018e1
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
lea eax, [esp + 0x268]
push edx
push eax
push 0
push 0
push 0x40b1c4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4018e1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x268]
lea ecx, [esp + 0x468]
push eax
push str._sNavw32.exe
push ecx
mov dword [esp + 0x30], 0x44
call fcn.00405520
lea edx, [esp + 0x474]
push 0
push edx
call fcn.00409106
add esp, 0x14
cmp eax, 0xffffffff
je 0x4018e1
lea eax, [esp + 0x268]
lea ecx, [esp + 0x468]
push eax
push str.__sNavw32.exe_
push ecx
call fcn.00405520
mov eax, dword [0x4102d4]
add esp, 0xc
test eax, eax
jle 0x401888
push ebx
push ebp
xor edx, edx
mov dword [esp + 0x10], eax
lea ebp, [edx + 0x40c2d4]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [edx + ecx + 0x40c2d2], 0x5c
jne 0x4017e5
mov byte [edx + ecx + 0x40c2d2], 0
or ecx, 0xffffffff
mov edi, 0x40b0bc
xor eax, eax
lea ebx, [esp + 0x470]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add edx, 0x200
mov esi, edi
mov edi, ebx
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea ebx, [esp + 0x470]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea ebx, [esp + 0x470]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40b0b8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, ebp
and ecx, 3
dec eax
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x10], eax
jne 0x4017c1
pop ebp
pop ebx
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x484]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4018e1
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
pop edi
mov eax, 1
pop esi
add esp, 0x2460
ret
pop edi
xor eax, eax
pop esi
add esp, 0x2460
ret