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

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x6ba2cb
push rbp
mov rbp, rsp
sub rsp, 0xa8
movq qword [rsp + 0xa0], xmm15
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rbx
mov dword [rsp + 0xc8], ecx
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], rsi
mov byte [rsp + 0x1b], 0
mov dword [rsp + 0x20], 0
mov ebx, 0x10
nop dword [rax]
call sym.modernc.org_libc._TLS_.Alloc
lea rcx, [sym.modernc.org_sqlite_lib._fts5StructureDecode.deferwrap1]
mov qword [rsp + 0x90], rcx
mov rcx, qword [rsp + 0xb8]
mov qword [rsp + 0x98], rcx
lea rdx, [rsp + 0x90]
mov qword [rsp + 0xa0], rdx
mov byte [rsp + 0x1b], 1
mov rdx, rax
mov dword [rax], 0
lea rsi, [rdx + 4]
mov rdi, rsi
mov dword [rsi], 0
lea rsi, [rdx + 8]
mov r8, rsi
mov dword [rsi], 0
mov rsi, qword [rsp + 0xd0]
test rsi, rsi
je 0x6b9baa
mov r9, qword [rsp + 0xc0]
mov r10, r9
movzx r9d, byte [r9]
shl r9d, 0x18
lea r11, [r10 + 1]
movzx r11d, byte [r11]
shl r11d, 0x10
add r9d, r11d
lea r11, [r10 + 2]
movzx r11d, byte [r11]
shl r11d, 8
add r9d, r11d
lea r11, [r10 + 3]
movzx r11d, byte [r11]
add r9d, r11d
mov dword [rsi], r9d
jmp 0x6b9bb2
mov r10, qword [rsp + 0xc0]
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x80], r8
mov rsi, qword [0x00a30e10]
lea r9, [r10 + 4]
add rsi, 0x939f
mov eax, 4
jmp 0x6b9be7
dec rax
lea r9, [r11 + 1]
lea rsi, [r12 + 1]
test rax, rax
je 0x6b9c10
mov r11, r9
movzx r9d, byte [r9]
mov r12, rsi
movzx esi, byte [rsi]
cmp sil, r9b
ja 0x6b9c09
nop
jae 0x6b9bdb
mov eax, 1
jmp 0x6b9c12
mov eax, 0xffffffff
jmp 0x6b9c12
xor eax, eax
mov qword [rsp + 0x78], rdi
mov dword [rsp + 0x1c], eax
test eax, eax
mov edx, 4
mov esi, 8
cmove edx, esi
mov dword [rsp + 0x2c], edx
movsxd rsi, edx
lea rbx, [rsi + r10]
mov rax, rcx
mov rcx, rdi
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov edx, dword [rsp + 0x2c]
add edx, eax
mov dword [rsp + 0x2c], edx
movsxd rsi, edx
mov rdi, qword [rsp + 0xc0]
lea rbx, [rsi + rdi]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x80]
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov rdx, qword [rsp + 0x78]
mov edx, dword [rdx]
mov edi, dword [rsp + 0x2c]
add edi, eax
cmp edx, 0x7d0
ja 0x6b9d7b
mov r8, qword [rsp + 0x80]
cmp dword [r8], 0x7d0
nop dword [rax + rax]
ja 0x6b9d7b
mov dword [rsp + 0x2c], edi
dec edx
movsxd rcx, edx
shl rcx, 4
add rcx, 0x30
mov rax, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x88]
call sym.modernc.org_sqlite_lib._sqlite3Fts5MallocZero
test rax, rax
je 0x6b9da2
mov qword [rsp + 0x48], rax
mov edx, dword [rsp + 0x1c]
test edx, edx
sete dl
mov byte [rsp + 0x1a], dl
mov rcx, rax
mov dword [rax], 1
mov rsi, rcx
mov rdi, qword [rsp + 0x78]
mov edi, dword [rdi]
mov dword [rsi + 0x1c], edi
mov rsi, rcx
mov rdi, qword [rsp + 0x80]
mov edi, dword [rdi]
mov dword [rsi + 0x18], edi
mov esi, dword [rsp + 0x2c]
movsxd rdi, esi
mov r10, qword [rsp + 0xc0]
lea rbx, [rdi + r10]
lea rdi, [rcx + 8]
mov rax, qword [rsp + 0xb8]
mov rcx, rdi
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
movzx edx, al
mov esi, dword [rsp + 0x2c]
add edx, esi
movzx esi, byte [rsp + 0x1a]
movzx esi, sil
mov dword [rsp + 0x30], esi
mov rdi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x88]
mov r9, qword [rsp + 0x78]
mov rax, qword [rsp + 0xb8]
mov r10d, dword [rsp + 0xc8]
xor ebx, ebx
xor r11d, r11d
jmp 0x6b9de7
mov dword [rsp + 0x20], 0x10b
mov byte [rsp + 0x1b], 0
mov rdx, qword [rsp + 0xa0]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x20]
add rsp, 0xa8
pop rbp
ret
mov rcx, qword [rsp + 0xd8]
mov qword [rcx], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov byte [rsp + 0x1b], 0
mov rdx, qword [rsp + 0xa0]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x20]
add rsp, 0xa8
pop rbp
ret
inc ebx
mov r8, qword [rsp + 0x88]
mov r9, r15
mov r12, r8
mov r13d, dword [r8]
test r13d, r13d
jne 0x6b9f6b
mov r15, r9
nop dword [rax]
cmp dword [r9], ebx
jle 0x6b9f6b
mov dword [rsp + 0x28], ebx
movsxd r8, ebx
shl r8, 4
mov qword [rsp + 0x70], r8
lea r9, [r12 + 0xc]
mov qword [rsp + 0x68], r9
mov r13, r9
mov dword [r9], 0
lea r9, [r8 + rcx]
lea r9, [r9 + 0x20]
mov qword [rsp + 0x50], r9
cmp r10d, edx
jg 0x6b9e4c
mov dword [r12], 0x10b
jmp 0x6b9f40
mov qword [rsp + 0x58], r11
mov dword [rsp + 0x3c], edx
movsxd rsi, edx
lea rbx, [rsi + rdi]
mov rcx, r9
nop
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov edx, dword [rsp + 0x3c]
add edx, eax
mov dword [rsp + 0x2c], edx
movsxd rsi, edx
mov rdi, qword [rsp + 0xc0]
lea rbx, [rsi + rdi]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x68]
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov rdx, qword [rsp + 0x68]
mov rsi, rdx
mov edx, dword [rdx]
mov rdi, qword [rsp + 0x50]
mov r9d, dword [rsp + 0x2c]
add r9d, eax
mov dword [rsp + 0x2c], r9d
cmp dword [rdi], edx
jle 0x6b9ec3
mov rbx, qword [rsp + 0x88]
mov rdx, rbx
mov dword [rdx], 0x10b
jmp 0x6b9ecb
mov rbx, qword [rsp + 0x88]
movsxd rsi, dword [rsi]
imul rcx, rsi, 0x38
mov rax, qword [rsp + 0xb8]
call sym.modernc.org_sqlite_lib._sqlite3Fts5MallocZero
mov rdx, qword [rsp + 0x50]
mov qword [rdx + 8], rax
mov rdx, qword [rsp + 0x80]
mov r8d, dword [rdx]
mov r9, qword [rsp + 0x68]
sub r8d, dword [r9]
mov dword [rdx], r8d
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x48]
mov ebx, dword [rsp + 0x28]
mov esi, dword [rsp + 0x30]
mov rdi, qword [rsp + 0xc0]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x50]
mov r10d, dword [rsp + 0xc8]
mov r11, qword [rsp + 0x58]
mov r13, qword [rsp + 0x68]
mov r15, qword [rsp + 0x78]
mov edx, dword [rsp + 0x2c]
mov r12, qword [rsp + 0x88]
cmp dword [r12], 0
jne 0x6b9dda
mov r12, r9
mov r13d, dword [r13]
mov dword [r9 + 4], r13d
mov r9, qword [rsp + 0x68]
xor r13d, r13d
jmp 0x6ba000
mov rdi, qword [rsp + 0x80]
cmp dword [rdi], 0
je 0x6b9f84
test r13d, r13d
jne 0x6b9f84
mov dword [r8], 0x10b
test esi, esi
je 0x6b9f95
mov rbx, rcx
lea rsi, [r11 + 1]
mov qword [rcx + 0x10], rsi
jmp 0x6b9f98
mov rbx, rcx
mov rcx, r12
cmp dword [r12], 0
je 0x6b9fb1
call sym.modernc.org_sqlite_lib._fts5StructureRelease
mov rcx, qword [rsp + 0x88]
xor ebx, ebx
mov rax, rbx
jmp 0x6b9da2
mov r13d, dword [rsp + 0x24]
inc r13d
mov r12, qword [rsp + 0x50]
mov r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0xb8]
mov r10d, dword [rsp + 0xc8]
mov rdi, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
mov ebx, dword [rsp + 0x28]
mov esi, dword [rsp + 0x30]
mov r8, qword [rsp + 0x70]
mov r15, qword [rsp + 0x78]
nop word [rax + rax]
cmp dword [r9], r13d
jle 0x6ba253
mov dword [rsp + 0x24], r13d
mov r9, r12
movsxd r13, r13d
imul r13, r13, 0x38
add r13, qword [r12 + 8]
nop dword [rax]
cmp r10d, edx
jle 0x6ba23e
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x60], r11
mov dword [rsp + 0x38], edx
movsxd rsi, edx
lea rbx, [rsi + rdi]
mov rcx, r13
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov edx, dword [rsp + 0x38]
add edx, eax
mov dword [rsp + 0x2c], edx
movsxd rsi, edx
mov rdi, qword [rsp + 0xc0]
lea rbx, [rsi + rdi]
mov rcx, qword [rsp + 0x40]
lea rsi, [rcx + 4]
mov rax, qword [rsp + 0xb8]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov edx, dword [rsp + 0x2c]
add edx, eax
mov dword [rsp + 0x2c], edx
movsxd rsi, edx
mov rdi, qword [rsp + 0xc0]
lea rbx, [rsi + rdi]
mov rcx, qword [rsp + 0x40]
lea rsi, [rcx + 8]
mov rax, qword [rsp + 0xb8]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov edx, dword [rsp + 0x2c]
add edx, eax
mov esi, dword [rsp + 0x30]
test esi, esi
jne 0x6ba0c7
mov rdi, qword [rsp + 0x40]
mov r11, qword [rsp + 0x60]
jmp 0x6ba1e6
mov dword [rsp + 0x34], edx
movsxd rsi, edx
mov rdi, qword [rsp + 0xc0]
lea rbx, [rsi + rdi]
mov rcx, qword [rsp + 0x40]
lea rsi, [rcx + 0x10]
mov rax, qword [rsp + 0xb8]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
movzx edx, al
mov esi, dword [rsp + 0x34]
add edx, esi
mov dword [rsp + 0x2c], edx
movsxd rsi, edx
mov rdi, qword [rsp + 0xc0]
lea rbx, [rsi + rdi]
mov rcx, qword [rsp + 0x40]
lea rsi, [rcx + 0x18]
mov rax, qword [rsp + 0xb8]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
movzx edx, al
mov esi, dword [rsp + 0x2c]
add edx, esi
mov dword [rsp + 0x2c], edx
movsxd rsi, edx
mov rdi, qword [rsp + 0xc0]
lea rbx, [rsi + rdi]
mov rcx, qword [rsp + 0x40]
lea rsi, [rcx + 0x20]
mov rax, qword [rsp + 0xb8]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov edx, dword [rsp + 0x2c]
add edx, eax
mov dword [rsp + 0x2c], edx
movsxd rsi, edx
mov rdi, qword [rsp + 0xc0]
lea rbx, [rsi + rdi]
mov rcx, qword [rsp + 0x40]
lea rsi, [rcx + 0x28]
mov rax, qword [rsp + 0xb8]
mov rcx, rsi
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
movzx edx, al
mov esi, dword [rsp + 0x2c]
add edx, esi
mov dword [rsp + 0x2c], edx
movsxd rsi, edx
mov rdi, qword [rsp + 0xc0]
lea rbx, [rsi + rdi]
mov rcx, qword [rsp + 0x40]
lea rsi, [rcx + 0x30]
mov rax, qword [rsp + 0xb8]
mov rcx, rsi
nop
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
movzx edx, al
mov rsi, qword [rsp + 0x40]
mov rdi, rsi
mov r11, qword [rsi + 0x18]
mov esi, dword [rsp + 0x2c]
add edx, esi
mov rsi, qword [rsp + 0x60]
cmp rsi, r11
cmova r11, rsi
mov esi, dword [rdi + 8]
cmp dword [rdi + 4], esi
jle 0x6b9fb9
mov rsi, qword [rsp + 0x88]
mov dword [rsi], 0x10b
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x48]
mov ebx, dword [rsp + 0x28]
mov esi, dword [rsp + 0x30]
mov rdi, qword [rsp + 0xc0]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x50]
mov r10d, dword [rsp + 0xc8]
mov r13, qword [rsp + 0x88]
mov r15, qword [rsp + 0x78]
jmp 0x6ba260
mov r12, qword [rsp + 0x88]
mov r13, r12
mov dword [r12], 0x10b
jmp 0x6ba260
mov r9, r12
mov r13, qword [rsp + 0x88]
nop
test ebx, ebx
jle 0x6ba28a
lea r8, [r8 + rcx]
lea r8, [r8 + 0x10]
cmp dword [r8], 0
je 0x6ba28a
mov r8, qword [rsp + 0x68]
cmp dword [r8], 0
jne 0x6ba28a
mov r8, r13
mov dword [r13], 0x10b
jmp 0x6ba28d
mov r8, r13
mov r12, r15
mov r13d, dword [r15]
dec r13d
cmp ebx, r13d
jne 0x6ba2ae
cmp dword [r9], 0
nop
je 0x6ba2ae
mov r9, r8
mov dword [r8], 0x10b
jmp 0x6ba2b1
mov r9, r8
mov r15, r12
jmp 0x6b9dda
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
jmp sym.modernc.org_sqlite_lib._fts5StructureDecode