Function at 0x140197cc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x198
mov rbp, qword [rdx]
movsxd r12, r8d
mov r14, rcx
mov rsi, rdx
mov qword [rsp + 0x1f8], r9
mov r8, r12
mov rbx, r12
mov qword [rsp + 0xe8], 0
shl r8, 4
test r9, r9
mov dword [rsp + 0x68], 0
lea r13, [r8 + 0x18]
je 0x140197d15
mov eax, dword [r9]
mov dword [rsp + 0x68], eax
mov rax, qword [r14]
lea r15, [rbp + r8]
mov ecx, 0xf
mov qword [rsp + 0xf0], 0
lea r12, [rsp + 0x110]
mov qword [rsp + 0xf8], 0
mov rdi, r12
mov eax, dword [rax + 0x5c]
mov dword [rsp + 0xa8], eax
xor eax, eax
rep stosq qword [rdi], rax
mov eax, dword [r15 + 0x18]
test eax, eax
mov dword [rsp + 0x88], eax
jne 0x140197da3
mov r11d, dword [r14 + 0x34]
test r11d, r11d
jne 0x140197d81
cmp dword [rbp + 0x10], 0x7cf
jle 0x140198390
mov dword [r14 + 0x34], 0xd
mov eax, dword [rbp + 0x14]
sub eax, 1
cmp ebx, eax
je 0x1401983b3
add rsp, 0x198
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rbp + r8 + 0x28]
mov rcx, r14
mov qword [rsp + 0x70], rax
movsxd rax, dword [r15 + 0x2c]
lea rsi, [rbp + r13]
lea rdx, [rax + rax*2]
mov rax, qword [r15 + 0x30]
lea r13, [rax + rdx*4 - 0xc]
mov rdx, r12
mov r8d, dword [r13]
call sym.fts5WriteInit
mov eax, dword [r13 + 8]
mov dword [rsp + 0x180], 0
add eax, 1
mov dword [rsp + 0x118], eax
mov rax, qword [rsp + 0x70]
xor r15d, r15d
cmp dword [rax + 4], 1
jne 0x140197e06
lea eax, [rbx + 2]
xor r15d, r15d
cmp dword [rbp + 0x14], eax
sete r15b
xor r9d, r9d
mov r8d, 0x20
mov dword [rsp + 0x30], ebx
mov rdx, rbp
lea rax, [rsp + 0xe8]
mov dword [rsp + 0x28], 0
mov rcx, r14
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x88]
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x38], eax
call sym.fts5MultiIterNew
mov r8d, dword [r14 + 0x34]
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0xe8]
test r8d, r8d
mov qword [rsp + 0x58], rax
jne 0x140198047
mov dword [rsp + 0xac], 0
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], r13
mov dword [rsp + 0xcc], r15d
mov rdi, qword [rsp + 0x58]
cmp byte [rdi + 0x14], 0
jne 0x140198022
mov rax, qword [rdi + 0x58]
movzx ebx, word [rax + 4]
imul rax, rbx, 0x78
add rax, rdi
mov edi, dword [rax + 0xc0]
cmp dword [rsp + 0xf8], edi
mov rsi, qword [rax + 0xb8]
je 0x1401984a4
cmp qword [rsp + 0x1f8], 0
je 0x140197ee9
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x15c], eax
jg 0x140198022
lea rdx, [rsp + 0xf0]
mov r9, rsi
mov r8d, edi
mov dword [rsp + 0xf8], 0
lea rcx, [r14 + 0x34]
call sym.sqlite3Fts5BufferAppendBlob
mov dword [rsp + 0xac], 0
imul rax, rbx, 0x78
mov rdx, qword [rsp + 0x58]
add rax, rdx
mov ecx, dword [rax + 0xd0]
test ecx, ecx
jne 0x140197f48
mov edx, dword [rsp + 0xcc]
test edx, edx
jne 0x140198003
cmp byte [rax + 0xd4], 0
je 0x140198003
mov eax, dword [r14 + 0x34]
mov edx, dword [rsp + 0xac]
or edx, eax
je 0x140198a24
test eax, eax
jne 0x140197fd8
mov rdi, qword [rsp + 0x58]
mov rdx, qword [r14]
mov rax, qword [rdi + 0x58]
movzx eax, word [rax + 4]
imul rax, rax, 0x78
mov rsi, qword [rdi + rax + 0xc8]
mov eax, dword [rsp + 0x138]
add eax, dword [rsp + 0x128]
cmp eax, dword [rdx + 0x84]
jge 0x140198ad7
cmp byte [rsp + 0x159], 0
jne 0x140198aad
cmp word [rsp + 0x158], 0
lea rdx, [rsp + 0x120]
mov r8, rsi
lea rcx, [r14 + 0x34]
je 0x140198a49
call sym.sqlite3Fts5BufferAppendVarint
xor eax, eax
mov qword [rsp + 0x150], rsi
mov word [rsp + 0x158], ax
imul rbx, rbx, 0x78
mov rax, qword [rsp + 0x58]
cmp dword [rsp + 0xa8], 1
lea r9, [rax + rbx]
movzx eax, byte [r9 + 0xd4]
jne 0x1401985fc
test al, al
jne 0x140198a56
mov rdx, qword [rsp + 0x58]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call sym.fts5MultiIterNext
mov ebx, dword [r14 + 0x34]
test ebx, ebx
je 0x140197e95
mov rax, qword [rsp + 0xf0]
mov rbp, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xc0]
mov qword [rsp + 0x60], rax
lea r8, [r13 + 8]
mov rdx, r12
mov rcx, r14
call sym.fts5WriteFinish
mov r15d, dword [r14 + 0x34]
test r15d, r15d
jne 0x140198176
mov rax, qword [rsp + 0x58]
cmp byte [rax + 0x14], 0
jne 0x140198176
mov edx, dword [rax + 0x40]
lea r13, [rsp + 0x100]
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
test edx, edx
jle 0x1401985d9
lea rbx, [rax + 0x60]
mov qword [rsp + 0x80], rsi
mov esi, r15d
lea rax, [r14 + 0x34]
lea r13, [rsp + 0x100]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xe4]
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], rax
jmp 0x140198159
mov edi, dword [rax]
mov rcx, r14
mov r15d, dword [rbx + 0x34]
mov dword [rsp + 0xe4], 0
movsxd rbp, dword [rbx + 0x30]
shl rdi, 0x25
add rbp, rdi
mov rdx, rbp
call sym.fts5DataRead
test rax, rax
mov r13, rax
je 0x140198136
mov r8d, dword [rax + 8]
cmp r8d, 3
jle 0x1401985b7
mov eax, dword [rax + 0xc]
cmp r8d, eax
jl 0x1401985b7
cmp r15d, eax
jle 0x1401984cc
mov dword [r14 + 0x34], 0x10b
mov rcx, r13
call sym.sqlite3_free
mov rax, qword [rsp + 0x58]
mov edx, dword [rax + 0x40]
add esi, 1
add rbx, 0x78
cmp esi, edx
jge 0x1401985cc
mov eax, dword [r14 + 0x34]
test eax, eax
jne 0x1401985cc
mov rax, qword [rbx]
test rax, rax
je 0x14019813e
cmp qword [rbx + 0x10], 0
jne 0x1401980d4
mov qword [rax + 4], 0
jmp 0x14019813e
mov r8d, dword [rsp + 0x88]
test r8d, r8d
jle 0x140198262
movsxd rax, dword [rsp + 0x88]
xor ebx, ebx
mov qword [rsp + 0x68], rbp
lea rdi, str.DELETE_FROM__q._q_idx_WHERE_segid_
lea r12, [rax + rax*2]
shl r12, 2
jmp 0x1401981bd
add rbx, 0xc
cmp rbx, r12
je 0x14019825d
mov rax, qword [rsi + 8]
mov rcx, r14
movsxd r15, dword [rax + rbx]
lea eax, [r15 + 1]
mov rdx, r15
shl rax, 0x25
shl rdx, 0x25
lea r8, [rax - 1]
call sym.fts5DataDelete
cmp qword [r14 + 0x58], 0
je 0x140198310
mov r10d, dword [r14 + 0x34]
test r10d, r10d
jne 0x1401981b0
mov rbp, qword [r14 + 0x58]
xor edx, edx
mov rcx, rbp
call sym.vdbeUnbind
test eax, eax
jne 0x14019823a
mov rcx, qword [rbp + 0x80]
test word [rcx + 0x14], 0x9000
jne 0x14019836e
mov r9d, 4
mov qword [rcx], r15
mov word [rcx + 0x14], r9w
mov rax, qword [rbp]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14019823a
call qword [0x1402b20f0]
mov rcx, qword [r14 + 0x58]
add rbx, 0xc
call sym.sqlite3_step
mov rcx, qword [r14 + 0x58]
call sym.sqlite3_reset
cmp rbx, r12
mov dword [r14 + 0x34], eax
jne 0x1401981bd
mov rbp, qword [rsp + 0x68]
mov eax, dword [rsi + 4]
mov edx, dword [rsp + 0x88]
cmp eax, edx
je 0x140198294
mov rcx, qword [rsi + 8]
sub eax, edx
lea r8d, [rax + rax*2]
movsxd rax, edx
lea rax, [rax + rax*2]
shl r8d, 2
movsxd r8, r8d
lea rdx, [rcx + rax*4]
call sub.msvcrt.dll_memmove
mov edx, dword [rsi + 4]
mov eax, dword [rbp + 0x10]
mov edi, dword [rsp + 0x88]
mov ecx, dword [r13 + 8]
sub eax, edi
sub edx, edi
test ecx, ecx
mov dword [rbp + 0x10], eax
mov dword [rsi + 4], edx
mov dword [rsi], 0
jne 0x1401982c5
mov rdi, qword [rsp + 0x70]
sub eax, 1
sub dword [rdi + 4], 1
mov dword [rbp + 0x10], eax
cmp qword [rsp + 0x58], 0
je 0x1401982d7
mov rcx, qword [rsp + 0x58]
call sym.fts5MultiIterFree.part.0
mov rcx, qword [rsp + 0x60]
call sym.sqlite3_free
cmp qword [rsp + 0x1f8], 0
je 0x140197d8f
mov rdi, qword [rsp + 0x1f8]
mov eax, dword [rsp + 0x15c]
sub dword [rdi], eax
jmp 0x140197d8f
mov rax, qword [r14]
mov rcx, rdi
mov rdx, qword [rax + 8]
mov r8, qword [rax + 0x10]
call sym.sqlite3_mprintf
mov r11d, dword [r14 + 0x34]
mov rbp, rax
test r11d, r11d
jne 0x140198361
test rax, rax
je 0x14019837b
mov rax, qword [r14]
xor r9d, r9d
mov r8d, 0x85
mov rdx, rbp
mov rcx, qword [rax]
lea rax, [r14 + 0x58]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call sym.sqlite3LockAndPrepare.constprop.0
mov dword [r14 + 0x34], eax
mov rcx, rbp
call sym.sqlite3_free
jmp 0x1401981eb
mov rdx, r15
call sym.vdbeReleaseAndSetInt64
jmp 0x140198227
mov dword [r14 + 0x34], 7
mov rcx, rbp
call sym.sqlite3_free
jmp 0x1401981eb
mov rcx, rbp
mov qword [rsp + 0x58], r8
call sym.fts5AllocateSegid.part.0
mov r8, qword [rsp + 0x58]
mov dword [rsp + 0x88], eax
mov eax, dword [rbp + 0x14]
sub eax, 1
cmp eax, ebx
jne 0x1401983de
lea rcx, [r14 + 0x34]
mov rdx, rsi
mov qword [rsp + 0x58], r8
call sym.fts5StructureAddLevel
mov r10d, dword [r14 + 0x34]
mov rbp, qword [rsi]
test r10d, r10d
jne 0x140197d8f
mov r8, qword [rsp + 0x58]
lea r15, [rbp + r8]
mov esi, dword [r15 + 0x2c]
mov qword [rsp + 0x58], r8
mov rdi, qword [r15 + 0x30]
call sym.sqlite3_initialize
test eax, eax
jne 0x1401985ef
lea eax, [rsi + 1]
mov rcx, rdi
cdqe
lea rdx, [rax + rax*2]
shl rdx, 2
call sym.sqlite3Realloc
test rax, rax
je 0x1401985ef
movsxd rdx, dword [r15 + 0x2c]
mov r8, qword [rsp + 0x58]
lea rdx, [rdx + rdx*2]
lea rdx, [rax + rdx*4]
mov qword [rdx], 0
mov dword [rdx + 8], 0
mov r9d, dword [r14 + 0x34]
mov qword [r15 + 0x30], rax
test r9d, r9d
jne 0x140197d8f
mov edi, dword [rsp + 0x88]
lea rax, [rbp + r8 + 0x28]
mov rdx, r12
mov rcx, r14
mov qword [rsp + 0x70], rax
lea rsi, [rbp + r13]
mov r8d, edi
call sym.fts5WriteInit
movsxd rdx, dword [r15 + 0x2c]
lea rcx, [rdx + rdx*2]
mov rax, rdx
mov rdx, qword [r15 + 0x30]
add eax, 1
mov dword [r15 + 0x2c], eax
lea r13, [rdx + rcx*4]
mov dword [r13 + 4], 1
mov dword [r13], edi
add dword [rbp + 0x10], 1
mov eax, dword [r15 + 0x1c]
mov dword [rsp + 0x88], eax
jmp 0x140197deb
test edi, edi
jle 0x140197f16
mov rdx, qword [rsp + 0xf0]
movsxd r8, edi
mov rcx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x140197f16
jmp 0x140197ecd
mov dword [rsp + 0x108], 0
mov r12, qword [rsp + 0x70]
cmp dword [rsp + 0x10c], r8d
jb 0x1401989a2
mov r9, qword [rsp + 0x78]
mov r8d, 4
mov rcx, r12
mov rdx, qword [rsp + 0x68]
call sym.sqlite3Fts5BufferAppendBlob
movsxd r8, dword [rbx + 0x60]
mov rcx, r12
mov rdx, qword [rsp + 0x68]
call sym.sqlite3Fts5BufferAppendVarint
mov r9, qword [rbx + 0x58]
mov rcx, r12
mov r8d, dword [rbx + 0x60]
mov rdx, qword [rsp + 0x68]
call sym.sqlite3Fts5BufferAppendBlob
mov r8d, dword [r13 + 0xc]
movsxd r9, r15d
mov rcx, r12
add r9, qword [r13]
mov rdx, qword [rsp + 0x68]
sub r8d, r15d
call sym.sqlite3Fts5BufferAppendBlob
mov edx, dword [r14 + 0x34]
test edx, edx
jne 0x140198563
movzx eax, word [rsp + 0x108]
mov rdx, qword [rsp + 0x100]
rol ax, 8
mov word [rdx + 2], ax
mov rdx, qword [rsp + 0x68]
mov r8d, 4
mov rcx, r12
call sym.sqlite3Fts5BufferAppendVarint
mov eax, dword [rbx + 0x30]
cmp dword [rbx + 0xc], eax
je 0x1401989b8
mov rdx, qword [rbx]
mov r8, rbp
mov rcx, r14
mov dword [rdx + 4], eax
lea rdx, [rdi + 1]
call sym.fts5DataDelete
mov r9d, dword [rsp + 0x108]
mov rdx, rbp
mov rcx, r14
mov r8, qword [rsp + 0x100]
call sym.fts5DataWrite
jmp 0x14019812e
mov dword [r14 + 0x34], 0x10b
mov rcx, r13
call sym.sqlite3_free
jmp 0x140198136
mov rsi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x68]
mov rcx, r13
call sym.sqlite3Fts5BufferFree
mov eax, dword [rsp + 0x88]
mov dword [rsi], eax
jmp 0x1401982cd
mov dword [r14 + 0x34], 7
jmp 0x140197d8f
mov edx, dword [r9 + 0xd0]
lea rcx, [r14 + 0x34]
mov qword [rsp + 0x60], r9
mov qword [rsp + 0x78], rcx
lea r8d, [rax + rdx*2]
lea rax, [rsp + 0x120]
movsxd r8, r8d
mov rdx, rax
mov qword [rsp + 0xd0], rax
call sym.sqlite3Fts5BufferAppendVarint
mov r9, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [r9 + 0x70]
mov qword [rsp + 0xa0], r9
mov rax, qword [r9 + 0x80]
mov qword [rsp + 0xd8], rcx
mov ebp, dword [r9 + 0xd0]
movsxd r13, dword [r9 + 0x6c]
mov rsi, qword [rdx]
movsxd rdi, dword [rdx + 0xc]
lea edx, [r13 + 1]
mov dword [rsp + 0x60], r13d
add rsi, rax
sub rdi, rax
movsxd rax, ebp
cmp rdi, rax
cmovg rdi, rax
xor eax, eax
test byte [r9 + 0x68], 2
cmove eax, edx
xor ebx, ebx
mov dword [rsp + 0xc8], eax
lea rax, [r13 + 1]
mov r13, rbx
mov rbx, rax
nop dword [rax]
mov eax, dword [r14 + 0x34]
mov r15d, edi
test eax, eax
jne 0x140198864
mov qword [rsp + 0x98], rbx
mov rbx, rsi
mov dword [rsp + 0x80], edi
mov dword [rsp + 0x8c], ebp
mov qword [rsp + 0x90], r13
mov rax, qword [r14]
mov edi, dword [rsp + 0x128]
mov edx, dword [rsp + 0x138]
mov r10d, dword [rax + 0x84]
lea eax, [rdi + rdx]
add eax, r15d
cmp r10d, eax
jg 0x140198843
sub r10d, edi
sub r10d, edx
test r10d, r10d
jle 0x14019882c
xor esi, esi
nop dword [rax + rax]
movsxd rax, esi
mov edx, 1
add rax, rbx
movzx ecx, byte [rax]
test cl, cl
jns 0x140198790
movzx ecx, byte [rax + 1]
mov edx, 2
test cl, cl
jns 0x140198790
movzx ecx, byte [rax + 2]
mov edx, 3
and ecx, 0x80
je 0x140198790
movzx ecx, byte [rax + 3]
mov edx, 4
and ecx, 0x80
je 0x140198790
movzx ecx, byte [rax + 4]
mov edx, 5
and ecx, 0x80
je 0x140198790
movzx ecx, byte [rax + 5]
mov edx, 6
and ecx, 0x80
je 0x140198790
test byte [rax + 6], 0x80
mov edx, 7
je 0x140198790
xor edx, edx
test byte [rax + 7], 0x80
setne dl
add edx, 8
nop word [rax + rax]
add esi, edx
cmp r10d, esi
jg 0x140198710
mov edx, dword [rsp + 0x12c]
lea ebp, [rsi + rdi]
mov rcx, qword [rsp + 0x120]
cmp edx, ebp
jae 0x14019880b
test edx, edx
mov eax, 0x40
cmove edx, eax
mov eax, ebp
movsxd r13, edx
cmp r13, rax
jae 0x1401987d0
nop dword [rax]
add r13, r13
cmp r13, rax
jb 0x1401987c8
mov qword [rsp + 0x78], rcx
call sym.sqlite3_initialize
mov rcx, qword [rsp + 0x78]
test eax, eax
jne 0x140198969
mov rdx, r13
call sym.sqlite3Realloc
test rax, rax
mov rcx, rax
je 0x140198969
mov dword [rsp + 0x12c], r13d
mov qword [rsp + 0x120], rax
movsxd r8, edi
movsxd rdi, esi
mov rdx, rbx
add rcx, r8
mov r8, rdi
add rbx, rdi
call sym.memcpy
sub r15d, esi
mov dword [rsp + 0x128], ebp
mov rdx, r12
mov rcx, r14
call sym.fts5WriteFlushLeaf
mov edi, dword [r14 + 0x34]
test edi, edi
je 0x1401986d0
mov rsi, rbx
mov edi, dword [rsp + 0x80]
mov ebp, dword [rsp + 0x8c]
mov r13, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
test r15d, r15d
jle 0x140198884
mov rdx, qword [rsp + 0xd0]
mov r9, rsi
mov r8d, r15d
mov rcx, qword [rsp + 0xd8]
call sym.sqlite3Fts5BufferAppendBlob
sub ebp, edi
test r13, r13
je 0x1401988e0
mov esi, dword [0x1402b2060]
test esi, esi
je 0x14019897f
mov rcx, qword [0x1402b1d00]
test rcx, rcx
je 0x1401988ab
call qword [0x1402b20e0]
mov rcx, r13
call qword [0x1402b2098]
mov rcx, r13
sub qword [0x1402b2428], 1
cdqe
sub qword [0x1402b23e0], rax
call qword [0x1402b2088]
mov rcx, qword [0x1402b1d00]
test rcx, rcx
je 0x1401988e0
call qword [0x1402b20f0]
test ebp, ebp
jle 0x140198003
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x60]
test rax, rax
je 0x140198aa0
movsxd rdx, dword [rax]
mov rcx, r14
add dword [rsp + 0x60], 1
mov r15d, dword [rsp + 0x60]
shl rdx, 0x25
add rdx, rbx
call sym.fts5DataRead
test rax, rax
mov r13, rax
je 0x140198003
mov eax, dword [rax + 8]
cmp eax, 3
jle 0x14019898d
mov edi, dword [r13 + 0xc]
cmp eax, edi
jl 0x14019898d
mov rax, qword [r13]
sub edi, 4
cmp edi, ebp
cmovg edi, ebp
lea rsi, [rax + 4]
mov eax, dword [rsp + 0xc8]
cmp r15d, eax
jne 0x140198960
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x78], r13
xor r13d, r13d
add rbx, 1
jmp 0x1401986a0
movsxd rax, esi
mov dword [r14 + 0x34], 7
sub r15d, esi
add rbx, rax
jmp 0x14019882c
mov rcx, r13
call qword [0x1402b2088]
jmp 0x1401988e0
mov dword [r14 + 0x34], 0x10b
mov rcx, r13
call sym.sqlite3_free
jmp 0x140198003
mov rdx, qword [rsp + 0x68]
lea r12, [r14 + 0x34]
mov rcx, r12
call sym.sqlite3Fts5BufferSize
jmp 0x1401984ea
mov r8d, dword [rbx + 0x3c]
mov edx, dword [r13 + 0xc]
cmp r8d, edx
jge 0x140198582
mov ecx, dword [r13 + 8]
cmp dword [rbx + 0x38], ecx
jg 0x140198582
movsxd rcx, dword [rsp + 0x108]
mov eax, edx
mov r15, qword [rsp + 0x68]
sub eax, r8d
cdqe
mov rdx, rcx
mov rcx, r12
sub rdx, rax
lea r8, [rdx - 5]
mov rdx, r15
call sym.sqlite3Fts5BufferAppendVarint
movsxd r9, dword [rbx + 0x38]
mov rdx, r15
mov rcx, r12
mov r8d, dword [r13 + 8]
mov rax, r9
add r9, qword [r13]
sub r8d, eax
call sym.sqlite3Fts5BufferAppendBlob
mov eax, dword [rbx + 0x30]
jmp 0x140198582
mov r9, rsi
mov r8d, edi
mov rdx, r12
mov rcx, r14
call sym.fts5WriteAppendTerm
mov eax, dword [r14 + 0x34]
mov dword [rsp + 0xac], 1
jmp 0x140197f5b
sub r8, qword [rsp + 0x150]
jmp 0x140197fc1
lea rbx, [rsp + 0x120]
xor r8d, r8d
mov qword [rsp + 0x78], r9
lea rcx, [r14 + 0x34]
mov rdx, rbx
mov qword [rsp + 0x60], rcx
call sym.sqlite3Fts5BufferAppendVarint
mov r9, qword [rsp + 0x78]
mov eax, dword [r9 + 0xd0]
test eax, eax
jle 0x140198003
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
mov rdx, rbx
call sym.sqlite3Fts5BufferAppendVarint
jmp 0x140198003
mov dword [r14 + 0x34], 0x10b
jmp 0x140198003
movzx eax, word [rsp + 0x128]
mov r8, rsi
mov rcx, r14
mov rdx, qword [rsp + 0x120]
rol ax, 8
mov word [rdx], ax
mov rdx, r12
call sym.fts5WriteDlidxAppend
jmp 0x140197fa3
mov rdx, r12
mov rcx, r14
call sym.fts5WriteFlushLeaf
jmp 0x140197f95