Function at 0x420e10
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 4]
jge 0x421287
mov edx, dword [ebp - 4]
imul edx, edx, 0x558
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + edx + 0x14]
cmp ecx, dword [ebp + 8]
jne 0x421279
mov edx, dword [ebp - 4]
imul edx, edx, 0x558
mov eax, dword [ebp - 0x3c]
movzx ecx, byte [eax + edx + 0x150]
cmp ecx, 1
jne 0x421279
mov edx, dword [ebp - 4]
imul edx, edx, 0x558
mov eax, dword [ebp - 0x3c]
movzx ecx, byte [eax + edx + 0x151]
test ecx, ecx
jne 0x421279
mov edx, dword [ebp - 4]
imul edx, edx, 0x558
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + edx + 8]
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x40], 0
je 0x420eb4
cmp dword [ebp - 0x40], 1
je 0x420fba
cmp dword [ebp - 0x40], 3
je 0x421150
jmp 0x421279
mov edx, dword [ebp - 4]
imul edx, edx, 0x558
mov eax, dword [ebp - 0x3c]
cmp dword [eax + edx + 0x10], 0
jl 0x420fb3
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x558
mov edx, dword [ebp - 0x3c]
cmp dword [edx + ecx + 0x10], 1
jne 0x420f25
mov eax, dword [ebp - 4]
imul eax, eax, 0x558
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + eax + 0x18], 0
jl 0x420ef8
mov al, 1
jmp 0x421289
mov edx, dword [ebp - 4]
imul edx, edx, 0x558
mov eax, dword [ebp - 0x3c]
mov dword [eax + edx + 0xc], 1
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x558
mov edx, dword [ebp - 0x3c]
mov dword [edx + ecx + 0x10], 0
jmp 0x420fb3
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
imul eax, eax, 0x558
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + eax + 0x18], 0
jl 0x420f8b
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 4]
jge 0x420f8b
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x558
mov edx, dword [ebp - 4]
imul edx, edx, 0x558
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x3c]
mov ecx, dword [eax + ecx + 0x18]
cmp ecx, dword [esi + edx + 0x18]
jne 0x420f80
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x558
mov eax, dword [ebp - 0x3c]
mov dword [eax + edx + 0x10], 0
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x420f3f
mov edx, dword [ebp - 4]
imul edx, edx, 0x558
mov eax, dword [ebp - 0x3c]
mov dword [eax + edx + 0xc], 2
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x558
mov edx, dword [ebp - 0x3c]
mov dword [edx + ecx + 0x10], 1
mov al, 1
jmp 0x421289
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.user32.dll_GetCursorPos]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, 0x4c5778
call fcn.00401080
push eax
call dword [sym.imp.user32.dll_ScreenToClient]
mov edx, dword [ebp - 4]
imul edx, edx, 0x558
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + edx + 0x158]
push ecx
mov ecx, 0x2070f48
call fcn.00401210
mov dword [ebp - 8], eax
fild dword [ebp - 0x18]
fstp dword [ebp - 0x10]
mov esi, dword [ebp - 4]
imul esi, esi, 0x558
push ecx
fldz
fstp dword [esp]
mov ecx, dword [ebp - 0x3c]
call fcn.00421b30
mov edx, dword [ebp - 0x3c]
fadd dword [edx + esi + 0x20]
fld dword [ebp - 0x10]
fcompp
fnstsw ax
test ah, 5
jp 0x42104b
mov esi, dword [ebp - 4]
imul esi, esi, 0x558
push ecx
fldz
fstp dword [esp]
mov ecx, dword [ebp - 0x3c]
call fcn.00421b30
mov eax, dword [ebp - 0x3c]
fadd dword [eax + esi + 0x20]
fstp dword [ebp - 0x10]
mov esi, dword [ebp - 4]
imul esi, esi, 0x558
push ecx
fldz
fstp dword [esp]
mov ecx, dword [ebp - 0x3c]
call fcn.00421b30
mov ecx, dword [ebp - 0x3c]
fadd dword [ecx + esi + 0x20]
mov edx, dword [ebp - 4]
imul edx, edx, 0x558
mov eax, dword [ebp - 0x3c]
fiadd dword [eax + edx + 0x28]
fld dword [ebp - 0x10]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4210bc
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x558
mov edx, dword [ebp - 4]
imul edx, edx, 0x558
mov eax, dword [ebp - 0x3c]
fild dword [eax + edx + 0x28]
mov edx, dword [ebp - 0x3c]
fadd dword [edx + ecx + 0x20]
push ecx
fldz
fstp dword [esp]
mov ecx, dword [ebp - 0x3c]
fstp qword [ebp - 0x48]
call fcn.00421b30
fadd qword [ebp - 0x48]
fstp dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
sub ecx, 1
shr ecx, 1
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], 0
fild qword [ebp - 0x50]
fsubr dword [ebp - 0x10]
fstp dword [ebp - 0x10]
push ecx
fld dword [ebp - 0x10]
fstp dword [esp]
mov ecx, dword [ebp - 0x3c]
call fcn.00421b70
mov edx, dword [ebp - 8]
fstp dword [edx + 0x1c]
push ecx
fld dword [0x4b6098]
fstp dword [esp]
push ecx
fld dword [0x4b6098]
fstp dword [esp]
push ecx
fld dword [0x4b6098]
fstp dword [esp]
push ecx
fld dword [0x4b6098]
fstp dword [esp]
lea ecx, [ebp - 0x38]
call fcn.0040a690
mov ecx, dword [ebp - 8]
add ecx, 0x2c
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
mov ecx, 0x2070f48
call fcn.0040ac70
mov al, 1
jmp 0x421289
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.user32.dll_GetCursorPos]
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x4c5778
call fcn.00401080
push eax
call dword [sym.imp.user32.dll_ScreenToClient]
fild dword [ebp - 0x20]
fstp dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x558
mov edx, dword [ebp - 0x3c]
fld dword [edx + ecx + 0x24]
fld dword [ebp - 0x1c]
fcompp
fnstsw ax
test ah, 5
jp 0x4211a4
mov eax, dword [ebp - 4]
imul eax, eax, 0x558
mov ecx, dword [ebp - 0x3c]
fld dword [ecx + eax + 0x24]
fstp dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
imul edx, edx, 0x558
mov eax, dword [ebp - 4]
imul eax, eax, 0x558
mov ecx, dword [ebp - 0x3c]
fild dword [ecx + eax + 0x170]
mov eax, dword [ebp - 0x3c]
fadd dword [eax + edx + 0x24]
fld dword [ebp - 0x1c]
fcompp
fnstsw ax
test ah, 1
jne 0x4211ff
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x558
mov edx, dword [ebp - 4]
imul edx, edx, 0x558
mov eax, dword [ebp - 0x3c]
fild dword [eax + edx + 0x170]
mov edx, dword [ebp - 0x3c]
fadd dword [edx + ecx + 0x24]
fsub qword [0x4ab4d8]
fstp dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
imul eax, eax, 0x558
fld dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x3c]
fsub dword [ecx + eax + 0x24]
mov edx, dword [ebp - 4]
imul edx, edx, 0x558
mov eax, dword [ebp - 0x3c]
fild dword [eax + edx + 0x170]
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x558
mov edx, dword [ebp - 0x3c]
fidiv dword [edx + ecx + 0x168]
fdivp st(1)
call fcn.004856e0
add eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
imul eax, eax, 0x558
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + eax + 0x168]
sub edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
imul eax, eax, 0x558
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + eax + 0x14]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.00421410
mov al, 1
jmp 0x421289
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x420e21
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4