Function at 0x4567f0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x569080]
xor eax, esp
mov dword [esp + 0x34], eax
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x18], esi
push edi
mov edi, ecx
cmp edx, 1
jne 0x4568d4
mov esi, edi
lea eax, [edi - 0x24]
neg esi
sbb esi, esi
and esi, eax
xor eax, eax
mov dword [esp + 0x14], esi
add esi, 0x24
cmp byte [esi], al
sete al
add eax, 0x7f84
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esi + 0x30], eax
xor eax, eax
test esi, esi
mov esi, dword [esp + 0x14]
cmove esi, eax
test byte [esi + 0x70], 0x10
jne 0x456869
cmp byte [esi + 0x24], al
sete al
add eax, 0x20
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0x50], eax
push 0xffffffffffffffec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov cl, byte [esi + 0x24]
and eax, 0x200
je 0x456898
xor eax, eax
test cl, cl
sete al
add eax, 0x2d
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
mov dword [esi + 0x5c], eax
xor eax, eax
jmp 0x4568b2
xor eax, eax
mov dword [esi + 0x5c], 0
test cl, cl
sete al
add eax, 0x2d
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
push 0
mov dword [esi + 0x58], eax
lea eax, [esi + 0x60]
push eax
push 0
push 0x26
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp + 0xc]
mov dword [esi], 1
jmp 0x456907
cmp edx, 0xf
jne 0x4568ff
sub esp, 8
push dword [ebp + 0x10]
push ecx
call fcn.004573d0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x318
je 0x4568d9
mov eax, dword [edi + 0x4c]
shr eax, 1
not al
test al, 1
je 0x456989
cmp edx, 0x20
jne 0x4569db
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi - 0x20]
jne 0x456983
mov eax, dword [ebp + 0x14]
cmp ax, 1
jne 0x456983
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push dword [edi - 0x20]
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [esp + 0x18]
mov ecx, edi
push dword [esp + 0x18]
call fcn.00457710
test al, al
je 0x456980
mov dword [esi], 1
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 0xc]
mov dword [esi], 0
cmp edx, 7
jne 0x456dca
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
je 0x4569bc
mov eax, dword [edi + 0x50]
cmp eax, 0xffffffff
jne 0x4569b1
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4569b1
cmp eax, 1
jne 0x4569bc
mov eax, dword [edi + eax*4 + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x14]
movzx eax, ax
mov ecx, eax
cmp edx, 0x200
jne 0x456ae1
movsx esi, ax
mov eax, dword [ebp + 0x14]
shr eax, 0x10
cwde
mov dword [esp + 0xc], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
jne 0x456aa9
cmp byte [edi], 0
mov eax, dword [edi + 0x40]
je 0x456a19
sub esi, dword [edi + 0xc]
jmp 0x456a20
mov esi, dword [esp + 0xc]
sub esi, dword [edi + 0x10]
sub esi, eax
mov eax, 0xfffffffe
cmp esi, 0xffffffff
cmove esi, eax
cmp dword [edi + 0x1c], esi
je 0x456a87
cmp byte [edi + 0x3c], 0
mov ecx, edi
je 0x456a71
push 1
push esi
call fcn.00457a40
test al, al
je 0x456a87
push dword [edi - 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
call fcn.004575a0
push 0
push esi
mov ecx, edi
call fcn.00457a40
mov ecx, edi
call fcn.004575a0
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
push dword [esp + 0xc]
mov ecx, edi
push esi
call fcn.00457710
test al, al
je 0x456ac2
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x201
jne 0x456ba4
mov eax, dword [ebp + 0x14]
shr eax, 0x10
cwde
mov dword [esp + 0xc], eax
mov eax, dword [edi - 0x20]
movsx esi, cx
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 0x14]
je 0x456b76
push dword [esp + 0xc]
mov ecx, edi
push esi
call fcn.00457710
test al, al
je 0x456b76
mov eax, dword [edi + 0x1c]
push dword [esp + 0x14]
mov dword [edi + 0x20], eax
call dword [sym.imp.USER32.dll_SetCapture]
push dword [edi - 0x20]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [edi + 0x30]
mov dword [edi + 0x24], eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp byte [edi + 0x3c], 0
jne 0x456b50
mov ecx, edi
call fcn.004575a0
cmp byte [edi], 0
mov eax, dword [edi + 0x1c]
je 0x456b65
sub esi, dword [edi + 0xc]
sub esi, eax
mov dword [edi + 0x40], esi
jmp 0x4569bc
mov esi, dword [esp + 0xc]
sub esi, dword [edi + 0x10]
sub esi, eax
mov dword [edi + 0x40], esi
jmp 0x4569bc
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
jne 0x4569bc
push dword [esp + 0xc]
mov ecx, edi
push esi
call fcn.00457710
test al, al
jne 0x4569bc
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x4569bc
cmp edx, 0x202
jne 0x456bcc
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
jne 0x4569bc
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x4569bc
cmp edx, 0x203
jne 0x456c07
test edi, edi
mov eax, 0x24
push 1
cmove edi, eax
push 0xffffffffffffffff
mov ecx, edi
call fcn.00457a40
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x215
jne 0x456c75
cmp byte [edi + 0x3c], 0
jne 0x456c1c
mov ecx, edi
call fcn.004575a0
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x456c49
cmp byte [edi + 0x3c], 0
je 0x456c2f
cmp dword [edi + 0x1c], eax
je 0x456c49
mov ecx, edi
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0xffffffff
call fcn.00456680
push dword [edi - 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [edi + 0x24]
test eax, eax
je case.0x456ca2.14
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x100
jne 0x456989
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
jne 0x456daf
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff3
cmp eax, 0x1b
ja case.0x456ca2.14
movzx eax, byte [eax + 0x456f54]
jmp dword [eax*4 + 0x456f40]
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x456ca2.14
cmp byte [edi], 0
je case.0x456ca2.14
lea eax, [esp + 0xc]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x10], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [ebp + 0x10], 0x25
mov ecx, 0xfffffff6
mov eax, dword [edi + 0x1c]
mov edx, 0xa
cmove edx, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0x34]
add edx, eax
mov eax, dword [edi + 0x38]
add eax, ecx
cmp edx, eax
jl 0x456d0b
mov eax, dword [edi + 0x14]
sub eax, dword [edi + 0x2c]
sub eax, dword [edi + 0xc]
sub eax, ecx
mov ecx, edx
sub eax, dword [edi + 0x38]
cmp edx, eax
cmovg ecx, eax
mov eax, dword [esp + 0xc]
sub ecx, dword [esp + 0x14]
push dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x10], eax
push eax
jmp 0x456d8b
cmp byte [edi], 0
jne case.0x456ca2.14
lea eax, [esp + 0xc]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x10], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [ebp + 0x10], 0x26
mov ecx, 0xfffffff6
mov eax, dword [edi + 0x1c]
mov edx, 0xa
cmove edx, ecx
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0x34]
add edx, eax
mov eax, dword [edi + 0x38]
add eax, ecx
cmp edx, eax
jl 0x456d78
mov eax, dword [edi + 0x18]
sub eax, dword [edi + 0x2c]
sub eax, dword [edi + 0x10]
sub eax, ecx
mov ecx, edx
sub eax, dword [edi + 0x38]
cmp edx, eax
cmovg ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, dword [esp + 0x14]
add eax, ecx
push eax
push dword [esp + 0x10]
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
mov dword [esi], 0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x21
jne 0x456e9a
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edx
push dword [edi - 0x20]
push dword [edi - 4]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov dword [esp + 0x14], eax
cmp eax, 1
je 0x456df8
cmp eax, 2
jne 0x456e78
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [edi - 0x20]
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
xorps xmm0, xmm0
xor esi, esi
movaps xmmword [esp + 0x20], xmm0
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push esi
call fcn.00457260
test al, al
je 0x456e4d
push dword [esp + 0x10]
lea eax, [esp + 0x24]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x456e75
inc esi
cmp esi, 2
jl 0x456e25
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
mov dword [edi + 0x28], esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x1a
jne 0x4569c6
test byte [edi + 0x4c], 0x10
jne 0x456ebd
xor eax, eax
cmp byte [edi], al
sete al
add eax, 0x20
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [edi + 0x2c], eax
push 0xffffffffffffffec
push dword [edi - 0x20]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov cl, byte [edi]
and eax, 0x200
je 0x456eeb
xor eax, eax
test cl, cl
sete al
add eax, 0x2d
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
mov dword [edi + 0x38], eax
xor eax, eax
jmp 0x456f05
xor eax, eax
mov dword [edi + 0x38], 0
test cl, cl
sete al
add eax, 0x2d
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, eax
push 0
mov dword [edi + 0x34], eax
lea eax, [edi + 0x3c]
push eax
push 0
push 0x26
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, edi
call fcn.00456680
mov ecx, dword [esp + 0x3c]
mov eax, 1
pop edi
mov dword [esi], 0
pop esi
xor ecx, esp
call fcn.004d3ce9
mov esp, ebp
pop ebp
ret 0x18