Function at 0x416ca0
Capabilities:
Get hostname
Get memory capacity
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x4d044c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4d3af4]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x128], eax
push edi
mov dword [ebp - 0x168], esi
cmp dword [0x4d4c60], esi
je 0x41758f
push 0x10000
push 8
mov dword [0x4d4c64], 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 0x16c], ebx
test ebx, ebx
je 0x41758f
lea esi, [ebx + 0x11c]
lea edi, [esi + 0x40]
mov dword [ebp - 0x120], esi
add esi, 0x144
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x14c], esi
add esi, 0x104
mov dword [ebp - 0x150], esi
add esi, 0x104
mov dword [ebp - 0x12c], esi
add esi, 0x40
push pe_nt_image_headers32
push 0
mov dword [ebp - 0x15c], esi
lea eax, [esi + 0x40]
mov dword [ebp - 0x134], eax
lea eax, [ebx + 4]
push eax
call fcn.004644e0
add esp, 0xc
mov dword [ebx], 0x11c
push ebx
call fcn.0045eaf0
add esp, 4
lea eax, [ebx + 0x14]
push eax
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
push str._lu__lu__lu__S
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
xor ecx, ecx
mov dword [ebp - 0x124], ecx
test edi, edi
je 0x416dc7
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov ecx, dword [ebp - 0x124]
test ecx, ecx
mov eax, 0x20
mov edx, 0x40
mov edi, 0x4be770
cmovne eax, edx
xor ebx, ebx
mov dword [ebp - 0x138], eax
xor esi, esi
mov eax, dword [0x4be770]
nop word [eax + eax]
push eax
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x416e00
mov eax, dword [edi]
bts ebx, eax
inc esi
mov eax, dword [esi*4 + 0x4be770]
lea edi, [esi*4 + 0x4be770]
cmp eax, 0xffffffff
jne 0x416df0
mov dword [ebp - 0x154], ebx
mov ebx, dword [ebp - 0x120]
push ebx
mov dword [ebx], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
push 0
shrd ecx, eax, 0xa
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x164], 0
call fcn.0045e060
mov esi, dword [ebp - 0x15c]
mov edi, eax
test edi, edi
je 0x416ed1
lea eax, [ebp - 0x140]
push eax
push str.VersionTSProgram
push edi
call fcn.0045e500
lea eax, [ebp - 0x160]
push eax
push str.TSProgramDate
push edi
call fcn.0045e500
lea eax, [ebp - 0x144]
push eax
push str.VersionAVProgram
push edi
call fcn.0045e500
lea eax, [ebp - 0x164]
push eax
push str.AVProgramDate
push edi
call fcn.0045e500
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x140]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
movzx eax, cx
push eax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
push eax
push ecx
push str._d._d._04d
push dword [ebp - 0x12c]
call ebx
mov ecx, dword [ebp - 0x144]
add esp, 0x14
movzx eax, cx
push eax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
push eax
push ecx
push str._d._d._04d
push esi
call ebx
add esp, 0x14
mov dword [ebp - 0x158], 0
push 0
push str.SOFTWAREK7_ComputingK7TotalSecurityCommonInfoUpdates
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e060
mov esi, eax
test esi, esi
je 0x416f5a
lea eax, [ebp - 0x158]
push eax
push str.LastUpdatedOn
push esi
call fcn.0045e500
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14c]
lea ecx, [ebp - 0x148]
push ecx
mov dword [ebp - 0x148], 0x80
push eax
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov ebx, dword [ebp - 0x150]
lea eax, [ebp - 0x120]
push eax
push 0x64
push 0
mov byte [ebx], 0
mov dword [ebp - 0x148], 0x104
mov dword [ebp - 0x120], 0
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
test eax, eax
jne 0x416fca
push eax
push eax
mov eax, dword [ebp - 0x120]
push 0x104
push ebx
push 0xffffffffffffffff
push dword [eax + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x120]
test eax, eax
je 0x416fdb
push eax
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
xor ebx, ebx
lea eax, [ebp - 0x124]
push ebx
push eax
push ebx
push 0x72
mov dword [ebp - 0x124], ebx
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp dword [ebp - 0x124], ebx
mov eax, 4
cmovne ebx, eax
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
push 0x5209
push str.ID_d
push dword [ebp - 0x134]
mov edi, eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov esi, eax
add esi, dword [ebp - 0x134]
push 0
call fcn.0048baa1
add esp, 4
push eax
push str.TS_lu
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add esi, eax
push dword [0x4d3e40]
push str.prdid_s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add esi, eax
mov eax, dword [ebp - 0x14c]
push eax
push str.sysname_s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add esi, eax
push dword [ebp - 0x150]
push str.sysdomain_s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add esi, eax
push dword [ebp - 0x138]
push str.os_bitns_lu
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add esi, eax
push dword [ebp - 0x154]
push str.cpu_lu
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add esi, eax
push dword [ebp - 0x13c]
push str.ram_lu
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esi, eax
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
call esi
and eax, 0x3ff
push eax
push str.prmlngid_d
push dword [ebp - 0x120]
call dword [sym.imp.USER32.dll_wsprintfA]
add dword [ebp - 0x120], eax
add esp, 0xc
call esi
movzx eax, ax
shr eax, 0xa
push eax
push str.secnlngid_d
mov esi, dword [ebp - 0x120]
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add esi, eax
push dword [ebp - 0x130]
push str.osver_s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add esi, eax
push dword [ebp - 0x158]
push str.lastupdt_lu
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
add esi, eax
push dword [ebp - 0x15c]
push dword [ebp - 0x12c]
push str.contver_s__s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
push dword [ebp - 0x160]
add esi, eax
push str.updtrelsdt_ts_lu
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
add esi, eax
push dword [ebp - 0x164]
push str.updtrelsdt_av_lu
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esi, eax
add esp, 0xc
xor eax, eax
cmp edi, 0xffffffff
setne al
inc eax
or eax, ebx
push eax
push str.clntsts_d
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esi, eax
add esp, 0xc
cmp dword [0x4d0dd0], 0
mov dword [ebp - 0x120], esi
jne 0x4171d1
mov ecx, esi
call fcn.00416280
mov esi, eax
mov dword [ebp - 0x120], eax
xor ebx, ebx
cmp dword [ebp - 0x128], ebx
jbe 0x41721d
xor edi, edi
nop dword [eax]
cmp edi, 0x180
jae 0x417217
push dword [edi + 0x4d3b04]
push dword [edi + 0x4d3b08]
push dword [edi + 0x4d3b00]
push str.compsts_lu__lu__lu
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
inc ebx
add esp, 0x14
add esi, eax
add edi, 0xc
cmp ebx, dword [ebp - 0x128]
jb 0x4171e0
mov dword [ebp - 0x120], esi
push str.NetWorks
push str.FireWall
push str.Products
push str.SoftwareK7_ComputingK7TotalSecurity
push 0x4c2000
lea eax, [ebp - 0x110]
push 0x104
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0x1c
lea eax, [ebp - 0x110]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0045e320
mov dword [ebp - 0x124], eax
test eax, eax
je 0x417339
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x2000
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x41731d
lea edi, [ebx + 0x400]
xor eax, eax
push 0xfe
push ebx
push eax
push dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov byte [ebx], 0
call fcn.0045e280
cmp eax, 1
jne 0x417311
push 0
push ebx
push dword [ebp - 0x124]
call fcn.0045e060
test eax, eax
je 0x417311
mov edx, eax
mov ecx, edi
call fcn.00414220
cmp eax, 1
jne 0x417311
lea eax, [edi + 0x12c]
push eax
lea eax, [edi + 0x230]
push eax
push dword [edi + 0x2e8]
movzx eax, byte [edi + 0x20]
push dword [edi + 0x2e4]
push eax
movzx eax, byte [edi]
push eax
push str.fwnw_lu__lu__lu__lu__s__s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esi, eax
add esp, 0x20
mov eax, dword [ebp - 0x128]
inc eax
jmp 0x417294
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x120], esi
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x417339
push ebx
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x8800
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 0x124], ebx
test ebx, ebx
je 0x417422
lea edx, [ebp - 0x128]
mov dword [ebp - 0x128], 0x8000
mov ecx, ebx
lea edi, [ebx + 0x8000]
call fcn.00431390
test eax, eax
je 0x417412
mov eax, dword [ebp - 0x128]
xor ecx, ecx
add eax, ebx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x130], eax
cmp ebx, eax
jae 0x41740c
nop dword [eax]
cmp ecx, 0xa
jae 0x41740c
mov byte [edi], 0
xor esi, esi
nop word [eax + eax]
movzx eax, byte [esi + ebx]
push eax
push str._02X
push edi
call fcn.00401a50
inc esi
add esp, 0xc
add edi, eax
cmp esi, 6
jb 0x4173b0
mov edi, dword [ebp - 0x124]
mov esi, dword [ebp - 0x120]
add edi, 0x8000
push edi
push str.mcid_s
push esi
call fcn.00401a50
mov ecx, dword [ebp - 0x12c]
add esi, eax
add ebx, 6
mov dword [ebp - 0x120], esi
inc ecx
add esp, 0xc
mov dword [ebp - 0x12c], ecx
cmp ebx, dword [ebp - 0x130]
jb 0x4173a0
mov ebx, dword [ebp - 0x124]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
sub esi, dword [ebp - 0x134]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
inc esi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push 0x4c95fc
call ebx
mov edi, eax
cmp edi, 0xffffffff
jne 0x417495
nop dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x41748c
push 0x2710
push 0x4c95fc
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push 0x4c95fc
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x417450
jmp 0x417495
cmp edi, 0xffffffff
je 0x417563
lea eax, [esi + 0xc]
push eax
push 0
mov dword [ebp - 0x138], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x417563
mov dword [ebx], 0x4b374147
mov dword [ebx + 4], 1
mov dword [ebx + 8], esi
test esi, esi
je 0x4174df
push esi
push dword [ebp - 0x134]
lea eax, [ebx + 0xc]
push eax
call fcn.0046c5d0
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x417503
xor esi, esi
jmp 0x417535
push 0
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0
push eax
push 0xc
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x138]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
mov esi, eax
neg esi
sbb esi, esi
neg esi
cmp edi, 0xffffffff
je 0x417541
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, 1
xor eax, eax
cmp esi, ecx
cmove eax, ecx
mov dword [ebp - 0x168], eax
push dword [ebp - 0x16c]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x168]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004606ac
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004606ac
mov esp, ebp
pop ebp
ret