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

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x6e84e3
push rbp
mov rbp, rsp
sub rsp, 0x90
movq qword [rsp + 0x88], xmm15
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rbx
mov byte [rsp + 0x2f], 0
mov dword [rsp + 0x30], 0
mov ebx, 0x20
call sym.modernc.org_libc._TLS_.Alloc
lea rcx, [sym.modernc.org_sqlite_lib._fts5VocabNextMethod.deferwrap1]
mov qword [rsp + 0x78], rcx
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x80], rcx
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x88], rdx
mov byte [rsp + 0x2f], 1
mov rbx, qword [rsp + 0xa8]
mov rdx, rbx
mov rsi, rax
mov rdi, qword [rdx + 0x10]
mov r8, qword [rdi + 0x18]
mov rdi, qword [rdi + 0x20]
mov r9, qword [rdx + 0x28]
mov rdx, qword [rdx]
mov r8d, dword [r8 + 0x18]
cmp qword [rdi + 0xa0], r9
mov edi, 0
mov r9d, 4
cmovne edi, r9d
mov dword [rax], edi
mov rdi, rsi
mov esi, dword [rsi]
test esi, esi
jne 0x6e7ef0
mov rsi, rbx
inc qword [rsi + 0x58]
mov rsi, rdx
mov r9d, dword [rdx + 0x38]
cmp r9d, 2
je 0x6e7ec5
test r9d, r9d
jne 0x6e7f13
mov r9, rbx
inc dword [rbx + 0x40]
nop
jmp 0x6e84ab
mov rax, rcx
call sym.modernc.org_sqlite_lib._fts5VocabInstanceNext
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rdx]
call rcx
mov eax, dword [rsp + 0x30]
add rsp, 0x90
pop rbp
ret
mov dword [rsp + 0x30], esi
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0x88]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x30]
add rsp, 0x90
pop rbp
ret
mov r9, rsi
cmp dword [rsi + 0x38], 0
jne 0x6e7f29
mov rsi, rbx
nop
cmp dword [rbx + 0x40], r8d
jl 0x6e7fa5
mov rbx, rsi
mov rsi, rbx
mov r10, qword [rbx + 0x20]
mov r11, r10
cmp byte [r10 + 0x14], 0
je 0x6e7f43
mov dword [rbx + 0x18], 1
jmp 0x6e7fa5
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], r9
mov dword [rsp + 0x38], r8d
lea rdx, [rdi + 4]
mov qword [rsp + 0x60], rdx
mov rax, rcx
mov rbx, r11
mov rcx, rdx
call sym.modernc.org_sqlite_lib._sqlite3Fts5IterTerm
mov rcx, qword [rsp + 0xa8]
mov rdx, rcx
mov esi, dword [rdx + 0x30]
test esi, esi
jl 0x6e801e
mov r8, qword [rsp + 0x60]
mov r9, r8
mov r8d, dword [r8]
mov r10, qword [rdx + 0x38]
cmp r8d, esi
mov r11d, esi
cmovl esi, r8d
movsxd r12, esi
mov rbx, rax
nop
jmp 0x6e8437
mov rax, rdi
cmp dword [rdi], 0
jne 0x6e7fbd
mov rcx, rsi
cmp dword [rsi + 0x18], 0
jne 0x6e7fbd
cmp dword [r9 + 0x38], 0
je 0x6e7fea
mov eax, dword [rax]
mov dword [rsp + 0x30], eax
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0x88]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x30]
add rsp, 0x90
pop rbp
ret
inc esi
mov dword [rcx + 0x40], esi
mov rcx, rbx
mov rbx, rcx
mov esi, dword [rcx + 0x40]
cmp esi, r8d
jge 0x6e8009
movsxd rdi, esi
shl rdi, 3
add rdi, qword [rcx + 0x50]
cmp qword [rdi], 0
je 0x6e7fe2
cmp esi, r8d
jne 0x6e8016
mov rcx, rax
mov dword [rax], 0x10b
jmp 0x6e8019
mov rcx, rax
mov rax, rcx
jmp 0x6e7fbd
lea rdx, [rcx + 0x60]
mov r8, qword [rsp + 0x60]
mov edi, dword [r8]
mov r8d, dword [rsp + 0x38]
movsxd r10, r8d
shl r10, 3
mov qword [rsp + 0x58], r10
mov r11, rdx
mov dword [rdx + 8], 0
mov rbx, qword [rsp + 0x70]
mov rsi, rax
mov rax, qword [rsp + 0xa0]
mov rcx, r11
call sym.modernc.org_sqlite_lib._sqlite3Fts5BufferAppendBlob
mov rdx, qword [rsp + 0xa8]
mov rbx, qword [rdx + 0x48]
mov rax, qword [rsp + 0xa0]
xor ecx, ecx
mov rdi, qword [rsp + 0x58]
call sym.modernc.org_libc.Xmemset
mov rdx, qword [rsp + 0xa8]
mov rbx, qword [rdx + 0x50]
mov rax, qword [rsp + 0xa0]
xor ecx, ecx
mov rdi, qword [rsp + 0x58]
call sym.modernc.org_libc.Xmemset
mov rdx, qword [rsp + 0xa8]
mov r8, rdx
mov dword [rdx + 0x40], 0
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
jmp 0x6e80c4
mov rdx, r8
mov rbx, rsi
mov r8, r10
mov rsi, rbx
cmp dword [rbx], 0
jne 0x6e820a
mov r9, r8
mov r8, qword [r8 + 0x10]
mov r8, qword [r8 + 0x18]
lea r10, [rsi + 8]
mov qword [rsp + 0x50], r10
mov r11, r10
lea rdi, [rsi + 0x10]
mov qword [rsp + 0x48], rdi
mov r8d, dword [r8 + 0x60]
mov qword [r10], 0
mov r10, rdi
mov dword [r10], 0
mov r10, r9
mov r12, qword [r9 + 0x20]
mov r13, rdx
mov r15d, dword [rdx + 0x38]
mov rbx, qword [r12 + 8]
mov qword [rsp + 0x40], rbx
mov ecx, dword [r12 + 0x10]
mov dword [rsp + 0x34], ecx
test r15d, r15d
jne 0x6e8150
test r8d, r8d
je 0x6e8146
cmp r8d, 2
je 0x6e83c9
mov r8, qword [r9 + 0x50]
inc qword [r8]
jmp 0x6e841f
mov eax, 0xffffffff
jmp 0x6e8301
cmp r15d, 1
jne 0x6e8165
test r8d, r8d
jne 0x6e82d6
nop
jmp 0x6e82ac
mov rdi, rsi
cmp dword [rsi], 0
jne 0x6e8195
mov rbx, qword [r10 + 0x20]
mov rax, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib._sqlite3Fts5IterNextScan
mov rsi, qword [rsp + 0x70]
mov rdi, rsi
mov dword [rsi], eax
mov r10, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x68]
mov r8, r13
cmp dword [r13 + 0x38], 2
je 0x6e821d
mov rsi, rdi
cmp dword [rdi], 0
jne 0x6e80bb
mov rbx, qword [r10 + 0x20]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3Fts5IterTerm
mov rcx, qword [rsp + 0x60]
mov rdx, rcx
mov edx, dword [rdx]
mov rsi, qword [rsp + 0xa8]
mov rdi, rsi
cmp dword [rsi + 0x68], edx
jne 0x6e8228
nop
test edx, edx
jle 0x6e81ed
mov r8, qword [rsi + 0x60]
movsxd r9, edx
jmp 0x6e8252
mov r8, qword [rsi + 0x20]
cmp byte [r8 + 0x14], 0
jne 0x6e8237
mov rsi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
mov r10, rdi
jmp 0x6e80bb
mov rdi, rsi
mov r9, rdx
mov rsi, r8
mov r8d, dword [rsp + 0x38]
jmp 0x6e7fa5
mov rdx, r8
mov rsi, rdi
mov r8, r10
jmp 0x6e820a
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov r8, rdi
jmp 0x6e820a
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov r8, rdi
jmp 0x6e820a
dec r9
lea rax, [r10 + 1]
lea r8, [r12 + 1]
test r9, r9
je 0x6e827a
mov r10, rax
movzx r11d, byte [rax]
mov r12, r8
movzx r8d, byte [r8]
cmp r8b, r11b
ja 0x6e8273
jae 0x6e8246
mov eax, 1
jmp 0x6e8280
mov eax, 0xffffffff
jmp 0x6e8280
xor eax, eax
nop dword [rax]
test eax, eax
je 0x6e81ed
jmp 0x6e8228
mov rdx, qword [rsp + 0xa8]
mov rdx, qword [rdx + 0x48]
inc qword [rdx]
mov ecx, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r11, qword [rsp + 0x50]
mov rax, qword [rsp + 0xa0]
mov rsi, r11
call sym.modernc.org_sqlite_lib._sqlite3Fts5PoslistNext64
nop dword [rax]
test eax, eax
je 0x6e828a
mov rsi, qword [rsp + 0x70]
mov r10, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x68]
mov r8, r10
mov r8, qword [r8 + 0x50]
inc qword [r8]
jmp 0x6e8165
shl rcx, 3
add rcx, qword [r10 + 0x48]
inc qword [rcx]
mov ecx, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r11, rsi
mov dword [rsp + 0x3c], eax
mov rsi, r11
mov rax, qword [rsp + 0xa0]
call sym.modernc.org_sqlite_lib._sqlite3Fts5PoslistNext64
test eax, eax
jne 0x6e8383
mov rsi, qword [rsp + 0x50]
mov r8, rsi
mov r8, qword [r8]
sar r8, 0x20
mov r9d, dword [rsp + 0x3c]
cmp r9d, r8d
je 0x6e835a
mov r9d, dword [rsp + 0x38]
cmp r9d, r8d
jle 0x6e8373
mov rdx, qword [rsp + 0xa8]
mov r10, rdx
mov rax, r8
shl r8, 3
add r8, qword [rdx + 0x50]
inc qword [r8]
mov rcx, rax
jmp 0x6e82e5
mov rcx, r8
mov r9d, dword [rsp + 0x38]
mov r10, qword [rsp + 0xa8]
mov eax, dword [rsp + 0x3c]
jmp 0x6e82e5
mov rsi, qword [rsp + 0x70]
mov rdi, rsi
mov dword [rsi], 0x10b
jmp 0x6e838d
mov rdi, qword [rsp + 0x70]
mov r9d, dword [rsp + 0x38]
mov rsi, rdi
mov r10, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x68]
nop dword [rax]
jmp 0x6e8165
mov rdx, qword [rsp + 0xa8]
shl r8, 3
add r8, qword [rdx + 0x50]
inc qword [r8]
mov ecx, dword [rsp + 0x34]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r11, rsi
mov rax, qword [rsp + 0xa0]
mov rsi, r11
call sym.modernc.org_sqlite_lib._sqlite3Fts5PoslistNext64
test eax, eax
jne 0x6e8405
mov rsi, qword [rsp + 0x50]
mov r8, rsi
mov r8, qword [r8]
mov r9d, dword [rsp + 0x38]
movsxd r10, r9d
cmp r8, r10
jl 0x6e83a5
mov rsi, qword [rsp + 0x70]
mov rdi, rsi
mov dword [rsi], 0x10b
jmp 0x6e840f
mov rdi, qword [rsp + 0x70]
mov r9d, dword [rsp + 0x38]
mov rsi, rdi
mov r10, qword [rsp + 0xa8]
mov r13, qword [rsp + 0x68]
mov rdi, rsi
mov r9d, dword [rsp + 0x38]
jmp 0x6e838d
dec r12
lea r10, [r13 + 1]
lea rax, [r15 + 1]
test r12, r12
je 0x6e845e
mov r13, r10
movzx r10d, byte [r10]
mov r15, rax
movzx eax, byte [rax]
cmp al, r10b
ja 0x6e8457
jae 0x6e842c
mov eax, 1
jmp 0x6e8460
mov eax, 0xffffffff
jmp 0x6e8460
xor eax, eax
test eax, eax
jl 0x6e8473
jne 0x6e846b
cmp r8d, r11d
jg 0x6e8473
mov rax, rbx
jmp 0x6e801e
mov dword [rdx + 0x18], 1
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x2f], 0
mov rdx, qword [rsp + 0x88]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x30]
add rsp, 0x90
pop rbp
ret
inc r11d
mov dword [r9 + 0x40], r11d
mov r9, r10
mov r10, r9
mov r11d, dword [r9 + 0x40]
cmp r11d, r8d
jge 0x6e84c9
movsxd r12, r11d
shl r12, 3
add r12, qword [r9 + 0x50]
cmp qword [r12], 0
je 0x6e84a1
mov rbx, r10
jmp 0x6e7f13
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop dword [rax]
jmp sym.modernc.org_sqlite_lib._fts5VocabNextMethod