Function at 0x460f00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
mov dword [esp + 0x20], 0xffff
mov dword [esp + 0x14], esi
mov ecx, 5
mov dword [esp + 0x24], esi
mov ebx, 0x54aea8
xor eax, eax
lock cmpxchg dword [ebx], ecx
test eax, eax
je 0x460f42
mov ecx, ebx
call sym.ProcessHacker.exe_PhfAcquireQueuedLockShared
lea ecx, [esp + 0x20]
push ecx
push dword [0x54aea0]
call sym.ProcessHacker.exe_PhFindEntryHashtable
mov edi, eax
xor edx, edx
mov eax, 5
lock cmpxchg dword [ebx], edx
cmp eax, 5
je 0x460f6b
mov ecx, ebx
call sym.ProcessHacker.exe_PhfReleaseQueuedLockShared
test edi, edi
je 0x460f74
mov edi, dword [edi + 8]
jmp 0x460f76
xor edi, edi
cmp byte [edi + 0x5c], 0
lea ebx, [edi + 4]
mov dword [esp + 0x1c], ebx
jne 0x46100a
push 0
push 0
push 0x474
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x400f
push 0
mov esi, eax
push esi
push ebx
call sym.ProcessHacker.exe_PhAddLayoutItem
push 0x2000
push 0
push esi
push ebx
call sym.ProcessHacker.exe_PhAddLayoutItem
mov esi, dword [esp + 0x14]
push 0xc
push 0
push 2
push esi
mov dword [edi + 0x58], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
push ebx
call sym.ProcessHacker.exe_PhAddLayoutItem
push 0
push 1
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x460fff
push 0x52e6a0
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [edi + 0x5c], 1
mov byte [esp + 0x13], 1
jmp 0x46100f
mov byte [esp + 0x13], 0
mov ecx, dword [ebp + 0x10]
cmp ecx, 1
je 0x4610f7
test ecx, ecx
je 0x4610fa
mov edx, dword [ecx + 4]
lea eax, [ebx + 4]
cmp edx, eax
je 0x46103a
test dword [edx + 0x48], 0x2000
je 0x4610fa
mov esi, dword [ebp + 8]
lea eax, [esp + 0x50]
push eax
push esi
mov dword [esp + 0x60], 0x104
mov dword [esp + 0x64], 0x104
call dword [sym.imp.USER32.dll_MapDialogRect]
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x58]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x30]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x40]
sub esp, 0x10
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
sub edx, ecx
mov edi, dword [esp + 0x54]
sub eax, ecx
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
sub esi, edi
mov dword [esp + 0x28], edx
sub ebx, edi
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x58]
sub edx, eax
mov dword [esp + 0x44], ebx
mov eax, esp
sub edx, ecx
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x60]
push dword [ebp + 0x10]
sub ecx, esi
mov dword [esp + 0x50], edx
push dword [ebp + 0xc]
mov esi, dword [esp + 0x34]
sub ecx, edi
push dword [esp + 0x38]
mov dword [eax], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [esp + 0x5c], ecx
mov dword [eax + 0xc], ecx
call sym.ProcessHacker.exe_PhAddLayoutItemEx
jmp 0x461107
mov ecx, dword [edi + 0x58]
push dword [ebp + 0x14]
push ecx
push dword [ebp + 0xc]
push ebx
call sym.ProcessHacker.exe_PhAddLayoutItem
cmp byte [esp + 0x13], 0
mov ebx, eax
je 0x46119a
push str.ProcPropPosition
call sym.ProcessHacker.exe_PhGetIntegerPairSetting
push 1
mov dword [esp + 0x44], eax
lea eax, [esp + 0x24]
push str.ProcPropSize
push eax
mov dword [esp + 0x50], edx
call sym.ProcessHacker.exe_PhGetScalableIntegerPairSetting
mov ecx, dword [eax]
cmp ecx, dword [0x546bb0]
mov edx, dword [eax + 4]
lea eax, [esp + 0x40]
cmovl ecx, dword [0x546bb0]
cmp edx, dword [0x546bb4]
push eax
cmovl edx, dword [0x546bb4]
push 0
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call sym.ProcessHacker.exe_PhAdjustRectangleToWorkingArea
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
push 0
push dword [esp + 0x50]
push dword [esp + 0x50]
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
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10