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

Disassembly:
lea r12, [rsp - 0xa8]
cmp r12, qword [r14 + 0x10]
jbe 0x6cba1c
push rbp
mov rbp, rsp
sub rsp, 0x120
movq qword [rsp + 0x118], xmm15
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x138], rbx
mov dword [rsp + 0x140], ecx
mov dword [rsp + 0x144], edi
mov qword [rsp + 0x148], rsi
mov dword [rsp + 0x150], r8d
mov qword [rsp + 0x158], r9
mov qword [rsp + 0x160], r10
mov byte [rsp + 0x4f], 0
mov ebx, 0x20
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x98], rax
lea rcx, [sym.modernc.org_sqlite_lib._fts5SetupPrefixIter.deferwrap1]
mov qword [rsp + 0x108], rcx
mov rcx, qword [rsp + 0x130]
mov qword [rsp + 0x110], rcx
lea rdx, [rsp + 0x108]
mov qword [rsp + 0x118], rdx
mov byte [rsp + 0x4f], 1
mov rbx, qword [rsp + 0x138]
mov rdx, rbx
mov rdx, qword [rdx]
cmp dword [rdx + 0x60], 1
jne 0x6cb0bd
lea rdx, [0x00733f40]
mov qword [rsp + 0xf8], rdx
lea rdx, sym.modernc.org_sqlite_lib._fts5MergeRowidLists
mov qword [rsp + 0x100], rdx
mov rdx, qword [rsp + 0x100]
lea rsi, [0x00733e20]
mov qword [rsp + 0xe8], rsi
lea rsi, sym.modernc.org_sqlite_lib._fts5AppendRowid
mov qword [rsp + 0xf0], rsi
mov rsi, qword [rsp + 0xf0]
mov edi, 0x20
mov r8d, 1
jmp 0x6cb114
lea rdi, [0x00733f40]
mov qword [rsp + 0xd8], rdi
lea rdi, sym.modernc.org_sqlite_lib._fts5MergePrefixLists
mov qword [rsp + 0xe0], rdi
mov rdx, qword [rsp + 0xe0]
lea rdi, [0x00733e20]
mov qword [rsp + 0xc8], rdi
lea rdi, vtable.HHIAI_fvUHH_HHZ_.0
mov qword [rsp + 0xd0], rdi
mov rsi, qword [rsp + 0xd0]
mov edi, 0x78
mov r8d, 0xf
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x54], r8d
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rsi
movsxd r9, edi
shl r9, 4
lea r10, [rbx + 0x3c]
mov qword [rsp + 0xc0], r10
mov rax, rcx
mov rcx, r9
mov rbx, r10
call sym.modernc.org_sqlite_lib._sqlite3Fts5MallocZero
mov qword [rsp + 0xa0], rax
mov rbx, qword [rsp + 0x138]
mov rax, qword [rsp + 0x130]
call sym.modernc.org_sqlite_lib._fts5StructureRead
mov rdx, qword [rsp + 0x138]
cmp dword [rdx + 0x3c], 0
jne 0x6cb285
mov qword [rsp + 0x88], rax
mov rbx, qword [rsp + 0x98]
mov rdx, rbx
mov qword [rdx], 0
lea rdx, [rbx + 0x18]
mov qword [rsp + 0xb8], rdx
mov dword [rdx], 1
lea rdx, [rbx + 8]
mov qword [rsp + 0xb0], rdx
mov rax, qword [rsp + 0x130]
xor ecx, ecx
mov edi, 0x10
mov rbx, rdx
call sym.modernc.org_libc.Xmemset
mov edx, dword [rsp + 0x144]
test edx, edx
jne 0x6cb1d8
xor eax, eax
jmp 0x6cb409
mov rdx, qword [rsp + 0x98]
lea r12, [rdx + 0x1c]
mov qword [rsp + 0xa8], r12
mov dword [r12], 0
mov r8, qword [rsp + 0x148]
mov r12, r8
mov byte [r12], 0x30
mov qword [rsp], rdx
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x88]
mov edi, 0x30
mov rsi, qword [rsp + 0x158]
mov r9d, dword [rsp + 0x150]
mov r10d, 0xffffffff
xor r11d, r11d
nop
call sym.modernc.org_sqlite_lib._fts5MultiIterNew
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0xc0]
call sym.modernc.org_sqlite_lib._fts5IterSetOutputCb
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x98]
xor ecx, ecx
nop
jmp 0x6cb313
mov rbx, rax
mov rax, qword [rsp + 0x130]
call sym.modernc.org_sqlite_lib._fts5StructureRelease
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib.Xsqlite3_free
mov byte [rsp + 0x4f], 0
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rdx]
call rcx
add rsp, 0x120
pop rbp
ret
mov qword [rsp + 0x90], rcx
mov rsi, qword [r9]
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
mov rdi, qword [rsp + 0xa8]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._fts5MultiIterNext2
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov rcx, rsi
mov rsi, rdx
mov rdi, rbx
mov r8, qword [rdx]
cmp dword [rbx + 0x3c], 0
je 0x6cb329
mov edx, 1
jmp 0x6cb33b
mov rbx, r8
cmp byte [r8 + 0x14], 0
setne r8b
mov edx, r8d
mov r8, rbx
mov qword [rsp + 0x90], rcx
movzx r9d, dl
test r9d, r9d
jne 0x6cb3f2
mov rdi, r8
mov r8, qword [r8 + 0x60]
add r8, 4
movzx r8d, word [r8]
shl r8, 7
lea rcx, [rdi + r8]
lea rcx, [rcx + 0x68]
mov rdi, rsi
mov rsi, qword [rsi]
mov rdx, qword [rsi + 0x40]
mov rsi, qword [rdx]
mov rbx, qword [rdi]
call rsi
mov rsi, qword [rsp + 0x98]
mov rdi, rsi
mov rsi, qword [rsi]
cmp dword [rsi + 0x10], 0
jne 0x6cb3a5
mov r9, rdi
mov rcx, qword [rsp + 0x90]
nop dword [rax]
jmp 0x6cb2c5
mov rdx, qword [rsp + 0x78]
mov r8, qword [rdx]
mov rdi, qword [rdi]
mov r10, rdi
mov rcx, qword [r10]
mov r10, qword [rsp + 0x90]
sub rcx, r10
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
mov rsi, qword [rsp + 0xb0]
call r8
mov r8, qword [rsp + 0x98]
mov r9, r8
mov r8, qword [r8]
mov rcx, qword [r8]
jmp 0x6cb2c5
mov rbx, r8
call sym.modernc.org_sqlite_lib._fts5MultiIterFree
mov edx, dword [rsp + 0x144]
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0x148]
mov r12, r8
add edx, 0x30
mov byte [r12], dl
mov rdx, qword [rsp + 0x98]
mov qword [rsp], rdx
mov rbx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x88]
mov edi, 0x38
mov rsi, qword [rsp + 0x158]
mov r9d, dword [rsp + 0x150]
mov r10d, 0xffffffff
xor r11d, r11d
mov rax, qword [rsp + 0x130]
call sym.modernc.org_sqlite_lib._fts5MultiIterNew
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rdx]
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0xc0]
call sym.modernc.org_sqlite_lib._fts5IterSetOutputCb
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x98]
mov r12, qword [rsp + 0x90]
jmp 0x6cb4ef
mov qword [rsp + 0x90], rax
mov rcx, qword [r9]
mov rbx, qword [rsp + 0x138]
mov rax, qword [rsp + 0x130]
call sym.modernc.org_sqlite_lib._fts5MultiIterNext2
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
mov rdx, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov r12, rsi
mov r8, rdx
mov r9, rbx
mov r10, qword [rdx]
cmp dword [r9 + 0x3c], 0
je 0x6cb506
mov ecx, 1
jmp 0x6cb518
mov r9, r10
cmp byte [r10 + 0x14], 0
setne r10b
mov ecx, r10d
mov r10, r9
movzx r9d, cl
nop dword [rax]
test r9d, r9d
jne 0x6cb625
mov qword [rsp + 0x90], r12
mov rsi, r10
mov rdi, qword [r10 + 0x60]
add rdi, 4
movzx edi, word [rdi]
shl rdi, 7
lea rcx, [rsi + rdi]
lea rcx, [rcx + 0x68]
mov rsi, rcx
mov rdi, r8
mov r8, qword [r8]
mov rdx, qword [r8 + 0x40]
mov r8, qword [rdx]
mov rbx, qword [rdi]
mov edi, dword [rsi + 0x68]
mov dword [rsp + 0x50], edi
mov rsi, qword [rsi + 0x60]
mov qword [rsp + 0x80], rsi
call r8
mov rdi, qword [rsp + 0xb8]
mov rsi, rdi
cmp dword [rsi], 0
je 0x6cb5b5
mov r8d, dword [rsp + 0x150]
mov r9d, dword [rsp + 0x50]
cmp r8d, r9d
jg 0x6cb9b1
movsxd r9, r8d
mov rsi, qword [rsp + 0x80]
mov r10, qword [rsp + 0x148]
mov rax, r10
jmp 0x6cb9da
mov r8, qword [rsp + 0x98]
mov r9, r8
mov r8, qword [r8]
cmp dword [r8 + 0x10], 0
je 0x6cb615
mov r10, qword [rsp + 0x90]
cmp qword [r8], r10
jg 0x6cb608
mov rsi, qword [rsp + 0xb0]
mov rcx, rsi
cmp dword [rsi + 8], 0
jle 0x6cb7fa
mov r8, qword [rsp + 0xa0]
mov r10d, dword [rsp + 0x54]
mov rbx, qword [rsp + 0x138]
xor eax, eax
jmp 0x6cb84d
mov rcx, qword [rsp + 0xb0]
jmp 0x6cb7fa
mov rax, qword [rsp + 0x90]
nop dword [rax]
jmp 0x6cb4ac
mov edi, dword [rsp + 0x54]
mov r9, qword [rsp + 0xa0]
mov r10d, dword [rsp + 0x58]
xor ecx, ecx
jmp 0x6cb640
mov ecx, r11d
nop dword [rax]
cmp ecx, r10d
jge 0x6cb6a5
mov dword [rsp + 0x64], ecx
mov r11, rbx
cmp dword [r11 + 0x3c], 0
jne 0x6cb69e
mov rdx, qword [rsp + 0x70]
mov r8, qword [rdx]
movsxd r10, ecx
shl r10, 4
lea rsi, [r10 + r9]
mov rcx, qword [rsp + 0xb0]
call r8
mov rax, qword [rsp + 0x130]
mov ecx, dword [rsp + 0x64]
mov rbx, qword [rsp + 0x138]
mov edi, dword [rsp + 0x54]
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0xa0]
mov r10d, dword [rsp + 0x58]
mov edx, ecx
jmp 0x6cb7ec
mov rbx, qword [r8]
call sym.modernc.org_sqlite_lib._fts5MultiIterFree
mov rcx, qword [rsp + 0xb0]
movsxd rcx, dword [rcx + 8]
add rcx, 0x18
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0xc0]
call sym.modernc.org_sqlite_lib._sqlite3Fts5MallocZero
test rax, rax
je 0x6cb77b
mov rcx, rax
lea r8, [rcx + 0x10]
mov qword [rax], r8
mov r8, qword [rsp + 0xb0]
mov r9, r8
mov r8d, dword [r8 + 8]
mov r10, rcx
mov dword [r10 + 0xc], r8d
mov r10, rcx
mov dword [r10 + 8], r8d
mov r8, r9
mov r10d, dword [r9 + 8]
test r10d, r10d
je 0x6cb757
movsxd rdx, r10d
test rdx, rdx
je 0x6cb757
movabs rbx, 0x3ffffffffffff
cmp rbx, rdx
jb 0x6cb79d
mov r10, rcx
mov rax, qword [r10]
mov rbx, qword [r9]
test byte [rax], al
test byte [rbx], al
cmp rbx, rax
je 0x6cb757
mov qword [rsp + 0xc0], rcx
mov rcx, rdx
call sym.runtime.memmove
mov rcx, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xb0]
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
mov edi, dword [rsp + 0x140]
mov rsi, qword [rsp + 0x160]
call sym.modernc.org_sqlite_lib._fts5MultiIterNew2
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0xb0]
call sym.modernc.org_sqlite_lib._sqlite3Fts5BufferFree
mov rax, qword [rsp + 0x88]
jmp 0x6cb285
nop dword [rax]
call sym.runtime.panicSlice3AlenU
mov dword [rsp + 0x5c], ecx
movsxd rdx, ecx
shl rdx, 4
lea rbx, [rdx + r9]
call sym.modernc.org_sqlite_lib._sqlite3Fts5BufferFree
mov ecx, dword [rsp + 0x5c]
inc ecx
mov rax, qword [rsp + 0x130]
mov edx, dword [rsp + 0x64]
mov rbx, qword [rsp + 0x138]
mov edi, dword [rsp + 0x54]
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0xa0]
mov r10d, dword [rsp + 0x58]
lea r11d, [rdx + rdi]
cmp ecx, r11d
jl 0x6cb7a5
jmp 0x6cb63a
mov rdx, qword [rsp + 0x78]
mov r8, qword [rdx]
mov rdi, qword [r9]
mov r9, rdi
mov r9, qword [r9]
sub r9, r10
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
mov rsi, rcx
mov rcx, r9
call r8
mov r9, qword [rsp + 0x98]
mov r8, r9
mov r8, qword [r8]
mov rax, qword [r8]
mov rdi, qword [rsp + 0xb8]
jmp 0x6cb4ac
lea eax, [r12 + 1]
mov rcx, rsi
mov r11, rbx
cmp dword [r11 + 0x3c], 0
jne 0x6cb957
mov rsi, rcx
mov r11d, dword [rcx + 8]
test r11d, r11d
je 0x6cb95a
mov r12d, eax
imul eax, r10d
mov dword [rsp + 0x60], eax
mov edx, eax
jmp 0x6cb967
mov edi, dword [rcx + 0xc]
mov r9, qword [rcx]
mov rdx, qword [r15]
mov r15d, dword [r15 + 0xc]
nop
mov qword [rcx], rdx
mov dword [rcx + 8], 0
mov dword [rcx + 0xc], r15d
mov r15, qword [rsp + 0xa8]
mov qword [r15], r9
mov dword [r15 + 8], r11d
mov dword [r15 + 0xc], edi
mov rcx, rsi
nop
mov dword [rsi + 8], 0
cmp eax, r13d
mov edx, dword [rsp + 0x60]
mov rsi, rcx
mov rdi, qword [rsp + 0xb8]
mov r9, qword [rsp + 0x98]
jne 0x6cb845
mov dword [rsp + 0x6c], r13d
mov dword [rsp + 0x68], r12d
mov r9, qword [rsp + 0x70]
mov r11, qword [r9]
movsxd r12, edx
shl r12, 4
add r12, r8
mov rax, qword [rsp + 0x130]
mov rcx, rsi
mov edi, r10d
mov rsi, r12
mov rdx, r9
call r11
mov r8d, dword [rsp + 0x6c]
mov r9, qword [rsp + 0xa0]
mov r10d, dword [rsp + 0x60]
nop dword [rax]
jmp 0x6cb9a7
mov rbx, qword [rsp + 0x138]
mov rsi, qword [rsp + 0xb0]
mov rdi, qword [rsp + 0xb8]
mov r8, r9
mov r9, qword [rsp + 0x98]
mov r10d, dword [rsp + 0x54]
mov r12d, dword [rsp + 0x68]
jmp 0x6cb845
mov rsi, rcx
mov rcx, rsi
xor r10d, r10d
jmp 0x6cb7fa
inc eax
lea r13d, [rdx + r10]
cmp eax, r13d
jge 0x6cb8d1
movsxd r15, eax
shl r15, 4
add r15, r8
mov qword [rsp + 0xa8], r15
cmp dword [r15 + 8], 0
jne 0x6cb965
jmp 0x6cb87d
movsxd r11, r10d
shl r11, 4
add r11, r9
mov dword [r11 + 8], 0
inc r10d
cmp r10d, r8d
jl 0x6cb992
jmp 0x6cb925
mov rax, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
mov r8, qword [rsp + 0x98]
jmp 0x6cb625
dec r9
lea r10, [r11 + 1]
lea rsi, [r12 + 1]
test r9, r9
je 0x6cba02
mov r11, r10
movzx r10d, byte [r10]
mov r12, rsi
movzx r13d, byte [rsi]
cmp r13b, r10b
ja 0x6cb9fb
jae 0x6cb9ce
mov ecx, 1
jmp 0x6cba04
mov ecx, 0xffffffff
jmp 0x6cba04
xor ecx, ecx
test ecx, ecx
je 0x6cb5b5
jmp 0x6cb9b1
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov dword [rsp + 0x1c], edi
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov edi, dword [rsp + 0x1c]
mov rsi, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x28]
mov r9, qword [rsp + 0x30]
mov r10, qword [rsp + 0x38]
jmp sym.modernc.org_sqlite_lib._fts5SetupPrefixIter