Function at 0x4a14c0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x704], edi
je 0x4a1519
cmp dword [esi + 0x710], edi
je 0x4a1519
mov eax, dword [esi + 0x70c]
mov dword [esi + 0x714], 1
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x704]
push 0xbb8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4a1513
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov dword [esi + 0x710], edi
mov eax, dword [esi + 0x704]
cmp eax, edi
je 0x4a1530
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x704], edi
mov ebx, dword [esp + 0x20]
mov edi, dword [esi + 0x30]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
test bl, 8
je 0x4a1561
push 0
mov ecx, ebp
call fcn.0049e550
mov ecx, ebp
call fcn.0049dd40
test eax, eax
je 0x4a1561
push 0
mov ecx, ebp
call fcn.0049e7d0
cmp ebp, edi
jne 0x4a157d
shr ebx, 2
and ebx, 1
pop edi
mov dword [esi + 0x34], ebx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0xc
test edi, edi
je 0x4a15c7
mov edx, dword [esi + 0x6d0]
mov ecx, edi
push edx
call fcn.0049e1a0
test eax, eax
je 0x4a15c7
mov eax, dword [esi + 0x50]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 0
push 0xf
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov ecx, dword [esi + 0x50]
push edi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esp + 0x10]
lea edx, [esi + 0x6ec]
mov dword [esi + 0x30], ebp
push edx
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, 0x7fff
xor eax, eax
mov dword [esi + 0x6e8], ecx
mov dword [esi + 0x6e4], ecx
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x6e0], eax
cmp ecx, eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x6c4], eax
mov dword [esi + 0x6d0], eax
je 0x4a1625
mov edx, dword [esp + 0x24]
cmp edx, eax
jl 0x4a1617
push edx
call fcn.0049e7d0
mov ecx, dword [esi + 0x30]
call fcn.0049e950
mov dword [esi + 0x6d0], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x50]
jne 0x4a1636
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x50]
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
test eax, eax
je 0x4a1653
test edi, edi
je 0x4a1653
push 0
mov ecx, edi
call fcn.0049e7d0
mov eax, ebx
and eax, 2
mov dword [esp + 0x20], eax
jne 0x4a166c
mov ecx, dword [esi + 0x50]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
test ebp, ebp
je 0x4a1688
mov ecx, ebp
call fcn.0049d8a0
test eax, eax
jne 0x4a1688
push 0xffffffffffffffff
mov ecx, ebp
call fcn.0049e510
test eax, eax
je 0x4a16aa
mov ecx, esi
call fcn.004a1df0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetCursorPos]
xor ebp, ebp
cmp edi, ebp
je 0x4a16bd
test bl, 1
jne 0x4a16bd
push ebp
mov ecx, edi
call fcn.0049e550
cmp dword [esi + 0x34], ebp
je 0x4a16d6
cmp edi, ebp
je 0x4a16d6
mov ecx, edi
call fcn.0049cb20
push edi
call fcn.004bd4c4
add esp, 4
shr ebx, 2
lea edx, [esp + 0x10]
and ebx, 1
push edx
mov dword [esi + 0x34], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetCursorPos]
cmp dword [esp + 0x20], ebp
jne 0x4a170a
mov edx, dword [esi + 0x50]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x6c8], ebp
je 0x4a1755
mov ecx, dword [esi + 0x30]
cmp ecx, ebp
je 0x4a1755
call fcn.0049dd40
test eax, eax
je 0x4a1755
mov ecx, dword [esi + 0x30]
push ebp
call fcn.0049ddc0
cmp eax, ebp
je 0x4a1755
mov dword [esi + 0x6d0], ebp
mov eax, dword [eax + 0x38]
cmp eax, ebp
jne 0x4a1741
mov eax, 0x64
push ebp
push eax
mov eax, dword [esi + 0x50]
push 1
push eax
mov dword [esi + 0x6c4], ebp
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0xc