Function at 0x140268d10
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 rbp
push rdi
sub rsp, 0x428
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa2
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x448]
mov rax, qword [0x1403638c0]
xor rax, rbp
mov qword [rbp + 0x3f8], rax
lea rcx, reloc.WS2_32.dll_accept
call fcn.1400fb980
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x128], 0
mov dword [rbp + 0x1e4], 1
mov rax, qword [rbp + 0x428]
movzx eax, byte [rax + 0x65]
test eax, eax
jne 0x140268db9
lea r8, str.cannot_VACUUM_from_within_a_transaction
mov rdx, qword [rbp + 0x428]
mov rcx, qword [rbp + 0x420]
call fcn.14026ebc0
nop
mov eax, 1
jmp 0x14026957d
mov rax, qword [rbp + 0x428]
cmp dword [rax + 0xd8], 1
jle 0x140268dee
lea r8, str.cannot_VACUUM___SQL_statements_in_progress
mov rdx, qword [rbp + 0x428]
mov rcx, qword [rbp + 0x420]
call fcn.14026ebc0
nop
mov eax, 1
jmp 0x14026957d
mov rax, qword [rbp + 0x428]
mov eax, dword [rax + 0x4c]
mov dword [rbp + 0xe4], eax
cmp qword [rbp + 0x438], 0
je 0x140268e81
mov rcx, qword [rbp + 0x438]
call fcn.1400f9784
cmp eax, 3
je 0x140268e3e
lea r8, str.non_text_filename
mov rdx, qword [rbp + 0x428]
mov rcx, qword [rbp + 0x420]
call fcn.14026ebc0
nop
mov eax, 1
jmp 0x14026957d
mov rcx, qword [rbp + 0x438]
call fcn.1400fa067
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x428]
mov eax, dword [rax + 0x4c]
and eax, 0xfffffffe
mov rcx, qword [rbp + 0x428]
mov dword [rcx + 0x4c], eax
mov rax, qword [rbp + 0x428]
mov eax, dword [rax + 0x4c]
or eax, 6
mov rcx, qword [rbp + 0x428]
mov dword [rcx + 0x4c], eax
jmp 0x140268e8f
lea rax, [0x1402fb9b3]
mov qword [rbp + 0x1c8], rax
mov rax, qword [rbp + 0x428]
mov rax, qword [rax + 0x30]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x428]
mov eax, dword [rax + 0x2c]
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x428]
mov rax, qword [rax + 0x78]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x428]
mov rax, qword [rax + 0x80]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0x428]
movzx eax, byte [rax + 0x6e]
mov byte [rbp + 0x104], al
mov rax, qword [rbp + 0x428]
mov rax, qword [rax + 0x30]
or rax, 0x201
mov rcx, qword [rbp + 0x428]
mov qword [rcx + 0x30], rax
mov rax, qword [rbp + 0x428]
mov eax, dword [rax + 0x2c]
or eax, 6
mov rcx, qword [rbp + 0x428]
mov dword [rcx + 0x2c], eax
mov rax, qword [rbp + 0x428]
movabs rcx, 0xfffffffeefffafff
mov rax, qword [rax + 0x30]
and rax, rcx
mov rcx, qword [rbp + 0x428]
mov qword [rcx + 0x30], rax
mov rax, qword [rbp + 0x428]
mov byte [rax + 0x6e], 0
movsxd rax, dword [rbp + 0x430]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x428]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax]
mov qword [rbp + 0x1a8], rax
movsxd rax, dword [rbp + 0x430]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x428]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax + 8]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x28]
call fcn.140222670
mov rcx, rax
call fcn.140255830
mov dword [rbp + 0x144], eax
mov rax, qword [rbp + 0x428]
mov eax, dword [rax + 0x28]
mov dword [rbp + 0x184], eax
mov r9, qword [rbp + 0x1c8]
lea r8, str.ATTACH__Q_AS_vacuum_db
mov rdx, qword [rbp + 0x420]
mov rcx, qword [rbp + 0x428]
call fcn.1401cb1e0
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x428]
mov ecx, dword [rbp + 0xe4]
mov dword [rax + 0x4c], ecx
cmp dword [rbp + 4], 0
je 0x140268fed
jmp 0x1402694ac
movsxd rax, dword [rbp + 0x184]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x428]
add rax, qword [rcx + 0x20]
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x128]
mov rax, qword [rax + 8]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x438], 0
je 0x1402690e9
mov rcx, qword [rbp + 0x48]
call fcn.140222670
mov rcx, rax
call fcn.1402554f0
mov qword [rbp + 0x208], rax
mov qword [rbp + 0x228], 0
mov rax, qword [rbp + 0x208]
cmp qword [rax], 0
je 0x14026909f
lea rdx, [rbp + 0x228]
mov rcx, qword [rbp + 0x208]
call fcn.140253330
test eax, eax
jne 0x140269078
cmp qword [rbp + 0x228], 0
jle 0x14026909f
mov dword [rbp + 4], 1
lea r8, str.output_file_already_exists
mov rdx, qword [rbp + 0x428]
mov rcx, qword [rbp + 0x420]
call fcn.14026ebc0
nop
jmp 0x1402694ac
mov rax, qword [rbp + 0x428]
mov eax, dword [rax + 0x2c]
or eax, 8
mov rcx, qword [rbp + 0x428]
mov dword [rcx + 0x2c], eax
movsxd rax, dword [rbp + 0x430]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x428]
mov rcx, qword [rcx + 0x20]
movzx eax, byte [rcx + rax + 0x10]
mov rcx, qword [rbp + 0x428]
mov rcx, qword [rcx + 0x30]
and rcx, 0x38
or rax, rcx
mov dword [rbp + 0x1e4], eax
mov rcx, qword [rbp + 0x28]
call fcn.14021f140
mov dword [rbp + 0x164], eax
movsxd rax, dword [rbp + 0x430]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x428]
mov rcx, qword [rcx + 0x20]
mov rax, qword [rcx + rax + 0x18]
mov edx, dword [rax + 0x74]
mov rcx, qword [rbp + 0x48]
call fcn.1402232d0
nop
xor edx, edx
mov rcx, qword [rbp + 0x28]
call fcn.140223660
mov edx, eax
mov rcx, qword [rbp + 0x48]
call fcn.140223660
nop
mov eax, dword [rbp + 0x1e4]
or eax, 0x20
mov edx, eax
mov rcx, qword [rbp + 0x48]
call fcn.1402235d0
nop
lea r8, str.BEGIN
mov rdx, qword [rbp + 0x420]
mov rcx, qword [rbp + 0x428]
call fcn.1401caff0
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140269174
jmp 0x1402694ac
cmp qword [rbp + 0x438], 0
jne 0x14026918a
mov dword [rbp + 0x3f4], 2
jmp 0x140269194
mov dword [rbp + 0x3f4], 0
xor r8d, r8d
mov edx, dword [rbp + 0x3f4]
mov rcx, qword [rbp + 0x28]
call fcn.14021ccc0
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x1402691b4
jmp 0x1402694ac
mov rcx, qword [rbp + 0x28]
call fcn.140222670
mov rcx, rax
call fcn.1402557e0
cmp eax, 5
jne 0x1402691e2
cmp qword [rbp + 0x438], 0
jne 0x1402691e2
mov rax, qword [rbp + 0x428]
mov dword [rax + 0x74], 0
mov rcx, qword [rbp + 0x28]
call fcn.14021f0f0
xor r9d, r9d
mov r8d, dword [rbp + 0x164]
mov edx, eax
mov rcx, qword [rbp + 0x48]
call fcn.1402233f0
test eax, eax
jne 0x14026923d
cmp dword [rbp + 0x144], 0
jne 0x14026922e
xor r9d, r9d
mov r8d, dword [rbp + 0x164]
mov rax, qword [rbp + 0x428]
mov edx, dword [rax + 0x74]
mov rcx, qword [rbp + 0x48]
call fcn.1402233f0
test eax, eax
jne 0x14026923d
mov rax, qword [rbp + 0x428]
movzx eax, byte [rax + 0x67]
test eax, eax
je 0x140269249
mov dword [rbp + 4], 7
jmp 0x1402694ac
mov rax, qword [rbp + 0x428]
movsx eax, byte [rax + 0x6a]
test eax, eax
jl 0x14026926b
mov rax, qword [rbp + 0x428]
movsx eax, byte [rax + 0x6a]
mov dword [rbp + 0x3f4], eax
jmp 0x14026927a
mov rcx, qword [rbp + 0x28]
call fcn.14021ee30
mov dword [rbp + 0x3f4], eax
mov edx, dword [rbp + 0x3f4]
mov rcx, qword [rbp + 0x48]
call fcn.140223180
nop
mov rax, qword [rbp + 0x428]
movzx ecx, byte [rbp + 0x184]
mov byte [rax + 0xc4], cl
mov r9, qword [rbp + 0x1a8]
lea r8, str.SELECT_sql_FROM___w_.sqlite_schema_WHERE_typetableAND_name__sqlite_sequence_AND_coalesce_rootpage_1__0
mov rdx, qword [rbp + 0x420]
mov rcx, qword [rbp + 0x428]
call fcn.1401cb1e0
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x1402692cd
jmp 0x1402694ac
mov r9, qword [rbp + 0x1a8]
lea r8, str.SELECT_sql_FROM___w_.sqlite_schema_WHERE_typeindex
mov rdx, qword [rbp + 0x420]
mov rcx, qword [rbp + 0x428]
call fcn.1401cb1e0
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x1402692fc
jmp 0x1402694ac
mov rax, qword [rbp + 0x428]
mov byte [rax + 0xc4], 0
mov r9, qword [rbp + 0x1a8]
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 [rbp + 0x420]
mov rcx, qword [rbp + 0x428]
call fcn.1401cb1e0
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x428]
mov eax, dword [rax + 0x2c]
and eax, 0xfffffffb
mov rcx, qword [rbp + 0x428]
mov dword [rcx + 0x2c], eax
cmp dword [rbp + 4], 0
je 0x140269350
jmp 0x1402694ac
mov r9, qword [rbp + 0x1a8]
lea r8, str.INSERT_INTO_vacuum_db.sqlite_schema_SELECTFROM___w_.sqlite_schema_WHERE_type_IN_view_trigger__OR_typetableAND_rootpage0_
mov rdx, qword [rbp + 0x420]
mov rcx, qword [rbp + 0x428]
call fcn.1401cb1e0
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x14026937f
jmp 0x1402694ac
mov dword [rbp + 0x264], 0
jmp 0x14026939a
mov eax, dword [rbp + 0x264]
add eax, 2
mov dword [rbp + 0x264], eax
cmp dword [rbp + 0x264], 0xa
jge 0x14026941a
movsxd rax, dword [rbp + 0x264]
lea rcx, [0x14030f888]
movzx eax, byte [rcx + rax]
lea r8, [rbp + 0x244]
mov edx, eax
mov rcx, qword [rbp + 0x28]
call fcn.14021f000
nop
mov eax, dword [rbp + 0x264]
inc eax
cdqe
lea rcx, [0x14030f888]
movzx eax, byte [rcx + rax]
mov ecx, dword [rbp + 0x244]
add ecx, eax
mov eax, ecx
movsxd rcx, dword [rbp + 0x264]
lea rdx, [0x14030f888]
movzx ecx, byte [rdx + rcx]
mov r8d, eax
mov edx, ecx
mov rcx, qword [rbp + 0x48]
call fcn.140224850
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140269415
jmp 0x1402694ac
jmp 0x14026938b
cmp qword [rbp + 0x438], 0
jne 0x140269434
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x28]
call fcn.14021d780
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x14026943c
jmp 0x1402694ac
mov rcx, qword [rbp + 0x48]
call fcn.14021d460
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140269450
jmp 0x1402694ac
cmp qword [rbp + 0x438], 0
jne 0x14026946f
mov rcx, qword [rbp + 0x48]
call fcn.14021ee30
mov edx, eax
mov rcx, qword [rbp + 0x28]
call fcn.140223180
nop
cmp qword [rbp + 0x438], 0
jne 0x1402694ac
mov rcx, qword [rbp + 0x48]
call fcn.14021f140
mov dword [rbp + 0x164], eax
mov rcx, qword [rbp + 0x48]
call fcn.14021f0f0
mov r9d, 1
mov r8d, dword [rbp + 0x164]
mov edx, eax
mov rcx, qword [rbp + 0x28]
call fcn.1402233f0
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x428]
mov byte [rax + 0xc4], 0
mov rax, qword [rbp + 0x428]
mov ecx, dword [rbp + 0x64]
mov dword [rax + 0x2c], ecx
mov rax, qword [rbp + 0x428]
mov rcx, qword [rbp + 0x88]
mov qword [rax + 0x30], rcx
mov rax, qword [rbp + 0x428]
mov rcx, qword [rbp + 0xa8]
mov qword [rax + 0x78], rcx
mov rax, qword [rbp + 0x428]
mov rcx, qword [rbp + 0xc8]
mov qword [rax + 0x80], rcx
mov rax, qword [rbp + 0x428]
movzx ecx, byte [rbp + 0x104]
mov byte [rax + 0x6e], cl
mov r9d, 1
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x28]
call fcn.1402233f0
nop
mov rax, qword [rbp + 0x428]
mov byte [rax + 0x65], 1
cmp qword [rbp + 0x128], 0
je 0x14026956d
mov rax, qword [rbp + 0x128]
mov rcx, qword [rax + 8]
call fcn.14021d120
nop
mov rax, qword [rbp + 0x128]
mov qword [rax + 8], 0
mov rax, qword [rbp + 0x128]
mov qword [rax + 0x18], 0
mov rcx, qword [rbp + 0x428]
call fcn.1402664e0
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_bind
call fcn.1400faf4e
mov rax, rdi
mov rcx, qword [rbp + 0x3f8]
xor rcx, rbp
call fcn.1400f9bc6
lea rsp, [rbp + 0x408]
pop rdi
pop rbp
ret