Function at 0x4d9bcc
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
xor ecx, ecx
mov dword [edx + 0xc], ecx
mov eax, dword [eax + 8]
cmp eax, 0xffffff97
jg 0x4d9c18
je 0x4d9d02
sub eax, 0xffffff63
je 0x4d9e7f
sub eax, 0x2e
je 0x4d9dd2
sub eax, 2
je 0x4d9dd2
jmp 0x4d9e74
sub eax, 0xffffff9b
je 0x4d9ca8
dec eax
je 0x4d9c32
sub eax, 0x5f
je 0x4d9dec
jmp 0x4d9e74
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d4fc8
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 8]
mov edx, dword [ebp - 4]
cmp byte [edx + 0x2c0], 0
je 0x4d9e7f
mov eax, dword [ebx + 0x14]
cmp eax, 0x2000
je 0x4d9c68
cmp eax, 0x1000
jne 0x4d9e7f
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x278]
call fcn.004d28e4
mov edx, eax
cmp dword [ebx + 0x14], 0x2000
sete cl
mov eax, dword [ebp - 4]
mov si, 0xffa6
call fcn.00404804
test al, al
jne 0x4d9e7f
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 1
jmp 0x4d9e7f
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d4fc8
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 8]
mov edx, dword [ebp - 4]
cmp byte [edx + 0x2c0], 0
je 0x4d9e7f
mov eax, dword [ebx + 0x14]
cmp eax, 0x2000
je 0x4d9cde
cmp eax, 0x1000
jne 0x4d9e7f
mov edx, dword [ebx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x278]
call fcn.004d28e4
mov edx, eax
mov eax, dword [ebp - 4]
mov si, 0xffa7
call fcn.00404804
jmp 0x4d9e7f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3d2], 0
jne 0x4d9dc2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2c6], 0
je 0x4d9dc2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x25d], 3
jne 0x4d9dc2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x3d1], 0
jne 0x4d9dc2
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x278]
call fcn.004d28e4
mov ebx, eax
lea ecx, [ebp - 0x20]
mov dl, 2
mov eax, ebx
call fcn.004d272c
lea eax, [ebp - 0x10]
push eax
call sub.user32.dll_GetCursorPos
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0044fcdc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4d9db3
mov edx, ebx
mov eax, dword [ebp - 4]
mov si, 0xffaf
call fcn.00404804
test al, al
jne 0x4d9e7f
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 1
jmp 0x4d9e7f
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d4fc8
jmp 0x4d9e7f
mov eax, dword [ebp - 4]
mov byte [eax + 0x411], 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d4fc8
jmp 0x4d9e7f
lea eax, [ebp - 0x10]
push eax
call sub.user32.dll_GetCursorPos
lea ecx, [ebp - 0x28]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0044fcdc
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004d6724
test al, 8
je 0x4d9e2b
mov eax, dword [ebp - 4]
mov byte [eax + 0x438], 1
xor eax, eax
push ebp
push 0x4d9e60
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov si, 0xffa5
call fcn.00404804
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9e67
mov eax, dword [ebp - 4]
mov byte [eax + 0x438], 0
ret
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d4fc8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret