Function at 0x14014c130
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x14026b8a0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 1
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x65]
test eax, eax
jne 0x14014c1ac
lea r8, str.cannot_VACUUM_from_within_a_transaction
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140204ff0
mov eax, 1
jmp 0x14014c99d
mov rax, qword [rsp + 0xd8]
cmp dword [rax + 0xd8], 1
jle 0x14014c1e3
lea r8, str.cannot_VACUUM___SQL_statements_in_progress
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140204ff0
mov eax, 1
jmp 0x14014c99d
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x4c]
mov dword [rsp + 0x68], eax
cmp qword [rsp + 0xe8], 0
je 0x14014c27b
mov rcx, qword [rsp + 0xe8]
call fcn.1401bf320
cmp eax, 3
je 0x14014c235
lea r8, str.non_text_filename
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140204ff0
mov eax, 1
jmp 0x14014c99d
mov rcx, qword [rsp + 0xe8]
call fcn.1401bf3b0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x4c]
and eax, 0xfffffffe
mov rcx, qword [rsp + 0xd8]
mov dword [rcx + 0x4c], eax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x4c]
or eax, 6
mov rcx, qword [rsp + 0xd8]
mov dword [rcx + 0x4c], eax
jmp 0x14014c287
lea rax, [0x14023d973]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x78]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x6e]
mov byte [rsp + 0x24], al
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x30]
or rax, 0x201
mov rcx, qword [rsp + 0xd8]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x2c]
or eax, 6
mov rcx, qword [rsp + 0xd8]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsp + 0xd8]
movabs rcx, 0xfffffffeefffafff
mov rax, qword [rax + 0x30]
and rax, rcx
mov rcx, qword [rsp + 0xd8]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0xd8]
mov byte [rax + 0x6e], 0
movsxd rax, dword [rsp + 0xe0]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp + 0xe0]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.1401cd810
mov rcx, rax
call fcn.1401e74f0
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x5c], eax
mov r9, qword [rsp + 0x78]
lea r8, str.ATTACH__Q_AS_vacuum_db
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.14014caf0
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x68]
mov dword [rax + 0x4c], ecx
cmp dword [rsp + 0x20], 0
je 0x14014c3f5
jmp 0x14014c8cb
movsxd rax, dword [rsp + 0x5c]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xd8]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0xe8], 0
je 0x14014c4fa
mov rcx, qword [rsp + 0x30]
call fcn.1401cd810
mov rcx, rax
call fcn.1401e7030
mov qword [rsp + 0x80], rax
mov qword [rsp + 0xa8], 0
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x14014c4ad
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x80]
call fcn.140207920
test eax, eax
jne 0x14014c484
cmp qword [rsp + 0xa8], 0
jle 0x14014c4ad
mov dword [rsp + 0x20], 1
lea r8, str.output_file_already_exists
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
call fcn.140204ff0
jmp 0x14014c8cb
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x2c]
or eax, 8
mov rcx, qword [rsp + 0xd8]
mov dword [rcx + 0x2c], eax
movsxd rax, dword [rsp + 0xe0]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x20]
movzx eax, byte [rcx + rax + 0x10]
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x30]
and rcx, 0x38
or rax, rcx
mov dword [rsp + 0x50], eax
mov rcx, qword [rsp + 0x38]
call fcn.1401db320
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0xe0]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax + 0x18]
mov edx, dword [rax + 0x74]
mov rcx, qword [rsp + 0x30]
call fcn.1401db650
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.1401db5f0
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.1401db5f0
mov eax, dword [rsp + 0x50]
or eax, 0x20
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.1401db550
lea r8, str.BEGIN
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.14014cba0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14014c589
jmp 0x14014c8cb
cmp qword [rsp + 0xe8], 0
jne 0x14014c59e
mov dword [rsp + 0x54], 2
jmp 0x14014c5a6
mov dword [rsp + 0x54], 0
xor r8d, r8d
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x38]
call fcn.1401da360
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14014c5c7
jmp 0x14014c8cb
mov rcx, qword [rsp + 0x38]
call fcn.1401cd810
mov rcx, rax
call fcn.1401e6ae0
cmp eax, 5
jne 0x14014c5f8
cmp qword [rsp + 0xe8], 0
jne 0x14014c5f8
mov rax, qword [rsp + 0xd8]
mov dword [rax + 0x74], 0
mov rcx, qword [rsp + 0x38]
call fcn.1401db3d0
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.1401db3f0
test eax, eax
jne 0x14014c652
cmp dword [rsp + 0x6c], 0
jne 0x14014c642
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rax, qword [rsp + 0xd8]
mov edx, dword [rax + 0x74]
mov rcx, qword [rsp + 0x30]
call fcn.1401db3f0
test eax, eax
jne 0x14014c652
mov rax, qword [rsp + 0xd8]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x14014c65f
mov dword [rsp + 0x20], 7
jmp 0x14014c8cb
mov rax, qword [rsp + 0xd8]
movsx eax, byte [rax + 0x6a]
test eax, eax
jl 0x14014c681
mov rax, qword [rsp + 0xd8]
movsx eax, byte [rax + 0x6a]
mov dword [rsp + 0x58], eax
jmp 0x14014c68f
mov rcx, qword [rsp + 0x38]
call fcn.1401db090
mov dword [rsp + 0x58], eax
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call fcn.1401db140
mov rax, qword [rsp + 0xd8]
movzx ecx, byte [rsp + 0x5c]
mov byte [rax + 0xc4], cl
mov r9, qword [rsp + 0x60]
lea r8, str.SELECT_sql_FROM___w_.sqlite_schema_WHERE_typetableAND_name__sqlite_sequence_AND_coalesce_rootpage_1__0
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.14014caf0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14014c6e1
jmp 0x14014c8cb
mov r9, qword [rsp + 0x60]
lea r8, str.SELECT_sql_FROM___w_.sqlite_schema_WHERE_typeindex
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.14014caf0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14014c712
jmp 0x14014c8cb
mov rax, qword [rsp + 0xd8]
mov byte [rax + 0xc4], 0
mov r9, qword [rsp + 0x60]
lea r8, str.SELECTINSERT_INTO_vacuum_db.quote_name__SELECTFROM__w_.quote_name_FROM_vacuum_db.sqlite_schema_WHERE_typetableAND_coalesce_rootpage_1__0
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.14014caf0
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 0x2c]
and eax, 0xfffffffb
mov rcx, qword [rsp + 0xd8]
mov dword [rcx + 0x2c], eax
cmp dword [rsp + 0x20], 0
je 0x14014c76b
jmp 0x14014c8cb
mov r9, qword [rsp + 0x60]
lea r8, str.INSERT_INTO_vacuum_db.sqlite_schema_SELECTFROM___w_.sqlite_schema_WHERE_type_IN_view_trigger__OR_typetableAND_rootpage0_
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
call fcn.14014caf0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14014c79c
jmp 0x14014c8cb
mov dword [rsp + 0x28], 0
jmp 0x14014c7b1
mov eax, dword [rsp + 0x28]
add eax, 2
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0xa
jge 0x14014c82e
movsxd rax, dword [rsp + 0x28]
lea rcx, [0x1402469c8]
movzx eax, byte [rcx + rax]
lea r8, [rsp + 0xa0]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1401cdac0
mov eax, dword [rsp + 0x28]
inc eax
cdqe
lea rcx, [0x1402469c8]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0xa0]
add ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0x28]
lea rdx, [0x1402469c8]
movzx ecx, byte [rdx + rcx]
mov r8d, eax
mov edx, ecx
mov rcx, qword [rsp + 0x30]
call fcn.1401cda10
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14014c829
jmp 0x14014c8cb
jmp 0x14014c7a6
cmp qword [rsp + 0xe8], 0
jne 0x14014c84c
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.1401ca240
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14014c855
jmp 0x14014c8cb
mov rcx, qword [rsp + 0x30]
call fcn.1401d9110
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14014c86c
jmp 0x14014c8cb
cmp qword [rsp + 0xe8], 0
jne 0x14014c88d
mov rcx, qword [rsp + 0x30]
call fcn.1401db090
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1401db140
cmp qword [rsp + 0xe8], 0
jne 0x14014c8cb
mov rcx, qword [rsp + 0x30]
call fcn.1401db320
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x30]
call fcn.1401db3d0
mov r9d, 1
mov r8d, dword [rsp + 0x40]
mov edx, eax
mov rcx, qword [rsp + 0x38]
call fcn.1401db3f0
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xd8]
mov byte [rax + 0xc4], 0
mov rax, qword [rsp + 0xd8]
mov ecx, dword [rsp + 0x70]
mov dword [rax + 0x2c], ecx
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x88]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x78], rcx
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x98]
mov qword [rax + 0x80], rcx
mov rax, qword [rsp + 0xd8]
movzx ecx, byte [rsp + 0x24]
mov byte [rax + 0x6e], cl
mov r9d, 1
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x38]
call fcn.1401db3f0
mov rax, qword [rsp + 0xd8]
mov byte [rax + 0x65], 1
cmp qword [rsp + 0x48], 0
je 0x14014c98c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 8]
call fcn.1401db6a0
mov rax, qword [rsp + 0x48]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x18], 0
mov rcx, qword [rsp + 0xd8]
call fcn.14018be70
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400d6d00
add rsp, 0xc8
ret