Function at 0x1400b7cf0
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
push rdi
sub rsp, 0xe0
lea rdi, [rsp + 0x20]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xf0]
mov rax, qword [0x1401db040]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax + 0x65]
test eax, eax
jne 0x1400b7d7e
lea r8, str.cannot_VACUUM_from_within_a_transaction
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.140170970
mov eax, 1
jmp 0x1400b855b
mov rax, qword [rsp + 0xf8]
cmp dword [rax + 0xd8], 1
jle 0x1400b7db5
lea r8, str.cannot_VACUUM___SQL_statements_in_progress
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.140170970
mov eax, 1
jmp 0x1400b855b
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x4c]
mov dword [rsp + 0x58], eax
cmp qword [rsp + 0x108], 0
je 0x1400b7e54
mov rcx, qword [rsp + 0x108]
call fcn.14012aac0
cmp eax, 3
je 0x1400b7e0b
lea r8, str.non_text_filename
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.140170970
mov eax, 1
jmp 0x1400b855b
mov rcx, qword [rsp + 0x108]
call fcn.14012ab80
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x4c]
and eax, 0xfffffffe
mov rcx, qword [rsp + 0xf8]
mov dword [rcx + 0x4c], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x4c]
or eax, 6
mov rcx, qword [rsp + 0xf8]
mov dword [rcx + 0x4c], eax
jmp 0x1400b7e63
lea rax, [0x1401e7914]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x78]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax + 0x6e]
mov byte [rsp + 0x5c], al
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 0x30]
or rax, 0x201
mov rcx, qword [rsp + 0xf8]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x2c]
or eax, 6
mov rcx, qword [rsp + 0xf8]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsp + 0xf8]
movabs rcx, 0xfffffffeefffafff
mov rax, qword [rax + 0x30]
and rax, rcx
mov rcx, qword [rsp + 0xf8]
mov qword [rcx + 0x30], rax
mov rax, qword [rsp + 0xf8]
mov byte [rax + 0x6e], 0
movsxd rax, dword [rsp + 0x100]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x78], rax
movsxd rax, dword [rsp + 0x100]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.1401394f0
mov rcx, rax
call fcn.140153680
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x28]
mov dword [rsp + 0x70], eax
mov r9, qword [rsp + 0x80]
lea r8, str.ATTACH__Q_AS_vacuum_db
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.1400b86d0
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xf8]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x4c], ecx
cmp dword [rsp + 0x20], 0
je 0x1400b7fcb
jmp 0x1400b8492
movsxd rax, dword [rsp + 0x70]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xf8]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x108], 0
je 0x1400b809d
mov rcx, qword [rsp + 0x30]
call fcn.1401394f0
mov rcx, rax
call fcn.1401531d0
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x98], 0
mov rax, qword [rsp + 0x88]
cmp qword [rax], 0
je 0x1400b8084
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
call fcn.140173180
test eax, eax
jne 0x1400b805a
cmp qword [rsp + 0x98], 0
jle 0x1400b8084
mov dword [rsp + 0x20], 1
lea r8, str.output_file_already_exists
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf0]
call fcn.140170970
nop
jmp 0x1400b8492
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x2c]
or eax, 8
mov rcx, qword [rsp + 0xf8]
mov dword [rcx + 0x2c], eax
mov rcx, qword [rsp + 0x28]
call fcn.140147400
mov dword [rsp + 0x6c], eax
movsxd rax, dword [rsp + 0x100]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax + 0x18]
mov edx, dword [rax + 0x74]
mov rcx, qword [rsp + 0x30]
call fcn.140147740
xor edx, edx
mov rcx, qword [rsp + 0x28]
call fcn.1401476e0
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.1401476e0
mov edx, 0x21
mov rcx, qword [rsp + 0x30]
call fcn.140147630
lea r8, [0x1401e1a2c]
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.1400b87b0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400b8128
jmp 0x1400b8492
cmp qword [rsp + 0x108], 0
jne 0x1400b8140
mov dword [rsp + 0xd0], 2
jmp 0x1400b814b
mov dword [rsp + 0xd0], 0
xor r8d, r8d
mov edx, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0x28]
call fcn.140146440
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400b816f
jmp 0x1400b8492
mov rcx, qword [rsp + 0x28]
call fcn.1401394f0
mov rcx, rax
call fcn.140152bf0
cmp eax, 5
jne 0x1400b81a0
cmp qword [rsp + 0x108], 0
jne 0x1400b81a0
mov rax, qword [rsp + 0xf8]
mov dword [rax + 0x74], 0
mov rcx, qword [rsp + 0x28]
call fcn.1401474b0
xor r9d, r9d
mov r8d, dword [rsp + 0x6c]
mov edx, eax
mov rcx, qword [rsp + 0x30]
call fcn.1401474d0
test eax, eax
jne 0x1400b81fa
cmp dword [rsp + 0x68], 0
jne 0x1400b81ea
xor r9d, r9d
mov r8d, dword [rsp + 0x6c]
mov rax, qword [rsp + 0xf8]
mov edx, dword [rax + 0x74]
mov rcx, qword [rsp + 0x30]
call fcn.1401474d0
test eax, eax
jne 0x1400b81fa
mov rax, qword [rsp + 0xf8]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x1400b8207
mov dword [rsp + 0x20], 7
jmp 0x1400b8492
mov rax, qword [rsp + 0xf8]
movsx eax, byte [rax + 0x6a]
test eax, eax
jl 0x1400b822c
mov rax, qword [rsp + 0xf8]
movsx eax, byte [rax + 0x6a]
mov dword [rsp + 0xd4], eax
jmp 0x1400b823d
mov rcx, qword [rsp + 0x28]
call fcn.140147160
mov dword [rsp + 0xd4], eax
mov edx, dword [rsp + 0xd4]
mov rcx, qword [rsp + 0x30]
call fcn.140147210
mov rax, qword [rsp + 0xf8]
movzx ecx, byte [rsp + 0x70]
mov byte [rax + 0xc4], cl
mov r9, qword [rsp + 0x78]
lea r8, str.SELECT_sql_FROM___w_.sqlite_schema_WHERE_typetableAND_name__sqlite_sequence_AND_coalesce_rootpage_1__0
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.1400b86d0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400b8292
jmp 0x1400b8492
mov r9, qword [rsp + 0x78]
lea r8, str.SELECT_sql_FROM___w_.sqlite_schema_WHERE_typeindex
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.1400b86d0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400b82c3
jmp 0x1400b8492
mov rax, qword [rsp + 0xf8]
mov byte [rax + 0xc4], 0
mov r9, qword [rsp + 0x78]
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 + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.1400b86d0
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 0x2c]
and eax, 0xfffffffb
mov rcx, qword [rsp + 0xf8]
mov dword [rcx + 0x2c], eax
cmp dword [rsp + 0x20], 0
je 0x1400b831c
jmp 0x1400b8492
mov r9, qword [rsp + 0x78]
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 + 0xf0]
mov rcx, qword [rsp + 0xf8]
call fcn.1400b86d0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400b834d
jmp 0x1400b8492
mov dword [rsp + 0xc4], 0
jmp 0x1400b836b
mov eax, dword [rsp + 0xc4]
add eax, 2
mov dword [rsp + 0xc4], eax
cmp dword [rsp + 0xc4], 0xa
jge 0x1400b83f4
movsxd rax, dword [rsp + 0xc4]
lea rcx, [0x1401900b8]
movzx eax, byte [rcx + rax]
lea r8, [rsp + 0xb4]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.1401397a0
mov eax, dword [rsp + 0xc4]
inc eax
cdqe
lea rcx, [0x1401900b8]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0xb4]
add ecx, eax
mov eax, ecx
movsxd rcx, dword [rsp + 0xc4]
lea rdx, [0x1401900b8]
movzx ecx, byte [rdx + rcx]
mov r8d, eax
mov edx, ecx
mov rcx, qword [rsp + 0x30]
call fcn.1401396f0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400b83ef
jmp 0x1400b8492
jmp 0x1400b835a
cmp qword [rsp + 0x108], 0
jne 0x1400b8412
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call fcn.140135dc0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400b841b
jmp 0x1400b8492
mov rcx, qword [rsp + 0x30]
call fcn.1401450e0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400b8432
jmp 0x1400b8492
cmp qword [rsp + 0x108], 0
jne 0x1400b8454
mov rcx, qword [rsp + 0x30]
call fcn.140147160
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.140147210
nop
cmp qword [rsp + 0x108], 0
jne 0x1400b8492
mov rcx, qword [rsp + 0x30]
call fcn.140147400
mov dword [rsp + 0x6c], eax
mov rcx, qword [rsp + 0x30]
call fcn.1401474b0
mov r9d, 1
mov r8d, dword [rsp + 0x6c]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call fcn.1401474d0
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xf8]
mov byte [rax + 0xc4], 0
mov rax, qword [rsp + 0xf8]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x2c], ecx
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x30], rcx
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 0x78], rcx
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x50]
mov qword [rax + 0x80], rcx
mov rax, qword [rsp + 0xf8]
movzx ecx, byte [rsp + 0x5c]
mov byte [rax + 0x6e], cl
mov r9d, 1
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x28]
call fcn.1401474d0
mov rax, qword [rsp + 0xf8]
mov byte [rax + 0x65], 1
cmp qword [rsp + 0x60], 0
je 0x1400b854a
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 8]
call fcn.140147790
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x18], 0
mov rcx, qword [rsp + 0xf8]
call fcn.1400f71b0
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x14019d460]
call fcn.140185b40
mov rax, rdi
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140061a30
add rsp, 0xe0
pop rdi
ret