Function at 0x49ae7a
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 0x49aea6
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 0x49b132
push esi
push 0
push 0x110
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x49b132
cmp byte [esi + 0xb4], 0
jl 0x49b149
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov edi, 0x20a
cmp dword [ebp - 0x44], edi
mov byte [ebp + 0xb], 0
je 0x49af05
cmp dword [ebp - 0x44], 0x20e
jne 0x49af73
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 0x49af5c
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x48]
call fcn.004976f9
add esp, 0xc
test eax, eax
je 0x49af5c
mov dword [ebp - 8], ebx
jmp 0x49af73
and dword [ebp - 8], 0
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.004977e9
test eax, eax
pop ecx
pop ecx
je 0x49af73
mov dword [ebp - 0x48], eax
test byte [ebp - 8], 2
jne 0x49afac
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x49afae
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x10], eax
jne 0x49afae
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x49afae
mov byte [ebp + 0xb], 1
jmp 0x49afae
xor ebx, ebx
mov eax, 0x448
cmp dword [ebp - 0x44], eax
je 0x49b112
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 0x49aff4
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.0049ed9c
cmp dword [esi + 0x90], ebx
jle 0x49b068
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 0x49b068
mov eax, dword [esi + 0x8c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x49b05f
cmp edi, dword [ebp - 0x48]
je 0x49b05f
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 0x49b05f
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 0x49b01b
mov eax, dword [ebp - 0x48]
cmp dword [esi + 0x18], eax
je 0x49b112
mov ecx, pe_nt_image_headers32
test dword [ebp - 8], ecx
jne 0x49b091
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
call dword [eax + 0x70]
mov dword [ebp - 8], eax
jmp 0x49b112
mov eax, dword [esi + 0x94]
test eax, eax
jle 0x49b112
cmp dword [ebp - 0x44], ecx
je 0x49b0a9
cmp dword [ebp - 0x44], 0x104
jne 0x49b112
mov ecx, dword [ebp - 0x40]
mov edi, dword [esi + 0x10c]
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x14], ecx
jle 0x49b112
mov ecx, dword [edi]
mov eax, dword [ecx + ebx*4]
cmp dword [eax + 4], 0xa
jne 0x49b0ee
mov edx, dword [ebp - 0x14]
cmp dword [eax + 0x40], edx
jne 0x49b0ee
mov edx, dword [0x4d84ac]
cmp dword [eax + 0x48], edx
jne 0x49b0ee
call fcn.004425b6
mov ecx, dword [edi]
mov eax, dword [ecx + ebx*4]
mov eax, dword [eax + 0x48]
cmp eax, dword [0x4d84ac]
je 0x49b0f9
inc ebx
cmp ebx, dword [esi + 0x94]
jl 0x49b0bd
jmp 0x49b112
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 0x49b132
test byte [ebp - 8], 1
jne 0x49b132
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 0x49aedb
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x49b16d
test byte [ebp - 1], 0x20
jne 0x49b16d
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