Function at 0x419cd0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x24]
push ebp
push esi
push edi
mov edi, ecx
mov ebp, edx
mov ecx, dword [edi]
cmp ecx, 0x80000000
je 0x419f90
mov eax, dword [ebp]
cmp eax, 0x80000000
je 0x419f90
cmp dword [0x4e8b28], 2
jne 0x419d3f
mov bl, byte [esp + 0x34]
xor edx, edx
push eax
push ecx
movzx ecx, bl
shl ecx, 0x1f
or ecx, 1
call fcn.0041a180
add esp, 8
call fcn.0041a680
test bl, bl
je 0x419f90
mov dword [edi], connect
mov dword [ebp], connect
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x2c]
mov edx, dword [sym.imp.USER32.dll_GetCursorPos]
or dword [eax], 0x8001
cmp byte [esp + 0x34], 0
je 0x419d9d
cmp dword [0x4e8b28], 1
jne 0x419d87
mov eax, dword [0x4e8b1c]
cmp eax, 0x80000000
jne 0x419d79
push 0x4e8b1c
call edx
mov ecx, dword [edi]
mov eax, dword [0x4e8b1c]
add eax, ecx
mov dword [edi], eax
mov eax, dword [0x4e8b20]
add dword [ebp], eax
jmp 0x419dab
lea eax, [esp + 0x20]
push eax
call edx
mov eax, dword [esp + 0x20]
add dword [edi], eax
mov eax, dword [esp + 0x24]
add dword [ebp], eax
jmp 0x419dab
push 2
mov edx, ebp
mov ecx, edi
call fcn.0049d970
add esp, 4
cmp dword [0x4e8b28], 1
jne 0x419dc3
mov eax, dword [edi]
mov dword [0x4e8b1c], eax
mov eax, dword [ebp]
mov dword [0x4e8b20], eax
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov dword [esp + 0x1c], eax
call esi
mov ecx, dword [edi]
mov esi, eax
mov eax, ecx
sar ecx, 0x1f
shl eax, 0x10
and ecx, 0xfffffffe
cdq
inc ecx
idiv dword [esp + 0x18]
add eax, ecx
mov dword [edi], eax
mov ecx, dword [ebp]
mov eax, ecx
shl eax, 0x10
cdq
idiv esi
sar ecx, 0x1f
and ecx, 0xfffffffe
inc ecx
add ecx, eax
mov dword [ebp], ecx
test ebx, ebx
js 0x419f79
mov eax, 0x64
cmp ebx, eax
cmovle eax, ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x419f79
cmp dword [0x4e8b28], 1
je 0x419f79
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, ecx
shl eax, 0x10
cdq
idiv esi
mov edi, dword [esp + 0x20]
mov esi, eax
mov ebp, dword [ebp]
xor eax, eax
test ecx, ecx
setns al
xor ecx, ecx
lea esi, [esi + eax*2]
mov eax, edi
shl eax, 0x10
dec esi
cdq
idiv dword [esp + 0x18]
test edi, edi
mov ebx, eax
setns cl
lea ebx, [ebx + ecx*2]
dec ebx
mov ecx, dword [esp + 0x1c]
cmp ebx, ecx
jne 0x419e8a
cmp esi, ebp
je 0x419f90
cmp ebx, ecx
mov edi, dword [esp + 0x14]
jge 0x419eb0
mov eax, ecx
sub eax, ebx
cdq
idiv edi
test eax, eax
je 0x419ea0
cmp eax, 0x20
jge 0x419ea5
mov eax, 0x20
add eax, ebx
mov ebx, ecx
cmp eax, ecx
cmovle ebx, eax
jmp 0x419ece
jle 0x419ece
mov eax, ebx
sub eax, ecx
cdq
idiv edi
test eax, eax
je 0x419ec2
cmp eax, 0x20
jge 0x419ec7
mov eax, 0x20
sub ebx, eax
cmp ebx, ecx
cmovl ebx, ecx
cmp esi, ebp
jge 0x419ef2
mov eax, ebp
sub eax, esi
cdq
idiv edi
test eax, eax
je 0x419ee2
cmp eax, 0x20
jge 0x419ee7
mov eax, 0x20
add eax, esi
mov esi, ebp
cmp eax, ebp
cmovle esi, eax
jmp 0x419f10
jle 0x419f10
mov eax, esi
sub eax, ebp
cdq
idiv edi
test eax, eax
je 0x419f04
cmp eax, 0x20
jge 0x419f09
mov eax, 0x20
sub esi, eax
cmp esi, ebp
cmovl esi, ebp
cmp dword [0x4e8b28], 0
je 0x419f34
push esi
push ebx
xor edx, edx
mov ecx, 0x8001
call fcn.0041a180
add esp, 8
call fcn.0041a680
jmp 0x419e78
mov eax, dword [0x4e30fc]
mov ecx, 0xffc3d44d
movzx eax, byte [eax + 0xf6]
sub ecx, eax
mov eax, esi
push ecx
xor ecx, ecx
cmp esi, 0x80000000
push 0
cmove eax, ecx
cmp ebx, 0x80000000
push eax
mov eax, ebx
cmove eax, ecx
push eax
push 0x8001
call dword [sym.imp.USER32.dll_mouse_event]
call fcn.0041a680
jmp 0x419e78
push ecx
push dword [edi]
xor edx, edx
mov ecx, 0x8001
call fcn.00419fa0
add esp, 8
call fcn.0041a680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret