Function at 0x14027a560
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 0x14027a5b5
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 0x14027a643
mov r11d, dword [r14 + 0x34]
test r11d, r11d
jne 0x14027a621
cmp dword [rbp + 0x10], 0x7cf
jle 0x14027ac30
mov dword [r14 + 0x34], 0xd
mov eax, dword [rbp + 0x14]
sub eax, 1
cmp ebx, eax
je 0x14027ac53
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 0x14027a6a6
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 0x14027a8e7
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 0x14027a8c2
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 0x14027ad44
cmp qword [rsp + 0x1f8], 0
je 0x14027a789
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x15c], eax
jg 0x14027a8c2
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 0x14027a7e8
mov edx, dword [rsp + 0xcc]
test edx, edx
jne 0x14027a8a3
cmp byte [rax + 0xd4], 0
je 0x14027a8a3
mov eax, dword [r14 + 0x34]
mov edx, dword [rsp + 0xac]
or edx, eax
je 0x14027b2c4
test eax, eax
jne 0x14027a878
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 0x14027b377
cmp byte [rsp + 0x159], 0
jne 0x14027b34d
cmp word [rsp + 0x158], 0
lea rdx, [rsp + 0x120]
mov r8, rsi
lea rcx, [r14 + 0x34]
je 0x14027b2e9
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 0x14027ae9c
test al, al
jne 0x14027b2f6
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 0x14027a735
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 0x14027aa16
mov rax, qword [rsp + 0x58]
cmp byte [rax + 0x14], 0
jne 0x14027aa16
mov edx, dword [rax + 0x40]
lea r13, [rsp + 0x100]
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
test edx, edx
jle 0x14027ae79
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 0x14027a9f9
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 0x14027a9d6
mov r8d, dword [rax + 8]
cmp r8d, 3
jle 0x14027ae57
mov eax, dword [rax + 0xc]
cmp r8d, eax
jl 0x14027ae57
cmp r15d, eax
jle 0x14027ad6c
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 0x14027ae6c
mov eax, dword [r14 + 0x34]
test eax, eax
jne 0x14027ae6c
mov rax, qword [rbx]
test rax, rax
je 0x14027a9de
cmp qword [rbx + 0x10], 0
jne 0x14027a974
mov qword [rax + 4], 0
jmp 0x14027a9de
mov r8d, dword [rsp + 0x88]
test r8d, r8d
jle 0x14027ab02
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 0x14027aa5d
add rbx, 0xc
cmp rbx, r12
je 0x14027aafd
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 0x14027abb0
mov r10d, dword [r14 + 0x34]
test r10d, r10d
jne 0x14027aa50
mov rbp, qword [r14 + 0x58]
xor edx, edx
mov rcx, rbp
call sym.vdbeUnbind
test eax, eax
jne 0x14027aada
mov rcx, qword [rbp + 0x80]
test word [rcx + 0x14], 0x9000
jne 0x14027ac0e
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 0x14027aada
call qword [0x1403951b0]
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 0x14027aa5d
mov rbp, qword [rsp + 0x68]
mov eax, dword [rsi + 4]
mov edx, dword [rsp + 0x88]
cmp eax, edx
je 0x14027ab34
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 0x14027ab65
mov rdi, qword [rsp + 0x70]
sub eax, 1
sub dword [rdi + 4], 1
mov dword [rbp + 0x10], eax
cmp qword [rsp + 0x58], 0
je 0x14027ab77
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 0x14027a62f
mov rdi, qword [rsp + 0x1f8]
mov eax, dword [rsp + 0x15c]
sub dword [rdi], eax
jmp 0x14027a62f
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 0x14027ac01
test rax, rax
je 0x14027ac1b
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 0x14027aa8b
mov rdx, r15
call sym.vdbeReleaseAndSetInt64
jmp 0x14027aac7
mov dword [r14 + 0x34], 7
mov rcx, rbp
call sym.sqlite3_free
jmp 0x14027aa8b
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 0x14027ac7e
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 0x14027a62f
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 0x14027ae8f
lea eax, [rsi + 1]
mov rcx, rdi
cdqe
lea rdx, [rax + rax*2]
shl rdx, 2
call sym.sqlite3Realloc
test rax, rax
je 0x14027ae8f
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 0x14027a62f
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 0x14027a68b
test edi, edi
jle 0x14027a7b6
mov rdx, qword [rsp + 0xf0]
movsxd r8, edi
mov rcx, rsi
call sub.msvcrt.dll_memcmp
test eax, eax
je 0x14027a7b6
jmp 0x14027a76d
mov dword [rsp + 0x108], 0
mov r12, qword [rsp + 0x70]
cmp dword [rsp + 0x10c], r8d
jb 0x14027b242
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 0x14027ae03
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 0x14027b258
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 0x14027a9ce
mov dword [r14 + 0x34], 0x10b
mov rcx, r13
call sym.sqlite3_free
jmp 0x14027a9d6
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 0x14027ab6d
mov dword [r14 + 0x34], 7
jmp 0x14027a62f
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 0x14027b104
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 0x14027b0e3
sub r10d, edi
sub r10d, edx
test r10d, r10d
jle 0x14027b0cc
xor esi, esi
nop dword [rax + rax]
movsxd rax, esi
mov edx, 1
add rax, rbx
movzx ecx, byte [rax]
test cl, cl
jns 0x14027b030
movzx ecx, byte [rax + 1]
mov edx, 2
test cl, cl
jns 0x14027b030
movzx ecx, byte [rax + 2]
mov edx, 3
and ecx, 0x80
je 0x14027b030
movzx ecx, byte [rax + 3]
mov edx, 4
and ecx, 0x80
je 0x14027b030
movzx ecx, byte [rax + 4]
mov edx, 5
and ecx, 0x80
je 0x14027b030
movzx ecx, byte [rax + 5]
mov edx, 6
and ecx, 0x80
je 0x14027b030
test byte [rax + 6], 0x80
mov edx, 7
je 0x14027b030
xor edx, edx
test byte [rax + 7], 0x80
setne dl
add edx, 8
nop word [rax + rax]
add esi, edx
cmp r10d, esi
jg 0x14027afb0
mov edx, dword [rsp + 0x12c]
lea ebp, [rsi + rdi]
mov rcx, qword [rsp + 0x120]
cmp edx, ebp
jae 0x14027b0ab
test edx, edx
mov eax, 0x40
cmove edx, eax
mov eax, ebp
movsxd r13, edx
cmp r13, rax
jae 0x14027b070
nop dword [rax]
add r13, r13
cmp r13, rax
jb 0x14027b068
mov qword [rsp + 0x78], rcx
call sym.sqlite3_initialize
mov rcx, qword [rsp + 0x78]
test eax, eax
jne 0x14027b209
mov rdx, r13
call sym.sqlite3Realloc
test rax, rax
mov rcx, rax
je 0x14027b209
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 0x14027af70
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 0x14027b124
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 0x14027b180
mov esi, dword [0x140395120]
test esi, esi
je 0x14027b21f
mov rcx, qword [0x140394dc0]
test rcx, rcx
je 0x14027b14b
call qword [0x1403951a0]
mov rcx, r13
call qword [0x140395158]
mov rcx, r13
sub qword [0x1403954e8], 1
cdqe
sub qword [0x1403954a0], rax
call qword [0x140395148]
mov rcx, qword [0x140394dc0]
test rcx, rcx
je 0x14027b180
call qword [0x1403951b0]
test ebp, ebp
jle 0x14027a8a3
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x60]
test rax, rax
je 0x14027b340
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 0x14027a8a3
mov eax, dword [rax + 8]
cmp eax, 3
jle 0x14027b22d
mov edi, dword [r13 + 0xc]
cmp eax, edi
jl 0x14027b22d
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 0x14027b200
mov rax, qword [rsp + 0xa0]
mov qword [rax + 0x78], r13
xor r13d, r13d
add rbx, 1
jmp 0x14027af40
movsxd rax, esi
mov dword [r14 + 0x34], 7
sub r15d, esi
add rbx, rax
jmp 0x14027b0cc
mov rcx, r13
call qword [0x140395148]
jmp 0x14027b180
mov dword [r14 + 0x34], 0x10b
mov rcx, r13
call sym.sqlite3_free
jmp 0x14027a8a3
mov rdx, qword [rsp + 0x68]
lea r12, [r14 + 0x34]
mov rcx, r12
call sym.sqlite3Fts5BufferSize
jmp 0x14027ad8a
mov r8d, dword [rbx + 0x3c]
mov edx, dword [r13 + 0xc]
cmp r8d, edx
jge 0x14027ae22
mov ecx, dword [r13 + 8]
cmp dword [rbx + 0x38], ecx
jg 0x14027ae22
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 0x14027ae22
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 0x14027a7fb
sub r8, qword [rsp + 0x150]
jmp 0x14027a861
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 0x14027a8a3
mov rcx, qword [rsp + 0x60]
xor r8d, r8d
mov rdx, rbx
call sym.sqlite3Fts5BufferAppendVarint
jmp 0x14027a8a3
mov dword [r14 + 0x34], 0x10b
jmp 0x14027a8a3
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 0x14027a843
mov rdx, r12
mov rcx, r14
call sym.fts5WriteFlushLeaf
jmp 0x14027a835