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

Disassembly:
lea r12, [rsp - 0x90]
cmp r12, qword [r14 + 0x10]
jbe 0x6c7d84
push rbp
mov rbp, rsp
sub rsp, 0x108
movq qword [rsp + 0x100], xmm15
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], rbx
mov qword [rsp + 0x128], rcx
mov byte [rsp + 0x2f], 0
mov ebx, 0x40
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0xb0], rax
lea rcx, [sym.modernc.org_sqlite_lib._fts5DoSecureDelete.deferwrap1]
mov qword [rsp + 0xf0], rcx
mov rcx, qword [rsp + 0x118]
mov qword [rsp + 0xf8], rcx
lea rdx, [rsp + 0xf0]
mov qword [rsp + 0x100], rdx
mov byte [rsp + 0x2f], 1
mov rbx, qword [rsp + 0x120]
mov rdx, rbx
mov rdx, qword [rdx]
mov rsi, qword [rsp + 0x128]
mov r8, qword [rsi]
mov rsi, qword [rsi + 0x10]
mov r9d, dword [rsi + 8]
mov dword [rsp + 0x38], r9d
mov r10d, dword [rsi + 0xc]
mov dword [rsp + 0x64], r10d
mov r11, rax
lea r12, [r11 + 8]
mov qword [rsp + 0xe8], r12
sub r9d, r10d
mov dword [rsp + 0x3c], r9d
lea r15, [rbx + 0x3c]
lea r13d, [r9 + 0x10]
movsxd r13, r13d
mov r8d, dword [r8]
mov dword [rsp + 0x4c], r8d
mov rsi, qword [rsi]
mov qword [rsp + 0xc0], rsi
mov edx, dword [rdx + 0x60]
mov dword [rsp + 0xa4], edx
cmp edx, 1
mov qword [rax], 0
mov dword [r12], 0
mov rax, rcx
mov rbx, r15
mov rcx, r13
call sym.modernc.org_sqlite_lib._sqlite3Fts5MallocZero
mov rcx, qword [rsp + 0x120]
mov rdx, rcx
cmp dword [rcx + 0x3c], 0
jne 0x6c6e7d
mov qword [rsp + 0xc8], rax
mov esi, dword [rsp + 0x64]
movsxd rdi, esi
mov r8d, dword [rsp + 0x3c]
movsxd rcx, r8d
mov r9, qword [rsp + 0xc0]
lea rbx, [r9 + rdi]
test rcx, rcx
je 0x6c6d8b
movabs rdi, 0x3ffffffffffff
nop
cmp rdi, rcx
jb 0x6c7d6a
mov r10, rax
test byte [r10], al
test byte [rbx], al
cmp rbx, r10
je 0x6c6d95
mov rax, r10
call sym.runtime.memmove
mov rax, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x120]
mov esi, dword [rsp + 0x64]
movabs rdi, 0x3ffffffffffff
mov r8d, dword [rsp + 0x3c]
mov r9, qword [rsp + 0xc0]
jmp 0x6c6d95
movabs rdi, 0x3ffffffffffff
mov r10, qword [rsp + 0x128]
mov r12d, dword [r10 + 0xc]
cmp dword [r10 + 0x38], r12d
jne 0x6c6db9
mov r10d, dword [r10 + 0x3c]
mov r12d, dword [rsp + 0xa4]
cmp r12d, 1
jmp 0x6c6de8
mov r12, r9
movzx r9d, byte [r9]
movzx r9d, r9w
shl r9d, 8
lea r13, [r12 + 1]
movzx r13d, byte [r13]
add r9d, r13d
movzx r10d, r9w
mov r9d, dword [rsp + 0xa4]
cmp r9d, 1
mov r9, r12
mov dword [rsp + 0x48], r10d
sete dl
movzx edx, dl
mov dword [rsp + 0x88], edx
movsxd rsi, r10d
lea rbx, [rsi + r9]
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xb0]
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
movzx edx, al
mov esi, dword [rsp + 0x48]
add edx, esi
mov edi, dword [rsp + 0x88]
test edi, edi
jne 0x6c7cdb
mov dword [rsp + 0x50], edx
mov rcx, qword [rsp + 0xb0]
lea rsi, [rcx + 0xc]
mov qword [rsp + 0xe0], rsi
mov rdi, rsi
mov dword [rsi], 0
movsxd rsi, edx
mov r8, qword [rsp + 0xc0]
lea rbx, [rsi + r8]
mov rax, qword [rsp + 0x118]
mov rcx, rdi
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov edx, dword [rsp + 0x50]
add edx, eax
mov eax, dword [rsp + 0x48]
jmp 0x6c6f12
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0x100]
mov rax, qword [rdx]
call rax
add rsp, 0x108
pop rbp
ret
mov rsi, qword [rsp + 0xe0]
mov esi, dword [rsi]
mov r8d, esi
shr esi, 0x1f
add esi, r8d
sar esi, 1
add edx, esi
mov dword [rsp + 0x48], edx
movsxd rsi, edx
mov r8, qword [rsp + 0xc0]
lea rbx, [rsi + r8]
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xb0]
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
movzx edx, al
mov esi, dword [rsp + 0x48]
add edx, esi
mov dword [rsp + 0x50], edx
movsxd rdi, edx
mov r8, qword [rsp + 0xc0]
lea rbx, [rdi + r8]
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xe0]
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov edx, dword [rsp + 0x50]
add edx, eax
mov eax, dword [rsp + 0x48]
movsxd r8, edx
mov r9, qword [rsp + 0x128]
mov r10, r9
mov r11, qword [r9 + 0x20]
cmp r11, r8
jg 0x6c6e98
movsxd r8, dword [r9 + 0x78]
add r8, r11
mov dword [rsp + 0x60], eax
mov r9d, dword [rsp + 0x64]
nop dword [rax]
cmp r8d, r9d
jl 0x6c6f7f
mov edi, dword [r10 + 0xc]
inc edi
mov rcx, qword [r10]
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x120]
mov rsi, qword [rsp + 0xe8]
call sym.modernc.org_sqlite_lib._fts5SecureDeleteOverflow
mov eax, dword [rsp + 0x60]
mov r9d, dword [rsp + 0x64]
mov r10, qword [rsp + 0x128]
mov r8d, r9d
mov dword [rsp + 0x80], r8d
mov r11, r10
movzx r10d, byte [r10 + 0x7c]
test r10d, r10d
jne 0x6c6fa6
cmp r8d, r9d
je 0x6c7b95
xor ecx, ecx
xor edx, edx
jmp 0x6c7c1d
mov r10, r11
cmp byte [r11 + 0x7c], 0
jne 0x6c70b3
mov r12, qword [rsp + 0xe8]
cmp dword [r12], 0
jne 0x6c707c
cmp r8d, r9d
je 0x6c7075
movsxd rdx, r8d
mov rsi, qword [rsp + 0xc0]
lea rbx, [rsi + rdx]
movsxd rdx, eax
add rdx, rsi
mov qword [rsp + 0xe8], rdx
mov rcx, qword [rsp + 0xb0]
lea rdi, [rcx + 0x18]
mov qword [rsp + 0xe0], rdi
mov r9, rdi
mov qword [rdi], 0
mov rax, qword [rsp + 0x118]
mov rcx, r9
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
movzx edx, al
mov dword [rsp + 0xa0], edx
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsi]
mov rsi, qword [rsp + 0xe0]
add rcx, qword [rsi]
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0xe8]
call sym.modernc.org_sqlite_lib._sqlite3Fts5PutVarint
mov edx, dword [rsp + 0xa0]
mov esi, dword [rsp + 0x80]
lea r8d, [rsi + rdx]
mov edx, dword [rsp + 0x60]
add eax, edx
mov r9d, dword [rsp + 0x64]
mov r10, qword [rsp + 0x128]
xor ecx, ecx
jmp 0x6c73bf
mov r12d, dword [r11 + 0xc]
cmp dword [r11 + 0x38], r12d
jne 0x6c70a0
cmp dword [r11 + 0x3c], eax
jne 0x6c70a0
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x6c76c9
cmp eax, 4
jne 0x6c73bd
lea r11d, [r12 - 1]
jmp 0x6c73f2
movsxd rdx, eax
mov rsi, qword [rsp + 0xc0]
lea rbx, [rsi + rdx]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x118]
call sym.modernc.org_sqlite_lib._sqlite3Fts5PutVarint
mov edx, dword [rsp + 0x60]
lea esi, [rax + rdx]
movsxd rsi, esi
mov rdi, qword [rsp + 0xc0]
add rsi, rdi
mov byte [rsi], 1
lea edx, [rax + rdx]
lea edx, [rdx + 1]
mov eax, dword [rsp + 0x80]
xor ecx, ecx
mov rbx, qword [rsp + 0x120]
mov r8, rbx
cmp dword [r8 + 0x3c], 0
jne 0x6c71c7
mov dword [rsp + 0x80], ecx
mov dword [rsp + 0x60], edx
mov r8d, dword [rsp + 0x38]
sub r8d, eax
movsxd r9, edx
movsxd r10, eax
movsxd r8, r8d
sub eax, edx
mov dword [rsp + 0x34], eax
add r9, rdi
add r10, rdi
nop
test r8, r8
je 0x6c7192
movabs r11, 0x3ffffffffffff
cmp r11, r8
jb 0x6c73b2
test byte [r9], al
test byte [r10], al
nop
cmp r10, r9
je 0x6c7192
mov rax, r9
mov rbx, r10
mov rcx, r8
call sym.runtime.memmove
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x80]
mov edx, dword [rsp + 0x60]
mov rbx, qword [rsp + 0x120]
mov rdi, qword [rsp + 0xc0]
mov r8d, dword [rsp + 0x64]
sub r8d, eax
mov dword [rsp + 0x5c], r8d
lea r9, [rdi + 2]
movzx r10d, r8w
mov r11d, r10d
sar r10d, 8
lea r12, [rdi + 3]
mov byte [r9], r10b
mov byte [r12], r11b
mov esi, r8d
xor r9d, r9d
xor r10d, r10d
xor r11d, r11d
jmp 0x6c721e
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0xc8]
call sym.modernc.org_sqlite_lib.Xsqlite3_free
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0x100]
mov rcx, qword [rdx]
call rcx
add rsp, 0x108
pop rbp
ret
mov ecx, edi
mov rbx, qword [rsp + 0x120]
mov rdi, qword [rsp + 0xc0]
mov r9d, edx
mov r10d, esi
mov r11d, eax
mov eax, dword [rsp + 0x34]
mov edx, dword [rsp + 0x60]
mov esi, dword [rsp + 0x5c]
mov dword [rsp + 0x38], r8d
mov r12d, dword [rsp + 0x3c]
cmp r9d, r12d
jge 0x6c7325
mov dword [rsp + 0x54], r11d
mov dword [rsp + 0x74], r10d
mov dword [rsp + 0x7c], r9d
movsxd rdx, r9d
mov rsi, qword [rsp + 0xc8]
lea rbx, [rdx + rsi]
mov rcx, qword [rsp + 0xb0]
lea rdx, [rcx + 0x38]
mov qword [rsp + 0xe8], rdx
mov rdi, rdx
mov dword [rdx], 0
mov rax, qword [rsp + 0x118]
mov rcx, rdi
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov rdx, qword [rsp + 0xe8]
mov esi, dword [rsp + 0x74]
add esi, dword [rdx]
mov edx, dword [rsp + 0x7c]
add edx, eax
mov edi, dword [rsp + 0x80]
cmp edi, esi
jne 0x6c72a9
mov r8d, dword [rsp + 0x38]
mov eax, dword [rsp + 0x54]
jmp 0x6c71f7
mov dword [rsp + 0x9c], edx
mov dword [rsp + 0x98], esi
mov edx, dword [rsp + 0x38]
movsxd rdi, edx
mov r8, qword [rsp + 0xc0]
lea rbx, [rdi + r8]
mov edi, dword [rsp + 0x60]
cmp edi, esi
mov r9d, 0
mov r10d, dword [rsp + 0x34]
cmovl r9d, r10d
sub esi, r9d
mov dword [rsp + 0x68], esi
mov r9d, dword [rsp + 0x54]
sub esi, r9d
movsxd rcx, esi
mov rax, qword [rsp + 0x118]
call sym.modernc.org_sqlite_lib._sqlite3Fts5PutVarint
mov edx, dword [rsp + 0x38]
lea r8d, [rax + rdx]
mov edx, dword [rsp + 0x9c]
mov esi, dword [rsp + 0x98]
mov edi, dword [rsp + 0x80]
mov eax, dword [rsp + 0x68]
nop
jmp 0x6c71f7
cmp r8d, esi
jne 0x6c7382
test r12d, r12d
jle 0x6c7377
mov rdx, qword [rsp + 0x128]
mov r9, rdx
mov edx, dword [rdx + 0xc]
nop dword [rax]
cmp edx, 1
je 0x6c738a
mov rax, qword [rsp + 0x118]
mov ecx, dword [rsp + 0x4c]
mov edi, edx
call sym.modernc.org_sqlite_lib._fts5SecureDeleteIdxEntry
mov rbx, qword [rsp + 0x120]
mov rdi, qword [rsp + 0xc0]
mov r8d, dword [rsp + 0x38]
mov r9, qword [rsp + 0x128]
jmp 0x6c738a
mov r9, qword [rsp + 0x128]
nop
jmp 0x6c738a
mov r9, qword [rsp + 0x128]
mov edx, dword [rsp + 0x4c]
movsxd rdx, edx
shl rdx, 0x25
movsxd r9, dword [r9 + 0xc]
lea rcx, [r9 + rdx]
mov rax, qword [rsp + 0x118]
mov esi, r8d
call sym.modernc.org_sqlite_lib._fts5DataWrite
jmp 0x6c71c7
mov rdx, r8
mov rbx, r11
call sym.runtime.panicSlice3AlenU
xor ecx, ecx
mov rdi, qword [rsp + 0xc0]
mov edx, eax
mov eax, r8d
jmp 0x6c7101
mov r11d, dword [rsp + 0x58]
dec r11d
mov eax, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x80]
mov r9d, dword [rsp + 0x64]
mov r10, qword [rsp + 0x128]
mov r12, r10
cmp dword [r10 + 0x38], r11d
jge 0x6c7486
mov dword [rsp + 0x58], r11d
mov edx, dword [rsp + 0x4c]
movsxd rsi, edx
shl rsi, 0x25
movsxd rdi, r11d
lea rcx, [rdi + rsi]
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x120]
call sym.modernc.org_sqlite_lib._fts5DataRead
test rax, rax
je 0x6c743c
mov rbx, rax
cmp dword [rax + 8], 4
sete cl
jmp 0x6c7441
mov rbx, rax
xor ecx, ecx
movzx ecx, cl
mov dword [rsp + 0x84], ecx
nop
mov rax, qword [rsp + 0x118]
call sym.modernc.org_sqlite_lib.Xsqlite3_free
mov ecx, dword [rsp + 0x84]
test ecx, ecx
jne 0x6c73d1
mov eax, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x80]
mov r9d, dword [rsp + 0x64]
mov r11d, dword [rsp + 0x58]
mov r12, qword [rsp + 0x128]
mov r10, r12
mov r12d, dword [r12 + 0x38]
cmp r11d, r12d
jne 0x6c73bd
mov edx, dword [rsp + 0x4c]
movsxd rsi, edx
shl rsi, 0x25
movsxd rdi, r12d
lea rcx, [rdi + rsi]
mov qword [rsp + 0xa8], rcx
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x120]
call sym.modernc.org_sqlite_lib._fts5DataRead
test rax, rax
je 0x6c750d
mov rbx, rax
mov edx, dword [rax + 0xc]
mov rsi, qword [rsp + 0x128]
mov rdi, rsi
nop dword [rax]
cmp dword [rsi + 0x3c], edx
jne 0x6c7518
mov qword [rsp + 0xe8], rbx
movsxd rsi, edx
mov r8d, dword [rax + 8]
add rsi, qword [rax]
mov qword [rsp + 0xb8], rsi
sub r8d, edx
mov dword [rsp + 0x30], r8d
xor eax, eax
xor ecx, ecx
jmp 0x6c7551
mov rbx, rax
mov rdi, qword [rsp + 0x128]
mov rax, qword [rsp + 0x118]
call sym.modernc.org_sqlite_lib.Xsqlite3_free
mov eax, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x80]
mov r9d, dword [rsp + 0x64]
mov r10, qword [rsp + 0x128]
nop
jmp 0x6c73bd
mov eax, edi
mov ecx, esi
mov rsi, qword [rsp + 0xb8]
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x44], eax
movsxd rdx, eax
lea rbx, [rsi + rdx]
mov rdx, qword [rsp + 0xb0]
lea rdi, [rdx + 0x34]
mov qword [rsp + 0xe0], rdi
mov r8, rdi
mov dword [rdi], 0
mov rax, qword [rsp + 0x118]
mov rcx, r8
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov rdx, qword [rsp + 0xe0]
mov esi, dword [rsp + 0x40]
add esi, dword [rdx]
mov edx, dword [rsp + 0x44]
lea edi, [rax + rdx]
mov r8d, dword [rsp + 0x30]
cmp r8d, edi
jg 0x6c7545
mov r8, qword [rsp + 0xe8]
mov r9, r8
movsxd r10, esi
mov r11, qword [r8]
movsxd r8, dword [r8 + 0xc]
movsxd rcx, edx
lea rax, [r11 + r10]
lea rbx, [r8 + r11]
test rcx, rcx
je 0x6c761b
movabs r8, 0x3ffffffffffff
nop dword [rax + rax]
cmp r8, rcx
jb 0x6c769e
test byte [rax], al
test byte [rbx], al
cmp rbx, rax
je 0x6c761b
mov dword [rsp + 0x94], esi
call sym.runtime.memmove
mov edx, dword [rsp + 0x44]
mov esi, dword [rsp + 0x94]
movabs r8, 0x3ffffffffffff
mov r9, qword [rsp + 0xe8]
mov r8, r9
mov r9, qword [r9]
lea r10, [r9 + 2]
lea r11d, [rsi + rdx]
movzx r12d, si
mov r13d, r12d
sar r12d, 8
add r9, 3
mov byte [r10], r12b
mov byte [r9], r13b
mov rdi, qword [r8]
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0xa8]
mov esi, r11d
nop dword [rax]
call sym.modernc.org_sqlite_lib._fts5DataWrite
mov edx, dword [rsp + 0x44]
test edx, edx
jne 0x6c7691
mov rdx, qword [rsp + 0x128]
mov edi, dword [rdx + 0x38]
mov rax, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x4c]
call sym.modernc.org_sqlite_lib._fts5SecureDeleteIdxEntry
mov rbx, qword [rsp + 0xe8]
jmp 0x6c7518
mov rdx, rcx
mov rbx, r8
call sym.runtime.panicSlice3AlenU
mov ebx, dword [rsp + 0x78]
inc ebx
mov eax, r8d
mov r8d, dword [rsp + 0x80]
mov r9d, dword [rsp + 0x64]
mov r10, qword [rsp + 0x128]
mov ecx, edi
mov dword [rsp + 0x78], ebx
mov dword [rsp + 0xa0], edx
mov r11d, dword [rsp + 0x3c]
nop dword [rax]
cmp ecx, r11d
jge 0x6c7770
mov dword [rsp + 0x7c], ecx
mov rdx, qword [rsp + 0xb0]
lea rsi, [rdx + 0x20]
mov qword [rsp + 0xe8], rsi
mov rdi, rsi
mov dword [rsi], 0
movsxd rsi, ecx
mov r8, qword [rsp + 0xc8]
lea rbx, [rsi + r8]
mov rax, qword [rsp + 0x118]
mov rcx, rdi
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov rdx, qword [rsp + 0xe8]
mov edx, dword [rdx]
mov esi, dword [rsp + 0xa0]
add edx, esi
mov edi, dword [rsp + 0x7c]
add edi, eax
mov r8d, dword [rsp + 0x60]
cmp r8d, edx
jae 0x6c76a9
mov edx, esi
mov ebx, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x80]
mov r9d, dword [rsp + 0x64]
mov r10, qword [rsp + 0x128]
mov r11d, dword [rsp + 0x3c]
cmp r8d, r9d
jne 0x6c777c
mov eax, edx
jmp 0x6c7b7c
mov rcx, qword [rsp + 0xb0]
lea rdx, [rcx + 0x24]
mov qword [rsp + 0xe8], rdx
mov dword [rdx], 0
lea rdx, [rcx + 0x28]
mov qword [rsp + 0xe0], rdx
mov dword [rdx], 0
lea rdx, [rcx + 0x2c]
mov qword [rsp + 0xd8], rdx
mov r9, rdx
mov dword [rdx], 0
movsxd rdx, r8d
mov r10, qword [rsp + 0xc0]
lea rbx, [r10 + rdx]
lea rdx, [rcx + 0x30]
mov qword [rsp + 0xd0], rdx
mov dword [rdx], 0
mov rax, qword [rsp + 0x118]
mov rcx, r9
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov edx, dword [rsp + 0x80]
lea esi, [rdx + rax]
mov dword [rsp + 0x90], esi
movsxd rdi, esi
mov r8, qword [rsp + 0xc0]
lea rbx, [rdi + r8]
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xd0]
nop
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov edx, dword [rsp + 0x90]
add edx, eax
mov dword [rsp + 0x90], edx
mov esi, dword [rsp + 0x78]
cmp esi, 1
jne 0x6c7847
mov eax, dword [rsp + 0xa0]
jmp 0x6c787e
mov edx, dword [rsp + 0xa0]
movsxd rsi, edx
mov rdi, qword [rsp + 0xc0]
lea rbx, [rdi + rsi]
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xe8]
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov edx, dword [rsp + 0xa0]
lea esi, [rax + rdx]
mov eax, esi
mov dword [rsp + 0x6c], eax
movsxd rdx, eax
mov rsi, qword [rsp + 0xc0]
lea rbx, [rdx + rsi]
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0x118]
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov edx, dword [rsp + 0x6c]
add edx, eax
mov rsi, qword [rsp + 0xe8]
mov rdi, rsi
mov r8d, dword [rsi]
mov r9, qword [rsp + 0xd8]
mov r10, r9
mov r9d, dword [r9]
cmp r9d, r8d
cmovg r9d, r8d
mov dword [rsi], r9d
mov rsi, qword [rsp + 0xe0]
mov r8, rsi
mov r10d, dword [r10]
mov r11, qword [rsp + 0xd0]
mov r12, r11
add r10d, dword [r11]
mov r11, rdi
sub r10d, dword [rdi]
mov dword [rsi], r10d
mov rsi, r8
add edx, dword [r8]
mov edi, dword [rsp + 0x64]
cmp edi, edx
jge 0x6c790f
mov r12d, dword [rsp + 0x90]
jmp 0x6c7925
mov r10d, dword [r12]
mov r12d, dword [rsp + 0x90]
add r10d, r12d
nop
cmp edi, r10d
jge 0x6c7966
mov rbx, qword [rsp + 0x120]
mov r8, rbx
mov dword [r8 + 0x3c], 0x10b
mov rax, qword [rsp + 0x128]
mov r10, qword [rsp + 0xc0]
movabs r12, 0x3ffffffffffff
mov r8d, dword [rsp + 0x90]
mov edx, dword [rsp + 0xa0]
jmp 0x6c7b68
mov edx, dword [rsp + 0x78]
cmp edx, 1
jne 0x6c7978
mov edx, dword [rsp + 0xa0]
jmp 0x6c79af
mov edx, dword [rsp + 0xa0]
movsxd rsi, edx
mov rdi, qword [rsp + 0xc0]
lea rbx, [rdi + rsi]
movsxd rcx, dword [r11]
mov rax, qword [rsp + 0x118]
call sym.modernc.org_sqlite_lib._sqlite3Fts5PutVarint
mov edx, dword [rsp + 0xa0]
add edx, eax
mov rsi, qword [rsp + 0xe0]
mov dword [rsp + 0x60], edx
movsxd rdi, edx
mov r8, qword [rsp + 0xc0]
lea rbx, [rdi + r8]
movsxd rcx, dword [rsi]
mov rax, qword [rsp + 0x118]
call sym.modernc.org_sqlite_lib._sqlite3Fts5PutVarint
mov rdx, qword [rsp + 0xd8]
mov rsi, rdx
mov edx, dword [rdx]
mov rdi, qword [rsp + 0x128]
mov r8, rdi
mov r9d, dword [rsp + 0x60]
add r9d, eax
cmp dword [rdi + 0x68], edx
jge 0x6c7a25
mov rbx, qword [rsp + 0x120]
mov r10, rbx
mov dword [r10 + 0x3c], 0x10b
mov r10, qword [rsp + 0xc0]
movabs r12, 0x3ffffffffffff
nop dword [rax]
jmp 0x6c7ae4
mov r10, qword [rsp + 0xe8]
mov r11, r10
mov r10d, dword [r10]
cmp r10d, edx
jge 0x6c7ad2
movsxd r12, r9d
movsxd rbx, r10d
sub edx, r10d
movsxd rdx, edx
mov r10, qword [rsp + 0xc0]
lea rax, [r12 + r10]
add rbx, qword [rdi + 0x60]
test rdx, rdx
je 0x6c7abd
movabs r12, 0x3ffffffffffff
cmp r12, rdx
jb 0x6c7b8d
test byte [rax], al
test byte [rbx], al
cmp rbx, rax
je 0x6c7ac7
mov dword [rsp + 0x8c], r9d
mov rcx, rdx
call sym.runtime.memmove
mov rsi, qword [rsp + 0xd8]
mov r8, qword [rsp + 0x128]
mov r9d, dword [rsp + 0x8c]
mov r10, qword [rsp + 0xc0]
mov r11, qword [rsp + 0xe8]
movabs r12, 0x3ffffffffffff
jmp 0x6c7ac7
movabs r12, 0x3ffffffffffff
mov r13d, dword [rsi]
sub r13d, dword [r11]
add r9d, r13d
jmp 0x6c7ae4
mov r10, qword [rsp + 0xc0]
movabs r12, 0x3ffffffffffff
movsxd r11, r9d
mov r13d, dword [rsp + 0x90]
movsxd r15, r13d
mov rax, r8
mov r8, qword [rsp + 0xd0]
mov rcx, r8
movsxd rdx, dword [r8]
lea r8, [r11 + r10]
lea rbx, [r15 + r10]
test rdx, rdx
je 0x6c7b5e
cmp rdx, r12
ja 0x6c7b85
test byte [r8], al
test byte [rbx], al
cmp rbx, r8
je 0x6c7b5e
mov dword [rsp + 0x60], r9d
mov rax, r8
mov rcx, rdx
call sym.runtime.memmove
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0xd0]
mov r9d, dword [rsp + 0x60]
mov r10, qword [rsp + 0xc0]
movabs r12, 0x3ffffffffffff
mov r13d, dword [rsp + 0x90]
mov r8d, dword [rcx]
lea edx, [r9 + r8]
add r8d, r13d
mov r9d, dword [rsp + 0x64]
mov r10, rax
mov r11d, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x80]
mov ecx, eax
mov eax, edx
jmp 0x6c73bf
mov rbx, r12
call sym.runtime.panicSlice3AlenU
mov rbx, r12
call sym.runtime.panicSlice3AlenU
mov rdi, qword [rsp + 0xc0]
mov r10, rdi
movzx r12d, byte [r10]
movzx r12d, r12w
shl r12d, 8
lea r13, [rdi + 1]
mov r15, r13
movzx r13d, byte [r13]
add r12d, r13d
movzx r12d, r12w
nop
cmp eax, r12d
jne 0x6c7bf6
mov r12, qword [rsp + 0xe8]
mov r13, r12
cmp dword [r12], 0
jne 0x6c7be9
nop word [rax + rax]
cmp r8d, r9d
jne 0x6c6fa6
mov byte [r10], 0
mov byte [r15], 0
jmp 0x6c6fa6
mov r13, qword [rsp + 0xe8]
nop
jmp 0x6c6fa6
mov eax, dword [rsp + 0x60]
mov r8d, edi
mov r9d, dword [rsp + 0x64]
mov r11, qword [rsp + 0x128]
mov ecx, edx
mov edx, esi
mov r10d, dword [rsp + 0x3c]
cmp ecx, r10d
jge 0x6c7b95
mov dword [rsp + 0x70], edx
mov dword [rsp + 0x7c], ecx
movsxd rdx, ecx
mov rsi, qword [rsp + 0xc8]
lea rbx, [rdx + rsi]
mov rdx, qword [rsp + 0xb0]
lea rdi, [rdx + 0x10]
mov qword [rsp + 0xe0], rdi
mov r8, rdi
mov dword [rdi], 0
mov rax, qword [rsp + 0x118]
mov rcx, r8
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov rdx, qword [rsp + 0xe0]
mov esi, dword [rsp + 0x70]
add esi, dword [rdx]
mov edx, dword [rsp + 0x7c]
add edx, eax
mov edi, dword [rsp + 0x80]
cmp edi, esi
jne 0x6c7ca5
mov r8, qword [rsp + 0xe8]
mov r9, r8
mov dword [r8], 1
jmp 0x6c7c05
mov r9, qword [rsp + 0xe8]
jmp 0x6c7c05
mov dword [rsp + 0x50], edx
movsxd rsi, edx
lea rbx, [rsi + rdi]
mov rax, qword [rsp + 0x118]
mov rcx, qword [rsp + 0xb0]
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
movzx edx, al
mov esi, dword [rsp + 0x50]
add edx, esi
movsxd r8, edx
mov r9, qword [rsp + 0x128]
mov r10, r9
cmp qword [r9 + 0x20], r8
jle 0x6c7d17
movsxd rsi, edx
mov rdi, qword [rsp + 0xc0]
add rsi, rdi
movzx esi, byte [rsi]
test esi, esi
jne 0x6c7d06
inc edx
movsxd rsi, edx
add rsi, rdi
movzx esi, byte [rsi]
test esi, esi
jne 0x6c7cb2
inc edx
jmp 0x6c7cb2
mov r8d, dword [r9 + 0x44]
nop dword [rax + rax]
cmp edx, r8d
jge 0x6c7d42
movsxd r9, edx
mov rdi, qword [rsp + 0xc0]
add r9, rdi
movzx r9d, byte [r9]
test r9d, r9d
jne 0x6c7d4a
inc edx
nop
jmp 0x6c7d4a
mov rdi, qword [rsp + 0xc0]
cmp edx, r8d
jge 0x6c7d60
movsxd r8, edx
add r8, rdi
movzx r8d, byte [r8]
test r8d, r8d
jne 0x6c7d60
inc edx
mov r8d, edx
mov eax, esi
jmp 0x6c6f34
mov rdx, rcx
mov rbx, rdi
call sym.runtime.panicSlice3AlenU
nop
call sym.runtime.deferreturn
add rsp, 0x108
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.modernc.org_sqlite_lib._fts5DoSecureDelete