Function at 0x461ee0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov esi, ecx
jne 0x4620f2
mov eax, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov dword [ebp - 0x24], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 8], eax
cmp edx, 1
jne 0x46204c
test esi, esi
je 0x461f2f
lea edi, [esi - 0x24]
jmp 0x461f31
xor edi, edi
mov dword [ebp - 0x18], edi
xor eax, eax
add edi, 0x24
cmp byte [edi], al
sete al
add eax, 0x7f84
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [edi + 0x30], eax
xor eax, eax
test edi, edi
mov edi, dword [ebp - 0x18]
cmove edi, eax
test byte [edi + 0x70], 0x10
jne 0x461f6f
cmp byte [edi + 0x24], al
sete al
add eax, 0x20
push eax
call dword [ebp - 0x20]
mov dword [edi + 0x50], eax
push 0xffffffffffffffec
push dword [edi + 4]
call dword [ebp - 8]
mov cl, byte [edi + 0x24]
and eax, 0x200
je 0x461f98
xor eax, eax
test cl, cl
sete al
add eax, 0x2d
push eax
call dword [ebp - 0x20]
add eax, eax
mov dword [edi + 0x5c], eax
xor eax, eax
jmp 0x461faf
xor eax, eax
mov dword [edi + 0x5c], 0
test cl, cl
sete al
add eax, 0x2d
push eax
call dword [ebp - 0x20]
add eax, eax
push 0
mov dword [edi + 0x58], eax
lea eax, [edi + 0x60]
push eax
push 0
push 0x26
call dword [ebp - 0x24]
mov edx, dword [ebp + 0xc]
mov dword [ebx], 1
mov eax, dword [esi + 0x4c]
mov edi, dword [ebp + 0x14]
shr eax, 1
not al
test al, 1
je 0x4620ba
cmp edx, 0x20
jne 0x462107
mov eax, dword [ebp + 0x10]
cmp eax, dword [esi - 0x20]
jne 0x4620b4
cmp di, 1
jne 0x4620b4
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
push dword [esi - 0x20]
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x18]
mov ecx, esi
push dword [ebp - 0x1c]
call fcn.00460140
test al, al
je 0x4620b1
pop edi
pop esi
mov dword [ebx], 1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0xf
jne 0x46207b
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edx
call fcn.00461190
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x318
jne 0x461fc8
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edx
call fcn.00461190
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 0xc]
mov dword [ebx], 0
cmp edx, 7
jne 0x4624b1
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi - 0x20]
je 0x4620ec
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
jne 0x4620e2
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4620e2
cmp eax, 1
jne 0x4620ec
push dword [esi + eax*4 + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [ebx], 1
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
movzx eax, di
mov ecx, eax
cmp edx, 0x200
jne 0x4621eb
movsx edi, ax
mov eax, dword [ebp + 0x14]
shr eax, 0x10
cwde
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi - 0x20]
jne 0x4621c8
cmp byte [esi], 0
mov eax, dword [esi + 0x40]
je 0x462141
sub edi, dword [esi + 0xc]
jmp 0x462147
mov edi, dword [ebp - 0x18]
sub edi, dword [esi + 0x10]
sub edi, eax
mov eax, 0xfffffffe
cmp edi, 0xffffffff
cmove edi, eax
cmp dword [esi + 0x1c], edi
je case.0x4623ad.14
cmp byte [esi + 0x3c], 0
mov ecx, esi
je 0x462194
push 1
push edi
call fcn.00465050
test al, al
je case.0x4623ad.14
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
call fcn.0045ed10
push 0
push edi
mov ecx, esi
call fcn.00465050
mov ecx, esi
call fcn.0045ed10
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
push dword [ebp - 0x18]
mov ecx, esi
push edi
call fcn.00460140
test al, al
je 0x4621e0
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebx], 0
jmp 0x4620f2
cmp edx, 0x201
jne 0x4622a7
mov eax, dword [ebp + 0x14]
shr eax, 0x10
cwde
mov dword [ebp - 0x20], eax
mov eax, dword [esi - 0x20]
movsx edi, cx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp - 0x18]
je 0x46227a
push dword [ebp - 0x20]
mov ecx, esi
push edi
call fcn.00460140
test al, al
je 0x46227a
mov eax, dword [esi + 0x1c]
push dword [ebp - 0x18]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_SetCapture]
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [esi + 0x30]
mov dword [esi + 0x24], eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp byte [esi + 0x3c], 0
jne 0x462255
mov ecx, esi
call fcn.0045ed10
cmp byte [esi], 0
mov eax, dword [esi + 0x1c]
je 0x46226a
sub edi, dword [esi + 0xc]
sub edi, eax
mov dword [esi + 0x40], edi
jmp 0x4620ec
mov edi, dword [ebp - 0x20]
sub edi, dword [esi + 0x10]
sub edi, eax
mov dword [esi + 0x40], edi
jmp 0x4620ec
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi - 0x20]
jne 0x4620ec
push dword [ebp - 0x20]
mov ecx, esi
push edi
call fcn.00460140
test al, al
jne 0x4620ec
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x4620ec
cmp edx, 0x202
jne 0x4622cf
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi - 0x20]
jne 0x4620ec
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x4620ec
cmp edx, 0x203
jne 0x46230a
test esi, esi
mov eax, 0x24
push 1
cmove esi, eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.00465050
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x215
jne 0x46237c
cmp byte [esi + 0x3c], 0
jne 0x46231f
mov ecx, esi
call fcn.0045ed10
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
je 0x46234c
cmp byte [esi + 0x3c], 0
je 0x462332
cmp dword [esi + 0x1c], eax
je 0x46234c
mov ecx, esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
call fcn.004659d0
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x24]
test eax, eax
je case.0x4623ad.14
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x100
jne 0x4620ba
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi - 0x20]
jne 0x4621e0
mov edi, dword [ebp + 0x10]
lea eax, [edi - 0xd]
cmp eax, 0x1b
ja case.0x4623ad.14
movzx eax, byte [eax + 0x46267c]
jmp dword [eax*4 + 0x462668]
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x4623ad.14
cmp byte [esi], 0
je case.0x4623ad.14
lea eax, [ebp - 0xc]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0xc], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x1c]
cmp edi, 0x25
mov edi, dword [esi + 0x38]
mov ecx, 0xfffffff6
mov edx, 0xa
mov dword [ebp - 0x24], eax
cmove edx, ecx
mov ecx, dword [esi + 0x34]
add edx, eax
lea eax, [ecx + edi]
cmp edx, eax
jl 0x462419
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x2c]
sub eax, dword [esi + 0xc]
sub eax, ecx
mov ecx, edx
sub eax, edi
cmp edx, eax
cmovg ecx, eax
mov eax, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x24]
push dword [ebp - 8]
add eax, ecx
mov dword [ebp - 0xc], eax
push eax
jmp 0x46248d
cmp byte [esi], 0
jne case.0x4623ad.14
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x1c]
cmp edi, 0x26
mov edi, dword [esi + 0x38]
mov ecx, 0xfffffff6
mov edx, 0xa
mov dword [ebp - 0x24], eax
cmove edx, ecx
mov ecx, dword [esi + 0x34]
add edx, eax
lea eax, [ecx + edi]
cmp edx, eax
jl 0x46247e
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x10]
sub eax, ecx
mov ecx, edx
sub eax, edi
cmp edx, eax
cmovg ecx, eax
mov eax, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x24]
add eax, ecx
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_SetCursorPos]
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x21
jne 0x4625d4
push edi
push dword [ebp + 0x10]
push edx
push dword [esi - 0x20]
push dword [esi - 4]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov dword [ebp - 0x18], eax
cmp eax, 1
je 0x4624dc
cmp eax, 2
jne 0x4625ba
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push dword [esi - 0x20]
mov dword [ebp - 0x28], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
xorps xmm0, xmm0
xor edi, edi
movups xmmword [ebp - 0x14], xmm0
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
je 0x46251b
cmp edi, eax
jne 0x46258d
movups xmm0, xmmword [esi + 0xc]
movups xmmword [ebp - 0x14], xmm0
jmp 0x462579
test edi, edi
jne 0x462542
cmp byte [esi], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
je 0x462537
add eax, edx
jmp 0x462570
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [edx + ecx]
jmp 0x462576
cmp edi, 1
jne 0x46258d
mov eax, dword [esi + 0x38]
add eax, dword [esi + 0x2c]
add eax, dword [esi + 0x1c]
cmp byte [esi], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
je 0x462565
add eax, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jmp 0x46256d
add eax, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 8], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4625b4
inc edi
cmp edi, 2
jl 0x462505
mov eax, dword [ebp - 0x18]
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x28], edi
pop edi
mov dword [ebx], eax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x1a
jne 0x4620f2
test byte [esi + 0x4c], 0x10
mov edi, dword [ebp - 0x20]
jne 0x4625f6
xor eax, eax
cmp byte [esi], al
sete al
add eax, 0x20
push eax
call edi
mov dword [esi + 0x2c], eax
push 0xffffffffffffffec
push dword [esi - 0x20]
call dword [ebp - 8]
mov cl, byte [esi]
and eax, 0x200
je 0x46261d
xor eax, eax
test cl, cl
sete al
add eax, 0x2d
push eax
call edi
add eax, eax
mov dword [esi + 0x38], eax
xor eax, eax
jmp 0x462633
xor eax, eax
mov dword [esi + 0x38], 0
test cl, cl
sete al
add eax, 0x2d
push eax
call edi
add eax, eax
push 0
mov dword [esi + 0x34], eax
lea eax, [esi + 0x3c]
push eax
push 0
push 0x26
call dword [ebp - 0x24]
mov ecx, esi
call fcn.004659d0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
mov dword [ebx], 0
xor ecx, ebp
pop ebx
call fcn.004c34b7
mov esp, ebp
pop ebp
ret 0x18