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

Disassembly:
lea r12, [rsp - 0x38]
cmp r12, qword [r14 + 0x10]
jbe 0x6bfa04
push rbp
mov rbp, rsp
sub rsp, 0xb0
movq qword [rsp + 0xa8], xmm15
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rcx
mov dword [rsp + 0xd8], edi
mov dword [rsp + 0xdc], esi
mov qword [rsp + 0xe0], r8
mov byte [rsp + 0x3f], 0
mov ebx, 0x30
nop dword [rax]
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x40], rax
lea rcx, [sym.modernc.org_sqlite_lib._fts5SegIterHashInit.deferwrap1]
mov qword [rsp + 0x98], rcx
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0xa0], rcx
lea rdx, [rsp + 0x98]
mov qword [rsp + 0xa8], rdx
mov byte [rsp + 0x3f], 1
mov r8, rax
mov dword [rax], 0
lea rdx, [r8 + 8]
mov qword [rsp + 0x60], rdx
mov qword [rdx], 0
lea rdx, [r8 + 0x10]
mov qword [rsp + 0x58], rdx
mov dword [rdx], 0
lea rdx, [r8 + 0x18]
mov qword [rsp + 0x50], rdx
mov r9, rdx
mov qword [rdx], 0
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x6bf6d9
mov r10d, dword [rsp + 0xdc]
bt r10d, 3
jae 0x6bf7c6
lea r9, [r8 + 0x20]
mov qword [rsp + 0x48], r9
mov qword [r9], 0
mov r9, qword [rsp + 0xc8]
mov rsi, qword [r9 + 0x18]
lea r9, [rsi + 0x18]
mov rax, rcx
mov rbx, rsi
mov rcx, rdx
mov edi, dword [rsp + 0xd8]
mov rsi, r9
call sym.modernc.org_sqlite_lib._fts5HashEntrySort
mov rdx, qword [rsp + 0xc8]
mov r8, rdx
mov dword [rdx + 0x3c], eax
mov rbx, qword [r8 + 0x18]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
nop
call sym.modernc.org_sqlite_lib._sqlite3Fts5HashScanEntry
mov rdx, qword [rsp + 0x48]
cmp qword [rdx], 0
jne 0x6bf757
mov rdx, qword [rsp + 0x50]
jmp 0x6bf799
mov rbx, qword [rsp + 0xc8]
lea rdx, [rbx + 0x3c]
mov rax, qword [rsp + 0xc0]
mov ecx, 0x10
mov rbx, rdx
call sym.modernc.org_sqlite_lib._sqlite3Fts5MallocZero
mov rdx, qword [rsp + 0x50]
mov rsi, rdx
mov qword [rdx], rax
mov rdx, rsi
mov rsi, qword [rsi]
test rsi, rsi
je 0x6bf799
mov r8, qword [rsp + 0x48]
mov r8, qword [r8]
mov qword [rsi], r8
mov rbx, qword [rsp + 0xc8]
mov r8, rbx
mov dword [r8 + 0x30], 0
mov rcx, qword [rsp + 0xe0]
mov r9, qword [rsp + 0x60]
mov r10, rdx
mov r11, qword [rsp + 0x58]
jmp 0x6bf850
mov r10, qword [rsp + 0xc8]
mov rbx, qword [r10 + 0x18]
mov rax, rcx
mov ecx, 0x10
mov rdi, rdx
mov esi, dword [rsp + 0xd8]
mov rdx, r8
mov r8, r9
mov r9, rdx
call sym.modernc.org_sqlite_lib._sqlite3Fts5HashQuery
mov rbx, qword [rsp + 0xc8]
mov rdx, rbx
mov dword [rdx + 0x3c], eax
mov rdx, qword [rsp + 0x50]
mov r10, rdx
mov rdx, qword [rdx]
test rdx, rdx
je 0x6bf81a
mov r8, rdx
add r8, 0x10
mov qword [rdx], r8
mov r8, qword [rsp + 0x60]
mov r9, r8
mov r11, qword [rsp + 0xd0]
mov qword [r8], r11
mov r8, qword [rsp + 0x58]
mov r11, r8
mov r12d, dword [rsp + 0xd8]
mov dword [r8], r12d
mov rcx, qword [rsp + 0xe0]
lea r8, [rcx + 8]
or dword [r8], 1
cmp qword [r10], 0
je 0x6bf94f
lea rdx, [rbx + 0x3c]
lea r8, [rcx + 0x60]
mov edi, dword [r11]
mov rsi, qword [r9]
lea r9, [rcx + 0x70]
mov qword [rsp + 0x60], r9
mov r10, r8
mov dword [r8 + 8], 0
mov rax, qword [rsp + 0xc0]
mov rbx, rdx
mov rcx, r10
call sym.modernc.org_sqlite_lib._sqlite3Fts5BufferAppendBlob
mov rdx, qword [rsp + 0x40]
mov edx, dword [rdx]
mov r8, qword [rsp + 0x50]
mov r9, r8
mov r8, qword [r8]
mov dword [r8 + 0xc], edx
mov r8, r9
mov r9, qword [r9]
mov dword [r9 + 8], edx
mov rdx, qword [rsp + 0xe0]
mov r10, r8
mov r8, qword [r8]
mov qword [rdx + 0x10], r8
mov r8, qword [r10]
mov rbx, qword [r8]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
mov rcx, qword [rsp + 0xe0]
mov rdx, rcx
movzx r8d, al
mov qword [rdx + 0x20], r8
mov rdx, rcx
mov r8, qword [rsp + 0x50]
mov r8, qword [r8]
mov r8d, dword [r8 + 8]
mov dword [rdx + 0x44], r8d
mov edx, dword [rsp + 0xdc]
bt edx, 1
jae 0x6bf92a
lea rdx, [rcx + 8]
or dword [rdx], 2
mov rax, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
call sym.modernc.org_sqlite_lib._fts5SegIterReverseInitPage
jmp 0x6bf93f
mov rax, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0xc8]
call sym.modernc.org_sqlite_lib._fts5SegIterLoadNPos
mov rcx, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xc8]
mov rax, rcx
mov ecx, dword [rcx + 8]
nop
bt ecx, 1
jae 0x6bf988
lea rcx, [0x00732a40]
mov qword [rsp + 0x88], rcx
lea rcx, sym.modernc.org_sqlite_lib._fts5SegIterNext_Reverse
mov qword [rsp + 0x90], rcx
mov rcx, qword [rsp + 0x90]
mov qword [rax + 0x30], rcx
jmp 0x6bf9db
mov rcx, qword [rbx]
cmp dword [rcx + 0x60], 1
jne 0x6bf9ba
lea rcx, [0x00732a40]
mov qword [rsp + 0x78], rcx
lea rcx, sym.modernc.org_sqlite_lib._fts5SegIterNext_None
mov qword [rsp + 0x80], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x30], rcx
jmp 0x6bf9db
lea rcx, [0x00732a40]
mov qword [rsp + 0x68], rcx
lea rcx, sym.modernc.org_sqlite_lib._fts5SegIterNext
mov qword [rsp + 0x70], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x30], rcx
mov byte [rsp + 0x3f], 0
mov rdx, qword [rsp + 0xa8]
mov rax, qword [rdx]
call rax
add rsp, 0xb0
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x24], esi
mov qword [rsp + 0x28], r8
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov edi, dword [rsp + 0x20]
mov esi, dword [rsp + 0x24]
mov r8, qword [rsp + 0x28]
jmp sym.modernc.org_sqlite_lib._fts5SegIterHashInit