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

Disassembly:
lea r12, [rsp - 0x68]
cmp r12, qword [r14 + 0x10]
jbe 0x6cd9d3
push rbp
mov rbp, rsp
sub rsp, 0xe0
movq qword [rsp + 0xd8], xmm15
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], rbx
mov qword [rsp + 0x100], rcx
mov dword [rsp + 0x108], edi
mov qword [rsp + 0x110], rsi
mov byte [rsp + 0x37], 0
mov qword [rsp + 0x58], 0
mov ebx, 0x10
nop
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0xb8], rax
lea rcx, [sym.modernc.org_sqlite_lib._fts5SetupTokendataIter.deferwrap1]
mov qword [rsp + 0xc8], rcx
mov rcx, qword [rsp + 0xf0]
mov qword [rsp + 0xd0], rcx
lea rdx, [rsp + 0xc8]
mov qword [rsp + 0xd8], rdx
mov byte [rsp + 0x37], 1
movups xmmword [rax], xmm15
mov rax, rcx
mov rbx, qword [rsp + 0xf8]
call sym.modernc.org_sqlite_lib._fts5IndexFlush
mov rax, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xf8]
call sym.modernc.org_sqlite_lib._fts5StructureRead
mov qword [rsp + 0x60], rax
xor ecx, ecx
xor edx, edx
jmp 0x6cd1bf
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x70]
mov rdi, rbx
mov rbx, qword [rsp + 0xf8]
call sym.modernc.org_sqlite_lib._fts5AppendTokendataIter
mov rcx, qword [rsp + 0x68]
mov rdx, rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rdx
mov rbx, qword [rsp + 0xf8]
mov rsi, rbx
cmp dword [rsi + 0x3c], 0
jne 0x6cd3bc
mov qword [rsp + 0x68], rcx
nop
test rdx, rdx
je 0x6cd1fc
mov rsi, rdx
mov edx, dword [rdx]
dec edx
movsxd rdx, edx
lea rdx, [rsi + rdx*8]
lea rdx, [rdx + 0x28]
mov rdx, qword [rdx]
jmp 0x6cd1fe
xor edx, edx
mov qword [rsp + 0x98], rdx
mov ecx, dword [rax + 0x18]
mov rax, qword [rsp + 0xf0]
call sym.modernc.org_sqlite_lib._fts5MultiIterAlloc
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x6cd297
mov rbx, qword [rsp + 0xf8]
lea r8, [rbx + 0x3c]
mov qword [rsp + 0x88], r8
mov edi, dword [rdx + 8]
mov rsi, qword [rdx]
mov rcx, qword [rsp + 0xb8]
mov rdx, rcx
mov dword [rdx + 8], 0
mov rax, qword [rsp + 0xf0]
mov rbx, r8
nop
call sym.modernc.org_sqlite_lib._sqlite3Fts5BufferAppendBlob
mov rsi, qword [0x00a30e10]
add rsi, 0x952e
mov rax, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xb8]
mov edi, 1
call sym.modernc.org_sqlite_lib._sqlite3Fts5BufferAppendBlob
jmp 0x6cd2d5
mov rbx, qword [rsp + 0xf8]
lea rdx, [rbx + 0x3c]
mov rcx, qword [rsp + 0xb8]
mov r8, rcx
mov dword [r8 + 8], 0
mov rax, qword [rsp + 0xf0]
mov edi, dword [rsp + 0x108]
mov rsi, qword [rsp + 0x100]
mov rbx, rdx
call sym.modernc.org_sqlite_lib._sqlite3Fts5BufferAppendBlob
mov rbx, qword [rsp + 0xf8]
mov rdx, rbx
cmp dword [rdx + 0x3c], 0
jne 0x6cd395
mov rdx, qword [rsp + 0x98]
test rdx, rdx
je 0x6cd2fd
lea r10, [rdx + 0x68]
jmp 0x6cd300
xor r10d, r10d
mov r11, qword [rsp + 0xa8]
lea r12, [r11 + 0x68]
mov r13, qword [rsp + 0x60]
xor eax, eax
jmp 0x6cd51d
mov rax, qword [rsp + 0xf0]
mov rbx, rdx
mov rcx, qword [rsp + 0x68]
call sym.modernc.org_sqlite_lib._fts5TokendataSetTermIfEof
mov rcx, qword [rsp + 0xa8]
mov rdx, rcx
mov byte [rdx + 0x50], 1
mov rdx, rcx
mov rsi, qword [rsp + 0x110]
mov qword [rdx + 0x38], rsi
mov rbx, qword [rsp + 0xf8]
lea rdx, [rbx + 0x3c]
mov rax, qword [rsp + 0xf0]
mov rbx, rdx
call sym.modernc.org_sqlite_lib._fts5IterSetOutputCb
mov edx, dword [rsp + 0x108]
mov rsi, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x100]
xor eax, eax
xor ecx, ecx
jmp 0x6cd567
test rcx, rcx
jne 0x6cd195
jmp 0x6cd699
mov rax, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xa8]
call sym.modernc.org_sqlite_lib._sqlite3Fts5IterClose
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xf8]
mov rsi, rbx
cmp dword [rsi + 0x3c], 0
jne 0x6cd3d1
test rdx, rdx
je 0x6cd3d1
xor ecx, ecx
jmp 0x6cd4cb
mov rsi, rbx
cmp dword [rsi + 0x3c], 0
je 0x6cd3de
xor ecx, ecx
jmp 0x6cd3fa
mov rax, qword [rsp + 0xf0]
xor ecx, ecx
call sym.modernc.org_sqlite_lib._fts5MultiIterAlloc
mov rdx, qword [rsp + 0x70]
mov rcx, rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rcx
test rcx, rcx
je 0x6cd438
mov rbx, rcx
mov qword [rcx + 0x18], rdx
test rdx, rdx
jne 0x6cd41c
mov rcx, rbx
mov byte [rbx + 0x14], 1
jmp 0x6cd44d
mov rax, qword [rsp + 0xf0]
call sym.modernc.org_sqlite_lib._fts5IterSetOutputsTokendata
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
jmp 0x6cd44d
mov rax, qword [rsp + 0xf0]
mov rbx, rdx
call sym.modernc.org_sqlite_lib._fts5TokendataIterDelete
mov rax, qword [rsp + 0x60]
mov rbx, rax
mov rax, qword [rsp + 0xf0]
call sym.modernc.org_sqlite_lib._fts5StructureRelease
mov rax, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xb8]
call sym.modernc.org_sqlite_lib._sqlite3Fts5BufferFree
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x58], rcx
mov byte [rsp + 0x37], 0
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rdx]
call rcx
mov rax, qword [rsp + 0x58]
add rsp, 0xe0
pop rbp
ret
mov dword [rsp + 0x38], ecx
mov rax, qword [rsp + 0xf0]
mov rcx, r8
call sym.modernc.org_sqlite_lib._fts5MultiIterFinishSetup
mov ecx, dword [rsp + 0x38]
inc ecx
mov rdx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xf8]
mov rsi, rdx
cmp dword [rdx], ecx
jle 0x6cd4e4
movsxd rdx, ecx
lea rdx, [rsi + rdx*8]
lea rdx, [rdx + 0x28]
mov rdx, qword [rdx]
xor edi, edi
jmp 0x6cd505
mov rdx, rsi
jmp 0x6cd3d1
movsxd r9, edi
shl r9, 7
lea r9, [r8 + r9]
lea r9, [r9 + 0x68]
or dword [r9 + 8], 1
inc edi
mov rdx, r8
mov r8, rdx
cmp dword [rdx + 0x48], edi
jg 0x6cd4ec
jmp 0x6cd49f
inc eax
mov r13, r15
mov rcx, r10
mov r10, r12
mov r12, rcx
mov r15, r13
cmp dword [r13 + 0x1c], eax
jle 0x6cd318
mov dword [rsp + 0x44], eax
movsxd r13, eax
shl r13, 4
lea r13, [r15 + r13]
lea r13, [r13 + 0x20]
mov qword [rsp + 0xc0], r13
mov rcx, r13
mov r13d, dword [r13 + 4]
dec r13d
jmp 0x6cd740
mov rcx, r12
mov r12, r10
mov r10, rcx
jmp 0x6cd50f
inc eax
mov rsi, rbx
mov rcx, r9
mov qword [rsp + 0x68], rcx
mov rbx, rsi
cmp dword [rsi + 0x48], eax
jle 0x6cd387
movsxd rsi, eax
shl rsi, 7
lea r8, [rbx + rsi]
lea r8, [r8 + 0xc8]
mov r9, r8
mov r10d, dword [r8 + 8]
lea rsi, [rbx + rsi]
lea rsi, [rsi + 0x68]
cmp edx, r10d
jg 0x6cd5af
mov r8, qword [r8]
movsxd r11, edx
mov r12, r8
mov r13, rdi
jmp 0x6cd6cc
xor r8d, r8d
mov qword [rsp + 0xc0], r9
mov dword [rsp + 0x3c], eax
movzx r8d, r8b
test r8d, r8d
jne 0x6cd623
mov qword [rsp + 0xb0], rsi
mov rbx, qword [rsi + 0x10]
nop
mov rax, qword [rsp + 0xf0]
nop dword [rax]
call sym.modernc.org_sqlite_lib.Xsqlite3_free
mov rcx, qword [rsp + 0xb0]
mov rdx, rcx
mov qword [rcx + 0x10], 0
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0xa8]
mov rsi, rdx
mov rdi, qword [rsp + 0x100]
mov r9, qword [rsp + 0xc0]
mov edx, dword [rsp + 0x108]
cmp qword [rsi + 0x10], 0
je 0x6cd691
test rcx, rcx
jne 0x6cd636
mov esi, 1
jmp 0x6cd680
mov rax, qword [rsp + 0xf0]
mov rbx, rcx
mov rcx, r9
call sym.modernc.org_sqlite_lib._fts5BufferCompare
test eax, eax
setg dl
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x100]
mov r9, qword [rsp + 0xc0]
mov esi, edx
mov edx, dword [rsp + 0x108]
nop dword [rax + rax]
test sil, sil
jne 0x6cd55f
mov r9, rcx
jmp 0x6cd55f
mov r9, rcx
jmp 0x6cd55f
mov rax, qword [rsp + 0xf0]
call sym.modernc.org_sqlite_lib._sqlite3Fts5IterClose
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0xf8]
jmp 0x6cd3bc
dec r11
lea r8, [r15 + 1]
mov rdi, qword [rsp + 0x50]
inc rdi
test r11, r11
je 0x6cd6f5
mov qword [rsp + 0x50], rdi
mov r15, r8
movzx r8d, byte [r8]
movzx edi, byte [rdi]
cmp dil, r8b
ja 0x6cd6ee
jae 0x6cd6bd
mov edi, 1
jmp 0x6cd6f7
mov edi, 0xffffffff
jmp 0x6cd6f7
xor edi, edi
test edi, edi
jne 0x6cd726
nop dword [rax + rax]
cmp edx, r10d
jne 0x6cd70d
mov r8d, 1
jmp 0x6cd71e
movsxd r8, edx
add r8, r12
movzx r8d, byte [r8]
test r8d, r8d
sete r8b
mov rdi, r13
jmp 0x6cd5b2
mov rdi, r13
jmp 0x6cd5af
dec r13d
mov rcx, rsi
mov rdi, r10
mov r10, r12
mov r12, rdi
nop dword [rax]
test r13d, r13d
jl 0x6cd554
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0x90], r10
mov dword [rsp + 0x40], r13d
mov rsi, rcx
movsxd rdi, r13d
imul r8, rdi, 0x38
add r8, qword [rcx + 8]
test r10, r10
jne 0x6cd778
xor ecx, ecx
jmp 0x6cd8a0
mov qword [rsp + 0x78], r8
lea rcx, [r10 + 0x60]
mov rax, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0x68]
call sym.modernc.org_sqlite_lib._fts5BufferCompare
test eax, eax
jne 0x6cd809
mov rdx, qword [rsp + 0x90]
mov r10, rdx
mov r11d, dword [rdx + 0x44]
mov rdx, qword [rdx + 0x10]
mov edx, dword [rdx + 0xc]
cmp edx, r11d
jge 0x6cd801
mov dword [rsp + 0x4c], r11d
mov dword [rsp + 0x48], edx
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rdx]
mov edi, dword [rdx + 8]
dec edi
mov rax, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0x78]
mov r8, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib._fts5SegIterNextInit
mov edx, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x4c]
cmp edx, r9d
mov r10, qword [rsp + 0x90]
setl dl
movzx edx, dl
jmp 0x6cd862
mov rax, qword [rsp + 0xa0]
mov rdx, rax
test byte [rdx], al
mov rbx, qword [rsp + 0x90]
mov rsi, rbx
test byte [rsi], al
nop
cmp rsi, rdx
je 0x6cd841
mov rax, rdx
mov rbx, rsi
mov ecx, pe_nt_image_headers64
call sym.runtime.memmove
mov rbx, qword [rsp + 0x90]
mov rax, qword [rsp + 0xf0]
xor ecx, ecx
mov edi, pe_nt_image_headers64
call sym.modernc.org_libc.Xmemset
mov r10, qword [rsp + 0x90]
mov edx, 1
mov eax, dword [rsp + 0x44]
mov rbx, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xc0]
mov r8, qword [rsp + 0x78]
mov r11, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xa0]
mov r13d, dword [rsp + 0x40]
mov r15, qword [rsp + 0x60]
mov ecx, edx
mov rdx, qword [rsp + 0x98]
nop
test ecx, ecx
je 0x6cd8a9
test r10, r10
jmp 0x6cd915
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rdx]
mov edi, dword [rdx + 8]
mov rax, qword [rsp + 0xf0]
mov esi, 0x108
mov r9, r12
call sym.modernc.org_sqlite_lib._fts5SegIterSeekInit
mov rdx, qword [rsp + 0x90]
test rdx, rdx
mov eax, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xc0]
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0xa8]
mov r12, qword [rsp + 0xa0]
mov r13d, dword [rsp + 0x40]
mov r15, qword [rsp + 0x60]
je 0x6cd945
mov rcx, r10
mov r10, qword [r10 + 0x28]
nop
test r10, r10
je 0x6cd93d
mov rdi, r12
mov qword [r12 + 0x28], r10
mov r10, rdi
mov r12, qword [rdi + 0x28]
inc dword [r12]
test rcx, rcx
jmp 0x6cd999
test rcx, rcx
mov r10, r12
jmp 0x6cd999
mov rax, qword [rsp + 0xf0]
mov rcx, r12
call sym.modernc.org_sqlite_lib._fts5SegIterAllocTombstone
mov rdx, qword [rsp + 0x90]
test rdx, rdx
mov eax, dword [rsp + 0x44]
mov rcx, rdx
mov rdx, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xc0]
mov r10, qword [rsp + 0xa0]
mov r11, qword [rsp + 0xa8]
mov r13d, dword [rsp + 0x40]
mov r15, qword [rsp + 0x60]
je 0x6cd9a4
lea r12, [rcx + 0x80]
jmp 0x6cd9a7
mov r12, rcx
mov rcx, rbx
sub r10, 0xffffffffffffff80
cmp dword [rcx + 0x3c], 0
je 0x6cd72e
jmp 0x6cd50f
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], rsi
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 rsi, qword [rsp + 0x28]
jmp sym.modernc.org_sqlite_lib._fts5SetupTokendataIter