Function at 0x49b120
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 0x49b14c
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 0x49b3d8
push esi
push 0
push 0x110
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x49b3d8
cmp byte [esi + 0xb4], 0
jl 0x49b3ef
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov edi, 0x20a
cmp dword [ebp - 0x44], edi
mov byte [ebp + 0xb], 0
je 0x49b1ab
cmp dword [ebp - 0x44], 0x20e
jne 0x49b219
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 0x49b202
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x48]
call fcn.00497647
add esp, 0xc
test eax, eax
je 0x49b202
mov dword [ebp - 8], ebx
jmp 0x49b219
and dword [ebp - 8], 0
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.00497737
test eax, eax
pop ecx
pop ecx
je 0x49b219
mov dword [ebp - 0x48], eax
test byte [ebp - 8], 2
jne 0x49b252
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x49b254
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x10], eax
jne 0x49b254
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x49b254
mov byte [ebp + 0xb], 1
jmp 0x49b254
xor ebx, ebx
mov eax, 0x448
cmp dword [ebp - 0x44], eax
je 0x49b3b8
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 0x49b29a
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.0049ef9e
cmp dword [esi + 0x90], ebx
jle 0x49b30e
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 0x49b30e
mov eax, dword [esi + 0x8c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x49b305
cmp edi, dword [ebp - 0x48]
je 0x49b305
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 0x49b305
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 0x49b2c1
mov eax, dword [ebp - 0x48]
cmp dword [esi + 0x18], eax
je 0x49b3b8
mov ecx, 0x100
test dword [ebp - 8], ecx
jne 0x49b337
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
call dword [eax + 0x70]
mov dword [ebp - 8], eax
jmp 0x49b3b8
mov eax, dword [esi + 0x94]
test eax, eax
jle 0x49b3b8
cmp dword [ebp - 0x44], ecx
je 0x49b34f
cmp dword [ebp - 0x44], 0x104
jne 0x49b3b8
mov ecx, dword [ebp - 0x40]
mov edi, dword [esi + 0x10c]
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x14], ecx
jle 0x49b3b8
mov ecx, dword [edi]
mov eax, dword [ecx + ebx*4]
cmp dword [eax + 4], 0xa
jne 0x49b394
mov edx, dword [ebp - 0x14]
cmp dword [eax + 0x40], edx
jne 0x49b394
mov edx, dword [0x4d84a4]
cmp dword [eax + 0x48], edx
jne 0x49b394
call fcn.004427fc
mov ecx, dword [edi]
mov eax, dword [ecx + ebx*4]
mov eax, dword [eax + 0x48]
cmp eax, dword [0x4d84a4]
je 0x49b39f
inc ebx
cmp ebx, dword [esi + 0x94]
jl 0x49b363
jmp 0x49b3b8
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 0x49b3d8
test byte [ebp - 8], 1
jne 0x49b3d8
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 0x49b181
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x49b413
test byte [ebp - 1], 0x20
jne 0x49b413
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