Function at 0x14008dfb0
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rbp
push r15
sub rsp, 0xc0
mov rax, qword [0x140132020]
xor rax, rsp
mov qword [rsp + 0x98], rax
cmp byte [rdx + 0x53], 0
mov rbp, rdx
mov r15, rcx
mov qword [rsp + 0x38], 0
jne 0x14008e0d4
mov rbx, qword [rcx]
test rbx, rbx
je 0x14008e093
cmp qword [rdx + 0x298], 0
je 0x14008e00d
mov rdx, rbx
mov rcx, rbp
call fcn.140006ba0
jmp 0x14008e093
cmp rbx, qword [rdx + 0x180]
jb 0x14008e038
cmp rbx, qword [rdx + 0x188]
jae 0x14008e038
mov rax, qword [rdx + 0x178]
mov qword [rbx], rax
dec dword [rdx + 0x160]
mov qword [rdx + 0x178], rbx
jmp 0x14008e093
cmp dword [0x140133ca0], 0
je 0x14008e08a
mov rcx, qword [0x140137c18]
test rcx, rcx
je 0x14008e053
call qword [0x140133d28]
mov rcx, rbx
call qword [0x140133ce0]
dec qword [0x1401379c8]
movsxd rcx, eax
sub qword [0x140137980], rcx
mov rcx, rbx
call qword [0x140133cd0]
mov rcx, qword [0x140137c18]
test rcx, rcx
je 0x14008e093
call qword [0x140133d38]
jmp 0x14008e093
mov rcx, rbx
call qword [0x140133cd0]
mov edx, 0x28
mov rcx, rbp
call fcn.140007000
test rax, rax
je 0x14008e0c7
movups xmm0, xmmword [str.cannot_VACUUM_from_within_a_transaction]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14010e378]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x14010e388]
movsd qword [rax + 0x20], xmm0
mov qword [r15], rax
mov eax, 1
jmp 0x14008e8d5
cmp dword [rdx + 0xac], 1
jle 0x14008e1e6
mov rbx, qword [rcx]
test rbx, rbx
je 0x14008e18d
cmp qword [rdx + 0x298], 0
je 0x14008e107
mov rdx, rbx
mov rcx, rbp
call fcn.140006ba0
jmp 0x14008e18d
cmp rbx, qword [rdx + 0x180]
jb 0x14008e132
cmp rbx, qword [rdx + 0x188]
jae 0x14008e132
mov rax, qword [rdx + 0x178]
mov qword [rbx], rax
dec dword [rdx + 0x160]
mov qword [rdx + 0x178], rbx
jmp 0x14008e18d
cmp dword [0x140133ca0], 0
je 0x14008e184
mov rcx, qword [0x140137c18]
test rcx, rcx
je 0x14008e14d
call qword [0x140133d28]
mov rcx, rbx
call qword [0x140133ce0]
dec qword [0x1401379c8]
movsxd rcx, eax
sub qword [0x140137980], rcx
mov rcx, rbx
call qword [0x140133cd0]
mov rcx, qword [0x140137c18]
test rcx, rcx
je 0x14008e18d
call qword [0x140133d38]
jmp 0x14008e18d
mov rcx, rbx
call qword [0x140133cd0]
mov edx, 0x2b
mov rcx, rbp
call fcn.140007000
mov rcx, rax
test rax, rax
je 0x14008e1d9
movups xmm0, xmmword [str.cannot_VACUUM___SQL_statements_in_progress]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x14010e3a0]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x14010e3b0]
movsd qword [rax + 0x20], xmm0
movzx eax, word [0x14010e3b8]
mov word [rcx + 0x28], ax
movzx eax, byte [0x14010e3ba]
mov byte [rcx + 0x2a], al
mov qword [r15], rcx
mov eax, 1
jmp 0x14008e8d5
mov eax, dword [rdx + 0x2c]
mov ecx, dword [rdx + 0x68]
mov qword [rsp + 0xf8], rsi
mov dword [rsp + 0x28], eax
and eax, 0xfff5ff7f
mov dword [rsp + 0x2c], ecx
or eax, 0x10202800
mov ecx, dword [rdx + 0x6c]
mov dword [rdx + 0x2c], eax
mov rax, qword [rdx + 0x20]
mov dword [rsp + 0x30], ecx
movzx ecx, byte [rdx + 0x5c]
mov byte [rdx + 0x5c], 0
mov qword [rsp + 0xb8], rdi
movsxd rdi, dword [rdx + 0x28]
mov rdx, r15
movsxd rsi, r8d
lea r8, str.ATTACHAS_vacuum_db
mov qword [rsp + 0xb0], r12
mov byte [rsp + 0x20], cl
shl rsi, 5
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xa0], r14
mov dword [rsp + 0x90], edi
mov rbx, qword [rax + rsi + 8]
mov r12, qword [rax + rsi]
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
movzx r13d, byte [rcx + 0x11]
mov rcx, rbp
call fcn.14008db60
mov r14d, eax
test eax, eax
jne 0x14008e7f7
mov rax, rdi
shl rax, 5
add rax, qword [rbp + 0x20]
mov qword [rsp + 0x38], rax
mov rdi, qword [rax + 8]
cmp byte [rdi + 0x11], r14b
je 0x14008e2af
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], r14b
jne 0x14008e2af
mov rcx, rdi
call fcn.14001ca20
xor edx, edx
mov rcx, rdi
call fcn.140020b30
test eax, eax
jne 0x14008e2c7
xor edx, edx
mov rcx, rdi
call fcn.140020d70
cmp byte [rdi + 0x11], 0
je 0x14008e2db
sub dword [rdi + 0x14], 1
jne 0x14008e2db
mov rcx, rdi
call fcn.14001c9f0
cmp byte [rbx + 0x11], 0
je 0x14008e2f2
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], 0
jne 0x14008e2f2
mov rcx, rbx
call fcn.14001ca20
mov rax, qword [rbx + 8]
mov ecx, dword [rax + 0x30]
sub ecx, dword [rax + 0x34]
cmp byte [rbx + 0x11], 0
mov dword [rsp + 0x24], ecx
je 0x14008e314
sub dword [rbx + 0x14], 1
jne 0x14008e314
mov rcx, rbx
call fcn.14001c9f0
mov rax, qword [rbp + 0x20]
mov rcx, rdi
mov rdx, qword [rsi + rax + 0x18]
mov edx, dword [rdx + 0x74]
call fcn.14001f260
movzx r8d, byte [rbx + 0x11]
mov rsi, qword [rbx + 8]
test r8b, r8b
je 0x14008e34c
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], 0
jne 0x14008e34c
mov rcx, rbx
call fcn.14001ca20
movzx r8d, byte [rbx + 0x11]
mov rax, qword [rsi]
mov rsi, qword [rax + 0x110]
movsxd rdx, dword [rsi + 0x1c]
test edx, edx
jns 0x14008e379
mov eax, dword [rsi + 0x28]
add eax, dword [rsi + 0x24]
movsxd rcx, eax
mov rax, rdx
neg rax
shl rax, 0xa
cqo
idiv rcx
mov rdx, rax
mov esi, dword [rsi + 0x20]
cmp edx, esi
cmovge esi, edx
test r8b, r8b
je 0x14008e394
sub dword [rbx + 0x14], 1
jne 0x14008e394
mov rcx, rbx
call fcn.14001c9f0
mov edx, esi
mov rcx, rdi
call fcn.14001f2f0
cmp byte [rdi + 0x11], 0
mov rsi, qword [rdi + 8]
je 0x14008e3b9
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], 0
jne 0x14008e3b9
mov rcx, rdi
call fcn.14001ca20
mov rax, qword [rsi]
mov dword [rax + 0xb], 1
and byte [rax + 0x19], 0xfe
mov word [rax + 0xf], 0
cmp byte [rdi + 0x11], 0
je 0x14008e3e1
sub dword [rdi + 0x14], 1
jne 0x14008e3e1
mov rcx, rdi
call fcn.14001c9f0
lea r8, str.BEGIN
mov rdx, r15
mov rcx, rbp
call fcn.14008db60
mov r14d, eax
test eax, eax
jne 0x14008e7f7
lea edx, [rax + 2]
mov rcx, rbx
call fcn.14001faf0
mov r14d, eax
test eax, eax
jne 0x14008e7f7
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
cmp byte [rcx + 9], 5
jne 0x14008e425
mov dword [rbp + 0x60], r14d
mov rax, qword [rbx + 8]
xor r9d, r9d
mov esi, dword [rsp + 0x24]
mov rcx, rdi
mov r8d, esi
mov edx, dword [rax + 0x30]
call fcn.14001f4c0
test eax, eax
jne 0x14008e7f1
test r13b, r13b
jne 0x14008e464
mov edx, dword [rbp + 0x60]
xor r9d, r9d
mov r8d, esi
mov rcx, rdi
call fcn.14001f4c0
test eax, eax
jne 0x14008e7f1
cmp byte [rbp + 0x55], 0
jne 0x14008e7f1
movsx eax, byte [rbp + 0x58]
test al, al
js 0x14008e47a
mov esi, eax
jmp 0x14008e4bf
movzx eax, byte [rbx + 0x11]
test al, al
je 0x14008e497
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], 0
jne 0x14008e497
mov rcx, rbx
call fcn.14001ca20
movzx eax, byte [rbx + 0x11]
mov rcx, qword [rbx + 8]
xor esi, esi
cmp byte [rcx + 0x21], sil
je 0x14008e4ad
cmp byte [rcx + 0x22], sil
setne sil
inc esi
test al, al
je 0x14008e4bf
sub dword [rbx + 0x14], 1
jne 0x14008e4bf
mov rcx, rbx
call fcn.14001c9f0
mov edx, esi
mov rcx, rdi
call fcn.14001f630
mov eax, dword [rsp + 0x90]
lea r8, str.SELECT_sql_FROM___w_.sqlite_master_WHERE_typetableAND_name__sqlite_sequence_AND_coalesce_rootpage_1__0
mov r9, r12
mov byte [rbp + 0xa8], al
mov rdx, r15
mov rcx, rbp
call fcn.14008dd40
mov r14d, eax
test eax, eax
jne 0x14008e7f7
mov r9, r12
lea r8, str.SELECT_sql_FROM___w_.sqlite_master_WHERE_typeindex_AND_length_sql__10
mov rdx, r15
mov rcx, rbp
call fcn.14008dd40
mov r14d, eax
test eax, eax
jne 0x14008e7f7
mov r9, r12
mov byte [rbp + 0xa8], al
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, r15
mov rcx, rbp
call fcn.14008dd40
and dword [rbp + 0x2c], 0xefffffff
mov r14d, eax
test eax, eax
jne 0x14008e7f7
mov r9, r12
lea r8, str.INSERT_INTO_vacuum_db.sqlite_master_SELECTFROM___w_.sqlite_master_WHERE_type_IN_view_trigger__OR_typetableAND_rootpage0_
mov rdx, r15
mov rcx, rbp
call fcn.14008dd40
mov r14d, eax
test eax, eax
jne 0x14008e7f7
xor r15d, r15d
lea r12, [0x14010f688]
nop dword [rax]
movzx r8d, byte [rbx + 0x11]
movzx esi, byte [r15 + r12]
mov r14, qword [rbx + 8]
test r8b, r8b
je 0x14008e599
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], 0
jne 0x14008e599
mov rcx, rbx
call fcn.14001ca20
movzx r8d, byte [rbx + 0x11]
cmp esi, 0xf
jne 0x14008e5ac
mov rax, qword [r14]
mov esi, dword [rax + 0x84]
add esi, dword [rbx + 0x1c]
jmp 0x14008e5c0
mov rax, qword [r14 + 0x18]
lea edx, [rsi*4 + 0x24]
mov rcx, qword [rax + 0x50]
mov esi, dword [rdx + rcx]
bswap esi
test r8b, r8b
je 0x14008e5d3
sub dword [rbx + 0x14], 1
jne 0x14008e5d3
mov rcx, rbx
call fcn.14001c9f0
movzx r8d, byte [r15 + r12 + 1]
mov rcx, rdi
movzx edx, byte [r15 + r12]
add r8d, esi
call fcn.140027ed0
mov r14d, eax
test eax, eax
jne 0x14008e7f7
add r15, 2
cmp r15, 0xa
jl 0x14008e570
cmp byte [rbx + 0x11], al
je 0x14008e617
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], al
jne 0x14008e617
mov rcx, rbx
call fcn.14001ca20
cmp byte [rdi + 0x11], 0
je 0x14008e62e
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], 0
jne 0x14008e62e
mov rcx, rdi
call fcn.14001ca20
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
mov rcx, qword [rcx + 0x48]
mov r9, qword [rcx]
test r9, r9
je 0x14008e67c
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x90]
mov edx, dword [rax + 0x3c]
movsxd rax, dword [rax + 0x30]
imul rdx, rax
mov qword [rsp + 0x90], rdx
mov edx, reloc.WS2_32.dll_inet_addr
call qword [r9 + 0x50]
xor r14d, r14d
cmp eax, 0xc
cmovne r14d, eax
test r14d, r14d
jne 0x14008e704
mov rax, qword [rdi]
lea rcx, [rsp + 0x40]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
mov edx, 0x7fffffff
movdqa xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 1
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x48], rbx
call fcn.140029c10
lea rcx, [rsp + 0x40]
call fcn.14002a320
mov r14d, eax
test eax, eax
jne 0x14008e6ed
mov rax, qword [rbx + 8]
mov ecx, 0xfffd
and word [rax + 0x26], cx
jmp 0x14008e704
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 8]
mov rcx, qword [rcx]
cmp byte [rcx + 0x11], 0
jne 0x14008e704
call fcn.140014410
cmp byte [rdi + 0x11], 0
je 0x14008e718
sub dword [rdi + 0x14], 1
jne 0x14008e718
mov rcx, rdi
call fcn.14001c9f0
cmp byte [rbx + 0x11], 0
je 0x14008e72c
sub dword [rbx + 0x14], 1
jne 0x14008e72c
mov rcx, rbx
call fcn.14001c9f0
test r14d, r14d
jne 0x14008e7f7
cmp byte [rdi + 0x11], r14b
je 0x14008e74c
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], r14b
jne 0x14008e74c
mov rcx, rdi
call fcn.14001ca20
xor edx, edx
mov rcx, rdi
call fcn.140020b30
mov r14d, eax
test eax, eax
jne 0x14008e76a
xor edx, edx
mov rcx, rdi
call fcn.140020d70
mov r14d, eax
cmp byte [rdi + 0x11], 0
je 0x14008e77e
sub dword [rdi + 0x14], 1
jne 0x14008e77e
mov rcx, rdi
call fcn.14001c9f0
test r14d, r14d
jne 0x14008e7f7
movzx eax, byte [rdi + 0x11]
test al, al
je 0x14008e7a0
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], r14b
jne 0x14008e7a0
mov rcx, rdi
call fcn.14001ca20
movzx eax, byte [rdi + 0x11]
mov rcx, qword [rdi + 8]
xor esi, esi
cmp byte [rcx + 0x21], sil
je 0x14008e7b6
cmp byte [rcx + 0x22], sil
setne sil
inc esi
test al, al
je 0x14008e7c8
sub dword [rdi + 0x14], 1
jne 0x14008e7c8
mov rcx, rdi
call fcn.14001c9f0
mov edx, esi
mov rcx, rbx
call fcn.14001f630
mov rax, qword [rdi + 8]
mov r9d, 1
mov r8d, dword [rsp + 0x24]
mov rcx, rbx
mov edx, dword [rax + 0x30]
call fcn.14001f4c0
mov r14d, eax
jmp 0x14008e7f7
mov r14d, 7
mov eax, dword [rsp + 0x28]
mov r13, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xb0]
mov dword [rbp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
mov dword [rbp + 0x68], eax
mov eax, dword [rsp + 0x30]
mov dword [rbp + 0x6c], eax
movzx eax, byte [rsp + 0x20]
mov byte [rbp + 0x5c], al
mov byte [rbp + 0xa8], 0
cmp byte [rbx + 0x11], 0
mov r15, qword [rbx + 8]
je 0x14008e846
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], 0
jne 0x14008e846
mov rcx, rbx
call fcn.14001ca20
test byte [r15 + 0x26], 2
jne 0x14008e877
mov edi, dword [r15 + 0x30]
lea rdx, [r15 + 0x30]
sub edi, dword [r15 + 0x34]
mov rcx, qword [r15]
mov r8d, edi
call fcn.140016050
mov ecx, dword [r15 + 0x30]
movzx eax, di
sub ecx, eax
or word [r15 + 0x26], 2
mov dword [r15 + 0x34], ecx
cmp byte [rbx + 0x11], 0
je 0x14008e88b
sub dword [rbx + 0x14], 1
jne 0x14008e88b
mov rcx, rbx
call fcn.14001c9f0
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xf8]
mov byte [rbp + 0x53], 1
test rbx, rbx
je 0x14008e8c2
mov rcx, qword [rbx + 8]
call fcn.14001efa0
mov qword [rbx + 8], 0
mov qword [rbx + 0x18], 0
mov rcx, rbp
call fcn.140055270
mov eax, r14d
mov r14, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400d6240
add rsp, 0xc0
pop r15
pop rbp
pop rbx
ret