Function at 0x40dad0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x2c
push ebp
mov ebp, dword [esp + 0x34]
push esi
mov esi, ecx
mov ecx, dword [0x4a8460]
test ecx, ecx
push edi
jne 0x40daf4
mov edi, dword [0x4a8458]
test edi, edi
je 0x40dcf3
cmp eax, 0xfffffff2
jne 0x40dc67
mov eax, dword [esi + 0x6a0]
test eax, eax
jne 0x40dc5e
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push 0x4a8424
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x40db73
mov ecx, dword [0x4a8458]
push ecx
push ebp
call dword [sym.imp.USER32.dll_KillTimer]
or eax, 0xffffffff
push 0
mov dword [0x41db14], eax
mov dword [0x41db1c], eax
mov dword [0x41db18], eax
push ebp
push esi
mov eax, 1
mov dword [0x4a8458], 0
call fcn.0040b8c0
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x2c
ret
mov eax, dword [0x41db14]
test eax, eax
jne 0x40db9a
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push edx
add esi, 8
push ebp
mov ecx, 0x4a8424
mov eax, esi
call fcn.0040bf60
add esp, 8
jmp 0x40dbc0
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push ecx
lea eax, [esi + 0x354]
push ebp
push eax
mov esi, 0x4a8424
mov dword [esp + 0x18], eax
call fcn.0040c000
mov esi, dword [esp + 0x18]
add esp, 0xc
cmp dword [0x41db1c], eax
mov dword [0x41db18], eax
je 0x40dc59
mov edx, dword [0x4a8424]
mov eax, dword [0x4a8428]
mov ecx, dword [0x4a842c]
mov dword [esp + 0x18], edx
mov edx, dword [0x4a8430]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
push ebx
lea ecx, [esp + 0x1c]
mov eax, esi
mov dword [esp + 0x28], edx
call fcn.0040c050
lea eax, [esp + 0x2c]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
neg ecx
push ecx
neg edx
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push ebp
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esp + 0x14], eax
push ebp
or ebx, 0xffffffff
lea eax, [esp + 0x24]
mov edi, esi
call fcn.0040b100
mov ecx, dword [esp + 0x18]
add esp, 8
push ecx
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x41db18]
pop ebx
mov dword [0x41db1c], eax
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x2c
ret
cmp eax, 0xfffd
jne 0x40dc94
push ecx
push ebp
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0x37
push 0xfffe
push ebp
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
mov dword [0x4a8460], eax
xor eax, eax
pop ebp
add esp, 0x2c
ret
cmp eax, 0xfffe
jne 0x40dcf3
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [esp + 0x14]
movzx edx, word [esp + 0x10]
shl ecx, 0x10
or ecx, edx
push ecx
push 1
push ebp
push esi
call fcn.0040d1c0
mov eax, dword [0x41db20]
add esp, 0x10
cmp eax, 0xffffffff
je 0x40dcea
mov edx, dword [0x4a845c]
push 0
push eax
push ebp
call fcn.00409c00
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x2c
ret
push edx
push eax
mov eax, dword [esi + 4]
push 0x113
push ebp
push eax
call dword [sym.imp.USER32.dll_CallWindowProcA]
pop edi
pop esi
pop ebp
add esp, 0x2c
ret