Function at 0x4fe2e0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x48
mov eax, dword [0x575054]
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 0x4fe495
je case.0x4fe31d.160
sub eax, 0x7b
cmp eax, 0x98
ja case.0x4fe4ac.518
movzx eax, byte [eax + 0x4fec54]
jmp dword [eax*4 + 0x4fec24]
mov edi, dword [esi + 0xc]
test edi, edi
je case.0x4fe4ac.518
mov eax, dword [ebx]
nop dword [eax]
cmp dword [edi + 0x14], eax
je 0x4fe353
mov edi, dword [edi + 0x2c]
test edi, edi
jne 0x4fe330
xor al, al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f27d
add esp, 0x48
ret 4
mov eax, dword [ebx + 8]
cmp eax, 0x10
jne 0x4fe369
cmp dword [edi + 0x44], eax
jne 0x4fe369
push edi
call fcn.004fd8b0
mov eax, dword [ebx + 8]
cmp eax, 0x11
jne 0x4fe37e
cmp dword [edi + 0x48], eax
jne 0x4fe37e
push edi
mov ecx, esi
call fcn.004fdaf0
mov eax, dword [ebx + 8]
push dword [ebx + 0xc]
mov ecx, edi
push eax
push 0x113
call fcn.004f63f0
mov ecx, edi
call fcn.004f6890
test al, al
sete al
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f27d
add esp, 0x48
ret 4
cmp byte [esi + 0x1d], 0
jne case.0x4fe4ac.522
mov dword [esi + 0x18], 1
mov ecx, dword [ebx + 8]
lea eax, [ecx - 3]
cmp eax, 0x76
ja case.0x4fe3d2.4
movzx eax, byte [eax + 0x4fecf8]
jmp dword [eax*4 + 0x4fecf0]
push ecx
mov ecx, esi
call fcn.004fd890
push eax
mov ecx, esi
call fcn.004fd540
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f27d
add esp, 0x48
ret 4
push dword [ebx + 8]
call fcn.004fd890
push eax
mov ecx, esi
call fcn.004fd710
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f27d
add esp, 0x48
ret 4
cmp dword [ebx + 8], 0x5d
je case.0x4fe4ac.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.0050f27d
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 0x4fe471
mov eax, dword [ebx + 8]
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004fcfc0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f27d
add esp, 0x48
ret 4
sub eax, 0x201
cmp eax, 0xa0
ja case.0x4fe4ac.518
movzx eax, byte [eax + 0x4fed90]
jmp dword [eax*4 + 0x4fed70]
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.004ff1f0
cmp byte [esi + 0x1c], 0
jne 0x4fe519
test eax, eax
jne 0x4fe552
push ecx
push 0
push 0
mov ecx, esi
call fcn.004fdba0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f27d
add esp, 0x48
ret 4
test eax, eax
jne 0x4fe544
cmp dword [esp + 0x10], eax
jne 0x4fe552
push ecx
push eax
push eax
mov ecx, esi
call fcn.004fdba0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f27d
add esp, 0x48
ret 4
push ecx
push dword [esp + 0x14]
push ecx
push eax
mov ecx, esi
call fcn.004fce70
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.0x4fe4ac.522
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne case.0x4fe4ac.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.0050f27d
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.004ff1f0
test eax, eax
jne case.0x4fe4ac.522
push ecx
push eax
push eax
mov ecx, esi
call fcn.004fdba0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f27d
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.004ff1f0
mov edi, eax
test edi, edi
je 0x4fe4f6
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.0x4fe4ac.522
mov eax, dword [edi]
mov ecx, edi
push 1
push ebx
mov eax, dword [eax + 0x8c]
call eax
test al, al
je case.0x4fe4ac.522
push ebx
mov ecx, edi
call fcn.004f65d0
mov edi, eax
test edi, edi
je case.0x4fe4ac.522
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x94]
mov ebx, eax
cmp ebx, 0xffffffff
je case.0x4fe4ac.522
test ebx, ebx
js case.0x4fe4ac.522
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x110]
cmp ebx, eax
jge case.0x4fe4ac.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.004fdba0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f27d
add esp, 0x48
ret 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4fe6f8
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.004ff1f0
mov edi, eax
mov eax, dword [esp + 0x10]
test edi, edi
jne 0x4fe751
test eax, eax
je 0x4fe4f6
mov dword [esi + 0x30], edi
test edi, edi
je 0x4fe763
push ecx
push eax
push ecx
push edi
mov ecx, esi
call fcn.004fce70
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 0x4fe7aa
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x4fe7aa
push 1
push eax
push eax
push 0
lea eax, [esp + 0x38]
push eax
call esi
xor ebp, ebp
test edi, edi
je case.0x4fe4ac.522
mov esi, dword [esp + 0x10]
cmp esi, 0xffffffff
je 0x4fe7e9
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 0x4fe7e2
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 0x4fe87a
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x4fe85e
cmp ebp, esi
je 0x4fe85e
mov ecx, dword [esi + 0x460]
test ecx, ecx
je 0x4fe85e
mov edx, dword [esi + 0x30]
test edx, edx
je 0x4fe85e
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 0x4fe85e
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 0x4fe864
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 0x4fe806
test ebp, ebp
je case.0x4fe4ac.522
cmp dword [ebp + 0x460], 0
je case.0x4fe4ac.522
cmp dword [ebp + 0x30], 0
je case.0x4fe4ac.522
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax]
test eax, eax
je case.0x4fe4ac.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.0x4fe4ac.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.0050f27d
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.004ff1f0
cmp byte [esi + 0x1c], 0
mov edi, eax
jne 0x4fe9b1
test edi, edi
je 0x4fe9a2
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.0x4fe4ac.522
jmp 0x4fe552
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 0x4fe9f8
mov eax, dword [esp + 0x2c]
cmp eax, ebp
jne 0x4fe9f8
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 0x4fea0d
push dword [esp + 0x10]
push ecx
push edi
mov ecx, esi
call fcn.004fcf20
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.0050f27d
add esp, 0x48
ret 4
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4fea34
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.004ff1f0
cmp byte [esi + 0x1d], 0
mov ebx, eax
jne 0x4fea96
test ebx, ebx
je case.0x4fe4ac.522
push 0
mov ecx, ebx
call fcn.004fa1b0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0050f27d
add esp, 0x48
ret 4
test ebx, ebx
jne 0x4feaa3
cmp byte [esi + 0x1f], bl
je 0x4fe4f6
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 0x4febef
mov ebp, dword [esp + 0x10]
cmp ebp, 0xffffffff
je 0x4feaf7
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 0x4feaea
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.004fa1b0
test edi, edi
je 0x4febd6
cmp dword [edi + 0x460], 0
je 0x4febde
cmp dword [edi + 0x30], 0
je 0x4febde
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
test eax, eax
je 0x4febd6
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 0x4febc8
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 0x4febef
mov byte [esp + 0x17], al
jmp 0x4febde
mov al, byte [esp + 0x16]
test al, al
jne 0x4febef
push dword [esp + 0x10]
push ecx
push ebx
mov ecx, esi
call fcn.004fcf20
mov al, byte [esp + 0x16]
cmp byte [esp + 0x17], 0
mov byte [esi + 0x1d], 0
je case.0x4fe4ac.522
test al, al
je case.0x4fe4ac.522
push ecx
push 0
push 0
mov ecx, esi
call fcn.004fdba0
mov ecx, dword [esp + 0x54]
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050f27d
add esp, 0x48
ret 4