Function at 0x14008c9f0
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rbp
push r13
push r15
sub rsp, 0xb8
mov rax, qword [0x140123080]
xor rax, rsp
mov qword [rsp + 0x98], rax
xor r13d, r13d
mov rbp, rdx
mov r15, rcx
cmp byte [rdx + 0x53], r13b
jne 0x14008cb0f
mov rbx, qword [rcx]
test rbx, rbx
je 0x14008cace
cmp qword [rdx + 0x298], r13
je 0x14008ca48
mov rdx, rbx
mov rcx, rbp
call fcn.140006920
jmp 0x14008cace
cmp rbx, qword [rdx + 0x180]
jb 0x14008ca73
cmp rbx, qword [rdx + 0x188]
jae 0x14008ca73
mov rax, qword [rdx + 0x178]
mov qword [rbx], rax
dec dword [rdx + 0x160]
mov qword [rdx + 0x178], rbx
jmp 0x14008cace
cmp dword [0x140124d50], r13d
je 0x14008cac5
mov rcx, qword [0x140128b48]
test rcx, rcx
je 0x14008ca8e
call qword [0x140124dd8]
mov rcx, rbx
call qword [0x140124d90]
dec qword [0x1401288f8]
movsxd rcx, eax
sub qword [0x1401288b0], rcx
mov rcx, rbx
call qword [0x140124d80]
mov rcx, qword [0x140128b48]
test rcx, rcx
je 0x14008cace
call qword [0x140124de8]
jmp 0x14008cace
mov rcx, rbx
call qword [0x140124d80]
mov edx, 0x28
mov rcx, rbp
call fcn.140006d80
test rax, rax
je 0x14008cb02
movups xmm0, xmmword [str.cannot_VACUUM_from_within_a_transaction]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140108458]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140108468]
movsd qword [rax + 0x20], xmm0
mov qword [r15], rax
mov eax, 1
jmp 0x14008d2ec
cmp dword [rdx + 0xac], 1
jle 0x14008cc20
mov rbx, qword [rcx]
test rbx, rbx
je 0x14008cbc7
cmp qword [rdx + 0x298], r13
je 0x14008cb41
mov rdx, rbx
mov rcx, rbp
call fcn.140006920
jmp 0x14008cbc7
cmp rbx, qword [rdx + 0x180]
jb 0x14008cb6c
cmp rbx, qword [rdx + 0x188]
jae 0x14008cb6c
mov rax, qword [rdx + 0x178]
mov qword [rbx], rax
dec dword [rdx + 0x160]
mov qword [rdx + 0x178], rbx
jmp 0x14008cbc7
cmp dword [0x140124d50], r13d
je 0x14008cbbe
mov rcx, qword [0x140128b48]
test rcx, rcx
je 0x14008cb87
call qword [0x140124dd8]
mov rcx, rbx
call qword [0x140124d90]
dec qword [0x1401288f8]
movsxd rcx, eax
sub qword [0x1401288b0], rcx
mov rcx, rbx
call qword [0x140124d80]
mov rcx, qword [0x140128b48]
test rcx, rcx
je 0x14008cbc7
call qword [0x140124de8]
jmp 0x14008cbc7
mov rcx, rbx
call qword [0x140124d80]
mov edx, 0x2b
mov rcx, rbp
call fcn.140006d80
mov rcx, rax
test rax, rax
je 0x14008cc13
movups xmm0, xmmword [str.cannot_VACUUM___SQL_statements_in_progress]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140108480]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140108490]
movsd qword [rax + 0x20], xmm0
movzx eax, word [0x140108498]
mov word [rcx + 0x28], ax
movzx eax, byte [0x14010849a]
mov byte [rcx + 0x2a], al
mov qword [r15], rcx
mov eax, 1
jmp 0x14008d2ec
mov eax, dword [rdx + 0x2c]
mov ecx, dword [rdx + 0x68]
mov dword [rsp + 0x28], eax
and eax, 0xfff5ff7f
or eax, 0x10202800
mov qword [rsp + 0xf8], rsi
mov dword [rdx + 0x2c], eax
mov rax, qword [rdx + 0x20]
mov dword [rsp + 0x2c], ecx
mov ecx, dword [rdx + 0x6c]
mov dword [rsp + 0x30], ecx
movzx ecx, byte [rdx + 0x5c]
mov byte [rdx + 0x5c], r13b
movsxd rsi, r8d
lea r8, str.ATTACHAS_vacuum_db
mov qword [rsp + 0xb0], rdi
movsxd rdi, dword [rdx + 0x28]
mov rdx, r15
mov byte [rsp + 0x21], cl
shl rsi, 5
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xa0], r14
mov dword [rsp + 0x90], edi
mov rbx, qword [rsi + rax + 8]
mov r12, qword [rsi + rax]
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
movzx eax, byte [rcx + 0x11]
mov rcx, rbp
mov byte [rsp + 0x20], al
call fcn.14008c5a0
mov r14d, eax
test eax, eax
jne 0x14008d21b
mov r13, rdi
shl r13, 5
add r13, qword [rbp + 0x20]
mov rdi, qword [r13 + 8]
cmp byte [rdi + 0x11], al
je 0x14008ccdd
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], al
jne 0x14008ccdd
mov rcx, rdi
call fcn.14001c9a0
xor edx, edx
mov rcx, rdi
call fcn.140020940
test eax, eax
jne 0x14008ccf5
xor edx, edx
mov rcx, rdi
call fcn.140020b80
cmp byte [rdi + 0x11], 0
je 0x14008cd09
sub dword [rdi + 0x14], 1
jne 0x14008cd09
mov rcx, rdi
call fcn.14001c970
cmp byte [rbx + 0x11], 0
je 0x14008cd20
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], 0
jne 0x14008cd20
mov rcx, rbx
call fcn.14001c9a0
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 0x14008cd42
sub dword [rbx + 0x14], 1
jne 0x14008cd42
mov rcx, rbx
call fcn.14001c970
mov rax, qword [rbp + 0x20]
mov rcx, rdi
mov rdx, qword [rsi + rax + 0x18]
mov edx, dword [rdx + 0x74]
call fcn.14001f190
movzx r8d, byte [rbx + 0x11]
mov rsi, qword [rbx + 8]
test r8b, r8b
je 0x14008cd7a
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], 0
jne 0x14008cd7a
mov rcx, rbx
call fcn.14001c9a0
movzx r8d, byte [rbx + 0x11]
mov rax, qword [rsi]
mov rsi, qword [rax + 0x110]
movsxd rdx, dword [rsi + 0x1c]
test edx, edx
jns 0x14008cda7
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 0x14008cdc2
sub dword [rbx + 0x14], 1
jne 0x14008cdc2
mov rcx, rbx
call fcn.14001c970
mov edx, esi
mov rcx, rdi
call fcn.14001f220
cmp byte [rdi + 0x11], 0
mov rsi, qword [rdi + 8]
je 0x14008cde7
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], 0
jne 0x14008cde7
mov rcx, rdi
call fcn.14001c9a0
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 0x14008ce0f
sub dword [rdi + 0x14], 1
jne 0x14008ce0f
mov rcx, rdi
call fcn.14001c970
lea r8, str.BEGIN
mov rdx, r15
mov rcx, rbp
call fcn.14008c5a0
mov r14d, eax
test eax, eax
jne 0x14008d21b
mov edx, 2
mov rcx, rbx
call fcn.14001fa20
mov r14d, eax
test eax, eax
jne 0x14008d21b
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
cmp byte [rcx + 9], 5
jne 0x14008ce55
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.14001f3f0
test eax, eax
jne 0x14008d215
cmp byte [rsp + 0x20], al
jne 0x14008ce95
mov edx, dword [rbp + 0x60]
xor r9d, r9d
mov r8d, esi
mov rcx, rdi
call fcn.14001f3f0
test eax, eax
jne 0x14008d215
cmp byte [rbp + 0x55], 0
jne 0x14008d215
movsx eax, byte [rbp + 0x58]
test al, al
js 0x14008ceab
mov esi, eax
jmp 0x14008ceec
cmp byte [rbx + 0x11], 0
je 0x14008cec2
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], 0
jne 0x14008cec2
mov rcx, rbx
call fcn.14001c9a0
mov rax, qword [rbx + 8]
xor esi, esi
cmp byte [rax + 0x21], sil
je 0x14008ced8
cmp byte [rax + 0x22], sil
setne sil
inc esi
cmp byte [rbx + 0x11], 0
je 0x14008ceec
sub dword [rbx + 0x14], 1
jne 0x14008ceec
mov rcx, rbx
call fcn.14001c970
mov edx, esi
mov rcx, rdi
call fcn.14001f560
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.14008c780
mov r14d, eax
test eax, eax
jne 0x14008d21b
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.14008c780
mov r14d, eax
test eax, eax
jne 0x14008d21b
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.14008c780
and dword [rbp + 0x2c], 0xefffffff
mov r14d, eax
test eax, eax
jne 0x14008d21b
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.14008c780
mov r14d, eax
test eax, eax
jne 0x14008d21b
xor r15d, r15d
lea r12, [0x140109768]
nop word [rax + rax]
cmp byte [rbx + 0x11], 0
movzx esi, byte [r15 + r12]
mov r14, qword [rbx + 8]
je 0x14008cfc0
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], 0
jne 0x14008cfc0
mov rcx, rbx
call fcn.14001c9a0
cmp esi, 0xf
jne 0x14008cfd3
mov rax, qword [r14]
mov esi, dword [rax + 0x84]
add esi, dword [rbx + 0x1c]
jmp 0x14008cfe7
mov rax, qword [r14 + 0x18]
lea edx, [rsi*4 + 0x24]
mov rcx, qword [rax + 0x50]
mov esi, dword [rdx + rcx]
bswap esi
cmp byte [rbx + 0x11], 0
je 0x14008cffb
sub dword [rbx + 0x14], 1
jne 0x14008cffb
mov rcx, rbx
call fcn.14001c970
movzx r8d, byte [r15 + r12 + 1]
mov rcx, rdi
movzx edx, byte [r15 + r12]
add r8d, esi
call fcn.1400275e0
mov r14d, eax
test eax, eax
jne 0x14008d21b
add r15, 2
cmp r15, 0xa
jl 0x14008cfa0
cmp byte [rbx + 0x11], al
je 0x14008d03f
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], al
jne 0x14008d03f
mov rcx, rbx
call fcn.14001c9a0
cmp byte [rdi + 0x11], 0
je 0x14008d056
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], 0
jne 0x14008d056
mov rcx, rdi
call fcn.14001c9a0
mov rax, qword [rbx + 8]
mov rcx, qword [rax]
mov rcx, qword [rcx + 0x48]
mov r9, qword [rcx]
test r9, r9
je 0x14008d0a4
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 0x14008d12c
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.1400292a0
lea rcx, [rsp + 0x40]
call fcn.140029a10
mov r14d, eax
test eax, eax
jne 0x14008d115
mov rax, qword [rbx + 8]
mov ecx, 0xfffd
and word [rax + 0x26], cx
jmp 0x14008d12c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 8]
mov rcx, qword [rcx]
cmp byte [rcx + 0x11], 0
jne 0x14008d12c
call fcn.140013f60
cmp byte [rdi + 0x11], 0
je 0x14008d140
sub dword [rdi + 0x14], 1
jne 0x14008d140
mov rcx, rdi
call fcn.14001c970
cmp byte [rbx + 0x11], 0
je 0x14008d154
sub dword [rbx + 0x14], 1
jne 0x14008d154
mov rcx, rbx
call fcn.14001c970
test r14d, r14d
jne 0x14008d21b
cmp byte [rdi + 0x11], r14b
je 0x14008d174
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], r14b
jne 0x14008d174
mov rcx, rdi
call fcn.14001c9a0
xor edx, edx
mov rcx, rdi
call fcn.140020940
mov r14d, eax
test eax, eax
jne 0x14008d192
xor edx, edx
mov rcx, rdi
call fcn.140020b80
mov r14d, eax
cmp byte [rdi + 0x11], 0
je 0x14008d1a6
sub dword [rdi + 0x14], 1
jne 0x14008d1a6
mov rcx, rdi
call fcn.14001c970
test r14d, r14d
jne 0x14008d21b
cmp byte [rdi + 0x11], r14b
je 0x14008d1c2
inc dword [rdi + 0x14]
cmp byte [rdi + 0x12], r14b
jne 0x14008d1c2
mov rcx, rdi
call fcn.14001c9a0
mov rax, qword [rdi + 8]
xor esi, esi
cmp byte [rax + 0x21], sil
je 0x14008d1d8
cmp byte [rax + 0x22], sil
setne sil
inc esi
cmp byte [rdi + 0x11], 0
je 0x14008d1ec
sub dword [rdi + 0x14], 1
jne 0x14008d1ec
mov rcx, rdi
call fcn.14001c970
mov edx, esi
mov rcx, rbx
call fcn.14001f560
mov rax, qword [rdi + 8]
mov r9d, 1
mov r8d, dword [rsp + 0x24]
mov rcx, rbx
mov edx, dword [rax + 0x30]
call fcn.14001f3f0
mov r14d, eax
jmp 0x14008d21b
mov r14d, 7
mov eax, dword [rsp + 0x28]
mov r12, qword [rsp + 0xa8]
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 + 0x21]
mov byte [rbp + 0x5c], al
mov byte [rbp + 0xa8], 0
cmp byte [rbx + 0x11], 0
mov r15, qword [rbx + 8]
je 0x14008d262
inc dword [rbx + 0x14]
cmp byte [rbx + 0x12], 0
jne 0x14008d262
mov rcx, rbx
call fcn.14001c9a0
test byte [r15 + 0x26], 2
jne 0x14008d293
mov edi, dword [r15 + 0x30]
lea rdx, [r15 + 0x30]
sub edi, dword [r15 + 0x34]
mov rcx, qword [r15]
mov r8d, edi
call fcn.140015be0
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 0x14008d2a7
sub dword [rbx + 0x14], 1
jne 0x14008d2a7
mov rcx, rbx
call fcn.14001c970
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xf8]
mov byte [rbp + 0x53], 1
test r13, r13
je 0x14008d2d9
mov rcx, qword [r13 + 8]
call fcn.14001eed0
mov qword [r13 + 8], 0
mov qword [r13 + 0x18], 0
mov rcx, rbp
call fcn.140054540
mov eax, r14d
mov r14, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400d12d0
add rsp, 0xb8
pop r15
pop r13
pop rbp
pop rbx
ret