Function at 0x4e969c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
call fcn.00405a50
lea eax, [ebp - 0xc]
call fcn.00405a50
lea eax, [ebp + 0xc]
call fcn.00405a50
lea eax, [ebp - 0x20]
mov edx, dword [0x4def00]
call fcn.00405a70
xor eax, eax
push ebp
push 0x4e9e5c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 0xffffffff
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.00409f28
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 4]
call fcn.00405514
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0xc]
call fcn.00409f28
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0xc]
call fcn.00405514
lea edx, [ebp - 0x70]
mov eax, dword [ebp + 0xc]
call fcn.00409f28
mov edx, dword [ebp - 0x70]
lea eax, [ebp + 0xc]
call fcn.00405514
mov eax, dword [ebp - 4]
mov edx, 0x4e9e74
call fcn.004057c0
jne 0x4e9760
call sub.user32.dll_GetForegroundWindow
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.004ea004
mov dword [ebp - 0x24], eax
jmp 0x4e9e1b
mov eax, dword [ebp - 4]
mov edx, 0x4e9e98
call fcn.004057c0
jne 0x4e9799
lea eax, [ebp - 0x50]
push eax
call sub.user32.dll_GetCursorPos
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 8]
call fcn.004e92d8
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.004ea004
mov dword [ebp - 0x24], eax
jmp 0x4e9e1b
mov eax, dword [ebp - 4]
mov edx, 0x4e9ec0
call fcn.004057c0
jne 0x4e97d2
lea eax, [ebp - 0x50]
push eax
call sub.user32.dll_GetCursorPos
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call sub.user32.dll_WindowFromPoint
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.004ea004
mov dword [ebp - 0x24], eax
jmp 0x4e9e1b
mov eax, dword [ebp - 4]
mov edx, 0x4e9ef0
call fcn.004057c0
jne 0x4e97fb
mov eax, dword [ebp - 8]
call fcn.0045ff94
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ea004
mov dword [ebp - 0x24], eax
jmp 0x4e9e1b
mov eax, dword [ebp - 4]
mov edx, 0x4e9f20
call fcn.004057c0
jne 0x4e9828
mov eax, dword [0x5742b0]
mov eax, dword [eax]
call fcn.0045ff94
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ea004
mov dword [ebp - 0x24], eax
jmp 0x4e9e1b
mov eax, dword [ebp - 4]
mov edx, 0x4e9f50
call fcn.004057c0
jne 0x4e9855
mov eax, dword [0x57438c]
mov eax, dword [eax]
call fcn.0045ff94
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ea004
mov dword [ebp - 0x24], eax
jmp 0x4e9e1b
mov eax, dword [ebp - 4]
mov edx, 0x4e9f80
call fcn.004057c0
jne 0x4e9a24
xor eax, eax
push ebp
push 0x4e9a15
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x9d8]
jne 0x4e98be
mov eax, dword [ebp - 8]
cmp dword [eax + 0x9d4], 0
je 0x4e9950
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9d4]
call fcn.0045ff94
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ea004
mov dword [ebp - 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e9e1b
mov eax, dword [ebp - 8]
lea edx, [eax + 0x6b0]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.005106e0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x4e9950
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x4e98e7
call fcn.00403c14
mov edx, dword [ebp - 8]
cmp dword [edx + eax*4 + 0x9dc], 0
je 0x4e9950
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x4e9901
call fcn.00403c14
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x9dc]
cmp dword [eax + 0x2b8], 0
je 0x4e9950
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x4e9921
call fcn.00403c14
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x9dc]
mov eax, dword [eax + 0x2b8]
call fcn.0045ff94
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ea004
mov dword [ebp - 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e9e1b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x9d4], 0
je 0x4e9984
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x9d4]
call fcn.0045ff94
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ea004
mov dword [ebp - 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e9e1b
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x4e9996
call fcn.00403c14
mov edx, dword [ebp - 8]
cmp dword [edx + eax*4 + 0x9dc], 0
je 0x4e99ff
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x4e99b0
call fcn.00403c14
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x9dc]
cmp dword [eax + 0x2b8], 0
je 0x4e99ff
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x4e99d0
call fcn.00403c14
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x9dc]
mov eax, dword [eax + 0x2b8]
call fcn.0045ff94
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ea004
mov dword [ebp - 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e9e1b
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0x10
jne 0x4e9989
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e9e1b
mov eax, dword [ebp - 4]
mov edx, 0x4e9fb0
call fcn.004057c0
jne 0x4e9a5f
mov eax, dword [0x5746bc]
cmp dword [eax], 0
je 0x4e9e1b
mov eax, dword [0x5746bc]
mov eax, dword [eax]
call fcn.0045ff94
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ea004
mov dword [ebp - 0x24], eax
jmp 0x4e9e1b
mov eax, dword [ebp - 4]
mov edx, 0x4e9fd8
call fcn.004057c0
jne 0x4e9aa6
mov eax, dword [0x57438c]
mov eax, dword [eax]
mov eax, dword [eax + 0x7d4]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x4e9e1b
mov eax, dword [0x57438c]
mov eax, dword [eax]
mov edx, dword [eax + 0x7d4]
mov eax, dword [ebp - 8]
call fcn.004ea004
mov dword [ebp - 0x24], eax
jmp 0x4e9e1b
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.004057c0
jne 0x4e9ad4
xor eax, eax
mov dword [ebp - 0x28], eax
push 0xa
call sub.kernel32.dll_Sleep_1
mov edx, 0xa
mov eax, dword [ebp - 8]
call fcn.0053392c
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 2
jne 0x4e9ab7
cmp dword [ebp + 0x10], 0
jge 0x4e9aed
mov dword [ebp - 0x2c], 0xa
mov dword [ebp - 0x30], 0x64
jmp 0x4e9b97
cmp dword [ebp + 0x10], 0
jle 0x4e9b05
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
jmp 0x4e9b97
mov dword [ebp - 0x2c], 0xa
mov dword [ebp - 0x30], 0x64
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x384]
mov edx, dword [ebp - 4]
call fcn.004057c0
je 0x4e9b97
jmp 0x4e9b35
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.0053392c
mov eax, dword [ebp - 8]
cmp byte [eax + 0x380], 0
jne 0x4e9b28
mov eax, dword [ebp - 8]
mov byte [eax + 0x380], 1
mov eax, dword [ebp - 8]
add eax, 0x384
mov edx, dword [ebp - 4]
call fcn.004054ec
mov eax, dword [ebp - 8]
mov byte [eax + 0x380], 0
mov dword [ebp - 0x2c], 0x14
mov dword [ebp - 0x30], 0x320
mov eax, dword [ebp - 8]
cmp byte [eax + 0x37f], 0
je 0x4e9b8d
mov dword [ebp - 0x2c], 0x28
mov dword [ebp - 0x30], 0x1f40
mov eax, dword [ebp - 8]
mov byte [eax + 0x37f], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0x64], edx
mov ecx, 0x3e8
mov eax, dword [ebp - 0x30]
cdq
idiv ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0x3c
cdq
idiv ecx
mov dword [ebp - 0x60], edx
mov ecx, 0x3c
mov eax, dword [ebp - 0x30]
cdq
idiv ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0x3c
cdq
idiv ecx
mov dword [ebp - 0x5c], edx
mov ecx, 0x3c
mov eax, dword [ebp - 0x30]
cdq
idiv ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0x18
cdq
idiv ecx
mov dword [ebp - 0x58], edx
mov ecx, 0x18
mov eax, dword [ebp - 0x30]
cdq
idiv ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x64]
cmp eax, 0xffff
jbe 0x4e9c1c
call fcn.00403c14
push eax
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xffff
jbe 0x4e9c2d
call fcn.00403c14
mov edx, dword [ebp - 0x5c]
cmp edx, 0xffff
jbe 0x4e9c3d
call fcn.00403c14
mov eax, dword [ebp - 0x58]
cmp eax, 0xffff
jbe 0x4e9c4c
call fcn.00403c14
call fcn.0040c5bc
fstp qword [ebp - 0x48]
wait
cmp dword [ebp - 0x30], 0
jle 0x4e9c7a
push 0
mov cx, 0x3b
mov dx, 0x3b
mov ax, 0x17
call fcn.0040c5bc
fild dword [ebp - 0x30]
fmulp st(1)
fadd qword [ebp - 0x48]
fstp qword [ebp - 0x48]
wait
call fcn.0040ca00
fstp qword [ebp - 0x40]
wait
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x38], eax
jmp 0x4e9d52
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004e81d8
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4e9cc8
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.004057c0
je 0x4e9cc8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.004e8c44
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4e9d7d
mov eax, dword [ebp - 8]
cmp dword [eax + 0xa78], 0
jg 0x4e9d7d
cmp dword [ebp - 0x2c], 1
jne 0x4e9cf2
cmp dword [ebp - 0x34], 0xa
jle 0x4e9d7d
xor eax, eax
mov dword [ebp - 0x28], eax
push 0xa
call sub.kernel32.dll_Sleep_1
mov edx, 0xa
mov eax, dword [ebp - 8]
call fcn.0053392c
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 2
jne 0x4e9cf7
add dword [ebp - 0x38], 1
jno 0x4e9d1f
call fcn.00403c1c
mov eax, dword [ebp - 0x38]
mov ecx, 0x64
cdq
idiv ecx
test edx, edx
jne 0x4e9d3e
push ebp
call fcn.004e9358
pop ecx
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4e9d7d
cmp dword [ebp + 0x10], 0
jge 0x4e9d52
cmp dword [ebp - 0x38], 0x186a0
jl 0x4e9d52
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ebp + 0x10], 0
jl 0x4e9c92
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x2c]
jl 0x4e9c92
call fcn.0040ca00
fsub qword [ebp - 0x40]
fcomp qword [ebp - 0x48]
wait
fnstsw ax
sahf
jb 0x4e9c92
cmp dword [ebp - 0x54], 0
jne 0x4e9d8d
push ebp
call fcn.004e9358
pop ecx
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4e9e0d
cmp dword [ebp + 0x10], 0
jge 0x4e9dad
push 0x14
call sub.kernel32.dll_Sleep_1
mov edx, 0x14
mov eax, dword [ebp - 8]
call fcn.0053392c
cmp dword [ebp - 0x38], 0
jg 0x4e9dbf
mov eax, dword [ebp - 8]
cmp byte [eax + 0x37f], 0
je 0x4e9dde
push 0xa
call sub.kernel32.dll_Sleep_1
mov edx, 0xa
mov eax, dword [ebp - 8]
call fcn.0053392c
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.004f97e8
cmp dword [ebp + 0x10], 0
jl 0x4e9df9
cmp dword [ebp + 0x10], 0xa
jg 0x4e9df9
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.0053392c
jmp 0x4e9e0d
push 2
call sub.kernel32.dll_Sleep_1
mov edx, 4
mov eax, dword [ebp - 8]
call fcn.0053392c
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.004ea004
mov dword [ebp - 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e9e63
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.004054c8
lea eax, [ebp - 0x20]
mov edx, dword [0x4def00]
call fcn.00405b40
lea eax, [ebp - 0xc]
call fcn.004054b0
lea eax, [ebp - 4]
call fcn.004054b0
lea eax, [ebp + 0xc]
call fcn.004054b0
ret