Function at 0x1401466c0
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0xe0
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
movzx r15d, cl
lea rax, [r11 + 0x10]
mov qword [r11 + 0x20], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildDatabaseUtilities.cpp
lea rcx, [r11 + 0x10]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rdi, rax
call fcn.14016aad0
mov ebx, eax
call fcn.14016b630
mov r9d, ebx
mov r8d, eax
lea rdx, str.Beginning_of_RemoveOldEntries_MaxEntries:__d___Keep_days:__d
lea rcx, [rsp + 0x120]
call fcn.14015b330
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
nop
mov r9d, 0x34d
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.14015b6c0
nop
lea rcx, [rsp + 0x120]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x28]
call fcn.140142e00
nop
mov dl, 1
lea rcx, [rsp + 0x118]
call fcn.140169cd0
nop
lea rcx, [rsp + 0x118]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1401447c0
call fcn.1401693a0
test eax, eax
je 0x140146968
call fcn.14016b630
mov ebx, eax
test eax, eax
js 0x140146968
lea rcx, [rsp + 0x68]
call fcn.140006750
lea r14, vtable.CClipIDs.0
mov qword [rsp + 0x68], r14
mov r9d, ebx
lea r8, str.SELECT_lID__lShortCut__lParentID__lDontAutoDelete__stickyClipOrder__stickyClipGroupOrder_FROM_Main_WHERE_bIsGroup__0_ORDER_BY_clipOrder_DESC_LIMIT__1_OFFSET__d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140143da0
nop
movsd xmm7, qword [0x1402c1858]
nop dword [rax]
lea rcx, [rsp + 0x40]
call fcn.1401437b0
test al, al
jne 0x140146937
xor r8d, r8d
lea rdx, str.lShortCut
lea rcx, [rsp + 0x40]
call fcn.140144630
mov esi, eax
xor r8d, r8d
lea rdx, str.lDontAutoDelete
lea rcx, [rsp + 0x40]
call fcn.140144630
mov edi, eax
xor r8d, r8d
lea rdx, str.lParentID
lea rcx, [rsp + 0x40]
call fcn.140144630
mov ebx, eax
xorps xmm2, xmm2
lea rdx, str.stickyClipOrder
lea rcx, [rsp + 0x40]
call fcn.1401445b0
movaps xmm6, xmm0
xorps xmm2, xmm2
lea rdx, str.stickyClipGroupOrder
lea rcx, [rsp + 0x40]
call fcn.1401445b0
test esi, esi
jne 0x140146928
test edi, edi
jne 0x140146928
test ebx, ebx
jg 0x140146928
ucomisd xmm6, xmm7
jp 0x140146928
jne 0x140146928
ucomisd xmm0, xmm7
jp 0x140146928
jne 0x140146928
xor r8d, r8d
lea rdx, [0x1402bee18]
lea rcx, [rsp + 0x40]
call fcn.140144630
mov ebx, eax
mov r8d, eax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.1401061f0
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildDatabaseUtilities.cpp
lea rcx, [rsp + 0x120]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rdi, rax
mov r8d, ebx
lea rdx, str.From_MaxEntries___Deleting_Id:__d
lea rcx, [rsp + 0x128]
call fcn.14015b330
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
nop
mov r9d, 0x36f
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.14015b6c0
nop
lea rcx, [rsp + 0x128]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x40]
call fcn.1401446f0
jmp 0x1401467e0
cmp qword [rsp + 0x78], 0
jle 0x140146951
lea r8, [rsp + 0x28]
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140104ce0
nop
lea rcx, [rsp + 0x40]
call fcn.140143000
nop
lea rcx, [rsp + 0x68]
call fcn.140006800
jmp 0x14014696f
lea r14, vtable.CClipIDs.0
call fcn.140169350
test eax, eax
je 0x140146ac3
call fcn.14016aad0
test eax, eax
je 0x140146ac3
cdqe
imul rdi, rax, 0x15180
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rbx, rax
sub rbx, rdi
lea rcx, [rsp + 0x68]
call fcn.140006750
mov qword [rsp + 0x68], r14
mov r9d, ebx
lea r8, str.SELECT_lID_FROM_Main_WHERE_lastPasteDate____d_AND_bIsGroup__0_AND_lShortCut__0_AND_lParentID___0_AND_lDontAutoDelete__0_AND_stickyClipOrder____2147483647__AND_stickyClipGroupOrder____2147483647_
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140143da0
nop
nop dword [rax]
lea rcx, [rsp + 0x40]
call fcn.1401437b0
test al, al
jne 0x140146a94
xor r8d, r8d
lea rdx, [0x1402bee18]
lea rcx, [rsp + 0x40]
call fcn.140144630
mov r8d, eax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.1401061f0
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildDatabaseUtilities.cpp
lea rcx, [rsp + 0x120]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
xor r8d, r8d
lea rdx, [0x1402bee18]
lea rcx, [rsp + 0x40]
call fcn.140144630
mov r8d, eax
lea rdx, str.From_Clips_Expire___Deleting_Id:__d
lea rcx, [rsp + 0x128]
call fcn.14015b330
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
nop
mov r9d, COleControlSiteOrWnd::COleControlSiteOrWnd
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14015b6c0
nop
lea rcx, [rsp + 0x128]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x40]
call fcn.1401446f0
jmp 0x1401469d0
cmp qword [rsp + 0x78], 0
jle 0x140146aae
lea r8, [rsp + 0x28]
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.140104ce0
nop
lea rcx, [rsp + 0x40]
call fcn.140143000
nop
lea rcx, [rsp + 0x68]
call fcn.140006800
lea rdx, str.SELECT_COUNT_clipID__FROM_MainDeletes
lea rcx, [rsp + 0x28]
call fcn.140143e10
mov ebx, eax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildDatabaseUtilities.cpp
lea rcx, [rsp + 0x120]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rdi, rax
call fcn.14015a5f0
movaps xmm3, xmm0
movq r9, xmm0
mov r8d, ebx
lea rdx, str.Before_Deleting_emptied_out_data__count:__d__Idle_Seconds:__f
lea rcx, [rsp + 0x128]
call fcn.14015b330
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
nop
mov r9d, 0x39d
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.14015b6c0
nop
lea rcx, [rsp + 0x128]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
call fcn.14016b4f0
mov r9d, eax
lea r8, str.SELECT__FROM_MainDeletes_LIMIT__d
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x28]
call fcn.140143da0
nop
xor edi, edi
lea rcx, [rsp + 0x98]
call fcn.1401437b0
test al, al
jne 0x140146c25
call fcn.14015a5f0
movaps xmm6, xmm0
test r15b, r15b
je 0x140146d1d
call fcn.14016af90
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
comisd xmm6, xmm0
ja 0x140146d1d
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildDatabaseUtilities.cpp
lea rcx, [rsp + 0x120]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rbx, rax
call fcn.14016af90
movaps xmm3, xmm6
movq r9, xmm6
mov r8d, eax
lea rdx, str.Computer_has_not_been_idle_long_enough_to_delete_clips__Min_Idle:__d__current_Idle:__d
lea rcx, [rsp + 0x128]
call fcn.14015b330
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
nop
mov r9d, 0x3b0
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.14015b6c0
nop
lea rcx, [rsp + 0x128]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rdx, str.SELECT_COUNT_clipID__FROM_MainDeletes
lea rcx, [rsp + 0x28]
call fcn.140143e10
mov ebx, eax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildDatabaseUtilities.cpp
lea rcx, [rsp + 0x120]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov rsi, rax
mov r9d, ebx
mov r8d, edi
lea rdx, str.After_Deleting_emptied_out_data_rows__Count:__d__toDelete:__d
lea rcx, [rsp + 0x128]
call fcn.14015b330
nop
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___3]
nop
mov r9d, 0x3b9
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.14015b6c0
nop
lea rcx, [rsp + 0x128]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x98]
call fcn.140143000
nop
lea rcx, [rsp + 0x118]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x28]
call fcn.140142fe0
nop
lea rdx, str.C:UsersScottBrAppDataLocalTempDitto_BuildDatabaseUtilities.cpp
lea rcx, [rsp + 0x118]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov r9d, CSmartDockingStandaloneGuide::CSmartDockingStandaloneGuide
mov r8, rax
xor edx, edx
lea rcx, str.End_of_RemoveOldEntries
call fcn.14015b6c0
mov eax, 1
movaps xmm6, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xc0]
add rsp, 0xe0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
xor r8d, r8d
lea rdx, str.clipID
lea rcx, [rsp + 0x98]
call fcn.140144630
mov r8d, eax
lea rdx, str.DELETE_FROM_MainDeletes_WHERE_clipID_d
lea rcx, [rsp + 0x28]
call fcn.140143b90
mov edi, eax
lea rcx, [rsp + 0x98]
call fcn.1401446f0
jmp 0x140146b70