Function at 0x450725
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x515584]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x1c]
push esi
mov esi, dword [ebx + 0x18]
push edi
mov edi, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x18], edi
and dword [edi + 0x6dc], 0
cmp dword [ebx + 0x24], 0
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x2c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x1c], esi
mov dword [edi + 0x6d8], ecx
mov dword [edi + 0x6e0], eax
je 0x45079e
mov esi, dword [ebx + 0x24]
add edi, 0x6f8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
test ecx, ecx
jne 0x4507c3
call sym.sembd.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x4507c3
call sym.sembd.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call sym.sembd.exe_public:_static_class_DuiLib::MenuObserverImpl____cdecl_DuiLib::CMenuWnd::GetGlobalContextMenuObserver_void_
mov edx, edi
lea ecx, [edi + 0x10]
neg edx
mov esi, dword [eax]
sbb edx, edx
and edx, ecx
mov ecx, eax
push edx
call dword [esi]
lea ecx, [ebp - 0x14]
call sym.sembd.exe_public:_void___thiscall_DuiLib::CDuiRect::constructor_void_
mov esi, eax
lea edi, [ebp - 0x30]
mov eax, dword [ebp - 0x18]
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x6d8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
test ecx, ecx
jne 0x4507fd
mov eax, dword [ebp - 0x1c]
jmp 0x450802
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call sym.sembd.exe_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
push 0
sub esp, 0x10
lea esi, [ebp - 0x30]
mov edi, esp
push 0x88
movsd dword es:[edi], dword [esi]
push SysReAllocString
push 0
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov ecx, esi
call sym.sembd.exe_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov edi, dword [esi + 4]
jmp 0x45083c
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x450833
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0048d7c2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20