Function at 0x408aa0
Capabilities:
Check if file exists
Get common file path
Get hostname
Get session user name

Disassembly:
sub esp, 0x5b0
lea eax, [esp + 0x2ac]
push ebx
push esi
push edi
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.NPMSetup.log
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x2b8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
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 eax, [esp + 0x2b8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
call esi
test eax, eax
jne 0x408c7a
lea ecx, [esp + 0x2b8]
push 0x422764
push ecx
call fcn.0040df40
mov esi, eax
add esp, 8
test esi, esi
jne 0x408b3c
push 0x422764
push str.c:zvNPMSetup.log
call fcn.0040df40
mov esi, eax
add esp, 8
test esi, esi
je 0x408d51
lea ecx, [esp + 0xb8]
push str.Net_Protector_Antivirus_2011
push ecx
call fcn.0040da30
lea edx, [esp + 0xc0]
push edx
push 0x4226fc
push esi
call fcn.0040f840
add esp, 0x14
lea eax, [esp + 0xc]
lea ecx, [esp + 0x3bc]
mov edi, 0xff
push eax
push ecx
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [esp + 0x3bc]
lea eax, [esp + 0xb8]
push edx
push str.Computer_Name___s
push eax
call fcn.0040da30
lea ecx, [esp + 0xc4]
push ecx
push 0x4226fc
push esi
call fcn.0040f840
add esp, 0x18
lea edx, [esp + 0xc]
lea eax, [esp + 0x4bc]
mov dword [esp + 0xc], edi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea ecx, [esp + 0x4bc]
lea edx, [esp + 0xb8]
push ecx
push str.User_Name___s
push edx
call fcn.0040da30
lea eax, [esp + 0xc4]
push eax
push 0x4226fc
push esi
call fcn.0040f840
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x3c]
add esp, 0x18
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
lea eax, [esp + 0xc8]
push str.System_details___d___d._d__s
push eax
call fcn.0040da30
lea ecx, [esp + 0xd0]
push ecx
push 0x4226fc
push esi
call fcn.0040f840
lea edx, [esp + 0xdc]
push str.
push edx
call fcn.0040da30
lea eax, [esp + 0xe4]
push eax
push 0x4226fc
push esi
call fcn.0040f840
add esp, 0x38
jmp 0x408cc5
lea edx, [esp + 0x2b8]
push edx
call esi
test eax, eax
je 0x408cc1
lea eax, [esp + 0x2b8]
push 0x422664
push eax
call fcn.0040df40
mov esi, eax
add esp, 8
test esi, esi
jne 0x408cc5
push 0x422664
push str.c:zvNPMSetup.log
call fcn.0040df40
mov esi, eax
add esp, 8
test esi, esi
je 0x408d51
jmp 0x408cc5
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x1e]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1a]
and edx, 0xffff
push edx
mov edx, dword [esp + 0x1c]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x18]
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1e]
push edx
mov edx, dword [esp + 0x26]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0xd4]
push str._02d__02d__04d__02d:_02d:_02d:_3d
push eax
call fcn.0040da30
mov ecx, dword [esp + 0x5e4]
lea edx, [esp + 0xdc]
push ecx
push edx
push str._s____s_n
push esi
call fcn.0040f840
push esi
call fcn.0040dbb0
add esp, 0x38
pop edi
pop esi
pop ebx
add esp, 0x5b0
ret