Function at 0x4e8ea0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov ecx, dword [esi + 0x30]
cmp ecx, ebp
jne 0x4e8ebe
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 8
call fcn.004dfde0
test eax, eax
jne 0x4e909e
mov ecx, dword [esi + 0x30]
push 0xffffffffffffffff
call fcn.004e0f80
test eax, eax
jne 0x4e909e
lea ecx, [esp + 0x1c]
call fcn.004de7d0
mov eax, dword [esi + 0x13954]
mov edi, 1
cmp eax, edi
jne 0x4e8f3f
mov ecx, dword [esi + 0x30]
push 0xffffffffffffffff
call fcn.004e0500
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [esi + 0x60]
fadd qword [0x530050]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esi + 0x30]
push 0xffffffffffffffff
mov dword [esp + 0x20], eax
call fcn.004e05b0
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [esi + 0x60]
fadd qword [0x530050]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x20], eax
jmp 0x4e8f4d
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
cmp dword [esi + 0x13958], ebp
je 0x4e8f60
call fcn.00471020
mov dword [esp + 0x24], eax
jmp 0x4e8f64
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x13958]
cmp ecx, ebp
je 0x4e8f8e
cmp eax, 8
jne 0x4e8f7c
mov edx, dword [esi + 0x70]
mov dword [esp + 0x28], edx
jmp 0x4e8f92
cmp ecx, ebp
je 0x4e8f8e
cmp eax, 0x10
jne 0x4e8f8e
mov eax, dword [esi + 0x74]
mov dword [esp + 0x28], eax
jmp 0x4e8f92
mov dword [esp + 0x28], ebp
mov eax, dword [esi + 0x13910]
mov ecx, dword [esi + 0x80]
cmp eax, ebp
mov dword [esp + 0x3c], ecx
je 0x4e8fb6
mov ecx, dword [esi + 0x30]
call fcn.004e02a0
test eax, eax
mov dword [esp + 0x40], edi
jne 0x4e8fba
mov dword [esp + 0x40], ebp
mov ebx, dword [esi + 0x88]
mov eax, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
xor ecx, ecx
cmp ebx, ebp
mov dword [esp + 0x30], eax
sete cl
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x13928]
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x30]
push eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], edx
call fcn.004df7a0
test eax, eax
jne 0x4e9002
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8
mov ecx, dword [esi + 0x13918]
mov dword [esi + 0x13924], edi
push ecx
mov ecx, dword [esi + 0x30]
call fcn.004e0320
cmp eax, ebp
je 0x4e9033
test byte [eax + 0x18], 0x20
je 0x4e9033
cmp dword [esp + 0x5c], ebp
je 0x4e9033
mov edx, dword [esi + 0x50]
push ebp
push ebp
push edx
call dword [0x56de7c]
cmp dword [esi + 0x13910], ebp
je 0x4e907d
mov ecx, dword [esi + 0x30]
cmp ecx, ebp
je 0x4e907d
call fcn.004e02a0
test eax, eax
je 0x4e907d
mov ecx, dword [esi + 0x30]
push ebp
call fcn.004e0320
cmp eax, ebp
je 0x4e907d
mov dword [esi + 0x13918], ebp
mov eax, dword [eax + 0x3c]
cmp eax, ebp
jne 0x4e906a
mov eax, 0x64
push ebp
push eax
mov eax, dword [esi + 0x50]
push edi
push eax
mov dword [esi + 0x1390c], ebp
call dword [0x56defc]
cmp dword [esi + 0x13954], ebp
jne 0x4e9097
mov ecx, dword [esi + 0x13918]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.004e0050
fstp qword [esi + 0x60]
mov ecx, esi
call fcn.004e9460
mov ecx, dword [esi + 0x30]
call fcn.004e1480
mov edx, dword [esi + 0x13918]
xor ebx, ebx
cmp eax, edx
mov eax, dword [esp + 0x58]
sete bl
cmp eax, 0x1388
jb 0x4e90c3
mov eax, 0x1388
lea edx, [esi + 0x8c]
lea ecx, [esp + 0x10]
push edx
push ecx
mov ecx, dword [esi + 0x30]
push eax
mov dword [esp + 0x1c], ebp
call fcn.004dfaf0
mov edx, dword [esi + 0x50]
mov edi, dword [0x56df6c]
push ebp
push ebp
push 0x400
push edx
mov dword [esp + 0x68], eax
call edi
cmp dword [esp + 0x5c], ebp
je 0x4e9121
cmp ebx, ebp
je 0x4e9121
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4e9121
dec eax
mov dword [esp + 0x10], eax
push eax
mov ecx, esi
call fcn.004e8bf0
mov eax, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x4e910a
mov ecx, dword [esi + 0x30]
call fcn.004dfd70
mov ebx, dword [0x56df14]
mov ebp, dword [0x56df18]
test eax, eax
je 0x4e9165
mov ecx, dword [esi + 0x30]
push 0
call fcn.004dfc60
mov edx, dword [esi + 0x50]
push 0
push 1
push 0x401
push edx
call edi
lea eax, [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x4e91a5
mov ecx, dword [esi + 0x30]
push 0
call fcn.004dfc60
lea eax, [esp + 0x14]
push eax
call ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
call ebp
mov eax, dword [esi + 0x50]
push 0
push 0
push 0x401
push eax
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 8
mov eax, dword [esi + 0x1390c]
test eax, eax
je 0x4e91df
mov ecx, dword [esi + 0x30]
call fcn.004e1480
mov ecx, dword [esi + 0x13918]
inc ecx
cmp eax, ecx
jg 0x4e91d0
mov ecx, dword [esi + 0x30]
push 0xffffffffffffffff
call fcn.004e0f80
test eax, eax
je 0x4e91df
mov edx, dword [esi + 0x50]
push 0
push 1
push 0x113
push edx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 8