Function at 0x4ea570
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x58
mov eax, dword [0x7f9c40]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
mov ebx, dword [esp + 0x60]
push ebp
push esi
mov esi, dword [esp + 0x6c]
xor ebp, ebp
push edi
mov edi, ecx
cmp ebx, 0x4e
jne 0x4ea5be
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [esp + 0x74]
mov ecx, edi
push esi
push ebx
call sym.ClientofCSP.exe_protected_virtual:_long_int___thiscall_DuiLib::CWindowWnd::HandleMessage_unsigned_int__unsigned_int__long_int_
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.006def69
add esp, 0x58
ret 0xc
cmp ebx, 8
jne 0x4ea6fa
push 0
push str.SysMonthCal32
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ea654
push 0x3c
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.006e1410
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x3c
push eax
push 0
push 0x100e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x34]
cmp eax, 0x1010003
je 0x4ea63a
cmp eax, 0x2010003
jne 0x4ea6e3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.006def69
add esp, 0x58
ret 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x18]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x18]
jl 0x4ea689
cmp eax, dword [esp + 0x20]
jg 0x4ea689
cmp eax, dword [esp + 0x1c]
jl 0x4ea689
cmp eax, dword [esp + 0x24]
jle 0x4ea6e3
push dword [esp + 0x74]
push dword [esp + 0x74]
push 8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [edi + 0x10]
mov ebp, eax
cmp dword [ecx + 0x14dc], 0
jne 0x4ea6d6
add ecx, 0x14cc
push ecx
push 0
push 0x1001
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x10]
mov dword [eax + 0x14dc], 1
mov ecx, dword [edi + 0x10]
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CDateTimeUI::UpdateText_void_
push 0
push 0
push 0x10
mov ecx, edi
call sym.ClientofCSP.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.006def69
add esp, 0x58
ret 0xc
cmp ebx, 0x101
jne 0x4ea59c
cmp esi, 0x2e
je 0x4ea75b
cmp esi, 8
je 0x4ea75b
cmp esi, 0x1b
jne 0x4ea59c
push dword [esp + 0x74]
push esi
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [edi + 0x10]
mov esi, eax
push 0
push 0
push 0x10
mov dword [ecx + 0x14dc], 3
mov ecx, edi
call sym.ClientofCSP.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.006def69
add esp, 0x58
ret 0xc
push dword [esp + 0x74]
push esi
push 0x101
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [edi + 0x10]
mov esi, eax
mov dword [ecx + 0x14dc], 2
mov ecx, dword [edi + 0x10]
call sym.ClientofCSP.exe_public:_void___thiscall_DuiLib::CDateTimeUI::UpdateText_void_
push 0
push 0
push 0x10
mov ecx, edi
call sym.ClientofCSP.exe_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_
mov ecx, dword [esp + 0x64]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.006def69
add esp, 0x58
ret 0xc