Function at 0x402ca0
Capabilities:
Create directory
Get hostname
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x511080]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push edi
mov edi, dword [ebp + 8]
push 0x7f00
push 0
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0x402f60
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edi
call esi
push 0x7f00
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f00
push 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], str.HardwareStatistics
call esi
mov dword [esp + 0x38], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push edi
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.HardwareStatistics
push str.HardwareStatistics
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
xor eax, eax
movaps xmmword [esp + 0x40], xmm0
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 7
mov word [esp + 0x40], ax
call fcn.00403100
push 0xd
push str.logITHWInfo
lea ecx, [esp + 0x48]
call fcn.0040eba0
cmp dword [esp + 0x54], 7
lea eax, [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmova eax, dword [esp + 0x40]
push 0
push eax
call esi
sub esp, 0x18
lea eax, [esp + 0x58]
mov ecx, esp
push eax
call fcn.0040c2b0
call fcn.00409e10
add esp, 0x18
lea ecx, [esp + 0x40]
push 3
push 0x504fb4
call fcn.0040eba0
cmp dword [esp + 0x54], 7
lea eax, [esp + 0x40]
push 0
cmova eax, dword [esp + 0x44]
push eax
call esi
mov ecx, dword [esp + 0x54]
cmp ecx, 7
jbe 0x402e44
mov edx, dword [esp + 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402e3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402f5a
push ecx
push edx
call fcn.004d2f2b
add esp, 8
call fcn.00403390
call fcn.00406540
push 0x200
call fcn.004d31b2
add esp, 4
mov dword [esp + 0x3c], 0x100
mov esi, eax
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x402e9b
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402e80
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, 0x511d30
call fcn.0040dc60
push esi
call fcn.004d2f5c
add esp, 4
call fcn.00403b30
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0x13
movups xmmword [ecx], xmm0
push 0x504e18
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004016d0
call fcn.00403a50
add esp, 0x18
mov dword [0x514c08], eax
call fcn.00403d30
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x3e8
push 1
push edi
call esi
push 0
push 0x493e0
push 2
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x60]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x402f43
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
nop dword [eax + eax]
lea eax, [esp + 0x60]
push eax
call edi
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x6c]
push eax
call esi
test eax, eax
jne 0x402f20
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x68]
pop edi
pop esi
xor ecx, esp
call fcn.004d2eed
mov esp, ebp
pop ebp
ret 0x10
call fcn.004d7de5
int3