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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x6be096
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov rdx, rcx
mov rsi, qword [rdx + 0x58]
test rsi, rsi
je 0x6bde36
mov rdi, rbx
mov rdi, qword [rdi]
cmp dword [rdi + 0x88], 4
jne 0x6bde36
mov rdx, qword [rdx]
movsxd rdx, dword [rdx]
shl rdx, 0x25
add rsi, 8
mov esi, dword [rsi + 0x14]
mov dword [rsp + 0x18], esi
movsxd rdi, esi
lea rcx, [rdx + rdi]
nop
call sym.modernc.org_sqlite_lib._fts5LeafRead
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rdx, rax
mov esi, dword [rsp + 0x18]
mov rax, qword [rsp + 0x58]
jmp 0x6bdea1
mov esi, dword [rdx + 0x38]
cmp dword [rdx + 0xc], esi
jne 0x6bde43
mov esi, dword [rdx + 0x3c]
jmp 0x6bde48
mov esi, 4
mov rdi, qword [rdx + 0x10]
lea r8d, [rsi + 9]
jmp 0x6bde58
mov rdi, r10
mov esi, r9d
lea r9d, [rsi + 1]
mov r10, rdi
movsxd rsi, esi
add rsi, qword [rdi]
movzx esi, byte [rsi]
bt esi, 7
jae 0x6bde73
cmp r9d, r8d
jl 0x6bde52
movsxd rsi, r9d
mov qword [rdx + 0x20], rsi
mov rdx, rcx
mov esi, dword [rdx + 0x44]
cmp dword [r10 + 0xc], esi
jg 0x6bde9d
mov esi, dword [rdx + 0xc]
mov rdx, qword [rdx]
mov qword [rsp + 0x30], rdx
inc esi
xor edi, edi
xor r8d, r8d
jmp 0x6bdfa6
xor edx, edx
xor esi, esi
test rdx, rdx
je 0x6bdf66
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x18], esi
mov rbx, qword [rcx + 0x10]
call sym.modernc.org_sqlite_lib.Xsqlite3_free
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
mov rsi, qword [rsp + 0x38]
mov qword [rdx + 0x10], rsi
mov rdx, rcx
mov edi, dword [rsp + 0x18]
mov dword [rdx + 0xc], edi
mov rdi, qword [rsi]
mov r8, rdi
movzx edi, byte [rdi]
movzx edi, di
shl edi, 8
lea r9, [r8 + 1]
movzx r9d, byte [r9]
add edi, r9d
movzx edi, di
cmp dword [rsi + 0xc], edi
jl 0x6bdf71
mov dword [rsp + 0x20], edi
movsxd rdx, edi
lea rbx, [rdx + r8]
lea rdx, [rcx + 0x70]
mov rax, qword [rsp + 0x58]
mov rcx, rdx
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
movzx edx, al
mov esi, dword [rsp + 0x20]
add edx, esi
mov rcx, qword [rsp + 0x68]
mov rsi, rcx
movsxd rdx, edx
mov qword [rsi + 0x20], rdx
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov esi, dword [rdx + 8]
cmp dword [rdx + 0xc], esi
jl 0x6bdf47
mov rdx, rcx
inc esi
mov dword [rdx + 0x44], esi
jmp 0x6bdf5c
mov rax, qword [rsp + 0x58]
call sym.modernc.org_sqlite_lib._fts5LeafFirstTermOff
mov rcx, qword [rsp + 0x68]
mov rdx, rcx
mov dword [rdx + 0x44], eax
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
call sym.modernc.org_sqlite_lib._fts5SegIterReverseInitPage
add rsp, 0x48
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov dword [rax + 0x3c], 0x10b
add rsp, 0x48
pop rbp
ret
mov esi, dword [rsp + 0x1c]
inc esi
mov rbx, qword [rsp + 0x60]
mov r9, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rdi, rax
mov r8d, ecx
mov rax, r9
mov rcx, qword [rsp + 0x68]
mov r9, rbx
cmp dword [r9 + 0x3c], 0
jne 0x6be08b
cmp dword [rdx + 8], esi
jl 0x6be08b
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x1c], esi
movsxd rdx, dword [rdx]
shl rdx, 0x25
movsxd rdi, esi
lea rcx, [rdx + rdi]
call sym.modernc.org_sqlite_lib._fts5LeafRead
nop
test rax, rax
jne 0x6bdff0
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x18]
jmp 0x6bdf83
mov rcx, rax
mov rdx, qword [rax]
mov rsi, rdx
movzx edx, byte [rdx]
movzx edx, dx
shl edx, 8
inc rsi
movzx esi, byte [rsi]
add edx, esi
movzx edx, dx
test edx, edx
je 0x6be01c
mov rdx, qword [rsp + 0x38]
mov ebx, dword [rsp + 0x1c]
jmp 0x6be028
mov rdx, rcx
mov rcx, qword [rsp + 0x38]
mov ebx, dword [rsp + 0x18]
mov dword [rsp + 0x2c], ebx
mov qword [rsp + 0x40], rcx
mov esi, dword [rax + 0xc]
mov dword [rsp + 0x28], esi
mov edi, dword [rax + 8]
mov dword [rsp + 0x24], edi
mov rax, qword [rsp + 0x58]
mov rbx, rdx
call sym.modernc.org_sqlite_lib.Xsqlite3_free
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
cmp ecx, edx
setle cl
movzx ecx, cl
nop dword [rax]
test ecx, ecx
je 0x6be072
mov rax, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x2c]
jmp 0x6bdf83
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x2c]
mov rdx, rdi
mov esi, r8d
jmp 0x6bdea1
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._fts5SegIterReverse