Function at 0x4c4090
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x5cd9c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebx + 0x10]
mov dword [eax + 0x24], ecx
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebx + 8]
mov dword [eax + 0x6d8], ecx
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x6dc], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x20]
mov dword [edx + 0x6e0], eax
cmp dword [ebx + 0x24], 0
je 0x4c411b
mov ecx, dword [ebp - 0x28]
add ecx, 0x6f8
mov edx, dword [ebx + 0x24]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
cmp dword [ebx + 8], 0
jne 0x4c4161
call sym.360pic.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x44], edx
mov eax, dword [ebx + 0x18]
push eax
mov ecx, dword [ebp - 0x30]
call dword [ebp - 0x44]
cmp dword [ebx + 0x1c], 0
je 0x4c4161
call sym.360pic.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebx + 0x1c]
push ecx
mov ecx, dword [ebp - 0x34]
call dword [ebp - 0x48]
call sym.360pic.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x28], 0
je 0x4c4184
mov edx, dword [ebp - 0x28]
add edx, 0x10
mov dword [ebp - 0x38], edx
jmp 0x4c418b
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
call dword [ebp - 0x4c]
lea ecx, [ebp - 0x24]
call sym.360pic.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x10], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x6d8], 0
jne 0x4c41e5
mov ecx, dword [ebx + 0x18]
call sym.360pic.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
mov dword [ebp - 0x40], eax
jmp 0x4c4208
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x6d8]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x6d8]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call sym.360pic.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
mov dword [ebp - 0x40], eax
push 0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x60]
mov dword [ecx], edx
mov eax, dword [ebp - 0x5c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x58]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x54]
mov dword [ecx + 0xc], eax
push 0x88
push 0x80000000
push 0
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x28]
call sym.360pic.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4c4264
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x2c], eax
jmp 0x4c4247
push 5
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051d360
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20