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

Disassembly:
lea r12, [rsp - 0x28]
cmp r12, qword [r14 + 0x10]
jbe 0x6cdfa5
push rbp
mov rbp, rsp
sub rsp, 0xa0
movq qword [rsp + 0x98], xmm15
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xc0], rcx
mov dword [rsp + 0xc8], edi
mov dword [rsp + 0xcc], esi
mov qword [rsp + 0xd0], r8
mov qword [rsp + 0xd8], r9
mov byte [rsp + 0x4f], 0
mov dword [rsp + 0x50], 0
mov ebx, 0x20
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x70], rax
lea rcx, [sym.modernc.org_sqlite_lib._sqlite3Fts5IndexQuery.deferwrap1]
mov qword [rsp + 0x88], rcx
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x90], rcx
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x98], rdx
mov byte [rsp + 0x4f], 1
mov rbx, qword [rsp + 0xb8]
mov rdx, rbx
mov rsi, rax
lea rdi, [rsi + 8]
mov qword [rsp + 0x80], rdi
lea r8, [rbx + 0x3c]
mov qword [rsp + 0x78], r8
mov r9d, dword [rsp + 0xc8]
lea r10d, [r9 + 1]
mov dword [rsp + 0x5c], r10d
mov rdx, qword [rdx]
mov qword [rsp + 0x68], rdx
mov qword [rax], 0
mov r11, rdi
movups xmmword [rdi], xmm15
mov rax, rcx
mov rcx, r11
mov edi, r10d
mov rbx, r8
call sym.modernc.org_sqlite_lib._sqlite3Fts5BufferSize
test eax, eax
jne 0x6cdc77
mov r11, qword [rsp + 0x68]
mov r12, r11
mov r11d, dword [r11 + 0x5c]
mov r13d, dword [rsp + 0xc8]
test r13d, r13d
jle 0x6cdc3b
movsxd rdx, r13d
test rdx, rdx
je 0x6cdc29
movabs rbx, 0x3ffffffffffff
nop dword [rax]
cmp rbx, rdx
jb 0x6cdf8d
mov r15, qword [rsp + 0x80]
mov rax, r15
mov r15, qword [r15]
inc r15
test byte [r15], al
mov rbx, qword [rsp + 0xc0]
mov rcx, rbx
test byte [rcx], al
cmp rcx, r15
je 0x6cdc4b
mov dword [rsp + 0x58], r11d
mov rax, r15
mov rbx, rcx
mov rcx, rdx
nop dword [rax]
call sym.runtime.memmove
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xc0]
mov r11d, dword [rsp + 0x58]
mov r12, qword [rsp + 0x68]
mov r13d, dword [rsp + 0xc8]
jmp 0x6cdc4b
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xc0]
jmp 0x6cdc4b
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xc0]
mov edx, dword [rsp + 0xcc]
test edx, 0x88
mov r15d, 0
cmovne r11d, r15d
bt edx, 0
jae 0x6cdc71
xor ecx, ecx
xor esi, esi
jmp 0x6cdf00
xor ecx, ecx
xor ebx, ebx
jmp 0x6cdcac
mov rax, qword [rsp + 0xb8]
mov ecx, dword [rax + 0x3c]
mov dword [rax + 0x3c], 0
mov dword [rsp + 0x50], ecx
mov byte [rsp + 0x4f], 0
mov rdx, qword [rsp + 0x98]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x50]
add rsp, 0xa0
pop rbp
ret
test r11d, r11d
je 0x6cdd00
test ecx, ecx
jne 0x6cdd00
mov rdx, rax
mov r8, qword [rax]
mov byte [r8], 0x30
mov rcx, qword [rdx]
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xb8]
mov edi, dword [rsp + 0x5c]
mov rsi, qword [rsp + 0xd0]
nop
call sym.modernc.org_sqlite_lib._fts5SetupTokendataIter
mov rdx, qword [rsp + 0x70]
mov r8, rdx
mov qword [rdx], rax
mov rsi, qword [rsp + 0xb8]
jmp 0x6cde96
cmp dword [r12 + 0x30], ecx
jl 0x6cddbf
mov dword [rsp + 0x54], ecx
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xb8]
nop
call sym.modernc.org_sqlite_lib._fts5StructureRead
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x54]
add edx, 0x30
mov byte [rcx], dl
nop dword [rax]
test rax, rax
je 0x6cddad
mov qword [rsp + 0x60], rax
mov edi, dword [rsp + 0xcc]
or edi, 0x10
mov r8, qword [rbx]
mov r12, qword [rsp + 0x70]
mov qword [rsp], r12
mov rbx, qword [rsp + 0xb8]
mov rcx, rax
mov rsi, qword [rsp + 0xd0]
mov r9d, dword [rsp + 0x5c]
mov r10d, 0xffffffff
xor r11d, r11d
mov rax, qword [rsp + 0xb0]
call sym.modernc.org_sqlite_lib._fts5MultiIterNew
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x60]
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._fts5StructureRelease
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0xb8]
mov r8, qword [rsp + 0x70]
jmp 0x6cde96
mov rsi, qword [rax]
bt edx, 1
setb dl
movzx ecx, dl
mov rax, qword [rsp + 0xb0]
mov edi, ebx
mov r8d, dword [rsp + 0x5c]
mov r9, qword [rsp + 0xd0]
mov r10, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xb8]
call sym.modernc.org_sqlite_lib._fts5SetupPrefixIter
mov rdx, qword [rsp + 0x70]
mov r11, rdx
mov rcx, qword [rdx]
test rcx, rcx
jne 0x6cde15
mov rsi, qword [rsp + 0xb8]
mov r8, r11
jmp 0x6cde96
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x78]
call sym.modernc.org_sqlite_lib._fts5IterSetOutputCb
mov rdx, qword [rsp + 0xb8]
mov rsi, rdx
cmp dword [rdx + 0x3c], 0
jne 0x6cde91
mov rdi, qword [rsp + 0x70]
mov r8, rdi
mov rdi, qword [rdi]
mov r9, rdi
mov rdi, qword [rdi + 0x60]
add rdi, 4
movzx edi, word [rdi]
shl rdi, 7
lea rcx, [rdi + r9]
lea rcx, [rcx + 0x68]
mov rdi, rcx
cmp qword [rdi + 0x10], 0
je 0x6cde96
mov rsi, r8
mov rdi, qword [r8]
mov rdx, qword [rdi + 0x40]
mov rdi, qword [rdx]
mov rbx, qword [rsi]
mov rax, qword [rsp + 0xb0]
nop
call rdi
mov rsi, qword [rsp + 0xb8]
mov r8, qword [rsp + 0x70]
jmp 0x6cde96
mov r8, qword [rsp + 0x70]
cmp dword [rsi + 0x3c], 0
je 0x6cded2
mov rbx, qword [r8]
mov rax, qword [rsp + 0xb0]
call sym.modernc.org_sqlite_lib._sqlite3Fts5IterClose
mov rcx, qword [rsp + 0x70]
mov qword [rcx], 0
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xb8]
call sym.modernc.org_sqlite_lib._sqlite3Fts5IndexCloseReader
mov r8, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [r8]
mov qword [rcx], rdx
mov rax, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._sqlite3Fts5BufferFree
jmp 0x6cdc77
inc esi
nop dword [rax]
cmp r13d, ecx
jle 0x6cdf1a
movsxd rdi, ecx
add rdi, rbx
movzx edi, byte [rdi]
inc ecx
cmp edi, 0xc0
jge 0x6cdf68
jmp 0x6cdefa
mov ecx, 1
xor ebx, ebx
jmp 0x6cdf36
lea edi, [rsi + 1]
lea r8d, [rcx + 1]
cmp r12d, edi
cmove ebx, ecx
mov r12, r13
mov ecx, r8d
mov r13, r12
nop dword [rax]
cmp dword [r12 + 0x30], ecx
jl 0x6cdf5e
lea edi, [rcx - 1]
movsxd rdi, edi
shl rdi, 2
add rdi, qword [r12 + 0x38]
mov r12d, dword [rdi]
cmp esi, r12d
jne 0x6cdf23
mov r12, r13
jmp 0x6cdcac
inc ecx
cmp r13d, ecx
jle 0x6cdefa
movsxd rdi, ecx
add rdi, rbx
movsx rdi, byte [rdi]
and edi, 0xc0
nop dword [rax]
cmp edi, 0x80
je 0x6cdf66
jmp 0x6cdefa
call sym.runtime.panicSlice3AlenU
nop
call sym.runtime.deferreturn
mov eax, dword [rsp + 0x50]
add rsp, 0xa0
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
mov qword [rsp + 0x30], r9
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]
mov r9, qword [rsp + 0x30]
jmp sym.modernc.org_sqlite_lib._sqlite3Fts5IndexQuery