Function at 0x4665c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x5c7004]
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.00465b70
mov edi, eax
cmp byte [edi + 0x5c], 0
lea esi, [edi + 4]
mov dword [esp + 0x24], esi
jne 0x4666b1
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 0x4666a6
push 0x591f60
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [edi + 0x5c], 1
mov byte [esp + 0x13], 1
jmp 0x4666b6
mov byte [esp + 0x13], 0
cmp ebx, 1
je 0x466787
nop
test ebx, ebx
je 0x46678a
mov ecx, dword [ebx + 4]
lea eax, [esi + 4]
cmp ecx, eax
je 0x4666df
test dword [ecx + 0x48], 0x2000
je 0x46678a
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 0x466799
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 0x46682c
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 [0x5c9fc8]
mov edx, dword [eax + 4]
lea eax, [esp + 0x28]
cmovl ecx, dword [0x5c9fc8]
cmp edx, dword [0x5c9fcc]
push eax
cmovl edx, dword [0x5c9fcc]
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.00534c91
mov esp, ebp
pop ebp
ret 0x10