Function at 0x49f4d1
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
mov bl, byte [ebp + 8]
and bl, 0x20
push esi
mov esi, ecx
mov al, byte [esi + 0xb4]
push edi
mov byte [ebp - 1], al
mov byte [esi + 0xb4], 0x10
jne 0x49f4fd
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_UpdateWindow]
and dword [ebp - 0x48], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
test bl, bl
mov dword [ebp - 0x10], eax
jne 0x49f789
push esi
push 0
push 0x110
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x49f789
cmp byte [esi + 0xb4], 0
jl 0x49f7a0
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov edi, 0x20a
cmp dword [ebp - 0x44], edi
mov byte [ebp + 0xb], 0
je 0x49f55c
cmp dword [ebp - 0x44], 0x20e
jne 0x49f5ca
xor ebx, ebx
inc ebx
push ebx
push 0
call dword [sym.imp.USER32.dll_GetScrollPos]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0xfffffffffffffff0
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor edx, edx
cmp dword [ebp - 0x44], edi
mov ecx, 0x100000
setne dl
dec edx
and edx, ecx
add edx, ecx
test edx, eax
je 0x49f5b3
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x48]
call fcn.0049b9fe
add esp, 0xc
test eax, eax
je 0x49f5b3
mov dword [ebp - 8], ebx
jmp 0x49f5ca
and dword [ebp - 8], 0
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.0049baee
test eax, eax
pop ecx
pop ecx
je 0x49f5ca
mov dword [ebp - 0x48], eax
test byte [ebp - 8], 2
jne 0x49f603
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x49f605
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x10], eax
jne 0x49f605
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x49f605
mov byte [ebp + 0xb], 1
jmp 0x49f605
xor ebx, ebx
mov eax, 0x448
cmp dword [ebp - 0x44], eax
je 0x49f769
push dword [esi + 0x18]
lea ecx, [ebp - 0x48]
push ecx
push eax
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, 0x10000
mov dword [ebp - 8], eax
je 0x49f64b
mov ecx, dword [esi + 0x130]
push ebx
push 0x80
push dword [esi + 0x18]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.004a3411
cmp dword [esi + 0x90], ebx
jle 0x49f6bf
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [esi + 0x90], 0
jle 0x49f6bf
mov eax, dword [esi + 0x8c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x49f6b6
cmp edi, dword [ebp - 0x48]
je 0x49f6b6
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x49f6b6
push dword [esi + 0x18]
lea eax, [ebp - 0x48]
push eax
push 0x44e
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
inc ebx
cmp ebx, dword [esi + 0x90]
jl 0x49f672
mov eax, dword [ebp - 0x48]
cmp dword [esi + 0x18], eax
je 0x49f769
mov ecx, 0x100
test dword [ebp - 8], ecx
jne 0x49f6e8
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
call dword [eax + 0x70]
mov dword [ebp - 8], eax
jmp 0x49f769
mov eax, dword [esi + 0x94]
test eax, eax
jle 0x49f769
cmp dword [ebp - 0x44], ecx
je 0x49f700
cmp dword [ebp - 0x44], 0x104
jne 0x49f769
mov ecx, dword [ebp - 0x40]
mov edi, dword [esi + 0x10c]
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x14], ecx
jle 0x49f769
mov ecx, dword [edi]
mov eax, dword [ecx + ebx*4]
cmp dword [eax + 4], 0xa
jne 0x49f745
mov edx, dword [ebp - 0x14]
cmp dword [eax + 0x40], edx
jne 0x49f745
mov edx, dword [0x4dd4b4]
cmp dword [eax + 0x48], edx
jne 0x49f745
call fcn.004434a5
mov ecx, dword [edi]
mov eax, dword [ecx + ebx*4]
mov eax, dword [eax + 0x48]
cmp eax, dword [0x4dd4b4]
je 0x49f750
inc ebx
cmp ebx, dword [esi + 0x94]
jl 0x49f714
jmp 0x49f769
mov eax, dword [esi + 0x194]
mov eax, dword [eax + 0x28]
push ebx
push ebx
push 0x442
push dword [eax + 0x18]
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [ebp + 0xb], 0
jne 0x49f789
test byte [ebp - 8], 1
jne 0x49f789
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x48]
push edi
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x49f532
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x49f7c4
test byte [ebp - 1], 0x20
jne 0x49f7c4
mov ecx, dword [esi]
push dword [ecx + 4]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x3c]
pop edi
pop esi
pop ebx
leave
ret 4