Function at 0x1401e3219
Capabilities:
Reference sql statements

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x34], 0
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x20], 0
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x3c]
test eax, eax
je 0x1401e329a
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax + 0x18]
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x20]
mov r8, rdx
mov rdx, rax
lea rax, str.recursive_definition_for__s._s
mov rcx, rax
call sym.sqlite3_mprintf
mov rdx, qword [rbp + 0x10]
mov qword [rdx + 0x10], rax
mov eax, 1
jmp 0x1401e349e
mov rax, qword [rbp - 0x18]
mov rcx, qword [rax + 0x18]
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax + 0x18]
mov rax, qword [rbp - 0x18]
mov r9, qword [rax + 0x20]
mov rax, qword [rbp - 0x18]
mov r8, qword [rax + 0x18]
lea rax, [rbp - 0x34]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
lea rdx, str.SELECT_t._Q_FROM__Q._Q_AS_t_WHERE_t._Q_MATCH_id
mov rcx, rax
call sym.sqlite3Fts5Mprintf
mov qword [rbp - 0x20], rax
cmp qword [rbp - 0x20], 0
je 0x1401e330f
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x28]
lea rcx, [rbp - 0x40]
mov rdx, qword [rbp - 0x20]
mov qword [rsp + 0x20], 0
mov r9, rcx
mov r8d, 0xffffffff
mov rcx, rax
call sym.sqlite3_prepare_v2
mov dword [rbp - 0x34], eax
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sym.sqlite3_free
mov eax, dword [rbp - 0x34]
cmp eax, 1
jne 0x1401e332a
mov dword [rbp - 0x34], 0
mov rax, qword [rbp - 0x18]
mov dword [rax + 0x3c], 1
mov rax, qword [rbp - 0x40]
test rax, rax
je 0x1401e337c
mov rax, qword [rbp - 0x40]
mov rcx, rax
call sym.sqlite3_step
cmp eax, 0x64
jne 0x1401e337c
mov rax, qword [rbp - 0x40]
mov edx, 0
mov rcx, rax
call sym.sqlite3_column_int64
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x30]
mov rdx, qword [rbp - 0x28]
mov rcx, rax
call sym.sqlite3Fts5TableFromCsrid
mov qword [rbp - 8], rax
mov rax, qword [rbp - 0x18]
mov dword [rax + 0x3c], 0
mov eax, dword [rbp - 0x34]
test eax, eax
jne 0x1401e33f8
cmp qword [rbp - 8], 0
jne 0x1401e33e9
mov rax, qword [rbp - 0x40]
mov rcx, rax
call sym.sqlite3_finalize
mov dword [rbp - 0x34], eax
mov qword [rbp - 0x40], 0
mov eax, dword [rbp - 0x34]
test eax, eax
jne 0x1401e33f8
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax + 0x18]
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x20]
mov r8, rdx
mov rdx, rax
lea rax, str.no_such_fts5_table:__s._s
mov rcx, rax
call sym.sqlite3_mprintf
mov rdx, qword [rbp + 0x10]
mov qword [rdx + 0x10], rax
mov dword [rbp - 0x34], 1
jmp 0x1401e33f8
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.sqlite3Fts5FlushToDisk
mov dword [rbp - 0x34], eax
mov eax, dword [rbp - 0x34]
test eax, eax
jne 0x1401e342c
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
mov eax, dword [rax + 0x18]
cdqe
add rax, 8
shl rax, 4
mov qword [rbp - 0x30], rax
mov rdx, qword [rbp - 0x30]
lea rax, [rbp - 0x34]
mov rcx, rax
call sym.sqlite3Fts5MallocZero
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x1401e3484
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov qword [rax + 0x10], rdx
mov rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x10]
lea rdx, [rax + 0x80]
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x48], rdx
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 0x48]
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x18]
mov eax, dword [rax + 0x18]
cdqe
shl rax, 3
add rdx, rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x50], rdx
jmp 0x1401e3490
mov rax, qword [rbp - 0x40]
mov rcx, rax
call sym.sqlite3_finalize
mov rax, qword [rbp + 0x18]
mov rdx, qword [rbp - 0x10]
mov qword [rax], rdx
mov eax, dword [rbp - 0x34]
add rsp, 0x70
pop rbp
ret