Function at 0x452d40
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x515080]
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 0x452e24
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 0x452db9
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 0x452de8
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 0x452e02
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 0x452e57
cmp edx, 0xf
jne 0x452e4f
sub esp, 8
push dword [ebp + 0x10]
push ecx
call fcn.00453a90
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a1cf0
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x318
je 0x452e29
mov eax, dword [edi + 0x4c]
shr eax, 1
not al
test al, 1
je 0x452ed9
cmp edx, 0x20
jne 0x452f2b
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi - 0x20]
jne 0x452ed3
mov eax, dword [ebp + 0x14]
cmp ax, 1
jne 0x452ed3
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.00453dd0
test al, al
je 0x452ed0
mov dword [esi], 1
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a1cf0
mov esp, ebp
pop ebp
ret 0x18
mov edx, dword [ebp + 0xc]
mov dword [esi], 0
cmp edx, 7
jne 0x45331a
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
je 0x452f0c
mov eax, dword [edi + 0x50]
cmp eax, 0xffffffff
jne 0x452f01
mov eax, dword [edi + 0x28]
test eax, eax
je 0x452f01
cmp eax, 1
jne 0x452f0c
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.004a1cf0
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x14]
movzx eax, ax
mov ecx, eax
cmp edx, 0x200
jne 0x453031
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 0x452ff9
cmp byte [edi], 0
mov eax, dword [edi + 0x40]
je 0x452f69
sub esi, dword [edi + 0xc]
jmp 0x452f70
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 0x452fd7
cmp byte [edi + 0x3c], 0
mov ecx, edi
je 0x452fc1
push 1
push esi
call fcn.00454100
test al, al
je 0x452fd7
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.004a1cf0
mov esp, ebp
pop ebp
ret 0x18
call fcn.00453c60
push 0
push esi
mov ecx, edi
call fcn.00454100
mov ecx, edi
call fcn.00453c60
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.004a1cf0
mov esp, ebp
pop ebp
ret 0x18
push dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.00453dd0
test al, al
je 0x453012
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.004a1cf0
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x201
jne 0x4530f4
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 0x4530c6
push dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.00453dd0
test al, al
je 0x4530c6
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 0x4530a0
mov ecx, edi
call fcn.00453c60
cmp byte [edi], 0
mov eax, dword [edi + 0x1c]
je 0x4530b5
sub esi, dword [edi + 0xc]
sub esi, eax
mov dword [edi + 0x40], esi
jmp 0x452f0c
mov esi, dword [esp + 0x10]
sub esi, dword [edi + 0x10]
sub esi, eax
mov dword [edi + 0x40], esi
jmp 0x452f0c
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
jne 0x452f0c
push dword [esp + 0x10]
mov ecx, edi
push esi
call fcn.00453dd0
test al, al
jne 0x452f0c
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x452f0c
cmp edx, 0x202
jne 0x45311c
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
jne 0x452f0c
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x452f0c
cmp edx, 0x203
jne 0x453157
test edi, edi
mov eax, 0x24
push 1
cmove edi, eax
push 0xffffffffffffffff
mov ecx, edi
call fcn.00454100
mov dword [esi], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.004a1cf0
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x215
jne 0x4531c5
cmp byte [edi + 0x3c], 0
jne 0x45316c
mov ecx, edi
call fcn.00453c60
mov eax, dword [edi + 0x20]
cmp eax, 0xffffffff
je 0x453199
cmp byte [edi + 0x3c], 0
je 0x45317f
cmp dword [edi + 0x1c], eax
je 0x453199
mov ecx, edi
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0xffffffff
call fcn.00452bc0
push dword [edi - 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [edi + 0x24]
test eax, eax
je case.0x4531f2.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.004a1cf0
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x100
jne 0x452ed9
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi - 0x20]
jne 0x4532ff
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff3
cmp eax, 0x1b
ja case.0x4531f2.14
movzx eax, byte [eax + 0x4534a4]
jmp dword [eax*4 + 0x453490]
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x4531f2.14
cmp byte [edi], 0
je case.0x4531f2.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 0x45325b
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 0x4532db
cmp byte [edi], 0
jne case.0x4531f2.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 0x4532c8
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.004a1cf0
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.004a1cf0
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x21
jne 0x4533ea
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 0x453348
cmp eax, 2
jne 0x4533c8
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.00453920
test al, al
je 0x45339d
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 0x4533c5
inc esi
cmp esi, 2
jl 0x453375
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.004a1cf0
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.004a1cf0
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x1a
jne 0x452f16
test byte [edi + 0x4c], 0x10
jne 0x45340d
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 0x45343b
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 0x453455
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.00452bc0
mov ecx, dword [esp + 0x3c]
mov eax, 1
pop edi
mov dword [esi], 0
pop esi
xor ecx, esp
call fcn.004a1cf0
mov esp, ebp
pop ebp
ret 0x18