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

Disassembly:
lea r12, [rsp - 0x50]
cmp r12, qword [r14 + 0x10]
jbe 0x6d47a7
push rbp
mov rbp, rsp
sub rsp, 0xc8
movq qword [rsp + 0xc0], xmm15
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rbx
mov dword [rsp + 0xe8], ecx
mov qword [rsp + 0xf0], rdi
mov dword [rsp + 0xf8], esi
mov qword [rsp + 0x100], r8
mov byte [rsp + 0x37], 0
mov dword [rsp + 0x3c], 0
mov ebx, 0x20
call sym.modernc.org_libc._TLS_.Alloc
lea rcx, [sym.modernc.org_sqlite_lib._fts5FilterMethod.deferwrap1]
mov qword [rsp + 0xa0], rcx
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0xa8], rcx
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0xc0], rdx
mov byte [rsp + 0x37], 1
mov rbx, qword [rsp + 0xe0]
mov rdx, rbx
mov rdx, qword [rdx]
mov qword [rsp + 0x58], rdx
mov rsi, rdx
mov rdx, qword [rdx + 0x18]
mov rdi, rdx
mov r8, rax
mov rdx, qword [rdx + 0xc0]
mov qword [rax], 0
mov r9, rdi
cmp dword [rdi + 0x80], 0
jne 0x6d3f68
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x88], r9
mov qword [rsp + 0x50], rdx
mov rdi, rbx
cmp dword [rdi + 0x20], 0
je 0x6d3f12
mov rax, rcx
nop dword [rax]
call sym.modernc.org_sqlite_lib._fts5FreeCursorComponents
mov rbx, qword [rsp + 0xe0]
lea rcx, [rbx + 0x20]
mov rax, qword [rsp + 0xd8]
mov edi, 0x98
mov rbx, rcx
xor ecx, ecx
call sym.modernc.org_libc.Xmemset
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x88]
mov rdi, r9
lea r10, [rsi + 0x10]
mov qword [rsp + 0x80], r10
mov qword [r9 + 0xc0], r10
mov r9d, dword [rsp + 0xf8]
mov r11, qword [rsp + 0x100]
mov r12, qword [rsp + 0xf0]
xor eax, eax
xor r13d, r13d
xor r15d, r15d
xor eax, eax
mov qword [rsp + 0x70], rax
xor eax, eax
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [rsp + 0x68], rax
xor eax, eax
mov qword [rsp + 0x78], rax
xor eax, eax
jmp 0x6d3fc1
mov rbx, qword [0x00a30e10]
add rbx, 0x958b
mov rax, rcx
xor ecx, ecx
nop dword [rax + rax]
call sym.modernc.org_sqlite_lib.Xsqlite3_mprintf
mov rdx, qword [rsp + 0x58]
mov qword [rdx + 0x10], rax
mov dword [rsp + 0x3c], 1
mov byte [rsp + 0x37], 0
mov rdx, qword [rsp + 0xc0]
mov rsi, qword [rdx]
call rsi
mov eax, dword [rsp + 0x3c]
add rsp, 0xc8
pop rbp
ret
inc eax
mov qword [rsp + 0x68], rdx
mov rdx, qword [rsp + 0x50]
cmp r9d, eax
jle 0x6d41cb
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x44], eax
movsxd rdx, r13d
add rdx, r12
movsx rdx, byte [rdx]
mov dword [rsp + 0x4c], edx
inc r13d
mov dword [rsp + 0x40], r13d
cmp edx, 0x47
jg 0x6d402e
cmp edx, 0x3c
jne 0x6d4009
movsxd rdx, eax
lea rdx, [r11 + rdx*8]
mov rdx, qword [rdx]
mov qword [rsp + 0x60], rdx
mov rdx, qword [rsp + 0x68]
jmp 0x6d3fb5
cmp edx, 0x3d
jne 0x6d4024
movsxd rdx, eax
lea rdx, [r11 + rdx*8]
mov rdx, qword [rdx]
mov qword [rsp + 0x70], rdx
mov rdx, qword [rsp + 0x68]
jmp 0x6d3fb5
cmp edx, 0x47
jne 0x6d4056
jmp 0x6d40ab
cmp edx, 0x4c
je 0x6d40ab
cmp edx, 0x4d
je 0x6d4065
cmp edx, 0x72
jne 0x6d4056
movsxd rdx, eax
lea rdx, [r11 + rdx*8]
mov rdx, qword [rdx]
mov qword [rsp + 0x78], rdx
mov rdx, qword [rsp + 0x68]
jmp 0x6d3fb5
movsxd rdx, eax
lea rdx, [r11 + rdx*8]
mov rdx, qword [rdx]
jmp 0x6d3fb5
movsxd rdx, eax
lea rdx, [r11 + rdx*8]
mov rbx, qword [rdx]
mov rax, rcx
mov ecx, 1
call sym.modernc.org_sqlite_lib._sqlite3ValueText
nop dword [rax]
test rax, rax
jne 0x6d4092
mov rax, qword [0x00a30e10]
add rax, 0x688
mov rdx, qword [rsp + 0xf0]
mov r13d, dword [rsp + 0x40]
mov ecx, 1
xor ebx, ebx
jmp 0x6d464b
movsxd rdx, eax
lea rdx, [r11 + rdx*8]
mov rbx, qword [rdx]
mov rax, rcx
mov ecx, 1
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3ValueText
mov rdx, qword [rsp + 0xf0]
mov esi, dword [rsp + 0x40]
mov ecx, 1
xor ebx, ebx
jmp 0x6d4600
mov dword [rsp + 0x40], esi
test rax, rax
jne 0x6d40ec
mov eax, dword [rsp + 0x38]
jmp 0x6d4127
mov edx, dword [rsp + 0x4c]
cmp edx, 0x47
sete dl
movzx ecx, dl
mov edi, ebx
mov rsi, rax
mov r8, qword [rsp + 0x90]
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x88]
call sym.modernc.org_sqlite_lib._sqlite3Fts5ExprPattern
mov rdx, qword [rsp + 0xf0]
mov esi, dword [rsp + 0x40]
test eax, eax
jne 0x6d416d
mov rbx, qword [rsp + 0xe0]
lea rdx, [rbx + 0x40]
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsi]
mov rax, qword [rsp + 0xd8]
mov rbx, rdx
call sym.modernc.org_sqlite_lib._sqlite3Fts5ExprAnd
mov rdx, qword [rsp + 0x90]
mov qword [rdx], 0
mov rdx, qword [rsp + 0xf0]
mov esi, dword [rsp + 0x40]
test eax, eax
jne 0x6d459f
mov rcx, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
mov r9d, dword [rsp + 0xf8]
mov r10, qword [rsp + 0x80]
mov r11, qword [rsp + 0x100]
mov r12, rdx
mov r13d, dword [rsp + 0x40]
mov r15d, eax
mov rdx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x44]
jmp 0x6d3fb5
mov r11d, dword [rsp + 0xe8]
bt r11d, 7
setb r12b
movzx r12d, r12b
mov dword [rsp + 0x48], r12d
mov dword [rbx + 0x24], r12d
mov r13, qword [rsp + 0x70]
test r13, r13
mov rbx, qword [rsp + 0x60]
cmovne rbx, r13
mov r15, qword [rsp + 0x68]
cmovne r15, r13
mov qword [rsp + 0x68], r15
test r12d, r12d
je 0x6d4255
mov rax, rcx
movabs rcx, 0x7fffffffffffffff
call sym.modernc.org_sqlite_lib._fts5GetRowidLimit
mov rdx, qword [rsp + 0xe0]
mov qword [rdx + 0x28], rax
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x68]
movabs rcx, 0x8000000000000000
call sym.modernc.org_sqlite_lib._fts5GetRowidLimit
mov rdx, qword [rsp + 0xe0]
mov qword [rdx + 0x30], rax
jmp 0x6d429b
mov rax, rcx
movabs rcx, 0x7fffffffffffffff
call sym.modernc.org_sqlite_lib._fts5GetRowidLimit
mov rdx, qword [rsp + 0xe0]
mov qword [rdx + 0x30], rax
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x68]
movabs rcx, 0x8000000000000000
call sym.modernc.org_sqlite_lib._fts5GetRowidLimit
mov rdx, qword [rsp + 0xe0]
mov qword [rdx + 0x28], rax
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rcx + 0x20]
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._sqlite3Fts5IndexLoadConfig
test eax, eax
jne 0x6d459f
mov rbx, qword [rsp + 0x58]
mov rdx, rbx
mov rdx, qword [rdx + 0x38]
test rdx, rdx
je 0x6d435a
cmp dword [rdx + 0x24], 0
je 0x6d42fb
mov rcx, qword [rsp + 0xe0]
mov rsi, rcx
mov rdx, qword [rdx + 0x28]
mov qword [rsi + 0x30], rdx
mov rdx, rcx
mov rsi, rbx
mov rsi, qword [rsi + 0x38]
mov rsi, qword [rsi + 0x30]
mov qword [rdx + 0x28], rsi
jmp 0x6d4320
mov rcx, qword [rsp + 0xe0]
mov rsi, rcx
mov rdx, qword [rdx + 0x30]
mov qword [rsi + 0x30], rdx
mov rdx, rcx
mov rsi, rbx
mov rsi, qword [rsi + 0x38]
mov rsi, qword [rsi + 0x28]
mov qword [rdx + 0x28], rsi
mov rdx, rcx
mov dword [rdx + 0x20], 2
mov rdx, rcx
mov rsi, rbx
mov rsi, qword [rsi + 0x38]
mov rsi, qword [rsi + 0x40]
mov qword [rdx + 0x40], rsi
mov rax, qword [rsp + 0xd8]
mov edi, dword [rsp + 0x48]
call sym.modernc.org_sqlite_lib._fts5CursorFirst
mov rsi, qword [rsp + 0x88]
jmp 0x6d459f
mov rdi, qword [rsp + 0xe0]
mov rcx, rdi
cmp qword [rdi + 0x40], 0
jne 0x6d4512
mov rdx, qword [rsp + 0x88]
mov r8, rdx
cmp qword [rdx + 0x48], 0
je 0x6d447d
mov rdx, qword [rsp + 0x70]
test rdx, rdx
mov r9d, 5
mov r10d, 6
cmovne r9d, r10d
mov dword [rdi + 0x20], r9d
mov rdi, rcx
cmp dword [rcx + 0x20], 5
jne 0x6d43b9
cmp dword [rcx + 0x24], 0
setne r9b
movzx r9d, r9b
jmp 0x6d43bf
mov r9d, 2
mov rbx, qword [rbx + 0x28]
lea rdx, [rdi + 0x38]
mov rax, qword [rsp + 0xd8]
mov ecx, r9d
mov rsi, qword [rsp + 0x80]
mov rdi, rdx
nop dword [rax]
call sym.modernc.org_sqlite_lib._sqlite3Fts5StorageStmt
test eax, eax
jne 0x6d4470
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x6d4417
mov rdx, qword [rsp + 0xe0]
mov rbx, qword [rdx + 0x38]
mov rax, qword [rsp + 0xd8]
mov ecx, 1
call sym.modernc.org_sqlite_lib.Xsqlite3_bind_value
jmp 0x6d445b
mov rdx, qword [rsp + 0xe0]
mov rbx, qword [rdx + 0x38]
mov rdi, qword [rdx + 0x28]
mov rax, qword [rsp + 0xd8]
mov ecx, 1
call sym.modernc.org_sqlite_lib.Xsqlite3_bind_int64
mov rdx, qword [rsp + 0xe0]
mov rbx, qword [rdx + 0x38]
mov rdi, qword [rdx + 0x30]
mov rax, qword [rsp + 0xd8]
mov ecx, 2
call sym.modernc.org_sqlite_lib.Xsqlite3_bind_int64
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xe0]
call sym.modernc.org_sqlite_lib._fts5NextMethod
mov rsi, qword [rsp + 0x88]
jmp 0x6d459f
movups xmmword [rsp + 0xb0], xmm15
mov rax, qword [rsp + 0x90]
lea rdx, [rax + 0x10]
mov r8, qword [r8 + 0x10]
mov qword [rsp + 0x98], r8
lea r8, [0x00728cc0]
mov qword [rsp + 0xb0], r8
lea r8, [rsp + 0x98]
mov qword [rsp + 0xb8], r8
lea rbx, [rsp + 0xb0]
mov ecx, 1
mov rdi, rcx
mov rax, rdx
call sym.modernc.org_libc.VaList
mov rbx, qword [0x00a30e10]
add rbx, 0x9654
mov rcx, rax
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib.Xsqlite3_mprintf
mov rdx, qword [rsp + 0x88]
mov rsi, rdx
mov rdx, qword [rdx + 0xc0]
mov qword [rdx], rax
mov eax, 1
jmp 0x6d459f
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x78]
call sym.modernc.org_sqlite_lib._fts5CursorParseRank
test eax, eax
jne 0x6d4597
mov edx, dword [rsp + 0xe8]
bt edx, 5
setb dl
movzx edx, dl
test edx, edx
je 0x6d456f
mov rcx, qword [rsp + 0xe0]
mov rdx, rcx
mov dword [rdx + 0x20], 4
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x48]
call sym.modernc.org_sqlite_lib._fts5CursorFirstSorted
jmp 0x6d4597
mov rcx, qword [rsp + 0xe0]
mov rdx, rcx
mov dword [rdx + 0x20], 1
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x48]
call sym.modernc.org_sqlite_lib._fts5CursorFirst
mov rsi, qword [rsp + 0x88]
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0x90]
mov rbx, qword [rcx]
mov rax, qword [rsp + 0xd8]
call sym.modernc.org_sqlite_lib._sqlite3Fts5ExprFree
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x50]
mov qword [rcx + 0xc0], rdx
mov ecx, dword [rsp + 0x38]
mov dword [rsp + 0x3c], ecx
mov byte [rsp + 0x37], 0
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rdx]
call rcx
mov eax, dword [rsp + 0x3c]
add rsp, 0xc8
pop rbp
ret
mov ecx, r10d
mov esi, r11d
mov ebx, r9d
nop
test cl, cl
je 0x6d40dd
lea r9d, [rbx + rbx*4]
movsxd r10, esi
add r10, rdx
movsx r10, byte [r10]
lea r11d, [rsi + 1]
movsxd r12, r11d
add r12, rdx
movsx r12, byte [r12]
lea r9d, [r10 + r9*2]
lea r9d, [r9 - 0x30]
cmp r12d, 0x30
jl 0x6d463d
cmp r12d, 0x39
setle r10b
jmp 0x6d45f6
xor r10d, r10d
jmp 0x6d45f6
mov ecx, r11d
mov r13d, r12d
mov ebx, r10d
test cl, cl
je 0x6d4689
lea r10d, [rbx + rbx*4]
movsxd r11, r13d
add r11, rdx
movsx r11, byte [r11]
lea r12d, [r13 + 1]
movsxd r13, r12d
add r13, rdx
movsx r13, byte [r13]
lea r10d, [r11 + r10*2]
lea r10d, [r10 - 0x30]
cmp r13d, 0x30
jl 0x6d4684
cmp r13d, 0x39
setle r11b
jmp 0x6d4642
xor r11d, r11d
jmp 0x6d4642
mov rsi, rax
movsx r10, byte [rax]
cmp r10d, 0x2a
je 0x6d4772
mov dword [rsp + 0x40], r13d
mov rax, qword [rsp + 0xd8]
xor ecx, ecx
mov edi, ebx
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
call sym.modernc.org_sqlite_lib._sqlite3Fts5ExprNew
test eax, eax
je 0x6d46d6
mov rsi, qword [rsp + 0x90]
jmp 0x6d470f
mov rbx, qword [rsp + 0xe0]
lea rdx, [rbx + 0x40]
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsi]
mov rax, qword [rsp + 0xd8]
mov rbx, rdx
call sym.modernc.org_sqlite_lib._sqlite3Fts5ExprAnd
mov rdx, qword [rsp + 0x90]
mov rsi, rdx
mov qword [rdx], 0
test eax, eax
jne 0x6d459f
mov rcx, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
mov r9d, dword [rsp + 0xf8]
mov r10, qword [rsp + 0x80]
mov r11, qword [rsp + 0x100]
mov r12, qword [rsp + 0xf0]
mov r13d, dword [rsp + 0x40]
mov r15d, eax
mov rdx, qword [rsp + 0x68]
mov eax, dword [rsp + 0x44]
jmp 0x6d3fb5
lea rdi, [rsi + 1]
mov rax, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0xe0]
call sym.modernc.org_sqlite_lib._fts5SpecialMatch
jmp 0x6d459f
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov dword [rsp + 0x18], ecx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], r8
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 esi, dword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
jmp sym.modernc.org_sqlite_lib._fts5FilterMethod