Function at 0x408b8d
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov eax, 0x446ddf
call fcn.00429ea8
sub esp, 0x38
push edi
mov edi, dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 0xd], 0
call edi
test eax, eax
je 0x4092db
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 0xcc]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp byte [ebx + 0xe0], 0
je 0x408cb6
push 0
lea eax, [ebp - 0x44]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea eax, [ebp - 0x1c]
push eax
call edi
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 0xcc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebx + 0xe8]
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
push eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebx + 0xe4]
push eax
lea eax, [ebp - 0x34]
push eax
call edi
mov eax, dword [ebx + 0x94]
mov ecx, dword [ebp - 0x40]
lea edx, [eax + ecx]
cmp dword [ebp - 0x30], edx
jg 0x408c39
mov edx, ecx
sub edx, eax
cmp dword [ebp - 0x30], edx
jl 0x408c39
sub ecx, dword [ebp - 0x30]
jmp 0x408c50
mov ecx, dword [ebp - 0x38]
lea edx, [eax + ecx]
cmp dword [ebp - 0x28], edx
jg 0x408c59
mov edx, ecx
sub edx, eax
cmp dword [ebp - 0x28], edx
jl 0x408c59
sub ecx, dword [ebp - 0x28]
push ecx
lea eax, [ebp - 0x34]
push 0
push eax
call edi
mov ecx, dword [ebx + 0x94]
mov eax, dword [ebp - 0x44]
lea edx, [ecx + eax]
cmp dword [ebp - 0x34], edx
jg 0x408c78
mov edx, eax
sub edx, ecx
cmp dword [ebp - 0x34], edx
jl 0x408c78
sub eax, dword [ebp - 0x34]
jmp 0x408c8f
mov eax, dword [ebp - 0x3c]
lea edx, [ecx + eax]
cmp dword [ebp - 0x2c], edx
jg 0x408c98
mov edx, eax
sub edx, ecx
cmp dword [ebp - 0x2c], edx
jl 0x408c98
sub eax, dword [ebp - 0x2c]
push 0
push eax
lea eax, [ebp - 0x34]
push eax
call edi
push 5
xor eax, eax
push eax
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push eax
push dword [ebx + 0xcc]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4092da
push esi
xor esi, esi
cmp dword [ebx + 0xfc], esi
je 0x408fd8
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
call esi
push 1
mov dword [ebp + 0xc], eax
call esi
mov dword [ebp + 8], eax
lea eax, [ebp - 0x1c]
push eax
call edi
lea eax, [ebp - 0x44]
push eax
push dword [ebx + 0xcc]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0xfc]
lea esi, [ebp - 0x44]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
dec eax
cmp eax, 7
movsd dword es:[edi], dword [esi]
ja case.default.0x408d08
jmp dword [eax*4 + 0x4092ea]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebx + 0xe4]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebx + 0xe8]
mov esi, edx
sub esi, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x7c]
cmp esi, eax
mov dword [ebp - 0x30], ecx
jl 0x408d4b
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x408d44
cmp dword [ebp + 0xc], eax
jge 0x408d47
mov eax, dword [ebp + 0xc]
cmp esi, eax
jle 0x408db3
sub edx, eax
mov dword [ebp - 0x34], edx
jmp 0x408db3
mov ecx, dword [ebx + 0x88]
test ecx, ecx
je 0x408d61
cmp dword [ebp + 8], ecx
jge 0x408d64
mov ecx, dword [ebp + 8]
cmp edx, ecx
jle case.default.0x408d08
jmp 0x408dc4
mov eax, dword [ebx + 0xf4]
sub eax, dword [ebx + 0xe4]
mov ecx, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
sub ecx, dword [ebx + 0xe8]
mov edx, dword [ebx + 0x7c]
mov dword [ebp - 0x2c], eax
sub eax, esi
cmp eax, edx
mov dword [ebp - 0x30], ecx
jl 0x408dae
mov edx, dword [ebx + 0x84]
test edx, edx
je 0x408da7
cmp dword [ebp + 0xc], edx
jge 0x408daa
mov edx, dword [ebp + 0xc]
cmp eax, edx
jle 0x408db3
add edx, esi
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x28]
mov edx, eax
sub edx, ecx
mov ecx, dword [ebx + 0x80]
cmp edx, ecx
jge 0x408d52
sub eax, ecx
mov dword [ebp - 0x30], eax
jmp case.default.0x408d08
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebx + 0xe4]
mov eax, dword [ebx + 0xf8]
mov edx, dword [ebp - 0x2c]
sub eax, dword [ebx + 0xe8]
mov esi, edx
add eax, dword [ebp - 0x18]
sub esi, ecx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebx + 0x7c]
cmp esi, ecx
mov dword [ebp - 0x28], eax
jl 0x408e14
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x408e09
cmp dword [ebp + 0xc], ecx
jge 0x408e0c
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
jle 0x408f6c
sub edx, ecx
mov dword [ebp - 0x34], edx
jmp 0x408f6c
mov eax, dword [ebx + 0xf4]
sub eax, dword [ebx + 0xe4]
mov ecx, dword [ebx + 0xf8]
add eax, dword [ebp - 0x1c]
sub ecx, dword [ebx + 0xe8]
mov esi, dword [ebp - 0x34]
add ecx, dword [ebp - 0x18]
mov edx, dword [ebx + 0x7c]
mov dword [ebp - 0x2c], eax
sub eax, esi
cmp eax, edx
mov dword [ebp - 0x28], ecx
jl 0x408e64
mov edx, dword [ebx + 0x84]
test edx, edx
je 0x408e5d
cmp dword [ebp + 0xc], edx
jge 0x408e60
mov edx, dword [ebp + 0xc]
cmp eax, edx
jle 0x408e69
add edx, esi
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebx + 0x80]
sub ecx, edx
cmp ecx, eax
jge 0x408e82
add eax, edx
mov dword [ebp - 0x28], eax
jmp case.default.0x408d08
mov eax, dword [ebx + 0x88]
test eax, eax
je 0x408e91
cmp dword [ebp + 8], eax
jge 0x408e94
mov eax, dword [ebp + 8]
cmp ecx, eax
jle case.default.0x408d08
jmp 0x408e78
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebx + 0xe4]
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
sub edx, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x7c]
cmp edx, eax
jge 0x408ec2
sub ecx, eax
mov dword [ebp - 0x34], ecx
jmp case.default.0x408d08
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x408ed1
cmp dword [ebp + 0xc], eax
jge 0x408ed4
mov eax, dword [ebp + 0xc]
cmp edx, eax
jle case.default.0x408d08
jmp 0x408eb8
mov eax, dword [ebx + 0xf4]
sub eax, dword [ebx + 0xe4]
mov edx, dword [ebp - 0x34]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x7c]
mov dword [ebp - 0x2c], eax
sub eax, edx
cmp eax, ecx
jge 0x408f06
add ecx, edx
mov dword [ebp - 0x2c], ecx
jmp case.default.0x408d08
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x408f15
cmp dword [ebp + 0xc], ecx
jge 0x408f18
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
jle case.default.0x408d08
jmp 0x408efc
mov eax, dword [ebp - 0x18]
sub eax, dword [ebx + 0xe8]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
sub edx, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0x80]
cmp edx, eax
jge 0x408f42
sub ecx, eax
mov dword [ebp - 0x30], ecx
jmp case.default.0x408d08
mov eax, dword [ebx + 0x88]
test eax, eax
je 0x408f51
cmp dword [ebp + 8], eax
jge 0x408f54
mov eax, dword [ebp + 8]
cmp edx, eax
jle case.default.0x408d08
jmp 0x408f3b
mov eax, dword [ebx + 0xf8]
sub eax, dword [ebx + 0xe8]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebx + 0x80]
sub eax, edx
cmp eax, ecx
jl 0x408f91
mov ecx, dword [ebx + 0x88]
test ecx, ecx
je 0x408f8a
cmp dword [ebp + 8], ecx
jge 0x408f8d
mov ecx, dword [ebp + 8]
cmp eax, ecx
jle case.default.0x408d08
add ecx, edx
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x4092d9
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push 0x104
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0
push dword [ebx + 0xcc]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4092d9
push dword [ebp - 0x20]
lea edi, [ebp - 0x14]
push dword [ebp - 0x24]
mov eax, ebx
call fcn.0040990b
test al, al
je 0x408ff5
cmp byte [ebx + 0x120], 0
je 0x408ff8
mov dword [ebp - 0x14], esi
mov eax, dword [ebx + 0xc8]
cmp eax, esi
je 0x40922d
mov ecx, dword [eax + 0xdc]
cmp ecx, 2
je 0x40901a
cmp ecx, 4
jne 0x40919f
cmp dword [eax + 0xcc], esi
jne 0x40903e
cmp dword [eax + 0xd0], esi
jne 0x40903e
cmp dword [eax + 0xd4], esi
jne 0x40903e
cmp dword [eax + 0xd8], esi
je 0x40919f
mov ecx, dword [ebx + 0xec]
mov edx, dword [ebx + 0xf0]
sub edx, dword [ebx + 0xe8]
sub ecx, dword [ebx + 0xe4]
add edx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov edx, dword [eax + 0xc4]
lea esi, [eax + 0xbc]
sub edx, dword [esi]
mov dword [ebp - 0x18], esi
add edx, ecx
mov dword [ebp - 0x2c], edx
mov esi, dword [eax + 0xc8]
sub esi, dword [eax + 0xc0]
add esi, dword [ebp - 0x30]
mov dword [ebp - 0x28], esi
mov edi, dword [eax + 0xcc]
cmp edi, ecx
jle 0x4090a9
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], edi
mov ecx, dword [eax + 0xc4]
sub ecx, dword [edx]
add ecx, edi
mov dword [ebp - 0x2c], ecx
jmp 0x4090c6
mov ecx, dword [eax + 0xd4]
cmp ecx, edx
jge 0x4090c6
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], ecx
mov edx, dword [edx]
sub edx, dword [eax + 0xc4]
add edx, ecx
mov dword [ebp - 0x34], edx
mov ecx, dword [eax + 0xd0]
cmp ecx, dword [ebp - 0x30]
jle 0x4090e7
mov dword [ebp - 0x30], ecx
mov edx, dword [eax + 0xc8]
sub edx, dword [eax + 0xc0]
add edx, ecx
mov dword [ebp - 0x28], edx
jmp 0x409105
mov ecx, dword [eax + 0xd8]
cmp ecx, esi
jge 0x409105
mov dword [ebp - 0x28], ecx
mov edx, dword [eax + 0xc0]
sub edx, dword [eax + 0xc8]
add edx, ecx
mov dword [ebp - 0x30], edx
cmp byte [ebp + 0xc], 0
mov byte [ebp - 0xd], 1
je 0x409130
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push dword [ebp - 0x18]
push dword [ebx + 0xcc]
call esi
push 0
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 0xcc]
call esi
mov eax, dword [ebx + 0xc8]
mov esi, 0xbc
add eax, esi
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x4091a4
mov edi, dword [ebx + 0xc8]
add edi, esi
lea esi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push dword [ebx + 0xc8]
mov esi, dword [ebp + 8]
lea ebx, [ebp - 0x18]
mov ecx, esi
call fcn.00409b9c
and dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
push ecx
push 0x10
push dword [eax]
mov eax, dword [esi + 0xc8]
call fcn.00408b43
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040150d
cmp dword [esi + 0xc8], 0
mov ebx, esi
je 0x40922b
mov esi, 0xbc
mov eax, dword [ebx + 0xc8]
cmp dword [ebp - 0x14], eax
je 0x4091fa
mov ecx, dword [eax + 0xdc]
cmp ecx, 1
jne 0x4091e9
xor edi, edi
cmp byte [ebp + 0xc], 0
mov dword [eax + 0xdc], edi
mov byte [ebp - 0xd], cl
je 0x4091e1
mov eax, dword [ebx + 0xc8]
push edi
add eax, esi
push eax
push dword [ebx + 0xcc]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [ebx + 0xc8], edi
jmp 0x40922b
cmp ecx, 2
jne 0x40922b
mov dword [eax + 0xdc], 4
jmp 0x40920a
add eax, 0xdc
cmp dword [eax], 4
jne 0x40922b
mov dword [eax], 2
cmp byte [ebp + 0xc], 0
mov byte [ebp - 0xd], 1
je 0x40922b
mov eax, dword [ebx + 0xc8]
push 0
add eax, esi
push eax
push dword [ebx + 0xcc]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor esi, esi
cmp dword [ebx + 0xc8], esi
jne 0x40929d
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
je 0x40929d
lea eax, [ecx + 0xdc]
cmp dword [eax], esi
jne 0x40929d
mov ecx, dword [ecx + 0x14]
cmp dword [ecx - 0xc], esi
je 0x40929d
mov dword [eax], 1
mov eax, dword [ebp - 0x14]
lea edi, [ebx + 0xd8]
cmp dword [edi], esi
mov byte [ebp - 0xd], 1
mov dword [ebx + 0xc8], eax
jne 0x409281
push esi
push 0x32
push 0x14d
push dword [ebx + 0xcc]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi], eax
cmp byte [ebp + 0xc], 0
je 0x4092b6
mov eax, dword [ebp - 0x14]
push esi
add eax, 0xbc
push eax
push dword [ebx + 0xcc]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [ebp - 0xd], 0
jne 0x4092b6
push dword [ebp - 0x20]
mov eax, ebx
push dword [ebp - 0x24]
call fcn.0040999e
mov dword [ebx + 0x100], eax
cmp dword [ebx + 0xc8], esi
jne 0x4092d9
lea edi, [ebx + 0xd8]
mov eax, dword [edi]
cmp eax, esi
je 0x4092d9
push eax
push dword [ebx + 0xcc]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi], esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 8