Function at 0x4526e0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x514080]
xor eax, esp
mov dword [esp + 0x34], eax
mov edx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x14], esi
push edi
mov edi, ecx
cmp edx, 1
jne 0x4527c4
mov esi, edi
lea eax, [edi - 0x24]
neg esi
sbb esi, esi
and esi, eax
xor eax, eax
mov dword [esp + 8], 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 + 8]
cmove esi, eax
test byte [esi + 0x70], 0x10
jne 0x452759
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 0x452788
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 0x4527a2
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 + 0x18]
mov edx, dword [ebp + 0xc]
mov dword [esi], 1
jmp 0x4527f7
cmp edx, 0xf
jne 0x4527ef
sub esp, 8
push dword [ebp + 0x10]
push ecx
call fcn.00453440
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a1550
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x318
je 0x4527c9
mov eax, dword [edi + 0x4c]
shr eax, 1
not al
test al, 1
je 0x452879
cmp edx, 0x20
jne 0x4528cb
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi - 0x20]
jne 0x452873
mov eax, dword [ebp + 0x14]
cmp ax, 1
jne 0x452873
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push dword [edi - 0x20]
mov dword [esp + 0x10], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [esp + 0xc]
mov ecx, edi
push dword [esp + 0xc]
call fcn.00453780
test al, al
je 0x452870
mov dword [esi], 1
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a1550
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 0xc]
mov dword [esi], 0
cmp edx, 7
jne 0x452cba
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
je 0x4528ac
mov eax, dword [edi + 0x50]
cmp eax, 0xffffffff
jne 0x4528a1
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4528a1
cmp eax, 1
jne 0x4528ac
mov eax, dword [edi + eax*4 + 4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x18]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a1550
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x14]
movzx eax, ax
mov ecx, eax
cmp edx, 0x200
jne 0x4529d1
movsx esi, ax
mov eax, dword [ebp + 0x14]
shr eax, 0x10
cwde
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
jne 0x452999
cmp byte [edi], 0
mov eax, dword [edi + 0x40]
je 0x452909
sub esi, dword [edi + 0xc]
jmp 0x452910
mov esi, dword [esp + 0x10]
sub esi, dword [edi + 0x10]
sub esi, eax
mov eax, 0xfffffffe
cmp esi, 0xffffffff
cmove esi, eax
cmp dword [edi + 0x1c], esi
je 0x452977
cmp byte [edi + 0x3c], 0
mov ecx, edi
je 0x452961
push 1
push esi
call fcn.00453ab0
test al, al
je 0x452977
push dword [edi - 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x18]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a1550
mov esp, ebp
pop ebp
ret 0x18
call fcn.00453610
push 0
push esi
mov ecx, edi
call fcn.00453ab0
mov ecx, edi
call fcn.00453610
mov eax, dword [esp + 0x18]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a1550
mov esp, ebp
pop ebp
ret 0x18
push dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.00453780
test al, al
je 0x4529b2
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0x18]
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a1550
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x201
jne 0x452a94
mov eax, dword [ebp + 0x14]
shr eax, 0x10
cwde
mov dword [esp + 0x10], eax
mov eax, dword [edi - 0x20]
movsx esi, cx
mov dword [esp + 8], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esp + 8]
je 0x452a66
push dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.00453780
test al, al
je 0x452a66
mov eax, dword [edi + 0x1c]
push dword [esp + 8]
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 0x452a40
mov ecx, edi
call fcn.00453610
cmp byte [edi], 0
mov eax, dword [edi + 0x1c]
je 0x452a55
sub esi, dword [edi + 0xc]
sub esi, eax
mov dword [edi + 0x40], esi
jmp 0x4528ac
mov esi, dword [esp + 0x10]
sub esi, dword [edi + 0x10]
sub esi, eax
mov dword [edi + 0x40], esi
jmp 0x4528ac
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
jne 0x4528ac
push dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.00453780
test al, al
jne 0x4528ac
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x4528ac
cmp edx, 0x202
jne 0x452abc
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
jne 0x4528ac
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x4528ac
cmp edx, 0x203
jne 0x452af7
test edi, edi
mov eax, 0x24
push 1
cmove edi, eax
push 0xffffffffffffffff
mov ecx, edi
call fcn.00453ab0
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a1550
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x215
jne 0x452b65
cmp byte [edi + 0x3c], 0
jne 0x452b0c
mov ecx, edi
call fcn.00453610
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x452b39
cmp byte [edi + 0x3c], 0
je 0x452b1f
cmp dword [edi + 0x1c], eax
je 0x452b39
mov ecx, edi
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0xffffffff
call fcn.00452570
push dword [edi - 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [edi + 0x24]
test eax, eax
je case.0x452b92.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.004a1550
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x100
jne 0x452879
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
jne 0x452c9f
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff3
cmp eax, 0x1b
ja case.0x452b92.14
movzx eax, byte [eax + 0x452e44]
jmp dword [eax*4 + 0x452e30]
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x452b92.14
cmp byte [edi], 0
je case.0x452b92.14
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x14], 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 + 8], eax
mov ecx, dword [edi + 0x34]
add edx, eax
mov eax, dword [edi + 0x38]
add eax, ecx
cmp edx, eax
jl 0x452bfb
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 + 0x10]
sub ecx, dword [esp + 8]
push dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x14], eax
push eax
jmp 0x452c7b
cmp byte [edi], 0
jne case.0x452b92.14
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x1c], 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 + 8], eax
mov ecx, dword [edi + 0x34]
add edx, eax
mov eax, dword [edi + 0x38]
add eax, ecx
cmp edx, eax
jl 0x452c68
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 + 0x1c]
sub ecx, dword [esp + 8]
add eax, ecx
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x24], 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.004a1550
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.004a1550
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x21
jne 0x452d8a
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 + 8], eax
cmp eax, 1
je 0x452ce8
cmp eax, 2
jne 0x452d68
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push dword [edi - 0x20]
mov dword [esp + 0x18], 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.004532d0
test al, al
je 0x452d3d
push dword [esp + 0x14]
lea eax, [esp + 0x24]
push dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x452d65
inc esi
cmp esi, 2
jl 0x452d15
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a1550
mov esp, ebp
pop ebp
ret 0x18
mov dword [edi + 0x28], esi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov dword [eax], ecx
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a1550
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x1a
jne 0x4528b6
test byte [edi + 0x4c], 0x10
jne 0x452dad
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 0x452ddb
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 0x452df5
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.00452570
mov ecx, dword [esp + 0x3c]
mov eax, 1
pop edi
mov dword [esi], 0
pop esi
xor ecx, esp
call fcn.004a1550
mov esp, ebp
pop ebp
ret 0x18