Function at 0x42c890
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x44
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
test eax, eax
je 0x42c8ce
test edi, edi
jns 0x42c8ce
push 0
push eax
lea eax, [esi + 1]
mov dword [esi*4 + 0x5499a0], edi
push eax
push dword [0x54999c]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esi + 1]
mov dword [esi*4 + 0x5499a0], 0
push eax
push dword [0x54999c]
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [0x5499fc]
xor ecx, ecx
add edx, dword [0x5499f8]
add edx, dword [0x5499f4]
add edx, dword [0x5499f0]
mov eax, dword [esi*4 + 0x5499ec]
add edx, dword [0x5499ec]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
add eax, edi
test eax, eax
cmovle eax, ecx
mov ecx, dword [esi*4 + 0x509b84]
cmp eax, ecx
cmovl ecx, eax
mov dword [esi*4 + 0x5499ec], ecx
test edx, edx
jne 0x42cb7f
cmp ecx, dword [esp + 0x10]
jle 0x42cb9c
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x42c959
mov eax, dword [ecx]
mov dword [0x549994], eax
mov eax, dword [ecx + 4]
mov dword [0x549998], eax
mov eax, dword [0x54999c]
test eax, eax
jne 0x42cb1e
push 0x30
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004dce30
mov eax, dword [sym.ProcessHacker.exe_PhInstanceHandle]
add esp, 0xc
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x42cc20
push 0
push 0
push 5
push 0x65
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], eax
call sym.ProcessHacker.exe_PhLoadIcon
push 0x7f00
push 0
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push str.MiniInfoWindowClassName
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x10
call sym.ProcessHacker.exe_PhGetStringSetting
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
test eax, eax
je 0x42c9eb
mov eax, dword [eax + 4]
jmp 0x42c9f0
mov eax, str.MiniInfoWindowClassName
push 0
push 0
push 3
push 0x65
push dword [sym.ProcessHacker.exe_PhInstanceHandle]
mov dword [esp + 0x5c], eax
call sym.ProcessHacker.exe_PhLoadIcon
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [sym.ProcessHacker.exe_PhInstanceHandle]
movzx esi, ax
push 0
push 0
push 0x190
push 0x190
push 0
push 0
push 0x80840000
push str.EnableWindowText
call sym.ProcessHacker.exe_PhGetIntegerSetting
neg eax
sbb eax, eax
and eax, 0x5078b8
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
push 0xffffffffffffffec
push esi
mov dword [0x54999c], esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80
push eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push 0x42ce60
push dword [0x54999c]
push 0xcf
push dword [sym.ProcessHacker.exe_PhInstanceHandle]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 5
push eax
mov dword [0x5499b8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push str.MiniInfoWindowPinned
call sym.ProcessHacker.exe_PhGetIntegerSetting
test eax, eax
je 0x42cab6
mov cl, 1
call fcn.0042dec0
push str.MiniInfoWindowRefreshAutomatically
call sym.ProcessHacker.exe_PhGetIntegerSetting
push str.MiniInfoWindowOpacity
mov dword [0x5499c0], eax
call sym.ProcessHacker.exe_PhGetIntegerSetting
test eax, eax
je 0x42cae0
mov ecx, dword [0x54999c]
mov edx, eax
call fcn.00408760
push 0x549a54
push dword [0x5499b8]
mov dword [0x549a54], 0
mov dword [0x549a58], 0
mov dword [0x549a5c], 0xd2
mov dword [0x549a60], 0x3c
call dword [sym.imp.USER32.dll_MapDialogRect]
mov eax, dword [0x54999c]
test bl, 2
jne 0x42cb40
lea edx, [esp + 0x10]
call fcn.0042d7d0
push 0x10
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
jmp 0x42cb5a
push eax
push str.MiniInfoWindowSize
push str.MiniInfoWindowPosition
call sym.ProcessHacker.exe_PhLoadWindowPlacementFromSetting
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [0x54999c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, ebx
and eax, 1
or eax, 4
push eax
push dword [0x54999c]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42cbbd
jle 0x42cb9c
sub ecx, dword [esp + 0x10]
add ecx, edx
jne 0x42cb9c
mov eax, dword [0x54999c]
test eax, eax
je 0x42cbbd
push ecx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42cbbd
test bl, 1
je 0x42cbce
push dword [0x54999c]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42cbbd
push dword [0x54999c]
call dword [sym.imp.USER32.dll_SetActiveWindow]
test bl, 1
je 0x42cbce
push dword [0x54999c]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x42cc08
cmp byte [0x549a7c], 0
je 0x42cbe3
test bl, 4
jne 0x42cc08
push esi
call sym.ProcessHacker.exe_PhCountStringZ
add eax, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
call fcn.0042dad0
test eax, eax
je 0x42cc08
mov ecx, eax
call fcn.0042db20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10