Function at 0x449050
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x4e3050]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov dword [esp + 0x20], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esp + 0x28], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x1c], edi
cmp edx, 1
jne 0x449160
xor ecx, ecx
lea edi, [esi - 0x24]
test esi, esi
mov eax, edi
cmove eax, ecx
mov dword [esp + 0x20], eax
lea ecx, [eax + 0x24]
xor eax, eax
cmp byte [ecx], al
mov dword [esp + 0x18], ecx
sete al
add eax, 0x7f84
push eax
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x30], eax
test byte [ecx + 0x4c], 0x10
jne 0x4490e5
xor eax, eax
cmp byte [ecx], al
sete al
add eax, 0x20
push eax
call dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x20]
xor edx, edx
test ecx, ecx
push 0xffffffffffffffec
cmove eax, edx
push dword [eax + 4]
call dword [esp + 0x38]
and eax, 0x200
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
je 0x449122
xor eax, eax
test cl, cl
sete al
add eax, 0x2d
push eax
call dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
add eax, eax
mov dword [ecx + 0x38], eax
xor ecx, ecx
jmp 0x44913c
mov dword [eax + 0x38], 0
xor eax, eax
test cl, cl
sete al
add eax, 0x2d
push eax
call dword [esp + 0x18]
mov ecx, eax
add ecx, ecx
mov eax, dword [esp + 0x18]
push 0
mov dword [eax + 0x34], ecx
add eax, 0x3c
push eax
push 0
push 0x26
call dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 0xc]
mov dword [eax], 1
jmp 0x449196
cmp edx, 0xf
jne 0x44918b
sub esp, 8
push dword [ebp + 0x10]
push ecx
call fcn.00449e90
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x318
je 0x449165
lea edi, [esi - 0x24]
mov eax, dword [esi + 0x4c]
shr eax, 1
not al
test al, 1
mov eax, dword [ebp + 0x14]
je 0x4496ba
cmp edx, 0x20
jne 0x44922b
test esi, esi
lea edi, [esi - 0x20]
mov eax, 4
cmove edi, eax
mov eax, dword [ebp + 0x10]
cmp eax, dword [edi]
jne 0x44932c
cmp word [ebp + 0x14], 1
jne 0x44932c
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push dword [edi]
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x24]
call fcn.0044a1d0
test al, al
je 0x44932c
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
movzx eax, ax
lea ecx, [esi - 0x20]
movsx edi, ax
cmp edx, 0x200
jne 0x44934b
mov eax, dword [ebp + 0x14]
shr eax, 0x10
test esi, esi
cwde
mov dword [esp + 0x18], eax
mov eax, 4
cmove ecx, eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx]
jne 0x449313
cmp byte [esi], 0
mov eax, dword [esi + 0x40]
je 0x449278
sub edi, dword [esi + 0xc]
jmp 0x44927f
mov edi, dword [esp + 0x18]
sub edi, dword [esi + 0x10]
sub edi, eax
mov eax, 0xfffffffe
cmp edi, 0xffffffff
cmove edi, eax
cmp dword [esi + 0x1c], edi
je case.0x4495ad.14
cmp byte [esi + 0x3c], 0
mov ecx, esi
je 0x4492db
push 1
push edi
call fcn.0044a500
test al, al
je case.0x4495ad.14
mov eax, dword [esp + 0x14]
push dword [eax]
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 + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
call fcn.0044a060
push 0
push edi
mov ecx, esi
call fcn.0044a500
mov ecx, esi
call fcn.0044a060
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
push dword [esp + 0x18]
mov ecx, esi
push edi
call fcn.0044a1d0
test al, al
je 0x44932c
push dword [esi + 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 + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x201
jne 0x449472
mov eax, dword [ebp + 0x14]
shr eax, 0x10
test esi, esi
cwde
mov dword [esp + 0x18], eax
mov eax, 4
cmove ecx, eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx]
je 0x449427
push dword [esp + 0x18]
mov ecx, esi
push edi
call fcn.0044a1d0
test al, al
je 0x449427
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x14]
push dword [eax]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [esp + 0x14]
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 0x4493cd
mov ecx, esi
call fcn.0044a060
cmp byte [esi], 0
mov eax, dword [esi + 0x1c]
je 0x4493fc
sub edi, dword [esi + 0xc]
sub edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x40], edi
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
mov edi, dword [esp + 0x18]
sub edi, dword [esi + 0x10]
sub edi, eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x40], edi
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx]
jne 0x4496fc
push dword [esp + 0x18]
mov ecx, esi
push edi
call fcn.0044a1d0
test al, al
jne 0x4496fc
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x202
jne 0x4494c0
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 0x4496fc
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
lea edi, [esi - 0x24]
cmp edx, 0x203
jne 0x449500
xor eax, eax
test esi, esi
push 1
cmove edi, eax
push 0xffffffffffffffff
lea ecx, [edi + 0x24]
call fcn.0044a500
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x215
jne 0x449579
cmp byte [esi + 0x3c], 0
jne 0x449515
mov ecx, esi
call fcn.0044a060
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
je 0x449549
cmp byte [esi + 0x3c], 0
je 0x449528
cmp dword [esi + 0x1c], eax
je 0x449549
mov ecx, esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
call fcn.00448ee0
xor eax, eax
test esi, esi
cmove edi, eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esi + 0x24]
test eax, eax
je case.0x4495ad.14
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x100
jne 0x4496bf
call dword [sym.imp.USER32.dll_GetCapture]
xor ecx, ecx
test esi, esi
cmove edi, ecx
cmp eax, dword [edi + 4]
jne 0x44932c
mov edi, dword [ebp + 0x10]
lea eax, [edi - 0xd]
cmp eax, 0x1b
ja case.0x4495ad.14
movzx eax, byte [eax + 0x4498c0]
jmp dword [eax*4 + 0x4498ac]
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp case.0x4495ad.14
cmp byte [esi], cl
je case.0x4495ad.14
lea eax, [esp + 0x28]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x2c], 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 + 0x20], eax
cmove edx, ecx
mov ecx, dword [esi + 0x34]
add edx, eax
lea eax, [ecx + edi]
cmp edx, eax
jl 0x449614
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 + 0x28]
sub ecx, dword [esp + 0x20]
push dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x2c], eax
push eax
jmp 0x449692
cmp byte [esi], cl
jne case.0x4495ad.14
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x34], 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 + 0x20], eax
cmove edx, ecx
mov ecx, dword [esi + 0x34]
add edx, eax
lea eax, [ecx + edi]
cmp edx, eax
jl 0x44967f
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 + 0x34]
sub ecx, dword [esp + 0x20]
add eax, ecx
push eax
push dword [esp + 0x34]
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
lea ecx, [esi - 0x20]
jmp 0x4496c2
mov eax, dword [ebp + 0x14]
cmp edx, 7
jne 0x44971b
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 0x4496fc
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
jne 0x4496f2
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4496f2
cmp eax, 1
jne 0x4496fc
push dword [esi + eax*4 + 4]
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 + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x21
jne 0x449805
push eax
push dword [ebp + 0x10]
test esi, esi
lea eax, [esi - 4]
mov edx, 4
cmove ecx, edx
push 0x21
mov dword [esp + 0x20], ecx
push dword [ecx]
mov ecx, 0x20
cmove eax, ecx
push dword [eax]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov dword [esp + 0x20], eax
cmp eax, 1
je 0x44975f
cmp eax, 2
jne 0x4497e3
call dword [sym.imp.USER32.dll_GetMessagePos]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
push dword [eax]
call dword [sym.imp.USER32.dll_ScreenToClient]
xorps xmm0, xmm0
xor edi, edi
movaps xmmword [esp + 0x30], xmm0
nop
lea eax, [esp + 0x30]
mov ecx, esi
push eax
push edi
call fcn.00449d20
test al, al
je 0x4497b8
push dword [esp + 0x2c]
lea eax, [esp + 0x34]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4497e0
inc edi
cmp edi, 2
jl 0x449790
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
mov dword [esi + 0x28], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18
cmp edx, 0x1a
jne 0x449336
xor eax, eax
test esi, esi
cmove edi, eax
test byte [edi + 0x70], 0x10
jne 0x44982c
cmp byte [edi + 0x24], al
sete al
add eax, 0x20
push eax
call dword [esp + 0x18]
mov dword [edi + 0x50], eax
push 0xffffffffffffffec
push dword [edi + 4]
call dword [esp + 0x38]
mov cl, byte [edi + 0x24]
and eax, 0x200
je 0x449857
xor eax, eax
test cl, cl
sete al
add eax, 0x2d
push eax
call dword [esp + 0x18]
add eax, eax
mov dword [edi + 0x5c], eax
xor eax, eax
jmp 0x44986f
xor eax, eax
mov dword [edi + 0x5c], 0
test cl, cl
sete al
add eax, 0x2d
push eax
call dword [esp + 0x18]
add eax, eax
push 0
mov dword [edi + 0x58], eax
lea eax, [edi + 0x60]
push eax
push 0
push 0x26
call dword [esp + 0x38]
lea ecx, [edi + 0x24]
call fcn.00448ee0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov dword [eax], 0
xor ecx, esp
mov eax, 1
call fcn.0047d4df
mov esp, ebp
pop ebp
ret 0x18