Function at 0x401290
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402abd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [section..data]
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 - 0x1c], xmm0
xor edi, edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], edi
xor esi, esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
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 [0x405438], eax
mov dword [0x405434], 0x14
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [0x40543c], ebx
nop dword [eax]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x24]
jne 0x401444
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x20]
jne 0x401444
test esi, esi
je 0x40143d
mov eax, dword [0x405434]
lea eax, [eax + eax*2]
shl eax, 2
push eax
push 0
push dword [0x405438]
call sub.VCRUNTIME140.dll_memset
mov ecx, ebx
mov dword [0x40543c], 0
sub ecx, dword [ebp - 0x34]
xor esi, esi
mov dword [ebp - 0x30], ecx
xor edi, edi
sar ecx, 2
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], ecx
test ecx, ecx
je 0x4013b5
push ecx
lea ecx, [ebp - 0x48]
call fcn.00401b70
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x48]
push dword [ebp - 0x34]
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x54]
add esp, 0xc
lea edi, [esi + eax*4]
mov eax, dword [ebp - 0x40]
sub edi, esi
sar edi, 2
test edi, edi
jne 0x4013c4
test esi, esi
je 0x401429
jmp 0x4013e8
mov ecx, dword [esi]
mov edx, 1
mov dword [ebp - 0x30], ecx
cmp edi, edx
jbe 0x4013e8
mov ecx, dword [ebp - 0x30]
add ecx, 4
cmp ecx, dword [esi + edx*4]
jl 0x4013e8
mov ecx, dword [esi + edx*4]
inc edx
mov dword [ebp - 0x30], ecx
cmp edx, edi
jb 0x4013d2
sub eax, esi
mov ecx, esi
and eax, 0xfffffffc
cmp eax, 0x1000
jb 0x40140a
mov esi, dword [ecx - 4]
add eax, 0x23
sub ecx, esi
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x40152c
push eax
push esi
call fcn.00401da6
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov edi, dword [ebp - 0x4c]
inc edi
cmp dword [ebp - 0x34], ebx
mov dword [ebp - 0x4c], edi
cmovne ebx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], ebx
xor esi, esi
jmp 0x4014e6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x24]
mov ebx, eax
mov edi, dword [ebp - 0x20]
push 0xc
call fcn.00401d76
mov ecx, dword [0x405438]
add esp, 4
mov dword [eax], esi
mov esi, dword [0x40543c]
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 [0x405434]
mov dword [0x40543c], edx
cmp edx, 1
jbe 0x4014db
push ecx
call fcn.00401160
mov ebx, dword [ebp - 0x30]
add esp, 4
mov dword [ebp - 0x54], eax
cmp ebx, dword [ebp - 0x50]
je 0x4014ba
mov dword [ebx], eax
add ebx, 4
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], ebx
jmp 0x4014de
lea eax, [ebp - 0x54]
push eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00401c10
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], eax
jmp 0x4014de
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x4c]
mov esi, 1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
push 0x32
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0x14
jb 0x401320
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x40153c
mov edx, dword [ebp - 0x50]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x401532
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401532
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00401da6
add esp, 8
mov al, 1
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.00401d68
mov esp, ebp
pop ebp
ret