Function at 0x460880
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x5ac004]
xor eax, esp
mov dword [esp + 0x50], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
push ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetParent]
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.004601b0
mov edi, eax
cmp byte [edi + 0x5c], 0
lea esi, [edi + 4]
mov dword [esp + 0x24], esi
jne 0x460971
push 0
push 0
push 0x474
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x400f
mov esi, eax
lea eax, [edi + 4]
push 0
push esi
push eax
call sym.ProcessHacker.exe_PhAddLayoutItem
push 0x2000
push 0
push esi
lea esi, [edi + 4]
push esi
call sym.ProcessHacker.exe_PhAddLayoutItem
push 0xc
push 0
push 2
push dword [esp + 0x20]
mov dword [edi + 0x58], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push esi
call sym.ProcessHacker.exe_PhAddLayoutItem
push 0
push 1
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x460966
push 0x578cb0
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [edi + 0x5c], 1
mov byte [esp + 0x13], 1
jmp 0x460976
mov byte [esp + 0x13], 0
cmp ebx, 1
je 0x460a47
nop
test ebx, ebx
je 0x460a4a
mov ecx, dword [ebx + 4]
lea eax, [esi + 4]
cmp ecx, eax
je 0x46099f
test dword [ecx + 0x48], 0x2000
je 0x460a4a
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x4c]
push eax
push esi
mov dword [esp + 0x5c], 0x104
mov dword [esp + 0x60], 0x104
call dword [sym.imp.USER32.dll_MapDialogRect]
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x54]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x58]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x28]
sub esp, 0x10
mov esi, dword [esp + 0x3c]
mov eax, esp
sub edi, dword [esp + 0x48]
sub esi, dword [esp + 0x4c]
push dword [esp + 0x2c]
mov edx, dword [esp + 0x54]
sub edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x48]
mov dword [eax], edi
mov dword [eax + 4], esi
push ebx
push dword [esp + 0x30]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
call sym.ProcessHacker.exe_PhAddLayoutItemEx
jmp 0x460a59
mov ebx, dword [edi + 0x58]
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x20]
push esi
call sym.ProcessHacker.exe_PhAddLayoutItem
cmp byte [esp + 0x13], 0
mov ebx, eax
je 0x460aec
push str.ProcPropPosition
call sym.ProcessHacker.exe_PhGetIntegerPairSetting
push 1
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x3c]
push str.ProcPropSize
push eax
mov dword [esp + 0x38], edx
call sym.ProcessHacker.exe_PhGetScalableIntegerPairSetting
mov ecx, dword [eax]
cmp ecx, dword [0x5aeb48]
mov edx, dword [eax + 4]
lea eax, [esp + 0x28]
cmovl ecx, dword [0x5aeb48]
cmp edx, dword [0x5aeb4c]
push eax
cmovl edx, dword [0x5aeb4c]
push 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
call sym.ProcessHacker.exe_PhAdjustRectangleToWorkingArea
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
push 0
push dword [esp + 0x38]
push dword [esp + 0x38]
push esi
push edi
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_MoveWindow]
add esi, 0x14
add edi, 0x14
push esi
push edi
push str.ProcPropPosition
call sym.ProcessHacker.exe_PhSetIntegerPairSetting
mov ecx, dword [esp + 0x5c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051e068
mov esp, ebp
pop ebp
ret 0x10