Function at 0x445870
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
mov eax, dword [0x4db064]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0xc], eax
cmp edi, 1
jne 0x44596a
neg ecx
lea eax, [esi - 0x24]
sbb ecx, ecx
and ecx, eax
xor eax, eax
mov dword [esp + 0x10], ecx
cmp byte [ecx + 0x24], al
sete al
add eax, 0x7f84
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edx, dword [esp + 0x10]
lea ecx, [edx + 0x24]
mov dword [esp + 0x20], ecx
mov dword [edx + 0x54], eax
test byte [ecx + 0x4c], 0x10
jne 0x4458ee
xor eax, eax
cmp byte [ecx], al
sete al
add eax, 0x20
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x2c], eax
xor eax, eax
test ecx, ecx
push 0xffffffffffffffec
cmove edx, eax
push dword [edx + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x200
mov eax, dword [esp + 0x20]
mov cl, byte [eax]
je 0x44592b
xor eax, eax
test cl, cl
sete al
add eax, 0x2d
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esp + 0x20]
add eax, eax
mov dword [ecx + 0x38], eax
xor ecx, ecx
jmp 0x445947
mov dword [eax + 0x38], 0
xor eax, eax
test cl, cl
sete al
add eax, 0x2d
push eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
add ecx, ecx
mov eax, dword [esp + 0x20]
push 0
mov dword [eax + 0x34], ecx
add eax, 0x3c
push eax
push 0
push 0x26
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0xc]
mov dword [ecx], 1
jmp 0x4459a1
cmp edi, 0xf
jne 0x445999
sub esp, 8
push dword [ebp + 0x10]
push ecx
call fcn.004467d0
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x318
je 0x44596f
mov eax, dword [esi + 0x4c]
shr eax, 1
not al
test al, 1
je 0x445ed7
cmp edi, 0x20
jne 0x445a33
test esi, esi
lea edi, [esi - 0x20]
mov eax, 4
cmove edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi]
jne 0x445b29
cmp word [ebp + 0x14], 1
jne 0x445b29
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]
mov dword [esp + 0x18], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x14]
call fcn.00446b20
test al, al
je 0x445b29
mov eax, dword [esp + 0xc]
mov dword [eax], 1
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x200
jne 0x445b48
mov eax, dword [ebp + 0x14]
mov ecx, 4
movsx edi, ax
shr eax, 0x10
test esi, esi
cwde
mov dword [esp + 0x20], eax
lea eax, [esi - 0x20]
cmove eax, ecx
mov dword [esp + 0x10], eax
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx]
jne 0x445b10
cmp byte [esi], 0
mov eax, dword [esi + 0x40]
je 0x445a7d
sub edi, dword [esi + 0xc]
jmp 0x445a84
mov edi, dword [esp + 0x20]
sub edi, dword [esi + 0x10]
sub edi, eax
mov eax, 0xfffffffe
cmp edi, 0xffffffff
cmove edi, eax
cmp dword [esi + 0x1c], edi
je case.0x445dc1.14
cmp byte [esi + 0x3c], 0
mov ecx, esi
je 0x445ad8
push 1
push edi
call fcn.00446e50
test al, al
je case.0x445dc1.14
mov eax, dword [esp + 0x10]
push dword [eax]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0xc]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
call fcn.004469b0
push 0
push edi
mov ecx, esi
call fcn.00446e50
mov ecx, esi
call fcn.004469b0
mov eax, dword [esp + 0xc]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
push dword [esp + 0x20]
mov ecx, esi
push edi
call fcn.00446b20
test al, al
je 0x445b29
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0xc]
mov dword [eax], 0
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x201
jne 0x445c75
mov eax, dword [ebp + 0x14]
mov ecx, 4
movsx edi, ax
shr eax, 0x10
test esi, esi
cwde
mov dword [esp + 0x10], eax
lea eax, [esi - 0x20]
cmove eax, ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx]
je 0x445c2a
push dword [esp + 0x10]
mov ecx, esi
push edi
call fcn.00446b20
test al, al
je 0x445c2a
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x20]
push dword [eax]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esp + 0x20]
push dword [eax]
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 0x445bd0
mov ecx, esi
call fcn.004469b0
cmp byte [esi], 0
mov eax, dword [esi + 0x1c]
je 0x445bff
sub edi, dword [esi + 0xc]
sub edi, eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x40], edi
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
mov edi, dword [esp + 0x10]
sub edi, dword [esi + 0x10]
sub edi, eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x40], edi
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx]
jne 0x445f11
push dword [esp + 0x10]
mov ecx, esi
push edi
call fcn.00446b20
test al, al
jne 0x445f11
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0xc]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x202
jne 0x445cc3
call dword [sym.imp.USER32.dll_GetCapture]
test esi, esi
lea ecx, [esi - 0x20]
mov edx, 4
cmove ecx, edx
cmp eax, dword [ecx]
jne 0x445f11
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0xc]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x203
jne 0x445d02
test esi, esi
mov eax, 0x24
push 1
cmove esi, eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.00446e50
mov eax, dword [esp + 0xc]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x215
jne 0x445d84
cmp byte [esi + 0x3c], 0
jne 0x445d17
mov ecx, esi
call fcn.004469b0
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
je 0x445d50
cmp byte [esi + 0x3c], 0
je 0x445d2a
cmp dword [esi + 0x1c], eax
je 0x445d50
mov ecx, esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
call fcn.00445700
test esi, esi
lea eax, [esi - 0x20]
mov ecx, 4
cmove eax, ecx
push dword [eax]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x24]
test eax, eax
je case.0x445dc1.14
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0xc]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x100
jne 0x445ed7
call dword [sym.imp.USER32.dll_GetCapture]
test esi, esi
lea ecx, [esi - 0x20]
mov edx, 4
cmove ecx, edx
cmp eax, dword [ecx]
jne 0x445b29
mov edi, dword [ebp + 0x10]
lea eax, [edi - 0xd]
cmp eax, 0x1b
ja case.0x445dc1.14
movzx eax, byte [eax + 0x446068]
jmp dword [eax*4 + 0x446054]
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x445dc1.14
cmp byte [esi], 0
je case.0x445dc1.14
lea eax, [esp + 0x20]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x24], 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 [esp + 0x10], eax
cmove edx, ecx
mov ecx, dword [esi + 0x34]
add edx, eax
lea eax, [ecx + edi]
cmp edx, eax
jl 0x445e30
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 [esp + 0x20]
sub ecx, dword [esp + 0x10]
push dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x24], eax
push eax
jmp 0x445eaf
cmp byte [esi], 0
jne case.0x445dc1.14
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 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 [esp + 0x10], eax
cmove edx, ecx
mov ecx, dword [esi + 0x34]
add edx, eax
lea eax, [ecx + edi]
cmp edx, eax
jl 0x445e9c
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 [esp + 0x1c]
sub ecx, dword [esp + 0x10]
add eax, ecx
push eax
push dword [esp + 0x1c]
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [esp + 0xc]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 7
jne 0x445f30
call dword [sym.imp.USER32.dll_GetCapture]
test esi, esi
lea ecx, [esi - 0x20]
mov edx, 4
cmove ecx, edx
cmp eax, dword [ecx]
je 0x445f11
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
jne 0x445f07
mov eax, dword [esi + 0x28]
test eax, eax
je 0x445f07
cmp eax, 1
jne 0x445f11
push dword [esi + eax*4 + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0xc]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x21
jne 0x446016
push dword [ebp + 0x14]
test esi, esi
lea edi, [esi - 0x20]
push dword [ebp + 0x10]
mov eax, 4
mov ecx, 0x20
cmove edi, eax
lea eax, [esi - 4]
push 0x21
cmove eax, ecx
push dword [edi]
push dword [eax]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov dword [esp + 0x10], eax
cmp eax, 1
je 0x445f75
cmp eax, 2
jne 0x445ff4
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push dword [edi]
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
xorps xmm0, xmm0
xor edi, edi
movaps xmmword [esp + 0x20], xmm0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
push edi
call fcn.00446690
test al, al
je 0x445fc9
push dword [esp + 0x1c]
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x445ff1
inc edi
cmp edi, 2
jl 0x445fa1
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
mov dword [esi + 0x28], edi
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x1a
jne 0x445b33
mov eax, 0x24
test esi, esi
push 1
cmove esi, eax
mov ecx, esi
call fcn.00446920
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword [eax], 0
lea eax, [edi - 0x19]
pop edi
pop esi
xor ecx, esp
call fcn.00477280
mov esp, ebp
pop ebp
ret 0x18