Function at 0x495410
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0xb0
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push esi
mov ebp, ecx
push edi
push 0
push 0
mov eax, dword [ebp + 0xb8]
push 0x101f
push eax
call ebx
mov edi, dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [esp + 0x20]
push ecx
mov esi, eax
call edi
lea edx, [esp + 0x20]
push edx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
xor eax, eax
push ecx
push eax
push 0x1206
push esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], edx
call ebx
test eax, eax
jge 0x49548a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 4
lea edx, [esp + 0x20]
push edx
call edi
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push 0x61
push eax
call fcn.004bd990
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
add esp, 8
push eax
push 1
push 3
push ecx
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [0x547574]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4954f7
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4954f7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00532222
add esp, 4
mov ecx, dword [esp + 0x10]
push 0x554e08
push 1
push 0x800
push ecx
call esi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xb3ba
mov ecx, ebp
call fcn.00494d70
lea edx, [esp + 0x14]
push 0x19a
push edx
mov edi, eax
call fcn.004bd990
mov eax, dword [eax]
add esp, 8
push eax
mov eax, dword [esp + 0x14]
push edi
push 0x10
push eax
call esi
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x495566
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x495566
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
push 0
push 0xb3b3
push eax
call fcn.00486b20
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push 0x554e08
push 1
push 0x800
push ecx
call esi
lea edx, [esp + 0x14]
push 0x19b
push edx
call fcn.004bd990
mov eax, dword [eax]
add esp, 8
push eax
mov eax, dword [esp + 0x14]
push 0xf4243
push 0
push eax
call esi
mov eax, dword [esp + 0x14]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4955db
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x4955db
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push 0
push eax
mov eax, dword [esp + 0x2c]
push 0
push eax
push ecx
push 0x100
push edx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
jne 0x495628
mov eax, dword [esp + 0x10]
test eax, eax
je 0x495892
lea ecx, [esp + 0x10]
call fcn.00447300
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 4
cmp eax, 0xf4243
jne 0x495865
lea eax, [esp + 0x18]
push 0x61
push eax
call fcn.004bd990
mov ecx, dword [0x547570]
add esp, 4
mov esi, esp
mov edx, str.columns_plus_view
test edx, edx
mov dword [esi], ecx
je 0x495689
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
test edi, edi
je 0x495689
push edi
mov ecx, esi
call fcn.00405530
test eax, eax
je 0x495689
mov eax, dword [esi]
inc edi
push edi
push str.columns_plus_view
push eax
call fcn.00405400
add esp, 0xc
mov ecx, esi
push 0xffffffffffffffff
call fcn.00405bb0
push 1
lea ecx, [esp + 0x40]
call fcn.004684e0
mov ecx, dword [esp + 0x38]
mov eax, dword [0x55df98]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0x48]
push ecx
push edx
push eax
call fcn.0048eb00
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov ecx, dword [eax - 0xc]
mov esi, esp
test ecx, ecx
jl 0x4956d3
mov dword [esi], eax
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff4
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4956f5
mov edx, dword [0x547570]
mov dword [esi], edx
mov eax, dword [esp + 0x1c]
test eax, eax
mov edi, eax
je 0x4956ec
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.00405870
lea eax, [esp + 0x3c]
push eax
push ecx
mov ecx, esp
push 0x119
push ecx
call fcn.004bd990
add esp, 4
mov ecx, esp
push str.Name
call fcn.00405730
lea edx, [esp + 0x2c]
push edx
call fcn.00449cf0
mov eax, dword [esp + 0x30]
add esp, 0x14
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x49578e
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x495756
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x495756
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x495601
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x495601
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
jmp 0x495601
mov eax, dword [0x547570]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x3c]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
call fcn.004047f0
mov ecx, dword [esp + 0x44]
mov eax, dword [0x55df98]
push 0
lea edx, [esp + 0x50]
push ecx
push edx
push eax
call fcn.0048ea80
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
push 0
push ecx
push edx
push str.cust_col_2019
call fcn.0048ee10
mov eax, dword [esp + 0x40]
mov edx, dword [0x547574]
add esp, 0x2c
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x495805
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x495805
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x495830
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x495830
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x49585b
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x49585b
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x495892
jmp 0x49588b
add eax, 0xffff4c46
cmp eax, 0x19
jge 0x495874
push eax
push 0
jmp 0x49587a
add eax, 0xffffffe7
push 0xffffffffffffffff
push eax
push 0
mov ecx, ebp
call fcn.00494d70
mov eax, dword [esp + 0x10]
test eax, eax
je 0x495892
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xb0
ret 4