Function at 0x452270
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 0x452354
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 0x4522e9
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 0x452318
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 0x452332
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 0x452387
cmp edx, 0xf
jne 0x45237f
sub esp, 8
push dword [ebp + 0x10]
push ecx
call fcn.00452fe0
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a0c30
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x318
je 0x452359
mov eax, dword [edi + 0x4c]
shr eax, 1
not al
test al, 1
je 0x452409
cmp edx, 0x20
jne 0x45245b
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi - 0x20]
jne 0x452403
mov eax, dword [ebp + 0x14]
cmp ax, 1
jne 0x452403
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.00453320
test al, al
je 0x452400
mov dword [esi], 1
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a0c30
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 0xc]
mov dword [esi], 0
cmp edx, 7
jne 0x45284a
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
je 0x45243c
mov eax, dword [edi + 0x50]
cmp eax, 0xffffffff
jne 0x452431
mov eax, dword [edi + 0x28]
test eax, eax
je 0x452431
cmp eax, 1
jne 0x45243c
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.004a0c30
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x14]
movzx eax, ax
mov ecx, eax
cmp edx, 0x200
jne 0x452561
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 0x452529
cmp byte [edi], 0
mov eax, dword [edi + 0x40]
je 0x452499
sub esi, dword [edi + 0xc]
jmp 0x4524a0
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 0x452507
cmp byte [edi + 0x3c], 0
mov ecx, edi
je 0x4524f1
push 1
push esi
call fcn.00453650
test al, al
je 0x452507
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.004a0c30
mov esp, ebp
pop ebp
ret 0x18
call fcn.004531b0
push 0
push esi
mov ecx, edi
call fcn.00453650
mov ecx, edi
call fcn.004531b0
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.004a0c30
mov esp, ebp
pop ebp
ret 0x18
push dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.00453320
test al, al
je 0x452542
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.004a0c30
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x201
jne 0x452624
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 0x4525f6
push dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.00453320
test al, al
je 0x4525f6
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 0x4525d0
mov ecx, edi
call fcn.004531b0
cmp byte [edi], 0
mov eax, dword [edi + 0x1c]
je 0x4525e5
sub esi, dword [edi + 0xc]
sub esi, eax
mov dword [edi + 0x40], esi
jmp 0x45243c
mov esi, dword [esp + 0x10]
sub esi, dword [edi + 0x10]
sub esi, eax
mov dword [edi + 0x40], esi
jmp 0x45243c
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
jne 0x45243c
push dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.00453320
test al, al
jne 0x45243c
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x45243c
cmp edx, 0x202
jne 0x45264c
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
jne 0x45243c
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x45243c
cmp edx, 0x203
jne 0x452687
test edi, edi
mov eax, 0x24
push 1
cmove edi, eax
push 0xffffffffffffffff
mov ecx, edi
call fcn.00453650
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a0c30
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x215
jne 0x4526f5
cmp byte [edi + 0x3c], 0
jne 0x45269c
mov ecx, edi
call fcn.004531b0
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x4526c9
cmp byte [edi + 0x3c], 0
je 0x4526af
cmp dword [edi + 0x1c], eax
je 0x4526c9
mov ecx, edi
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0xffffffff
call fcn.00452100
push dword [edi - 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [edi + 0x24]
test eax, eax
je case.0x452722.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.004a0c30
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x100
jne 0x452409
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
jne 0x45282f
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff3
cmp eax, 0x1b
ja case.0x452722.14
movzx eax, byte [eax + 0x4529d4]
jmp dword [eax*4 + 0x4529c0]
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x452722.14
cmp byte [edi], 0
je case.0x452722.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 0x45278b
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 0x45280b
cmp byte [edi], 0
jne case.0x452722.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 0x4527f8
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.004a0c30
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.004a0c30
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x21
jne 0x45291a
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 0x452878
cmp eax, 2
jne 0x4528f8
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.00452e70
test al, al
je 0x4528cd
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 0x4528f5
inc esi
cmp esi, 2
jl 0x4528a5
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.004a0c30
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.004a0c30
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x1a
jne 0x452446
test byte [edi + 0x4c], 0x10
jne 0x45293d
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 0x45296b
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 0x452985
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.00452100
mov ecx, dword [esp + 0x3c]
mov eax, 1
pop edi
mov dword [esi], 0
pop esi
xor ecx, esp
call fcn.004a0c30
mov esp, ebp
pop ebp
ret 0x18