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

Disassembly:
lea r12, [rsp - 0x58]
cmp r12, qword [r14 + 0x10]
jbe 0x6b4d05
push rbp
mov rbp, rsp
sub rsp, 0xd0
movq qword [rsp + 0xc8], xmm15
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rbx
mov dword [rsp + 0xf0], ecx
mov qword [rsp + 0xf8], rdi
mov byte [rsp + 0x37], 0
mov dword [rsp + 0x38], 0
mov ebx, 0x20
call sym.modernc.org_libc._TLS_.Alloc
mov qword [rsp + 0x68], rax
lea rcx, [sym.modernc.org_sqlite_lib._sqlite3Fts5ExprClonePhrase.deferwrap1]
mov qword [rsp + 0xb8], rcx
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0xc0], rcx
lea rdx, [rsp + 0xb8]
mov qword [rsp + 0xc8], rdx
mov byte [rsp + 0x37], 1
mov rbx, rax
mov dword [rax], 0
lea rdx, [rbx + 8]
mov qword [rsp + 0x90], rdx
mov rsi, rdx
movups xmmword [rdx], xmm15
mov dword [rdx + 0x10], 0
mov edx, dword [rsp + 0xf0]
nop dword [rax]
test edx, edx
jge 0x6b478e
mov r11, qword [rsp + 0xe8]
jmp 0x6b479f
mov r10, qword [rsp + 0xe8]
mov r11, r10
cmp dword [r10 + 0x1c], edx
jg 0x6b47af
mov r10, rbx
mov dword [r10], 0x19
xor eax, eax
xor edx, edx
jmp 0x6b47f4
movsxd rdx, edx
shl rdx, 3
add rdx, qword [r10 + 0x20]
mov rdx, qword [rdx]
mov qword [rsp + 0x40], rdx
mov rax, rcx
mov ecx, 0x28
call sym.modernc.org_sqlite_lib._sqlite3Fts5MallocZero
mov rcx, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x90]
mov r11, qword [rsp + 0xe8]
mov rdx, rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rax
mov r10, rbx
cmp dword [r10], 0
jne 0x6b4845
mov rax, rcx
mov ecx, 8
call sym.modernc.org_sqlite_lib._sqlite3Fts5MallocZero
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov qword [rdx + 0x20], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xe0]
mov rdx, rbx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x90]
mov r11, qword [rsp + 0xe8]
mov r10, rbx
cmp dword [r10], 0
jne 0x6b488c
mov rax, rcx
mov ecx, 0x38
call sym.modernc.org_sqlite_lib._sqlite3Fts5MallocZero
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov qword [rdx + 0x10], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xe0]
mov rdx, rbx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x90]
mov r11, qword [rsp + 0xe8]
mov r10, rbx
cmp dword [r10], 0
jne 0x6b48da
mov rax, rcx
mov ecx, 0x28
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3Fts5MallocZero
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
mov rdx, qword [rdx + 0x10]
mov qword [rdx + 0x20], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xe0]
mov rdx, rbx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x90]
mov r11, qword [rsp + 0xe8]
mov r10, rbx
cmp dword [r10], 0
jne 0x6b49cb
test rax, rax
je 0x6b49cb
mov r10, rax
mov r12, qword [rax]
mov r12, qword [r12 + 0x20]
mov r12, qword [r12 + 8]
test r12, r12
je 0x6b49ce
mov qword [rsp + 0x50], r12
mov esi, dword [r12]
dec esi
movsxd rsi, esi
shl rsi, 2
mov qword [rsp + 0x88], rsi
lea rdi, [rsi + 8]
mov qword [rsp + 0x80], rdi
mov rax, rcx
mov rcx, rdi
call sym.modernc.org_sqlite_lib._sqlite3Fts5MallocZero
test rax, rax
je 0x6b4990
nop
mov r10, qword [rsp + 0x88]
cmp r10, 0xfffffffffffffff8
je 0x6b4990
movabs rbx, 0x3ffffffffffff
mov rdx, qword [rsp + 0x80]
cmp rbx, rdx
jb 0x6b4ced
mov r10, rax
test byte [r10], al
mov rbx, qword [rsp + 0x50]
test byte [rbx], al
cmp rbx, r10
je 0x6b4990
mov qword [rsp + 0x58], rax
mov rax, r10
mov rcx, rdx
call sym.runtime.memmove
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov r10, rbx
mov r10, qword [r10 + 0x10]
mov r10, qword [r10 + 0x20]
mov qword [r10 + 8], rax
mov rcx, qword [rsp + 0xe0]
mov rdx, rbx
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x90]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0xe8]
jmp 0x6b49ce
mov r10, rax
mov r12, rbx
cmp dword [r12], 0
jne 0x6b4a18
mov r12, r10
cmp dword [r10 + 0x18], 0
je 0x6b49f7
mov r10, rsi
mov r13, r11
mov r11, qword [r11 + 8]
mov qword [rsi + 8], r11
xor eax, eax
jmp 0x6b4bc8
mov rax, rcx
mov ecx, 0x48
nop
call sym.modernc.org_sqlite_lib._sqlite3Fts5MallocZero
mov rdx, qword [rsp + 0x90]
mov rsi, rdx
mov qword [rdx], rax
jmp 0x6b4b94
mov rdi, rbx
cmp dword [rbx], 0
nop
jne 0x6b4b38
mov r8, rsi
cmp qword [rsi], 0
je 0x6b4b38
mov rax, rdx
mov rcx, r11
mov rbx, qword [r11]
mov qword [rdx], rbx
mov rbx, rax
mov rcx, qword [rcx + 8]
mov qword [rax + 8], rcx
mov rax, rbx
mov dword [rbx + 0x1c], 1
mov rcx, rax
mov rax, qword [rax + 0x20]
mov rbx, r8
mov rsi, qword [r8]
mov qword [rax], rsi
mov rax, rcx
mov rcx, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x20]
add rcx, 0x18
mov rsi, rbx
mov rbx, qword [rbx]
mov qword [rcx], rbx
mov rcx, rax
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
mov dword [rax + 0x10], 1
mov rax, qword [rsi]
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
mov qword [rax], rcx
mov rax, r10
cmp dword [r10 + 0x18], 1
jne 0x6b4af8
add rax, 0x20
cmp qword [rax + 0x20], 0
jne 0x6b4af8
movzx eax, byte [rax + 1]
test eax, eax
jne 0x6b4af8
mov rax, rbx
mov rcx, qword [rbx + 0x10]
mov dword [rcx], 4
lea rcx, [0x00737480]
mov qword [rsp + 0xa8], rcx
lea rcx, sym.modernc.org_sqlite_lib._fts5ExprNodeNext_TERM
mov qword [rsp + 0xb0], rcx
mov rcx, rax
mov rax, qword [rax + 0x10]
mov rbx, qword [rsp + 0xb0]
mov qword [rax + 0x10], rbx
jmp 0x6b4b64
mov rax, rbx
mov rcx, qword [rbx + 0x10]
mov dword [rcx], 9
lea rcx, [0x00737480]
mov qword [rsp + 0x98], rcx
lea rcx, sym.modernc.org_sqlite_lib._fts5ExprNodeNext_STRING
mov qword [rsp + 0xa0], rcx
mov rcx, rax
mov rax, qword [rax + 0x10]
mov rbx, qword [rsp + 0xa0]
mov qword [rax + 0x10], rbx
jmp 0x6b4b64
mov rax, rcx
mov rbx, rdx
nop
call sym.modernc.org_sqlite_lib._sqlite3Fts5ExprFree
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rcx]
mov rax, qword [rsp + 0xe0]
call sym.modernc.org_sqlite_lib._fts5ExprPhraseFree
mov rdi, qword [rsp + 0x68]
xor ecx, ecx
mov rax, qword [rsp + 0xf8]
mov qword [rax], rcx
mov eax, dword [rdi]
mov dword [rsp + 0x38], eax
mov byte [rsp + 0x37], 0
mov rdx, qword [rsp + 0xc8]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x38]
add rsp, 0xd0
pop rbp
ret
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x68]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0xe8]
jmp 0x6b4a18
inc eax
mov rbx, r11
mov r10, qword [rsp + 0x90]
mov r12, r15
mov r11, rbx
cmp dword [rbx], 0
jne 0x6b4c4d
mov r15, r12
cmp dword [r12 + 0x18], eax
jle 0x6b4c50
mov dword [rsp + 0x3c], eax
movsxd r12, eax
lea r12, [r12 + r12*4]
mov qword [rsp + 0x78], r12
lea rbx, [r15 + r12*8]
lea rbx, [rbx + 0x20]
mov qword [rsp + 0x60], rbx
mov rsi, rbx
xor edi, edi
nop dword [rax]
jmp 0x6b4cd2
mov r8, r11
mov r11, r8
cmp dword [r8], 0
jne 0x6b4c45
mov rbx, r10
mov r10, qword [r10]
lea r10, [r10 + r12*8]
lea r10, [r10 + 0x20]
mov rdi, rsi
movzx esi, byte [rsi]
mov byte [r10], sil
mov r10, rbx
mov r10, qword [r10]
lea r10, [r10 + r12*8]
lea r10, [r10 + 0x20]
movzx r12d, byte [rdi + 1]
mov byte [r10 + 1], r12b
nop
jmp 0x6b4bb8
mov rbx, r10
jmp 0x6b4bb8
mov r15, r12
mov rsi, r10
jmp 0x6b4b94
mov qword [rsp + 0x70], rbx
mov r11, qword [rbx + 8]
mov esi, dword [rbx + 0x14]
mov rax, rcx
mov rbx, r10
mov ecx, edi
mov rdi, r11
xor r8d, r8d
mov r9d, r8d
call sym.modernc.org_sqlite_lib._fts5ParseTokenize
mov r11, qword [rsp + 0x68]
mov rdx, r11
mov dword [rdx], eax
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rdx + 0x20]
mov rax, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0x90]
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x60]
mov r10, qword [rsp + 0x90]
mov r12, qword [rsp + 0x78]
mov r13, qword [rsp + 0xe8]
mov r15, qword [rsp + 0x40]
mov edi, 1
test rbx, rbx
je 0x6b4c05
mov r8, r11
cmp dword [r11], 0
je 0x6b4c58
jmp 0x6b4c08
call sym.runtime.panicSlice3AlenU
nop
call sym.runtime.deferreturn
mov eax, dword [rsp + 0x38]
add rsp, 0xd0
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov qword [rsp + 0x20], rdi
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]
jmp sym.modernc.org_sqlite_lib._sqlite3Fts5ExprClonePhrase