Function at 0xb4b595
Capabilities:
Reference sql statements

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0xa0
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov dword [rbp + 0x20], r8d
mov qword [rbp + 0x28], r9
mov dword [rbp - 4], 0
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x5f]
test al, al
jne 0xb4b5ec
mov rax, qword [rbp + 0x18]
lea r8, str.cannot_VACUUM_from_within_a_transaction
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call fcn.00ac16c5
mov eax, 1
jmp 0xb4bc89
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0xbc]
cmp eax, 1
jle 0xb4b61c
mov rax, qword [rbp + 0x18]
lea r8, str.cannot_VACUUM___SQL_statements_in_progress
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call fcn.00ac16c5
mov eax, 1
jmp 0xb4bc89
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x4c]
mov dword [rbp - 0x20], eax
cmp qword [rbp + 0x28], 0
je 0xb4b697
mov rax, qword [rbp + 0x28]
mov rcx, rax
call fcn.00af5d96
cmp eax, 3
je 0xb4b65f
mov rax, qword [rbp + 0x18]
lea r8, str.non_text_filename
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call fcn.00ac16c5
mov eax, 1
jmp 0xb4bc89
mov rax, qword [rbp + 0x28]
mov rcx, rax
call fcn.00af5d16
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x4c]
and eax, 0xfffffffe
mov edx, eax
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x4c], edx
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x4c]
or eax, 6
mov edx, eax
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x4c], edx
jmp 0xb4b6a2
lea rax, [0x013da97a]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x30]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x2c]
mov dword [rbp - 0x2c], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x74]
mov dword [rbp - 0x30], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x78]
mov dword [rbp - 0x34], eax
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x68]
mov byte [rbp - 0x35], al
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x30]
or rax, 0x201
mov rdx, rax
mov rax, qword [rbp + 0x18]
mov qword [rax + 0x30], rdx
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x2c]
or eax, 6
mov edx, eax
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x2c], edx
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x30]
and rax, 0xffffffffefffaf7f
mov rdx, rax
mov rax, qword [rbp + 0x18]
mov qword [rax + 0x30], rdx
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x68], 0
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x20]
mov edx, dword [rbp + 0x20]
movsxd rdx, edx
shl rdx, 5
add rax, rdx
mov rax, qword [rax]
mov qword [rbp - 0x40], rax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x20]
mov edx, dword [rbp + 0x20]
movsxd rdx, edx
shl rdx, 5
add rax, rdx
mov rax, qword [rax + 8]
mov qword [rbp - 0x48], rax
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.00aea06a
mov rcx, rax
call fcn.00ad67b6
mov dword [rbp - 0x4c], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x28]
mov dword [rbp - 0x50], eax
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp + 0x18]
mov r9, rdx
lea r8, str.ATTACH__Q_AS_vacuum_db
mov rdx, qword [rbp + 0x10]
mov rcx, rax
call fcn.00b4b3e3
mov dword [rbp - 4], eax
mov rax, qword [rbp + 0x18]
mov edx, dword [rbp - 0x20]
mov dword [rax + 0x4c], edx
cmp dword [rbp - 4], 0
jne 0xb4bbca
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x20]
mov edx, dword [rbp - 0x50]
movsxd rdx, edx
shl rdx, 5
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov qword [rbp - 0x58], rax
cmp qword [rbp + 0x28], 0
je 0xb4b85e
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.00aea06a
mov rcx, rax
call fcn.00ad6c0b
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x70], 0
mov rax, qword [rbp - 0x60]
mov rax, qword [rax]
test rax, rax
je 0xb4b84b
lea rdx, [rbp - 0x70]
mov rax, qword [rbp - 0x60]
mov rcx, rax
call fcn.00abf8aa
test eax, eax
jne 0xb4b828
mov rax, qword [rbp - 0x70]
test rax, rax
jle 0xb4b84b
mov dword [rbp - 4], 1
mov rax, qword [rbp + 0x18]
lea r8, str.output_file_already_exists
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call fcn.00ac16c5
jmp 0xb4bbe6
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x2c]
or eax, 8
mov edx, eax
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x2c], edx
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.00adf82a
mov dword [rbp - 0x64], eax
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x20]
mov edx, dword [rbp + 0x20]
movsxd rdx, edx
shl rdx, 5
add rax, rdx
mov rax, qword [rax + 0x18]
mov edx, dword [rax + 0x74]
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.00adf5ad
mov rax, qword [rbp - 0x48]
mov edx, 0
mov rcx, rax
call fcn.00adf5f7
mov edx, eax
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.00adf5f7
mov rax, qword [rbp - 0x58]
mov edx, 0x21
mov rcx, rax
call fcn.00adf68e
mov rax, qword [rbp + 0x18]
lea r8, str.BEGIN
mov rdx, qword [rbp + 0x10]
mov rcx, rax
call fcn.00b4b2bf
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0xb4bbcd
cmp qword [rbp + 0x28], 0
jne 0xb4b8f7
mov edx, 2
jmp 0xb4b8fc
mov edx, 0
mov rax, qword [rbp - 0x48]
mov r8d, 0
mov rcx, rax
call fcn.00ae0195
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0xb4bbd0
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.00aea06a
mov rcx, rax
call fcn.00ad70cd
cmp eax, 5
jne 0xb4b93f
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x6c], 0
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.00adf7e3
mov ecx, eax
mov edx, dword [rbp - 0x64]
mov rax, qword [rbp - 0x58]
mov r9d, 0
mov r8d, edx
mov edx, ecx
mov rcx, rax
call fcn.00adf6d8
test eax, eax
jne 0xb4b9a0
cmp dword [rbp - 0x4c], 0
jne 0xb4b994
mov rax, qword [rbp + 0x18]
mov edx, dword [rax + 0x6c]
mov ecx, dword [rbp - 0x64]
mov rax, qword [rbp - 0x58]
mov r9d, 0
mov r8d, ecx
mov rcx, rax
call fcn.00adf6d8
test eax, eax
jne 0xb4b9a0
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x61]
test al, al
je 0xb4b9ac
mov dword [rbp - 4], 7
jmp 0xb4bbe6
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x64]
test al, al
js 0xb4b9c5
mov rax, qword [rbp + 0x18]
movzx eax, byte [rax + 0x64]
movsx eax, al
jmp 0xb4b9d1
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.00adf9d2
mov rcx, qword [rbp - 0x58]
mov edx, eax
call fcn.00adf93b
mov eax, dword [rbp - 0x50]
mov edx, eax
mov rax, qword [rbp + 0x18]
mov byte [rax + 0xb4], dl
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp + 0x18]
mov r9, rdx
lea r8, str.SELECT_sql_FROM___w_.sqlite_master_WHERE_typetableAND_name__sqlite_sequence_AND_coalesce_rootpage_1__0
mov rdx, qword [rbp + 0x10]
mov rcx, rax
call fcn.00b4b3e3
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0xb4bbd3
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp + 0x18]
mov r9, rdx
lea r8, str.SELECT_sql_FROM___w_.sqlite_master_WHERE_typeindex
mov rdx, qword [rbp + 0x10]
mov rcx, rax
call fcn.00b4b3e3
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0xb4bbd6
mov rax, qword [rbp + 0x18]
mov byte [rax + 0xb4], 0
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp + 0x18]
mov r9, rdx
lea r8, str.SELECTINSERT_INTO_vacuum_db.quote_name__SELECTFROM__w_.quote_name_FROM_vacuum_db.sqlite_master_WHERE_typetableAND_coalesce_rootpage_1__0
mov rdx, qword [rbp + 0x10]
mov rcx, rax
call fcn.00b4b3e3
mov dword [rbp - 4], eax
mov rax, qword [rbp + 0x18]
mov eax, dword [rax + 0x2c]
and eax, 0xfffffffb
mov edx, eax
mov rax, qword [rbp + 0x18]
mov dword [rax + 0x2c], edx
cmp dword [rbp - 4], 0
jne 0xb4bbd9
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp + 0x18]
mov r9, rdx
lea r8, str.INSERT_INTO_vacuum_db.sqlite_master_SELECTFROM___w_.sqlite_master_WHERE_type_IN_view_trigger__OR_typetableAND_rootpage0_
mov rdx, qword [rbp + 0x10]
mov rcx, rax
call fcn.00b4b3e3
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0xb4bbdc
mov dword [rbp - 0x1c], 0
jmp 0xb4bb36
mov eax, dword [rbp - 0x1c]
movsxd rdx, eax
lea rax, [0x013e8888]
movzx eax, byte [rdx + rax]
movzx edx, al
lea rcx, [rbp - 0x74]
mov rax, qword [rbp - 0x48]
mov r8, rcx
mov rcx, rax
call fcn.00ae9d85
mov eax, dword [rbp - 0x1c]
add eax, 1
movsxd rdx, eax
lea rax, [0x013e8888]
movzx eax, byte [rdx + rax]
movzx edx, al
mov eax, dword [rbp - 0x74]
lea ecx, [rdx + rax]
mov eax, dword [rbp - 0x1c]
movsxd rdx, eax
lea rax, [0x013e8888]
movzx eax, byte [rdx + rax]
movzx edx, al
mov rax, qword [rbp - 0x58]
mov r8d, ecx
mov rcx, rax
call fcn.00ae9e0f
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0xb4bbdf
add dword [rbp - 0x1c], 2
cmp dword [rbp - 0x1c], 9
jle 0xb4babe
cmp qword [rbp + 0x28], 0
jne 0xb4bb56
mov rdx, qword [rbp - 0x58]
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.00aecb53
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0xb4bbe2
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.00ae13e8
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0xb4bbe5
cmp qword [rbp + 0x28], 0
jne 0xb4bb96
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.00adf9d2
mov edx, eax
mov rax, qword [rbp - 0x48]
mov rcx, rax
call fcn.00adf93b
cmp qword [rbp + 0x28], 0
jne 0xb4bbe6
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.00adf7e3
mov ecx, eax
mov edx, dword [rbp - 0x64]
mov rax, qword [rbp - 0x48]
mov r9d, 1
mov r8d, edx
mov edx, ecx
mov rcx, rax
call fcn.00adf6d8
mov dword [rbp - 4], eax
jmp 0xb4bbe6
nop
jmp 0xb4bbe6
nop
jmp 0xb4bbe6
nop
jmp 0xb4bbe6
nop
jmp 0xb4bbe6
nop
jmp 0xb4bbe6
nop
jmp 0xb4bbe6
nop
jmp 0xb4bbe6
nop
jmp 0xb4bbe6
nop
jmp 0xb4bbe6
nop
mov rax, qword [rbp + 0x18]
mov byte [rax + 0xb4], 0
mov rax, qword [rbp + 0x18]
mov edx, dword [rbp - 0x2c]
mov dword [rax + 0x2c], edx
mov rax, qword [rbp + 0x18]
mov rdx, qword [rbp - 0x28]
mov qword [rax + 0x30], rdx
mov rax, qword [rbp + 0x18]
mov edx, dword [rbp - 0x30]
mov dword [rax + 0x74], edx
mov rax, qword [rbp + 0x18]
mov edx, dword [rbp - 0x34]
mov dword [rax + 0x78], edx
mov rax, qword [rbp + 0x18]
movzx edx, byte [rbp - 0x35]
mov byte [rax + 0x68], dl
mov rax, qword [rbp - 0x48]
mov r9d, 1
mov r8d, 0xffffffff
mov edx, 0xffffffff
mov rcx, rax
call fcn.00adf6d8
mov rax, qword [rbp + 0x18]
mov byte [rax + 0x5f], 1
cmp qword [rbp - 0x10], 0
je 0xb4bc7a
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov rcx, rax
call fcn.00adf448
mov rax, qword [rbp - 0x10]
mov qword [rax + 8], 0
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x18], 0
mov rax, qword [rbp + 0x18]
mov rcx, rax
call fcn.00b1cdcb
mov eax, dword [rbp - 4]
add rsp, 0xa0
pop rbp
ret