Function at 0x490af0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bf1c8
push eax
mov dword fs:[0], esp
mov eax, dword [0x50b3a0]
sub esp, 0x28
cmp byte [eax + 0x11294], 0
push esi
mov esi, ecx
jne 0x490b2f
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
push ebx
push edi
mov edi, dword [ebp + 0x20]
mov dword [edi], 0
mov ecx, dword [0x50b39c]
cmp dword [ecx + 0x4238], 0
jne 0x490cfc
mov eax, dword [0x50b3a0]
cmp byte [eax + 0x11294], 0
je 0x490cfc
cmp byte [eax + 0x11310], 0
jne 0x490cfc
cmp dword [ecx + 0x4260], 0x51f
jne 0x490cfc
cmp byte [esi + 0xab94], 0
jne 0x490ba2
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push ecx
push edx
lea eax, [esi + 0xab84]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x490cfc
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
cmp ebx, 0x201
ja 0x490c46
je 0x490c00
cmp ebx, 0x20
je 0x490bd1
cmp ebx, 0x200
je 0x490c52
jmp 0x490cff
push 0x7f82
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [edi], 1
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
lea ecx, [esi + 0xab98]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x50b384]
lea edx, [esi + 0xaba0]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov byte [esi + 0xab94], 1
mov ecx, dword [0x50b384]
push ecx
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [0x50b39c]
push 1
call fcn.0041a780
jmp 0x490cff
cmp ebx, 0x202
jne 0x490cff
cmp byte [esi + 0xab94], 0
je 0x490ce3
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x490ce3
mov eax, dword [esi + 0xaba8]
sub eax, dword [esi + 0xab98]
mov edx, dword [esi + 0xaba0]
mov ecx, dword [esi + 0xabac]
sub ecx, dword [esi + 0xab9c]
mov edi, dword [esi + 0xaba4]
sub eax, edx
add eax, dword [ebp - 0x14]
sub ecx, edi
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x34], edx
add edx, eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], edi
add edi, ecx
mov ecx, dword [0x50b39c]
push eax
push 8
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edi
call fcn.00415800
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
push 0x104
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x34]
sub edx, ecx
push edx
push eax
mov eax, dword [0x50b384]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebx, 0x202
jne 0x490cff
push 0
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [esi + 0xab94], 0
jmp 0x490cff
mov ebx, dword [ebp + 0xc]
mov ecx, dword [0x50b39c]
call fcn.0040cc80
test al, al
jne 0x4910d2
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push ecx
push edx
lea eax, [esi + 0xab74]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4910d2
add ebx, 0xfffffe00
cmp ebx, 5
ja case.0x490f50.5
movzx ecx, byte [ebx + 0x49113c]
jmp dword [ecx*4 + 0x491134]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
xor edi, edi
lea ebx, [esi + 0x298]
cmp dword [ebx - 0x294], 0
je 0x490d82
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x490e3f
inc edi
add ebx, 0x2a4
cmp edi, 0x21
jb 0x490d62
push 0x21
mov ecx, esi
call fcn.0048f940
mov ecx, dword [0x50b3a0]
cmp byte [ecx + 0x11294], 0
je 0x490dcf
cmp dword [0x50b384], 0
je 0x490dcf
or byte [esi + 0xabca], 1
xor eax, eax
lea edx, [ebp - 0x34]
push edx
mov ecx, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
call fcn.0048eb90
mov edi, dword [ebp + 0xc]
cmp edi, 0x201
je 0x490f24
cmp edi, 0x203
je 0x490f24
cmp edi, 0x205
jne case.0x490f50.5
mov ecx, dword [0x50b384]
push 2
lea eax, [ebp - 0x24]
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 0xabc4]
sub eax, 1
je 0x490eb1
sub eax, 0x1b
je 0x490eb1
mov ecx, esi
call fcn.0048f9c0
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
test edi, edi
jne 0x490e67
mov eax, dword [esi + 0x2a0]
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x50
jle 0x490e58
mov eax, 0x50
cmp dword [ebp + 0x18], eax
mov ecx, esi
jg 0x490e63
push 0
jmp 0x490e76
push 0x21
jmp 0x490e76
mov ecx, edi
imul ecx, ecx, 0x2a4
mov edx, dword [ecx + esi + 8]
push edx
mov ecx, esi
call fcn.0048f940
imul edi, edi, 0x2a4
mov eax, dword [edi + esi + 0x298]
mov ecx, dword [edi + esi + 0x29c]
mov edx, dword [edi + esi + 0x2a0]
lea edi, [edi + esi + 0x298]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
jmp 0x490d97
lea ecx, [ebp + 0xc]
call fcn.004a4720
lea edx, [ebp + 0xc]
push 0
push edx
mov dword [ebp - 4], 0
call fcn.0049f8f0
add esp, 8
test eax, eax
jl 0x490f00
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call fcn.0041f510
add esp, 8
push 0x20
push edx
push eax
lea ecx, [ebp + 0xc]
call fcn.004a4800
mov edx, dword [0x50b39c]
mov ecx, dword [edx + 0x4230]
push eax
call fcn.00440790
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.004a4770
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [0x50b384]
push 2
lea eax, [ebp - 0x24]
push eax
push 0
push ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 0xabc4]
dec eax
cmp eax, 0x1c
ja case.0x490f50.5
movzx edx, byte [eax + 0x491164]
jmp dword [edx*4 + 0x491144]
cmp edi, 0x201
jne case.0x490f50.5
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push eax
push ecx
call fcn.0041f510
add esp, 8
push edx
push eax
mov ecx, esi
call fcn.0048e9f0
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
cmp edi, 0x201
jne case.0x490f50.5
mov eax, dword [0x50b39c]
mov ecx, dword [eax + 0x4230]
push 0x20
lea edx, [ebp - 0x24]
push edx
call fcn.0043f450
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
cmp edi, 0x201
jne case.0x490f50.5
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
call fcn.0041f510
add esp, 8
push edx
push eax
mov ecx, esi
call fcn.004905c0
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [0x50b39c]
cmp dword [eax + 0x4238], 0
je case.0x490f50.5
mov eax, dword [eax + 0x4238]
cmp byte [eax + 9], 0
pop edi
sete cl
pop ebx
mov byte [eax + 9], cl
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x14
call esi
push 0
push 2
push 0
push 0x14
call esi
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x90
call esi
push 0
push 2
push 0
push 0x90
call esi
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x91
call esi
push 0
push 2
push 0
push 0x91
call esi
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, 0x21
cmp dword [esi + 0xabc4], eax
je 0x49111d
mov dword [esi + 0xabc4], eax
mov edx, dword [0x50b3a0]
cmp byte [edx + 0x11294], 0
je 0x49111d
cmp dword [0x50b384], 0
je 0x49111d
or byte [esi + 0xabca], 1
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.0048eb90
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
xor al, al
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c