Function at 0x14010fd20
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x4b0
mov rsi, rcx
lea rbx, [rcx + 0x2b0]
mov qword [rsp + 0x80], rbx
cmp byte [rbx], 0
jne 0x1401101dc
mov r9d, reloc.WS2_32.dll_gethostbyname
lea r8, [0x1402ac320]
lea rdx, str.Delete_selected_items___This_cannot_be_undone_
call sub.mfc140u.dll_CMFCRibbonStatusBar::LoadState
cmp eax, 6
jne 0x1401101dc
lea rcx, [rsi + 0x170]
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x88], rcx
xor edx, edx
call sub.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable
mov byte [rbx], 1
lea r12, [rsi + 0x2b1]
mov qword [rsp + 0x70], r12
mov byte [r12], 0
call sub.mfc140u.dll_AfxFieldText
mov rcx, qword [rax + 8]
call sub.mfc140u.dll_Ordinal_2514
nop
lea rdx, str.PRAGMA_auto_vacuum__2
lea rcx, [0x1403c44c8]
call fcn.1401439e0
mov edx, 0x100c
mov r9d, 2
lea r8, [r9 - 3]
mov rcx, qword [rsi + 0x1b0]
call qword [sym.imp.USER32.dll_SendMessageW]
inc eax
movsxd r15, eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov rbx, qword [rsp + 0x28]
test eax, eax
je 0x14010fe60
test r15, r15
je 0x14010fe60
lea rdi, [r15 - 1]
movsxd r8, edi
mov edx, 0x100c
mov r9d, 2
mov rcx, qword [rsi + 0x1b0]
call qword [sym.imp.USER32.dll_SendMessageW]
inc eax
movsxd r15, eax
mov dword [rsp + 0x4f8], edi
cmp rbx, qword [rsp + 0x30]
je 0x14010fe44
mov dword [rbx], edi
add rbx, 4
mov qword [rsp + 0x28], rbx
jmp 0x14010fe00
lea r8, [rsp + 0x4f8]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14010de50
mov rbx, qword [rsp + 0x28]
jmp 0x14010fe00
lea rcx, [rsp + 0xc0]
call fcn.14017c120
nop
mov r9d, 1
lea r8, str.Deleting_clip_items
mov rdx, rsi
lea rcx, [rsp + 0xc0]
call fcn.14017c3a0
mov r15, qword [rsp + 0x20]
sub rbx, r15
sar rbx, 2
lea r8d, [rbx + 4]
xor edx, edx
lea r9d, [rdx + 1]
lea rcx, [rsp + 0xc0]
call fcn.14017cda0
lea rdx, str.Deleting_selected_items
lea rcx, [rsp + 0xc0]
call fcn.14017cea0
mov edx, 1
lea rcx, [rsp + 0xc0]
call fcn.14017ce30
lea rdi, [rbx - 1]
mov qword [rsp + 0x4f8], rdi
test rdi, rdi
js 0x140110020
mov edx, 1
lea rcx, [rsp + 0xc0]
call fcn.14017cb10
cmp byte [r12], 0
jne 0x140110020
cmp dword [rsp + 0x1a8], 0
jne 0x140110020
lea rcx, [rsp + 0xc0]
call fcn.14017d430
movsxd rax, dword [r15 + rdi*4]
imul r13, rax, 0x38
mov rbx, qword [rsi + 0x268]
add rbx, r13
mov eax, dword [rbx]
mov dword [rsp + 0x38], eax
mov eax, dword [rbx + 4]
mov dword [rsp + 0x3c], eax
lea rdx, [rbx + 8]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x50], rax
lea rdx, [rbx + 0x20]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x60], eax
lea rdx, [rbx + 0x30]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
nop
mov r8d, dword [rsp + 0x3c]
lea rdx, str.DELETE_FROM_Data_where_lID___d
lea rcx, [0x1403c44c8]
call fcn.140143b90
mov r8d, dword [rsp + 0x38]
lea rdx, str.DELETE_FROM_Main_where_lID_IN__SELECT_Main.lID_FROM_Main_LEFT_OUTER_JOIN_Data_on_Data.lParentID__Main.lID_WHERE_bIsGroup__0_AND_Main.lID___d_Group_by_Main.lID_having_Count_Data.lID___0__
lea rcx, [0x1403c44c8]
call fcn.140143b90
mov r8, qword [rsi + 0x268]
add r8, r13
lea rdx, [rsp + 0x90]
lea rcx, [rsi + 0x268]
call fcn.140112640
nop
jmp 0x14010fff2
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x58]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
dec rdi
mov r12, qword [rsp + 0x70]
jmp 0x14010fed8
lea rcx, [rsp + 0xc0]
call fcn.14017d430
lea rdx, str.Shrinking_database
lea rcx, [rsp + 0xc0]
call fcn.14017cea0
nop
cmp r14d, 0x64
jge 0x14011006b
lea rdx, str.SELECT_COUNT_clipID__FROM_MainDeletes
lea rcx, [0x1403c44c8]
call fcn.140143e10
test eax, eax
jle 0x14011006b
xor ecx, ecx
call fcn.1401466c0
inc r14d
jmp 0x140110042
jmp 0x14011007a
lea rdx, str.PRAGMA_auto_vacuum__1
lea rcx, [0x1403c44c8]
call fcn.1401439e0
lea r8, str.VACUUM
lea rdx, [rsp + 0x38]
lea rcx, [0x1403c44c8]
call fcn.140143c00
lea rcx, [rsp + 0x38]
call fcn.140143000
lea rcx, [rsp + 0xc0]
call fcn.14017d430
lea rdx, str.Refreshing_database_size
lea rcx, [rsp + 0xc0]
call fcn.14017cea0
mov rcx, rsi
call fcn.140112300
lea rcx, [rsp + 0xc0]
call fcn.14017d430
lea rdx, str.Reloading_list
lea rcx, [rsp + 0xc0]
call fcn.14017cea0
lea rcx, [rsp + 0xc0]
call fcn.14017d430
lea rdx, str.Applying_filter
lea rcx, [rsp + 0xc0]
call fcn.14017cea0
mov rcx, rsi
call fcn.140110380
mov rcx, qword [rsi + 0x270]
sub rcx, qword [rsi + 0x268]
movabs rax, 0x4924924924924925
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
xor r8d, r8d
mov rcx, qword [rsp + 0x78]
call sub.mfc140u.dll_CMFCOutlookBarTabCtrl::SetBorderSize
nop
lea rcx, [rsp + 0xc0]
call fcn.14017c1f0
nop
test r15, r15
je 0x1401101b1
mov rax, qword [rsp + 0x30]
sub rax, r15
sar rax, 2
lea rdx, [rax*4]
mov rax, r15
cmp rdx, 0x1000
jb 0x1401101a8
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401101a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140265548
nop
mov rax, qword [rsp + 0x80]
mov byte [rax], 0
mov edx, 1
mov rcx, qword [rsp + 0x88]
call sub.mfc140u.dll_CMFCTasksPaneToolBarCmdUI::Enable
nop
lea rcx, [rsp + 0x4f0]
call fcn.1400075a0
add rsp, 0x4b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret