Function at 0x401340
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402fcd
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x406040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
xorps xmm0, xmm0
xor ebx, ebx
movq qword [ebp - 0x30], xmm0
xor edi, edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x5c], edi
xor esi, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], ebx
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0xf0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push 0xf0
push ebx
push eax
mov dword [0x4064a8], eax
mov dword [0x4064a4], 0x14
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [0x4064ac], ebx
nop dword [eax]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x38]
jne 0x40156d
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x34]
jne 0x40156d
test esi, esi
je 0x401536
mov eax, dword [0x4064a4]
lea eax, [eax + eax*2]
shl eax, 2
push eax
push 0
push dword [0x4064a8]
call sub.VCRUNTIME140.dll_memset
mov ecx, ebx
mov dword [0x4064ac], 0
sub ecx, dword [ebp - 0x48]
xor esi, esi
mov dword [ebp - 0x44], ecx
xor edi, edi
sar ecx, 2
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x64], ecx
test ecx, ecx
je 0x401465
push ecx
lea ecx, [ebp - 0x58]
call fcn.00401e00
push dword [ebp - 0x44]
mov esi, dword [ebp - 0x58]
push dword [ebp - 0x48]
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x64]
add esp, 0xc
lea edi, [esi + eax*4]
mov eax, dword [ebp - 0x50]
sub edi, esi
sar edi, 2
test edi, edi
jne 0x4014b7
test esi, esi
je 0x4014b3
sub eax, esi
mov ecx, esi
and eax, 0xfffffffc
cmp eax, 0x1000
jb 0x401494
mov esi, dword [ecx - 4]
add eax, 0x23
sub ecx, esi
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x401698
push eax
push esi
call fcn.004022b3
add esp, 8
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
xor al, al
jmp 0x40151e
mov ecx, dword [esi]
mov edx, 1
mov dword [ebp - 0x44], ecx
cmp edi, edx
jbe 0x4014db
mov ecx, dword [ebp - 0x44]
add ecx, 5
cmp ecx, dword [esi + edx*4]
jl 0x40153d
mov ecx, dword [esi + edx*4]
inc edx
mov dword [ebp - 0x44], ecx
cmp edx, edi
jb 0x4014c5
sub eax, esi
mov ecx, esi
and eax, 0xfffffffc
cmp eax, 0x1000
jb 0x4014fd
mov esi, dword [ecx - 4]
add eax, 0x23
sub ecx, esi
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x401698
push eax
push esi
call fcn.004022b3
add esp, 8
mov al, 1
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov edi, dword [ebp - 0x5c]
mov byte [ebp + edi - 0x24], al
inc edi
cmp dword [ebp - 0x48], ebx
mov dword [ebp - 0x5c], edi
cmovne ebx, dword [ebp - 0x48]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x2c], ebx
xor esi, esi
jmp 0x40160f
sub eax, esi
mov ecx, esi
and eax, 0xfffffffc
cmp eax, 0x1000
jb 0x40155f
mov esi, dword [ecx - 4]
add eax, 0x23
sub ecx, esi
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x401698
push eax
push esi
call fcn.004022b3
add esp, 8
xor al, al
jmp 0x401509
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x38]
mov ebx, eax
mov edi, dword [ebp - 0x34]
push 0xc
call fcn.00402283
mov ecx, dword [0x4064a8]
add esp, 4
mov dword [eax], esi
mov esi, dword [0x4064ac]
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
movq xmm0, qword [eax]
lea edx, [esi + esi*2]
movq qword [ecx + edx*4], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + edx*4 + 8], eax
xor edx, edx
lea eax, [esi + 1]
div dword [0x4064a4]
mov dword [0x4064ac], edx
cmp edx, 1
jbe 0x401604
push ecx
call fcn.00401210
mov ebx, dword [ebp - 0x44]
add esp, 4
mov dword [ebp - 0x64], eax
cmp ebx, dword [ebp - 0x60]
je 0x4015e3
mov dword [ebx], eax
add ebx, 4
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x2c], ebx
jmp 0x401607
lea eax, [ebp - 0x64]
push eax
push ebx
lea ecx, [ebp - 0x30]
call fcn.00402040
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], eax
jmp 0x401607
mov ebx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x5c]
mov esi, 1
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
push 0x32
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x14
jb 0x4013d0
xor edx, edx
xor esi, esi
cmp byte [ebp + esi - 0x24], 0
lea eax, [edx + 1]
cmovne eax, edx
cmp byte [ebp + esi - 0x23], 0
lea ecx, [eax + 1]
cmovne ecx, eax
cmp byte [ebp + esi - 0x22], 0
jne 0x40164e
inc ecx
cmp byte [ebp + esi - 0x21], 0
jne 0x401656
inc ecx
cmp byte [ebp + esi - 0x20], 0
lea edx, [ecx + 1]
cmovne edx, ecx
add esi, 5
cmp esi, 0x14
jb 0x401630
mov ecx, dword [ebp - 0x48]
cmp edx, 4
setb bl
test ecx, ecx
je 0x4016a8
mov edx, dword [ebp - 0x60]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x40169e
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40169e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004022b3
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402275
mov esp, ebp
pop ebp
ret