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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x6bd59c
push rbp
mov rbp, rsp
sub rsp, 0x78
movq qword [rsp + 0x70], xmm15
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0xa0], rdi
mov byte [rsp + 0x33], 0
mov ebx, 0x30
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x38], rax
lea rcx, [sym.modernc.org_sqlite_lib._fts5SegIterNext_None.deferwrap1]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x68], rcx
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x70], rdx
mov byte [rsp + 0x33], 1
mov rdx, qword [rsp + 0x98]
mov rsi, rdx
mov rdx, qword [rdx + 0x20]
mov rdi, qword [rsp + 0x90]
jmp 0x6bd27b
mov qword [r9 + 0x70], 0
mov rax, qword [rsp + 0x88]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x98]
mov rdi, rbx
mov edx, 4
mov r9, rsi
mov r10, qword [rsi]
test r10, r10
je 0x6bd2d7
mov r11, qword [rsi + 0x10]
cmp dword [r11 + 0xc], edx
jg 0x6bd2d7
mov rax, rcx
mov rbx, rdi
mov rcx, r9
call sym.modernc.org_sqlite_lib._fts5SegIterNextPage
mov rbx, qword [rsp + 0x90]
mov rdx, rbx
cmp dword [rdx + 0x3c], 0
jne 0x6bd2c2
mov rcx, qword [rsp + 0x98]
mov r9, rcx
cmp qword [r9 + 0x10], 0
nop
jne 0x6bd24e
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0x70]
mov rax, qword [rdx]
call rax
add rsp, 0x78
pop rbp
ret
mov dword [rsp + 0x34], edx
nop dword [rax + rax]
cmp dword [rsi + 0x44], edx
jg 0x6bd522
mov r11d, dword [rsi + 8]
bt r11d, 0
jb 0x6bd4f1
nop dword [rax + rax]
test r10, r10
je 0x6bd397
lea rdx, [rax + 8]
mov qword [rsp + 0x58], rdx
mov dword [rdx], 0
mov rbx, qword [r9 + 0x10]
mov rax, rcx
nop
call sym.modernc.org_sqlite_lib._fts5LeafFirstTermOff
mov ecx, dword [rsp + 0x34]
cmp eax, ecx
je 0x6bd359
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx + 0x10]
movsxd rbx, ecx
add rbx, qword [rdx]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov edx, dword [rsp + 0x34]
add edx, eax
mov ecx, edx
mov rdx, qword [rsp + 0x98]
mov rsi, rdx
movsxd r8, ecx
mov qword [rdx + 0x20], r8
mov rdx, qword [rsp + 0x58]
mov edi, dword [rdx]
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._fts5SegIterLoadTerm
mov rcx, qword [rsp + 0x98]
jmp 0x6bd4dc
lea rdx, [rax + 0x18]
mov qword [rsp + 0x58], rdx
lea r9, [rax + 0x20]
mov qword [rsp + 0x50], r9
lea rsi, [rax + 0x10]
mov qword [rsp + 0x48], rsi
mov r10, rsi
mov qword [r10], 0
mov r10, rdx
mov qword [rdx], 0
mov rdx, r9
mov dword [r9], 0
mov r9, rdi
mov r11, qword [rdi + 0x18]
lea r8, [rax + 0x24]
mov qword [rsp + 0x40], r8
mov r12, qword [r11 + 0x18]
mov r12, qword [r12 + 8]
mov qword [r11 + 0x18], r12
mov rbx, qword [r9 + 0x18]
mov rax, rcx
mov rcx, r10
mov rdi, rdx
call sym.modernc.org_sqlite_lib._sqlite3Fts5HashScanEntry
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx]
test rdx, rdx
jne 0x6bd425
mov rcx, qword [rsp + 0x88]
mov r9, qword [rsp + 0x98]
nop dword [rax]
jmp 0x6bd4f1
mov rcx, qword [rsp + 0x98]
mov r8, rcx
mov r8, qword [r8 + 0x10]
mov qword [r8], rdx
mov rdx, rcx
mov rdx, qword [rdx + 0x10]
mov r8, qword [rsp + 0x40]
mov r9, r8
mov r8d, dword [r8]
mov dword [rdx + 8], r8d
mov rdx, rcx
mov rdx, qword [rdx + 0x10]
mov r8, r9
mov r9d, dword [r9]
mov dword [rdx + 0xc], r9d
mov rdx, rcx
mov r8d, dword [r8]
mov dword [rdx + 0x44], r8d
mov rbx, qword [rsp + 0x90]
lea rdx, [rbx + 0x3c]
lea r8, [rcx + 0x60]
mov r9, qword [rsp + 0x50]
mov edi, dword [r9]
mov r9, qword [rsp + 0x58]
mov rsi, qword [r9]
lea r9, [rcx + 0x70]
mov qword [rsp + 0x58], r9
mov r10, r8
mov dword [r8 + 8], 0
mov rax, qword [rsp + 0x88]
mov rbx, rdx
mov rcx, r10
call sym.modernc.org_sqlite_lib._sqlite3Fts5BufferAppendBlob
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rdx]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
mov rcx, qword [rsp + 0x98]
mov rdx, rcx
movzx r8d, al
mov qword [rdx + 0x20], r8
mov rdx, qword [rsp + 0xa0]
test rdx, rdx
je 0x6bd567
mov dword [rdx], 1
jmp 0x6bd567
mov rbx, qword [r9 + 0x10]
mov rax, rcx
call sym.modernc.org_sqlite_lib.Xsqlite3_free
mov rcx, qword [rsp + 0x98]
mov qword [rcx + 0x10], 0
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx]
call rcx
add rsp, 0x78
pop rbp
ret
mov rsi, qword [rsi + 0x10]
movsxd rbx, edx
add rbx, qword [rsi]
mov rsi, rax
mov rax, rcx
mov rcx, rsi
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
movzx edx, al
mov esi, dword [rsp + 0x34]
add edx, esi
mov rcx, qword [rsp + 0x98]
mov rsi, rcx
movsxd rdx, edx
mov qword [rsi + 0x20], rdx
lea rdx, [rcx + 0x70]
mov rsi, qword [rdx]
mov rdi, qword [rsp + 0x38]
add rsi, qword [rdi]
mov qword [rdx], rsi
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
call sym.modernc.org_sqlite_lib._fts5SegIterLoadNPos
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0x70]
mov rsi, qword [rdx]
call rsi
add rsp, 0x78
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp sym.modernc.org_sqlite_lib._fts5SegIterNext_None