Function at 0x49e757
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 0x49e783
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 0x49ea0f
push esi
push 0
push 0x110
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x49ea0f
cmp byte [esi + 0xb4], 0
jl 0x49ea26
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov edi, 0x20a
cmp dword [ebp - 0x44], edi
mov byte [ebp + 0xb], 0
je 0x49e7e2
cmp dword [ebp - 0x44], 0x20e
jne 0x49e850
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 0x49e839
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x48]
call fcn.0049afdc
add esp, 0xc
test eax, eax
je 0x49e839
mov dword [ebp - 8], ebx
jmp 0x49e850
and dword [ebp - 8], 0
lea eax, [ebp - 0x68]
push edi
push eax
call fcn.0049b0cc
test eax, eax
pop ecx
pop ecx
je 0x49e850
mov dword [ebp - 0x48], eax
test byte [ebp - 8], 2
jne 0x49e889
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x49e88b
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x10], eax
jne 0x49e88b
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x49e88b
mov byte [ebp + 0xb], 1
jmp 0x49e88b
xor ebx, ebx
mov eax, 0x448
cmp dword [ebp - 0x44], eax
je 0x49e9ef
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 0x49e8d1
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.004a25d7
cmp dword [esi + 0x90], ebx
jle 0x49e945
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 0x49e945
mov eax, dword [esi + 0x8c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x49e93c
cmp edi, dword [ebp - 0x48]
je 0x49e93c
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 0x49e93c
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 0x49e8f8
mov eax, dword [ebp - 0x48]
cmp dword [esi + 0x18], eax
je 0x49e9ef
mov ecx, pe_nt_image_headers32
test dword [ebp - 8], ecx
jne 0x49e96e
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, esi
call dword [eax + 0x70]
mov dword [ebp - 8], eax
jmp 0x49e9ef
mov eax, dword [esi + 0x94]
test eax, eax
jle 0x49e9ef
cmp dword [ebp - 0x44], ecx
je 0x49e986
cmp dword [ebp - 0x44], 0x104
jne 0x49e9ef
mov ecx, dword [ebp - 0x40]
mov edi, dword [esi + 0x10c]
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x14], ecx
jle 0x49e9ef
mov ecx, dword [edi]
mov eax, dword [ecx + ebx*4]
cmp dword [eax + 4], 0xa
jne 0x49e9cb
mov edx, dword [ebp - 0x14]
cmp dword [eax + 0x40], edx
jne 0x49e9cb
mov edx, dword [0x4dc4bc]
cmp dword [eax + 0x48], edx
jne 0x49e9cb
call fcn.00443331
mov ecx, dword [edi]
mov eax, dword [ecx + ebx*4]
mov eax, dword [eax + 0x48]
cmp eax, dword [0x4dc4bc]
je 0x49e9d6
inc ebx
cmp ebx, dword [esi + 0x94]
jl 0x49e99a
jmp 0x49e9ef
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 0x49ea0f
test byte [ebp - 8], 1
jne 0x49ea0f
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 0x49e7b8
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x49ea4a
test byte [ebp - 1], 0x20
jne 0x49ea4a
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