Function at 0x54e7c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634899
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xcc], ecx
cmp dword [ebp + 8], 0x189fe
jne 0x54e84e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 2
je 0x54e80e
jmp 0x54e849
cmp dword [ebp + 0x10], 1
jne 0x54e828
push 0
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x54e849
mov eax, dword [ebp - 0xcc]
cmp dword [eax + 0x4c4], 0
jne 0x54e849
push 5
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x54eb9d
cmp dword [ebp + 8], 0x479
jne 0x54e903
lea eax, [ebp - 0x9c]
push eax
call sym.demo.exe_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CMenuWnd::GetClickedMenuName_void_
add esp, 4
mov dword [ebp - 4], 0
push 0x656c00
lea ecx, [ebp - 0x9c]
call sym.demo.exe_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const
movzx ecx, al
test ecx, ecx
je 0x54e8d3
mov ecx, dword [ebp - 0xcc]
add ecx, 0x364
call fcn.00558ca0
test eax, eax
je 0x54e8b8
push 0
push 1
push 0x903
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x54e8d1
push 0
push 3
push 0x903
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x54e8ec
push 0
push 4
push 0x903
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call sym.demo.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x54eb9d
cmp dword [ebp + 8], 0x113
jne 0x54ea23
cmp dword [ebp + 0xc], 0x189fd
jne 0x54ea1e
mov ecx, dword [ebp - 0xcc]
add ecx, 0x364
call fcn.00557a80
test eax, eax
je 0x54e962
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xcc]
add ecx, 0x364
call fcn.00558cd0
mov ecx, dword [ebp - 0xcc]
mov dword [ecx + 0x394], 1
jmp 0x54ea1e
mov edx, dword [ebp - 0xcc]
cmp dword [edx + 0x394], 0
je 0x54ea1e
mov eax, dword [ebp - 0xcc]
cmp dword [eax + 0x3b4], 0x2a30
jge 0x54e9b3
mov ecx, dword [ebp - 0xcc]
add ecx, 0x364
call fcn.0055c1c0
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx + 0x3b4]
add edx, 1
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0x3b4], edx
mov ecx, dword [ebp - 0xcc]
cmp dword [ecx + 0x3b4], 0x708
jne 0x54ea13
mov edx, dword [ebp - 0xcc]
add edx, 0x494
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xb8], esp
push 0x656c0c
call fcn.0040e3a0
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 4], 1
call fcn.00412590
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0051f7b0
mov ecx, dword [ebp - 0xcc]
call fcn.0054ec90
jmp 0x54eb9d
cmp dword [ebp + 8], 0x200
jne 0x54eb57
mov ecx, dword [ebp - 0xcc]
cmp dword [ecx + 0x4c0], 0
je 0x54eb55
push 0
push 0
lea ecx, [ebp - 0xa4]
call sym.demo.exe_public:_void___thiscall_DuiLib::CPoint::constructor_int__int_
lea edx, [ebp - 0xa4]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xb4]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x54eb55
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0xcc]
add eax, 0xe9c
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x54eb55
mov ecx, dword [ebp - 0xcc]
cmp dword [ecx + 0xea8], 0
jle 0x54eb55
push 0
push 0
push 0x10
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 0xe94]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xcc]
mov dword [ecx + 0xea8], 0
mov edx, dword [ebp - 0xcc]
mov dword [edx + 0xe9c], 0
mov eax, dword [ebp - 0xcc]
mov dword [eax + 0xea0], 0
mov ecx, dword [ebp - 0xcc]
mov dword [ecx + 0xea4], 0
jmp 0x54eb9d
cmp dword [ebp + 8], 0x903
jne 0x54eb9d
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xcc]
add ecx, 0x364
call fcn.0055ab00
cmp dword [ebp + 0xc], 3
jne 0x54eb8a
push 3
mov ecx, dword [ebp - 0xcc]
call fcn.0054eed0
jmp 0x54eb9d
cmp dword [ebp + 0xc], 4
jne 0x54eb9d
push 4
mov ecx, dword [ebp - 0xcc]
call fcn.0054eed0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xcc]
call sym.demo.exe_public_virtual:_long_int___thiscall_DuiLib::WindowImplBase::HandleCustomMessage_unsigned_int__unsigned_int__long_int__int__
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 0x10