Function at 0x4a45e3
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 + 0xc0]
push edi
mov byte [ebp - 1], al
mov byte [esi + 0xc0], 0x10
jne 0x4a460f
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 0x4a489b
push esi
push 0
push 0x110
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4a489b
cmp byte [esi + 0xc0], 0
jl 0x4a48b2
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov edi, 0x20a
cmp dword [ebp - 0x44], edi
mov byte [ebp + 0xb], 0
je 0x4a466e
cmp dword [ebp - 0x44], 0x20e
jne 0x4a46dc
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 0x4a46c5
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x48]
call fcn.004a0ac0
add esp, 0xc
test eax, eax
je 0x4a46c5
mov dword [ebp - 8], ebx
jmp 0x4a46dc
and dword [ebp - 8], 0
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.004a0bb0
test eax, eax
pop ecx
pop ecx
je 0x4a46dc
mov dword [ebp - 0x48], eax
test byte [ebp - 8], 2
jne 0x4a4715
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x4a4717
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x10], eax
jne 0x4a4717
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x4a4717
mov byte [ebp + 0xb], 1
jmp 0x4a4717
xor ebx, ebx
mov eax, 0x448
cmp dword [ebp - 0x44], eax
je 0x4a487b
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 0x4a475d
mov ecx, dword [esi + 0x140]
push ebx
push 0x80
push dword [esi + 0x18]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call fcn.004a8542
cmp dword [esi + 0x9c], ebx
jle 0x4a47d1
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 + 0x9c], 0
jle 0x4a47d1
mov eax, dword [esi + 0x98]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x4a47c8
cmp edi, dword [ebp - 0x48]
je 0x4a47c8
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 0x4a47c8
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 + 0x9c]
jl 0x4a4784
mov eax, dword [ebp - 0x48]
cmp dword [esi + 0x18], eax
je 0x4a487b
mov ecx, 0x100
test dword [ebp - 8], ecx
jne 0x4a47fa
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
call dword [eax + 0x70]
mov dword [ebp - 8], eax
jmp 0x4a487b
mov eax, dword [esi + 0xa0]
test eax, eax
jle 0x4a487b
cmp dword [ebp - 0x44], ecx
je 0x4a4812
cmp dword [ebp - 0x44], 0x104
jne 0x4a487b
mov ecx, dword [ebp - 0x40]
mov edi, dword [esi + 0x11c]
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x14], ecx
jle 0x4a487b
mov ecx, dword [edi]
mov eax, dword [ecx + ebx*4]
cmp dword [eax + 4], 0xa
jne 0x4a4857
mov edx, dword [ebp - 0x14]
cmp dword [eax + 0x40], edx
jne 0x4a4857
mov edx, dword [0x4e34d8]
cmp dword [eax + 0x48], edx
jne 0x4a4857
call fcn.00444dde
mov ecx, dword [edi]
mov eax, dword [ecx + ebx*4]
mov eax, dword [eax + 0x48]
cmp eax, dword [0x4e34d8]
je 0x4a4862
inc ebx
cmp ebx, dword [esi + 0xa0]
jl 0x4a4826
jmp 0x4a487b
mov eax, dword [esi + 0x1a4]
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 0x4a489b
test byte [ebp - 8], 1
jne 0x4a489b
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 0x4a4644
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x4a48d6
test byte [ebp - 1], 0x20
jne 0x4a48d6
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