Function at 0x4eda8c
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
call fcn.004058a4
lea eax, [ebp + 0x14]
call fcn.004058a4
lea eax, [ebp + 0xc]
call fcn.004058a4
lea eax, [ebp - 0x20]
mov edx, dword [0x4e2d0c]
call fcn.004058c4
xor eax, eax
push ebp
push 0x4ee2f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x28], 0xffffffff
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.00409d2c
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 4]
call fcn.00405358
lea edx, [ebp - 0x7c]
mov eax, dword [ebp + 0x14]
call fcn.00409d2c
mov edx, dword [ebp - 0x7c]
lea eax, [ebp + 0x14]
call fcn.00405358
lea edx, [ebp - 0x80]
mov eax, dword [ebp + 0xc]
call fcn.00409d2c
mov edx, dword [ebp - 0x80]
lea eax, [ebp + 0xc]
call fcn.00405358
mov eax, dword [ebp - 4]
mov edx, 0x4ee30c
call fcn.00405614
jne 0x4edb50
call sub.user32.dll_GetForegroundWindow
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
call fcn.004ee49c
mov dword [ebp - 0x28], eax
jmp 0x4ee2b2
mov eax, dword [ebp - 4]
mov edx, 0x4ee330
call fcn.00405614
jne 0x4edb89
lea eax, [ebp - 0x60]
push eax
call sub.user32.dll_GetCursorPos
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 8]
call fcn.004ed7b4
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
call fcn.004ee49c
mov dword [ebp - 0x28], eax
jmp 0x4ee2b2
mov eax, dword [ebp - 4]
mov edx, 0x4ee358
call fcn.00405614
jne 0x4edbc2
lea eax, [ebp - 0x60]
push eax
call sub.user32.dll_GetCursorPos
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call sub.user32.dll_WindowFromPoint
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
call fcn.004ee49c
mov dword [ebp - 0x28], eax
jmp 0x4ee2b2
mov eax, dword [ebp - 4]
mov edx, 0x4ee388
call fcn.00405614
jne 0x4edbeb
mov eax, dword [ebp - 8]
call fcn.0045e0f0
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ee49c
mov dword [ebp - 0x28], eax
jmp 0x4ee2b2
mov eax, dword [ebp - 4]
mov edx, 0x4ee3b8
call fcn.00405614
jne 0x4edc18
mov eax, dword [0x58921c]
mov eax, dword [eax]
call fcn.0045e0f0
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ee49c
mov dword [ebp - 0x28], eax
jmp 0x4ee2b2
mov eax, dword [ebp - 4]
mov edx, 0x4ee3e8
call fcn.00405614
jne 0x4edc45
mov eax, dword [0x5892f4]
mov eax, dword [eax]
call fcn.0045e0f0
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ee49c
mov dword [ebp - 0x28], eax
jmp 0x4ee2b2
mov eax, dword [ebp - 4]
mov edx, 0x4ee418
call fcn.00405614
jne 0x4eddc0
xor eax, eax
push ebp
push 0x4eddb1
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x21b0]
jne 0x4edcae
mov eax, dword [ebp - 8]
cmp dword [eax + 0x21ac], 0
je 0x4edd12
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x21ac]
call fcn.0045e0f0
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ee49c
mov dword [ebp - 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee2b2
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.0051c2f4
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x4edd12
mov eax, dword [ebp - 0x40]
cmp eax, 0x3f
jbe 0x4edccf
call fcn.00403a58
mov edx, dword [ebp - 8]
cmp dword [edx + eax*4 + 0x224c], 0
je 0x4edd12
mov eax, dword [ebp - 0x40]
cmp eax, 0x3f
jbe 0x4edce9
call fcn.00403a58
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x224c]
call fcn.0045e0f0
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ee49c
mov dword [ebp - 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee2b2
mov eax, dword [ebp - 8]
cmp dword [eax + 0x21ac], 0
je 0x4edd46
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x21ac]
call fcn.0045e0f0
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ee49c
mov dword [ebp - 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee2b2
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0x3f
jbe 0x4edd58
call fcn.00403a58
mov edx, dword [ebp - 8]
cmp dword [edx + eax*4 + 0x224c], 0
je 0x4edd9b
mov eax, dword [ebp - 0x2c]
cmp eax, 0x3f
jbe 0x4edd72
call fcn.00403a58
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x224c]
call fcn.0045e0f0
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ee49c
mov dword [ebp - 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee2b2
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0x40
jne 0x4edd4b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee2b2
mov eax, dword [ebp - 4]
mov edx, 0x4ee448
call fcn.00405614
jne 0x4eddfb
mov eax, dword [0x58961c]
cmp dword [eax], 0
je 0x4ee2b2
mov eax, dword [0x58961c]
mov eax, dword [eax]
call fcn.0045e0f0
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004ee49c
mov dword [ebp - 0x28], eax
jmp 0x4ee2b2
mov eax, dword [ebp - 4]
mov edx, 0x4ee470
call fcn.00405614
jne 0x4ede42
mov eax, dword [0x5892f4]
mov eax, dword [eax]
mov eax, dword [eax + 0x7dc]
push eax
call sub.user32.dll_IsWindow
test eax, eax
je 0x4ee2b2
mov eax, dword [0x5892f4]
mov eax, dword [eax]
mov edx, dword [eax + 0x7dc]
mov eax, dword [ebp - 8]
call fcn.004ee49c
mov dword [ebp - 0x28], eax
jmp 0x4ee2b2
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00405614
jne 0x4ede70
xor eax, eax
mov dword [ebp - 0x2c], eax
push 0xa
call sub.kernel32.dll_Sleep_1
mov edx, 0xa
mov eax, dword [ebp - 8]
call fcn.005463e4
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 2
jne 0x4ede53
cmp dword [ebp + 0x10], 0
jge 0x4ede89
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x34], 0x64
jmp 0x4edf53
cmp dword [ebp + 0x10], 0
jle 0x4edea1
mov dword [ebp - 0x30], 1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
jmp 0x4edf53
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x34], 0x64
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.0051c360
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, 0x40
jbe 0x4edeca
call fcn.00403a58
imul eax, eax, 8
jno 0x4eded4
call fcn.00403a60
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*8 + 0xd1c]
mov edx, dword [ebp - 4]
call fcn.00405614
je 0x4edf53
mov eax, dword [ebp - 0x44]
cmp eax, 0x40
jbe 0x4edef5
call fcn.00403a58
imul eax, eax, 8
jno 0x4edeff
call fcn.00403a60
mov edx, dword [ebp - 8]
lea eax, [edx + eax*8 + 0xd1c]
mov edx, dword [ebp - 4]
call fcn.00405330
mov dword [ebp - 0x30], 0x14
mov dword [ebp - 0x34], 0x320
mov eax, dword [ebp - 8]
cmp byte [eax + 0x37d], 0
je 0x4edf39
mov dword [ebp - 0x30], 0x28
mov dword [ebp - 0x34], 0x1f40
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x21b0]
jne 0x4edf53
mov eax, dword [ebp - 8]
mov byte [eax + 0x37d], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0x74], edx
mov ecx, 0x3e8
mov eax, dword [ebp - 0x34]
cdq
idiv ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, 0x3c
cdq
idiv ecx
mov dword [ebp - 0x70], edx
mov ecx, 0x3c
mov eax, dword [ebp - 0x34]
cdq
idiv ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, 0x3c
cdq
idiv ecx
mov dword [ebp - 0x6c], edx
mov ecx, 0x3c
mov eax, dword [ebp - 0x34]
cdq
idiv ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov ecx, 0x18
cdq
idiv ecx
mov dword [ebp - 0x68], edx
mov ecx, 0x18
mov eax, dword [ebp - 0x34]
cdq
idiv ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x74]
cmp eax, 0xffff
jbe 0x4edfd8
call fcn.00403a58
push eax
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xffff
jbe 0x4edfe9
call fcn.00403a58
mov edx, dword [ebp - 0x6c]
cmp edx, 0xffff
jbe 0x4edff9
call fcn.00403a58
mov eax, dword [ebp - 0x68]
cmp eax, 0xffff
jbe 0x4ee008
call fcn.00403a58
call fcn.0040c3c0
fstp qword [ebp - 0x58]
wait
cmp dword [ebp - 0x34], 0
jle 0x4ee036
push 0
mov cx, 0x3b
mov dx, 0x3b
mov ax, 0x17
call fcn.0040c3c0
fild dword [ebp - 0x34]
fmulp st(1)
fadd qword [ebp - 0x58]
fstp qword [ebp - 0x58]
wait
call fcn.0040c804
fstp qword [ebp - 0x50]
wait
xor eax, eax
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
jmp 0x4ee1a3
mov eax, dword [ebp - 8]
cmp dword [eax + 0x222c], 0
jg 0x4ee2b2
mov eax, dword [ebp - 8]
cmp byte [eax + 0x2228], 0
jne 0x4ee2b2
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x21b0]
je 0x4ee0e1
xor eax, eax
push ebp
push 0x4ee0d7
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.0051c2f4
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x4ee0cd
mov eax, dword [ebp - 0x40]
cmp eax, 0x3f
jbe 0x4ee0ad
call fcn.00403a58
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0xc0c]
cmp dword [eax + 0x2b8], 2
jne 0x4ee0cd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee2b2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ee0e1
push 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004ec5ec
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x4ee117
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.00405614
je 0x4ee117
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
call fcn.004ed054
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x4ee1ce
mov eax, dword [ebp - 8]
cmp dword [eax + 0x222c], 0
jg 0x4ee1ce
cmp dword [ebp - 0x30], 1
jne 0x4ee141
cmp dword [ebp - 0x38], 0xa
jle 0x4ee1ce
xor eax, eax
mov dword [ebp - 0x2c], eax
push 0xa
call sub.kernel32.dll_Sleep_1
mov edx, 0xa
mov eax, dword [ebp - 8]
call fcn.005463e4
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 2
jne 0x4ee146
add dword [ebp - 0x3c], 1
jno 0x4ee16e
call fcn.00403a60
mov eax, dword [ebp - 0x3c]
mov ecx, 0x64
cdq
idiv ecx
test edx, edx
jne 0x4ee18d
push ebp
call fcn.004ed7ec
pop ecx
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x4ee1ce
cmp dword [ebp + 0x10], 0
jge 0x4ee1a3
cmp dword [ebp - 0x3c], 0x186a0
jl 0x4ee1a3
mov dword [ebp - 0x3c], 1
cmp dword [ebp + 0x10], 0
jl 0x4ee04e
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x30]
jl 0x4ee04e
call fcn.0040c804
fsub qword [ebp - 0x50]
fcomp qword [ebp - 0x58]
wait
fnstsw ax
sahf
jb 0x4ee04e
cmp dword [ebp - 0x64], 0
jne 0x4ee1de
push ebp
call fcn.004ed7ec
pop ecx
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x4ee2a4
cmp dword [ebp + 0x10], 0
jge 0x4ee202
push 0x14
call sub.kernel32.dll_Sleep_1
mov edx, 0x14
mov eax, dword [ebp - 8]
call fcn.005463e4
cmp dword [ebp - 0x3c], 0
jle 0x4ee244
mov eax, dword [ebp - 0x64]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4ee244
xor eax, eax
mov dword [ebp - 0x2c], eax
push 0x14
call sub.kernel32.dll_Sleep_1
mov edx, 0x14
mov eax, dword [ebp - 8]
call fcn.005463e4
mov eax, dword [ebp - 0x64]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x4ee244
inc dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0x29
jne 0x4ee21a
cmp dword [ebp - 0x3c], 0
jg 0x4ee256
mov eax, dword [ebp - 8]
cmp byte [eax + 0x37d], 0
je 0x4ee275
push 0x14
call sub.kernel32.dll_Sleep_1
mov edx, 0x14
mov eax, dword [ebp - 8]
call fcn.005463e4
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
call fcn.004fdbe8
cmp dword [ebp + 0x10], 0
jl 0x4ee290
cmp dword [ebp + 0x10], 0xa
jg 0x4ee290
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.005463e4
jmp 0x4ee2a4
push 2
call sub.kernel32.dll_Sleep_1
mov edx, 4
mov eax, dword [ebp - 8]
call fcn.005463e4
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 8]
call fcn.004ee49c
mov dword [ebp - 0x28], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee2fa
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.0040530c
lea eax, [ebp - 0x20]
mov edx, dword [0x4e2d0c]
call fcn.00405994
lea eax, [ebp - 4]
call fcn.004052f4
lea eax, [ebp + 0xc]
call fcn.004052f4
lea eax, [ebp + 0x14]
call fcn.004052f4
ret