Function at 0x4f94e0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x48
mov eax, dword [0x573054]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
mov ebx, dword [esp + 0x50]
push ebp
push esi
push edi
mov eax, dword [ebx + 4]
mov esi, ecx
cmp eax, 0x200
ja 0x4f9695
je case.0x4f951d.160
sub eax, 0x7b
cmp eax, 0x98
ja case.0x4f96ac.518
movzx eax, byte [eax + 0x4f9e54]
jmp dword [eax*4 + 0x4f9e24]
mov edi, dword [esi + 0xc]
test edi, edi
je case.0x4f96ac.518
mov eax, dword [ebx]
nop dword [eax]
cmp dword [edi + 0x14], eax
je 0x4f9553
mov edi, dword [edi + 0x2c]
test edi, edi
jne 0x4f9530
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4
mov eax, dword [ebx + 8]
cmp eax, 0x10
jne 0x4f9569
cmp dword [edi + 0x44], eax
jne 0x4f9569
push edi
call fcn.004f8ab0
mov eax, dword [ebx + 8]
cmp eax, 0x11
jne 0x4f957e
cmp dword [edi + 0x48], eax
jne 0x4f957e
push edi
mov ecx, esi
call fcn.004f8cf0
mov eax, dword [ebx + 8]
push dword [ebx + 0xc]
mov ecx, edi
push eax
push 0x113
call fcn.004f15d0
mov ecx, edi
call fcn.004f1a70
test al, al
sete al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4
cmp byte [esi + 0x1d], 0
jne case.0x4f96ac.522
mov dword [esi + 0x18], 1
mov ecx, dword [ebx + 8]
lea eax, [ecx - 3]
cmp eax, 0x76
ja case.0x4f95d2.4
movzx eax, byte [eax + 0x4f9ef8]
jmp dword [eax*4 + 0x4f9ef0]
push ecx
mov ecx, esi
call fcn.004f8a90
push eax
mov ecx, esi
call fcn.004f8740
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4
push dword [ebx + 8]
call fcn.004f8a90
push eax
mov ecx, esi
call fcn.004f8910
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4
cmp dword [ebx + 8], 0x5d
je case.0x4f96ac.522
push ebx
call dword [sym.imp.USER32.dll_TranslateMessage]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
cmp dword [ebx + 4], 0x200
jne 0x4f9671
mov eax, dword [ebx + 8]
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004f81c0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4
sub eax, 0x201
cmp eax, 0xa0
ja case.0x4f96ac.518
movzx eax, byte [eax + 0x4f9f90]
jmp dword [eax*4 + 0x4f9f70]
lea eax, [esp + 0x18]
mov dword [esi + 0x18], 0
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [esi + 0xc]
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.004fa3f0
cmp byte [esi + 0x1c], 0
jne 0x4f9719
test eax, eax
jne 0x4f9752
push ecx
push 0
push 0
mov ecx, esi
call fcn.004f8da0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4
test eax, eax
jne 0x4f9744
cmp dword [esp + 0x10], eax
jne 0x4f9752
push ecx
push eax
push eax
mov ecx, esi
call fcn.004f8da0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4
push ecx
push dword [esp + 0x14]
push ecx
push eax
mov ecx, esi
call fcn.004f8070
mov edi, dword [ebx + 4]
lea eax, [esp + 0x28]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
xorps xmm0, xmm0
push 2
push 0
push 0
push 0
push eax
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x54], 0
movq qword [esp + 0x4c], xmm0
call esi
test eax, eax
je case.0x4f96ac.522
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne case.0x4f96ac.522
push 1
push eax
push eax
push 0
lea eax, [esp + 0x38]
push eax
call esi
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [esi + 0xc]
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.004fa3f0
test eax, eax
jne case.0x4f96ac.522
push ecx
push eax
push eax
mov ecx, esi
call fcn.004f8da0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [esi + 0xc]
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.004fa3f0
mov edi, eax
test edi, edi
je 0x4f96f6
mov eax, dword [edi]
mov ecx, edi
mov ebx, dword [esp + 0x10]
push 1
push ebx
mov eax, dword [eax + 0x6c]
call eax
test al, al
jne case.0x4f96ac.522
mov eax, dword [edi]
mov ecx, edi
push 1
push ebx
mov eax, dword [eax + 0x8c]
call eax
test al, al
je case.0x4f96ac.522
push ebx
mov ecx, edi
call fcn.004f17b0
mov edi, eax
test edi, edi
je case.0x4f96ac.522
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x94]
mov ebx, eax
cmp ebx, 0xffffffff
je case.0x4f96ac.522
test ebx, ebx
js case.0x4f96ac.522
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x110]
cmp ebx, eax
jge case.0x4f96ac.522
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x5c]
push ecx
push eax
push 0x111
mov ecx, esi
call fcn.004f8da0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4f98f8
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x18]
mov dword [esi + 0x18], 0
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x18]
mov ecx, esi
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x48], eax
lea eax, [esp + 0x10]
push 0
push eax
push dword [esi + 0xc]
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0
push eax
call fcn.004fa3f0
mov edi, eax
mov eax, dword [esp + 0x10]
test edi, edi
jne 0x4f9951
test eax, eax
je 0x4f96f6
mov dword [esi + 0x30], edi
test edi, edi
je 0x4f9963
push ecx
push eax
push ecx
push edi
mov ecx, esi
call fcn.004f8070
mov ebx, dword [ebx + 4]
lea eax, [esp + 0x28]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
xorps xmm0, xmm0
push 2
push 0
push 0
push 0
push eax
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x54], 0
movq qword [esp + 0x4c], xmm0
call esi
test eax, eax
je 0x4f99aa
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x4f99aa
push 1
push eax
push eax
push 0
lea eax, [esp + 0x38]
push eax
call esi
xor ebp, ebp
test edi, edi
je case.0x4f96ac.522
mov esi, dword [esp + 0x10]
cmp esi, 0xffffffff
je 0x4f99e9
lea ebx, [edi + 0xd4]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0xf8]
mov ecx, dword [edi + 0xf4]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x4f99e2
mov ebp, dword [ecx + esi*4]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0xf8]
xor ebx, ebx
mov ecx, dword [edi + 0xf4]
sub eax, ecx
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
test eax, 0xfffffffc
jle 0x4f9a7a
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x4f9a5e
cmp ebp, esi
je 0x4f9a5e
mov ecx, dword [esi + 0x460]
test ecx, ecx
je 0x4f9a5e
mov edx, dword [esi + 0x30]
test edx, edx
je 0x4f9a5e
mov edx, dword [edx + 0x14]
mov eax, dword [ecx]
push edx
push dword [esi + 0x2c]
mov dword [esp + 0x28], edx
push dword [esi + 4]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x4f9a5e
push 0
lea eax, [esi + 0x38]
mov byte [esi + 0x464], 1
mov esi, dword [esp + 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
call esi
jmp 0x4f9a64
mov esi, dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [edi + 0xf8]
inc ebx
mov ecx, dword [edi + 0xf4]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jl 0x4f9a06
test ebp, ebp
je case.0x4f96ac.522
cmp dword [ebp + 0x460], 0
je case.0x4f96ac.522
cmp dword [ebp + 0x30], 0
je case.0x4f96ac.522
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax]
test eax, eax
je case.0x4f96ac.522
xorps xmm0, xmm0
lea ecx, [esp + 0x44]
movups xmmword [esp + 0x44], xmm0
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0xfc]
mov eax, dword [ebp + 0x30]
mov edi, dword [eax + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
movups xmm0, xmmword [ebp + 0x38]
mov eax, dword [ebp + 0x40]
lea ebx, [ebp + 0x38]
sub eax, dword [esp + 0x4c]
lea edx, [esp + 0x20]
mov ecx, dword [ebp + 0x460]
push edx
movups xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x34], eax
lea edx, [esp + 0x2c]
mov eax, dword [esp + 0x48]
push edx
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
push edi
push dword [ebp + 0x2c]
push dword [ebp + 4]
mov eax, dword [eax + 0x10]
call eax
test al, al
je case.0x4f96ac.522
push 0
push ebx
push edi
mov byte [ebp + 0x464], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [esi + 0xc]
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.004fa3f0
cmp byte [esi + 0x1c], 0
mov edi, eax
jne 0x4f9bb1
test edi, edi
je 0x4f9ba2
push edi
push dword [esp + 0x14]
push 0x207b
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esi + 0x1d], 0
je case.0x4f96ac.522
jmp 0x4f9752
mov ebp, dword [ebx + 4]
lea eax, [esp + 0x28]
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
xorps xmm0, xmm0
push 2
push 0
push 0
push 0
push eax
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x54], 0
movq qword [esp + 0x4c], xmm0
call ebx
test eax, eax
je 0x4f9bf8
mov eax, dword [esp + 0x2c]
cmp eax, ebp
jne 0x4f9bf8
push 1
push eax
push eax
push 0
lea eax, [esp + 0x38]
push eax
call ebx
mov byte [esi + 0x1f], 0
test edi, edi
je 0x4f9c0d
push dword [esp + 0x10]
push ecx
push edi
mov ecx, esi
call fcn.004f8120
mov byte [esi + 0x1d], 0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4f9c34
mov eax, dword [ecx]
call dword [eax + 8]
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push dword [esi + 0xc]
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.004fa3f0
cmp byte [esi + 0x1d], 0
mov ebx, eax
jne 0x4f9c96
test ebx, ebx
je case.0x4f96ac.522
push 0
mov ecx, ebx
call fcn.004f53b0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4
test ebx, ebx
jne 0x4f9ca3
cmp byte [esi + 0x1f], bl
je 0x4f96f6
xor al, al
mov byte [esi + 0x1f], 0
xor edi, edi
mov byte [esp + 0x17], 0
mov byte [esp + 0x16], al
test ebx, ebx
je 0x4f9def
mov ebp, dword [esp + 0x10]
cmp ebp, 0xffffffff
je 0x4f9cf7
lea eax, [ebx + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0xf8]
mov ecx, dword [ebx + 0xf4]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jae 0x4f9cea
mov edi, dword [ecx + ebp*4]
lea eax, [ebx + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
mov ecx, ebx
call fcn.004f53b0
test edi, edi
je 0x4f9dd6
cmp dword [edi + 0x460], 0
je 0x4f9dde
cmp dword [edi + 0x30], 0
je 0x4f9dde
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
test eax, eax
je 0x4f9dd6
xorps xmm0, xmm0
lea ecx, [esp + 0x28]
movups xmmword [esp + 0x28], xmm0
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0xfc]
mov eax, dword [edi + 0x30]
mov ebp, dword [eax + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
movups xmm0, xmmword [edi + 0x38]
mov eax, dword [edi + 0x40]
lea edx, [esp + 0x16]
sub eax, dword [esp + 0x30]
mov ecx, dword [edi + 0x460]
push edx
lea edx, [esp + 0x1b]
push edx
lea edx, [esp + 0x28]
push edx
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x58], eax
lea edx, [esp + 0x50]
mov eax, dword [esp + 0x34]
push edx
mov dword [esp + 0x54], eax
mov eax, dword [ecx]
push ebp
push dword [edi + 0x2c]
push dword [edi + 4]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x4f9dc8
push 0
lea eax, [edi + 0x38]
mov byte [edi + 0x464], 1
push eax
push ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebp
call dword [sym.imp.USER32.dll_UpdateWindow]
mov al, byte [esp + 0x16]
test al, al
jne 0x4f9def
mov byte [esp + 0x17], al
jmp 0x4f9dde
mov al, byte [esp + 0x16]
test al, al
jne 0x4f9def
push dword [esp + 0x10]
push ecx
push ebx
mov ecx, esi
call fcn.004f8120
mov al, byte [esp + 0x16]
cmp byte [esp + 0x17], 0
mov byte [esi + 0x1d], 0
je case.0x4f96ac.522
test al, al
je case.0x4f96ac.522
push ecx
push 0
push 0
mov ecx, esi
call fcn.004f8da0
mov ecx, dword [esp + 0x54]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050f48d
add esp, 0x48
ret 4