Function at 0x140186d70
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
movzx ebp, dl
mov rdi, rcx
cmp dword [0x1403c53d0], 0
jne 0x140186d9a
cmp dword [reloc.WS2_32.dll_accept], 0
jne 0x140186de0
add rcx, 0x888
lea rdx, [0x1402ac320]
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
nop
test eax, eax
je 0x140186de0
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildQPasteWnd.cpp
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov r9d, 0x328
mov r8, rax
xor edx, edx
lea rcx, str.Currently_searching_for_something_and_setting_to_maintain_search_view_is_enabled__not_refreshing
call fcn.14015b6c0
xor esi, esi
jmp 0x140186de5
mov esi, 1
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildQPasteWnd.cpp
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov r9d, 0x331
mov r8, rax
xor edx, edx
lea rcx, str.Start_of_HideQPasteWindow
call fcn.14015b6c0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
cmp byte [0x1403c4734], 0
jne 0x140186e49
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildQPasteWnd.cpp
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov r9d, 0x336
mov r8, rax
xor edx, edx
lea rcx, str.End_of_HideQPasteWindow___theApp.m_bShowingQuickPaste
call fcn.14015b6c0
lea rbx, [rdi + 0x1538]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rdi + 0x13cc], 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [0x1403c4734], 0
test bpl, bpl
je 0x140186e81
lea rcx, [0x1403c45e8]
call fcn.14014fc70
mov edx, 1
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_KillTimer]
mov dl, 1
lea rcx, [rdi + 0x378]
call fcn.140234320
lea rcx, [rdi + 0x15d0]
call fcn.14012f350
mov rcx, rdi
call fcn.14018e880
call fcn.14016dca0
neg eax
sbb edx, edx
and edx, 6
mov rcx, rdi
call sub.mfc140u.dll_COleControlSite::SetPropertyV
cmp esi, 1
jne 0x140186f6f
mov byte [rdi + 0x13cd], 0
lea rcx, [rdi + 0x6a0]
lea rdx, [0x1402ac320]
call sub.mfc140u.dll_CMFCToolBar::SetOrigButtons
mov byte [rdi + 0x13cd], sil
lea rcx, [rdi + 0x880]
call qword [sym.imp.mfc140u.dll_CMFCPropertyGridProperty::HitTest]
test al, al
je 0x140186f0a
cmp byte [rdi + 0x16a0], 0
je 0x140186f6f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rdi + 0x13cc], 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, 0x1388
mov rcx, qword [rdi + 0x1420]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x28], 1
lea rcx, [rdi + 0x14b0]
call fcn.140190ee0
xor r8d, r8d
xor edx, edx
lea rcx, [rdi + 0x378]
call fcn.140236930
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x1403c470c], 0
jle 0x140186f9a
call fcn.14016d3c0
test eax, eax
je 0x140186f9a
xor r9d, r9d
lea edx, [r9 - 1]
lea r8d, [r9 + 1]
lea rcx, [0x1403c4350]
call fcn.14010a500
jmp 0x140186fa6
lea rcx, [0x1403c4350]
call fcn.14010ca00
mov byte [rdi + 0x16a0], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
sub esi, r14d
cmp esi, 0x96
jbe 0x14018701d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildQPasteWnd.cpp
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
mov r8d, esi
lea rdx, str.Paste_Timing_HideQPasteWindow:__d
lea rcx, [rsp + 0x68]
call fcn.14015b330
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
nop
mov r9d, CPreviewDC::CPreviewDC
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14015b6c0
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildQPasteWnd.cpp
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
mov rcx, qword [rdi + 0x14b8]
sub rcx, qword [rdi + 0x14b0]
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 2
mov r8, rdx
shr r8, 0x3f
add r8, rdx
lea rdx, str.End_of_HideQPasteWindow__ItemCount:__d
lea rcx, [rsp + 0x68]
call fcn.14015b330
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
nop
mov r9d, CPreviewDC::CPreviewDC
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14015b6c0
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, 1
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret