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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x6bcd96
push rbp
mov rbp, rsp
sub rsp, 0x70
movq qword [rsp + 0x68], xmm15
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rcx
mov byte [rsp + 0x23], 0
mov ebx, 0x10
nop dword [rax + rax]
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x40], rax
lea rcx, [sym.modernc.org_sqlite_lib._fts5SegIterReverseInitPage.deferwrap1]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x60], rcx
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x68], rdx
mov byte [rsp + 0x23], 1
mov rbx, qword [rsp + 0x88]
mov rdx, rbx
mov rdx, qword [rdx]
mov rsi, qword [rsp + 0x90]
mov rdi, rsi
mov r8, qword [rsi + 0x10]
mov r9d, dword [r8 + 0xc]
mov r10d, dword [rsi + 0x44]
mov rsi, qword [rsi + 0x20]
mov r8, qword [r8]
mov qword [rsp + 0x48], r8
cmp r10d, r9d
cmovl r9d, r10d
mov dword [rsp + 0x28], r9d
mov edx, dword [rdx + 0x60]
mov dword [rsp + 0x3c], edx
cmp edx, 1
mov r10d, 0
nop
jmp 0x6bcbe0
movsxd r11, r8d
shl r11, 2
mov rdi, rcx
add r11, qword [rcx + 0x50]
mov r12, qword [rcx + 0x20]
mov dword [r11], r12d
movsxd r11, edx
mov qword [rdi + 0x20], r11
lea r10d, [r8 + 1]
mov r11d, dword [rsp + 0x3c]
cmp r11d, 1
mov rax, qword [rsp + 0x80]
mov r8, qword [rsp + 0x48]
mov r12d, dword [rsp + 0x28]
mov rax, r9
mov rcx, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov r9d, r12d
mov esi, edx
mov edx, r11d
mov dword [rsp + 0x2c], r10d
mov r11, rax
mov qword [rax], 0
jne 0x6bcc2a
cmp esi, r9d
jge 0x6bcc25
movsxd r12, esi
add r12, r8
movzx r12d, byte [r12]
test r12d, r12d
jne 0x6bcc25
lea r12d, [rsi + 1]
cmp r9d, r12d
jle 0x6bcc8d
movsxd r13, r12d
add r13, r8
movzx r13d, byte [r13]
test r13d, r13d
jne 0x6bcc8d
lea r12d, [rsi + 2]
jmp 0x6bcc8d
mov r12d, esi
jmp 0x6bcc8d
mov dword [rsp + 0x30], esi
movsxd rdx, esi
lea rbx, [r8 + rdx]
lea rdx, [r11 + 8]
mov qword [rsp + 0x50], rdx
lea rdi, [r11 + 0xc]
mov rax, rcx
mov rcx, rdx
call sym.modernc.org_sqlite_lib._fts5GetPoslistSize
mov edx, dword [rsp + 0x30]
lea r12d, [rdx + rax]
mov rdx, qword [rsp + 0x50]
add r12d, dword [rdx]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x3c]
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov r8, qword [rsp + 0x48]
mov r9d, dword [rsp + 0x28]
mov r10d, dword [rsp + 0x2c]
mov r11, qword [rsp + 0x40]
cmp r12d, r9d
jge 0x6bcd64
mov dword [rsp + 0x38], r12d
movsxd rdx, r12d
lea rbx, [rdx + r8]
mov rax, rcx
mov rcx, r11
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
movzx edx, al
mov rcx, qword [rsp + 0x90]
lea rsi, [rcx + 0x70]
mov rdi, qword [rsi]
mov r8, qword [rsp + 0x40]
mov r9, r8
add rdi, qword [r8]
mov qword [rsi], rdi
mov rsi, rcx
mov edi, dword [rsi + 0x4c]
mov r8d, dword [rsp + 0x38]
add edx, r8d
mov r8d, dword [rsp + 0x2c]
cmp r8d, edi
jl 0x6bcb82
mov dword [rsp + 0x34], edx
lea edx, [rdi + 8]
mov dword [rsp + 0x24], edx
mov rbx, qword [rsi + 0x50]
movsxd rcx, edx
shl rcx, 2
mov rax, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib.Xsqlite3_realloc64
test rax, rax
je 0x6bcd3d
mov rcx, qword [rsp + 0x90]
mov rdx, rcx
mov qword [rdx + 0x50], rax
mov rdx, rcx
mov esi, dword [rsp + 0x24]
mov dword [rdx + 0x4c], esi
mov edx, dword [rsp + 0x34]
mov r8d, dword [rsp + 0x2c]
mov r9, qword [rsp + 0x40]
jmp 0x6bcb82
mov rbx, qword [rsp + 0x88]
mov rdx, rbx
mov dword [rdx + 0x3c], 7
mov rcx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x90]
mov r10d, dword [rsp + 0x2c]
mov rdx, rdi
mov dword [rdi + 0x48], r10d
mov rax, rcx
mov rcx, rdx
call sym.modernc.org_sqlite_lib._fts5SegIterLoadNPos
mov byte [rsp + 0x23], 0
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rdx]
call rsi
add rsp, 0x70
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._fts5SegIterReverseInitPage