Function at 0x49adc0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536e3f
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xa4], edi
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xb0], 0
sub eax, 0
je 0x49b161
sub eax, 1
jne 0x49af43
mov eax, dword [ebp + 0xc]
cmp eax, 0x201
jne 0x49ae7c
test byte [edi + 0xb4], 0x40
jne 0x49af37
push 0
push 0
push 0x1304
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jle 0x49af37
push dword [edi + 0x24]
or byte [edi + 0xb5], 2
call dword [sym.imp.USER32.dll_SetCapture]
movsx eax, si
shr esi, 0x10
mov dword [edi + 0x58], eax
movsx eax, si
mov dword [edi + 0x5c], eax
jmp 0x49af37
cmp eax, 0x202
jne 0x49aebf
mov al, byte [edi + 0xb5]
test al, 2
je 0x49af37
test al, 4
je 0x49aeb7
movsx ecx, si
shr esi, 0x10
movsx eax, si
push eax
push ecx
mov ecx, edi
call fcn.0048ba30
cmp eax, 0xffffffff
je 0x49aeb7
push eax
push dword [edi + 0x50]
mov ecx, edi
call fcn.004916f0
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x49af37
cmp eax, 0x215
jne 0x49af62
mov al, byte [edi + 0xb5]
test al, 2
je 0x49af37
and al, 0xfd
mov byte [edi + 0xb5], al
test al, 4
je 0x49af37
and al, 0xfb
cmp byte [edi + 0xb4], 0
mov byte [edi + 0xb5], al
jl 0x49af06
push 0x10e1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi + 0x7c], 0
push 0xffffffffffffffff
mov ecx, edi
call fcn.0048d880
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_DragLeave]
call dword [sym.imp.COMCTL32.dll_ImageList_EndDrag]
mov eax, dword [edi + 0x78]
test eax, eax
je 0x49af30
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov dword [edi + 0x78], 0
mov esi, dword [ebp - 0xa0]
mov dword [esi], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x200
jne 0x49af8f
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 1
push eax
push esi
push dword [ebp + 0x10]
mov ecx, edi
push 0x200
call fcn.00497b30
jmp 0x49b9af
cmp eax, 0x2a3
jne 0x49b009
cmp dword [edi + 0x88], 0
je 0x49b002
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [edi + 0x88]
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x49b6de
mov ecx, edi
mov dword [edi + 0xb0], 0xffffffff
call fcn.0048a4d0
mov eax, dword [ebp - 0xa0]
mov dword [eax], 0
jmp 0x49af43
mov esi, ecx
jmp 0x49af3d
cmp eax, 0x4e
jne 0x49b08d
cmp dword [esi + 4], 0xe152
jne 0x49af43
cmp dword [esi + 8], 0xfffffd18
jne 0x49af43
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x130d
push dword [edi + 0x24]
call esi
cmp eax, 0xffffffff
jne 0x49b077
push 0
push 0
push 0x2a3
push dword [edi + 0x24]
call esi
mov esi, dword [ebp - 0xa0]
mov eax, 1
mov dword [esi], 0
jmp 0x49af45
cmp eax, 0x111
jne 0x49af43
mov eax, dword [ebp + 0x10]
mov ecx, 0xe152
cmp cx, ax
jne 0x49af43
shr eax, 0x10
xor ecx, ecx
cmp cx, ax
jne 0x49af43
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0xb0]
push ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xfffffd19
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [ebp - 0x2c]
push ecx
push eax
push 0x4e
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
test eax, eax
jne 0x49b069
push dword [edi + 0xb0]
mov ecx, edi
call fcn.0049ec00
cmp dword [edi + 0x88], 0
mov dword [edi + 0xb0], 0xffffffff
je 0x49b077
push dword [edi + 0xac]
call dword [sym.imp.USER32.dll_IsWindow]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x49b143
push dword [edi + 0xac]
call esi
mov dword [edi + 0xac], 0
push dword [edi + 0x88]
call esi
mov esi, dword [ebp - 0xa0]
mov eax, 1
mov dword [esi], 0
jmp 0x49af45
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x49b2fa
mov eax, dword [edi + 4]
lea esi, [edi + 0x24]
mov ecx, esi
mov dword [ebp - 0xa4], eax
call fcn.0049e6f0
movzx eax, ax
mov dword [ebp - 0xac], eax
test ax, ax
je 0x49b1b1
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x49b22e
call fcn.004b878d
mov dword [esi + 0x10], eax
test eax, eax
jne 0x49b22e
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [esi], 0
je 0x49b077
push 0x5c
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.004d52d0
add esp, 0xc
lea eax, [ebp - 0x9c]
push 0
push eax
push 0x5c
push 0x1f
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push 1
push eax
push 0x30
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
or byte [edi + 0xb5], 8
push 0
push 0xc
push 0x130e
push dword [edi + 0x24]
call esi
mov esi, dword [ebp - 0xa0]
mov eax, 1
mov dword [edi + 0x4c], 0
mov dword [esi], 0
jmp 0x49af45
push 0
push 0
push eax
call fcn.004b888f
lea eax, [esi + 4]
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x49b9ce
test esi, esi
je 0x49b9ce
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [ebp - 0xa8]
mov dword [ebp - 0x18], 0x58f20c
mov byte [ebp - 0x14], 0
mov dword [esi + 4], eax
mov dword [ebp - 4], 0
push 0x58f20c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x58f224]
mov dword [esi + 8], eax
mov byte [ebp - 0x14], 1
mov dword [0x58f224], esi
mov dword [ebp - 4], 0xffffffff
push 0x58f20c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [0x58e014]
mov esi, dword [0x58e00c]
sub edx, esi
mov eax, dword [0x58e010]
mov ecx, dword [0x58e008]
sub eax, ecx
push 0
push dword [0x596a1c]
mov byte [ebp - 0x14], 0
push 0x521
push dword [ebp - 0xa4]
push edx
push eax
mov eax, dword [ebp - 0xac]
push esi
push ecx
push 0x4600c200
push 0
movzx eax, ax
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea esi, [edi + 0x24]
jmp 0x49b1b1
cmp eax, 2
jne 0x49b3ca
mov ecx, edi
call fcn.0049e8d0
test byte [edi + 0xb4], 2
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
je 0x49b377
mov dword [ebp - 4], 1
push 0
push 0
push 0x1303
push dword [edi + 0x24]
call eax
mov esi, eax
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xb0], 1
test esi, esi
je 0x49b357
push esi
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0xac], esi
mov eax, 1
mov dword [ebp - 0xb0], eax
and eax, 0xfffffffe
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
test byte [edi + 0xb5], 8
je 0x49b3aa
push 0
push 0
push 0x31
push dword [edi + 0x24]
call eax
push 0
push 0
push 0x30
push dword [edi + 0x24]
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
and byte [edi + 0xb5], 0xf7
mov eax, dword [ebp - 0xa0]
mov dword [edi + 0x80], 0
mov dword [eax], 0
mov eax, 1
jmp 0x49af45
cmp eax, 5
jne 0x49b3ec
mov ecx, edi
call fcn.004a0980
mov eax, dword [ebp - 0xa0]
mov dword [eax], 0
mov eax, 1
jmp 0x49af45
cmp eax, 7
jne 0x49b462
mov eax, dword [edi + 0x50]
cmp eax, 0xffffffff
je 0x49b077
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xd4], 8
push ecx
push eax
xorps xmm0, xmm0
push 0x133c
push dword [edi + 0x24]
movlpd qword [ebp - 0xd0], xmm0
movlpd qword [ebp - 0xc8], xmm0
movlpd qword [ebp - 0xc0], xmm0
movlpd qword [ebp - 0xb8], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0xbc]
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [ebp - 0xa0]
mov eax, 1
mov dword [esi], 0
jmp 0x49af45
cmp eax, 0x31
jne 0x49b487
push 0
push 0
push eax
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xa0]
mov dword [ecx], eax
mov eax, 1
jmp 0x49af45
cmp eax, 0x30
jne 0x49b601
test byte [edi + 0xb5], 8
je 0x49b4ce
push 0
push 0
push 0x31
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x30
push dword [edi + 0x24]
mov esi, eax
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
call eax
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
and byte [edi + 0xb5], 0xf7
mov esi, dword [ebp - 0xa8]
push esi
push dword [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x30
push dword [edi + 0x24]
call esi
push 0
push 0
push 0x1304
push dword [edi + 0x24]
call esi
mov ecx, dword [0x543768]
xorps xmm0, xmm0
mov dword [ebp - 0x18], ecx
mov cx, word [0x54376c]
mov word [ebp - 0x14], cx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc8], ecx
lea ecx, [ebp - 0xd4]
push ecx
push eax
push 0x133e
push dword [edi + 0x24]
movlpd qword [ebp - 0xd0], xmm0
movlpd qword [ebp - 0xc4], xmm0
movlpd qword [ebp - 0xbc], xmm0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xd4], 1
call esi
movaps xmm0, xmmword [0x5447d0]
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0x1328
push dword [edi + 0x24]
movups xmmword [ebp - 0x40], xmm0
call esi
mov eax, dword [ebp - 0x3c]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [edi + 0x24]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x3e8
mov dword [ebp - 0x24], eax
call esi
mov edi, eax
mov eax, dword [ebp - 0xa4]
push 0xfffffffffffffff0
push dword [eax + 0x24]
call esi
push edi
push 0
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov edi, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x24]
mov eax, dword [sym.imp.USER32.dll_SendMessageW]
sub esi, dword [ebp - 0x2c]
push 0
push dword [ebp - 0xac]
push 0x1308
push dword [edi + 0x24]
call eax
cmp dword [ebp - 0xa8], 0
mov dword [edi + 0x4c], esi
je 0x49b077
mov ecx, edi
call fcn.004a0980
mov esi, dword [ebp - 0xa0]
mov eax, 1
mov dword [esi], 0
jmp 0x49af45
mov edx, dword [ebp + 0x10]
cmp eax, 0x113
jne 0x49b6f4
cmp edx, 0x10e1
jne 0x49b98e
push 0
push 0
push 0x466
push dword [edi + 0x80]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov esi, eax
push 0x468
push dword [edi + 0x80]
movsx eax, si
mov dword [ebp - 0xac], eax
call dword [sym.imp.USER32.dll_SendMessageW]
movsx ecx, ax
mov eax, dword [edi + 0x7c]
cmp eax, 0xffffffff
jne 0x49b668
shr esi, 0x10
movsx eax, si
cmp ecx, eax
jle 0x49b6de
dec ecx
jmp 0x49b676
cmp eax, 1
jne 0x49b6de
cmp ecx, dword [ebp - 0xac]
jge 0x49b6de
inc ecx
cmp ecx, 0xffffffff
je 0x49b6de
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
movzx eax, cx
push 0
shl eax, 0x10
or eax, 4
push eax
push 0x114
push dword [edi + 0x24]
call esi
push 0
push 8
push 0x114
push dword [edi + 0x24]
call esi
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x14]
movzx eax, word [ebp - 0x18]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [edi + 0x24]
call esi
mov eax, dword [ebp - 0xa0]
mov dword [eax], 0
mov eax, 1
jmp 0x49af45
cmp eax, 0x7b
jne 0x49b819
mov ecx, dword [edi + 0x50]
movsx eax, si
mov dword [ebp - 0x18], eax
mov eax, esi
shr eax, 0x10
cwde
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x14], eax
cmp edx, dword [edi + 0x24]
jne 0x49b98b
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xffffffff
jne 0x49b770
cmp eax, ecx
jne 0x49b770
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [ebp - 0xa8]
movups xmmword [ebp - 0x40], xmm0
push 0x130a
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0xa8]
jmp 0x49b7b5
push eax
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, dword [edi + 0x24]
jne 0x49b982
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [edi + 4]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x130d
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [edi + 4]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x18]
push edx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xbc], 0xfffffd1a
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ecx
call dword [sym.imp.USER32.dll_GetParent]
push dword [edi + 4]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [ebp - 0xc4]
push ecx
push eax
push 0x4e
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xa0]
mov dword [eax], 0
mov eax, 1
jmp 0x49af45
cmp eax, 0x4e
jne 0x49b994
cmp dword [esi + 4], 0x521
jne 0x49b8f7
cmp dword [esi + 8], 0xfffffdd9
jne 0x49b077
test byte [edi + 0xb5], 1
je 0x49b88a
cmp dword [edi + 0x88], 0
je 0x49b88a
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [edi + 0xb0]
mov ecx, edi
movups xmmword [ebp - 0x20], xmm0
call fcn.00489810
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov ecx, dword [ebp - 0x20]
push 0x14
push eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [edi + 0x88]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0
push 0x130b
push dword [edi + 0x24]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
call edi
mov esi, dword [ebp - 0xa4]
mov ecx, esi
push eax
call fcn.0049edc0
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0x50]
push ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xfffffd1b
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
mov eax, dword [ebp - 0xa4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ecx, [ebp - 0x2c]
push ecx
push eax
push 0x4e
push esi
call edi
mov eax, dword [ebp - 0xa0]
mov dword [eax], 0
mov eax, 1
jmp 0x49af45
cmp dword [esi + 8], 0xfffffdee
jne 0x49b994
push 0
push 0
push 0x132d
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi], eax
jne 0x49b982
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd4], 8
push eax
push dword [esi + 4]
xorps xmm0, xmm0
push 0x133c
push dword [edi + 0x24]
movlpd qword [ebp - 0xd0], xmm0
movlpd qword [ebp - 0xc8], xmm0
movlpd qword [ebp - 0xc0], xmm0
movlpd qword [ebp - 0xb8], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
neg eax
sbb eax, eax
and eax, dword [ebp - 0xb8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xa0]
mov dword [eax], 0
mov eax, 1
jmp 0x49af45
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp + 0xc]
mov dword [ecx], 0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa4], 1
push ecx
push esi
push edx
push eax
mov ecx, edi
call fcn.0048e100
cmp dword [ebp - 0xa4], 0
mov ecx, dword [ebp - 0xa0]
mov dword [ecx], eax
je 0x49af43
mov eax, 1
jmp 0x49af45
push 1
push 0xc0000005
call fcn.00446c00
int3