Function at 0x540d90
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63367c
mov eax, dword fs:[0]
push eax
sub esp, 0x4f0
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 - 0x4f4], ecx
cmp dword [ebp + 8], 0x6854
jne 0x540e44
mov ecx, dword [ebp - 0x4f4]
add ecx, 0xe78
call fcn.004163e0
mov ecx, dword [ebp - 0x4f4]
cmp dword [ecx + 0xec0], eax
jae 0x540e3f
mov edx, dword [ebp - 0x4f4]
mov eax, dword [edx + 0xec0]
push eax
mov ecx, dword [ebp - 0x4f4]
add ecx, 0xe78
call fcn.0041cab0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e4f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4f4]
add ecx, 0xe90
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.0041cdf0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040e530
jmp 0x54147e
cmp dword [ebp + 8], 0x479
jne 0x540f3e
lea ecx, [ebp - 0xbc]
push ecx
call sym.demo.exe_public:_static_class_DuiLib::CDuiString___cdecl_DuiLib::CMenuWnd::GetClickedMenuName_void_
add esp, 4
mov dword [ebp - 4], 1
push 0x655000
mov ecx, dword [ebp - 0x4f4]
add ecx, 0x2c
call sym.demo.exe_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x540e9c
mov ecx, dword [ebp - 0x30]
call sym.demo.exe_public:_bool___thiscall_DuiLib::COptionUI::IsSelected_void_const
movzx edx, al
mov eax, dword [ebp - 0x4f4]
mov dword [eax + 0x3ac], edx
jmp 0x540eac
mov ecx, dword [ebp - 0x4f4]
mov dword [ecx + 0x3ac], 1
push 0x655018
lea ecx, [ebp - 0xbc]
call sym.demo.exe_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const
movzx edx, al
test edx, edx
je 0x540f0e
mov ecx, dword [ebp - 0x4f4]
add ecx, 0x364
call fcn.00558ca0
test eax, eax
je 0x540ef3
push 0
push 1
push 0x903
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x540f0c
push 0
push 3
push 0x903
mov edx, dword [ebp - 0x4f4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x540f27
push 0
push 4
push 0x903
mov ecx, dword [ebp - 0x4f4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xbc]
call sym.demo.exe_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
jmp 0x54147e
cmp dword [ebp + 8], 0x113
jne 0x5412e8
cmp dword [ebp + 0xc], 0x18dfd
jne 0x54104c
mov ecx, dword [ebp - 0x4f4]
add ecx, 0x364
call fcn.00557a80
test eax, eax
je 0x540fa8
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x4f4]
add ecx, 0x364
call fcn.00558cd0
mov edx, dword [ebp - 0x4f4]
mov dword [edx + 0x394], 1
mov ecx, dword [ebp - 0x4f4]
call fcn.00542380
jmp 0x541047
mov eax, dword [ebp - 0x4f4]
cmp dword [eax + 0x394], 0
je 0x541047
mov ecx, dword [ebp - 0x4f4]
cmp dword [ecx + 0x3b4], 0x2a30
jge 0x540fe8
mov edx, dword [ebp - 0x4f4]
mov eax, dword [edx + 0x3b4]
add eax, 1
mov ecx, dword [ebp - 0x4f4]
mov dword [ecx + 0x3b4], eax
mov edx, dword [ebp - 0x4f4]
cmp dword [edx + 0x3b4], 0x708
jne 0x541047
mov eax, dword [ebp - 0x4f4]
add eax, 0x494
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4e0], esp
push 0x655024
call fcn.0040e3a0
mov dword [ebp - 0x4f8], eax
mov ecx, dword [ebp - 0x4f8]
mov dword [ebp - 0x4fc], ecx
mov dword [ebp - 4], 2
call fcn.00412590
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
call fcn.0051f7b0
jmp 0x5412e3
cmp dword [ebp + 0xc], 0xe09e
jne 0x5410c4
mov edx, dword [ebp - 0x4f4]
cmp dword [edx + 0xeb8], 0x64
jne 0x541099
push 0xe09e
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [ebp - 0x4f4]
mov dword [edx + 0xeb4], 0
mov eax, dword [ebp - 0x4f4]
mov dword [eax + 0xeb8], 0
mov ecx, dword [ebp - 0x4f4]
call fcn.005425a0
mov ecx, dword [ebp - 0x4f4]
mov edx, dword [ecx + 0xeb8]
add edx, 1
mov eax, dword [ebp - 0x4f4]
mov dword [eax + 0xeb8], edx
jmp 0x5412e3
cmp dword [ebp + 0xc], 0x10d93
jne 0x5411fa
mov ecx, dword [ebp - 0x4f4]
cmp dword [ecx + 0xebc], 0x3c
jl 0x541115
push 0x10d93
mov edx, dword [ebp - 0x4f4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 0x4f4]
mov dword [ecx + 0xeac], 0
mov edx, dword [ebp - 0x4f4]
mov dword [edx + 0xebc], 0
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 0xec8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
and edx, 0x1000000
jne 0x5411da
mov eax, dword [ebp - 0x4f4]
cmp dword [eax + 0xeb4], 0
je 0x54116e
mov ecx, dword [ebp - 0x4f4]
mov edx, dword [ecx + 0xeb4]
push edx
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [ebp - 0x4f4]
mov dword [edx + 0xeb8], 0
push 0
push 0x1e
push 0xe09e
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebp - 0x4f4]
mov dword [edx + 0xeb4], eax
push 0x10d93
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [ebp - 0x4f4]
mov dword [edx + 0xeac], 0
mov eax, dword [ebp - 0x4f4]
mov dword [eax + 0xebc], 0
jmp 0x5411f5
mov ecx, dword [ebp - 0x4f4]
mov edx, dword [ecx + 0xebc]
add edx, 1
mov eax, dword [ebp - 0x4f4]
mov dword [eax + 0xebc], edx
jmp 0x5412e3
cmp dword [ebp + 0xc], 0x10d95
jne 0x5412e3
mov ecx, dword [ebp - 0x4f4]
mov edx, dword [ecx + 0xec8]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5412be
xor eax, eax
mov word [ebp - 0x4c4], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x4c2]
push ecx
call fcn.005b4de0
add esp, 0xc
push 0x200
lea edx, [ebp - 0x4c4]
push edx
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 0xec8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0x4f4]
add ecx, 0xe90
call fcn.0040e5d0
push eax
lea edx, [ebp - 0x4c4]
push edx
call fcn.005b51f3
add esp, 8
test eax, eax
jne 0x5412bc
push 0x10d95
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
push 5
mov edx, dword [ebp - 0x4f4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x4f4]
mov dword [ecx + 0xeb0], 0
jmp 0x5412e3
push 0x10d95
mov edx, dword [ebp - 0x4f4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [ebp - 0x4f4]
mov dword [ecx + 0xeb0], 0
jmp 0x54147e
cmp dword [ebp + 8], 0x200
jne 0x54141d
mov edx, dword [ebp - 0x4f4]
cmp dword [edx + 0x4c0], 0
je 0x54141b
push 0
push 0
lea ecx, [ebp - 0x4cc]
call sym.demo.exe_public:_void___thiscall_DuiLib::CPoint::constructor_int__int_
lea eax, [ebp - 0x4cc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0x4dc]
push ecx
mov edx, dword [ebp - 0x4f4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x4cc]
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp - 0x4c8]
mov dword [ebp - 0x4e4], edx
mov eax, dword [ebp - 0x4e4]
push eax
mov ecx, dword [ebp - 0x4e8]
push ecx
lea edx, [ebp - 0x4dc]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x54141b
mov eax, dword [ebp - 0x4cc]
mov dword [ebp - 0x4f0], eax
mov ecx, dword [ebp - 0x4c8]
mov dword [ebp - 0x4ec], ecx
mov edx, dword [ebp - 0x4ec]
push edx
mov eax, dword [ebp - 0x4f0]
push eax
mov ecx, dword [ebp - 0x4f4]
add ecx, 0xed0
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x54141b
mov edx, dword [ebp - 0x4f4]
cmp dword [edx + 0xedc], 0
jle 0x54141b
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x4f4]
mov ecx, dword [eax + 0xec4]
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [ebp - 0x4f4]
mov dword [edx + 0xedc], 0
mov eax, dword [ebp - 0x4f4]
mov dword [eax + 0xed0], 0
mov ecx, dword [ebp - 0x4f4]
mov dword [ecx + 0xed4], 0
mov edx, dword [ebp - 0x4f4]
mov dword [edx + 0xed8], 0
jmp 0x54147e
cmp dword [ebp + 8], 0x903
jne 0x54143d
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x4f4]
add ecx, 0x364
call fcn.0055ab00
jmp 0x54147e
cmp dword [ebp + 8], 0xf
je 0x541458
cmp dword [ebp + 8], 0x85
je 0x541458
cmp dword [ebp + 8], 0x14
je 0x541458
cmp dword [ebp + 8], 0x46
jne 0x541465
mov ecx, dword [ebp - 0x4f4]
call fcn.00542380
jmp 0x54147e
cmp dword [ebp + 8], 2
jne 0x54147e
push 4
mov ecx, dword [ebp - 0x4f4]
add ecx, 0x364
call fcn.0055ab00
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 - 0x4f4]
call sym.demo.exe_public_virtual:_long_int___thiscall_DuiLib::WindowImplBase::HandleMessage_unsigned_int__unsigned_int__long_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 0xc