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

Disassembly:
lea r12, [rsp - 0x78]
cmp r12, qword [r14 + 0x10]
jbe 0x6d09a4
push rbp
mov rbp, rsp
sub rsp, 0xf0
movq qword [rsp + 0xe8], xmm15
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x110], rcx
mov byte [rsp + 0x2b], 0
mov ebx, 0x40
call sym.modernc.org_libc._TLS_.Alloc
lea rcx, [sym.modernc.org_sqlite_lib._fts5IndexIntegrityCheckSegment.deferwrap1]
mov qword [rsp + 0xa8], rcx
mov rcx, qword [rsp + 0x100]
mov qword [rsp + 0xb0], rcx
lea rdx, [rsp + 0xa8]
mov qword [rsp + 0xe8], rdx
mov byte [rsp + 0x2b], 1
mov rdx, qword [rsp + 0x108]
mov rdx, qword [rdx]
mov rdi, rdx
mov r8, rax
mov edx, dword [rdx + 0x88]
mov qword [r8], 0
mov r8, qword [rsp + 0x110]
mov r9, r8
mov r10d, dword [r8 + 4]
test r10d, r10d
je 0x6d02e9
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x90], rdi
cmp edx, 5
sete dl
lea rsi, [rax + 0x20]
movzx edx, dl
mov dword [rsp + 0x4c], edx
dec r10d
mov dword [rsp + 0x40], r10d
mov r8d, dword [r8 + 8]
mov dword [rsp + 0x48], r8d
movups xmmword [rsp + 0xb8], xmm15
movups xmmword [rsp + 0xc8], xmm15
movups xmmword [rsp + 0xd8], xmm15
mov r11, rdi
mov r12, qword [rdi + 8]
mov qword [rsp + 0xa0], r12
lea r12, [0x00728cc0]
mov qword [rsp + 0xb8], r12
lea r13, [rsp + 0xa0]
mov qword [rsp + 0xc0], r13
mov r11, qword [r11 + 0x10]
mov qword [rsp + 0x98], r11
mov qword [rsp + 0xc8], r12
lea r11, [rsp + 0x98]
mov qword [rsp + 0xd0], r11
mov r9d, dword [r9]
mov dword [rsp + 0x54], r9d
lea r9, [0x00728b40]
mov qword [rsp + 0xd8], r9
lea r9, [rsp + 0x54]
mov qword [rsp + 0xe0], r9
lea rbx, [rsp + 0xb8]
mov ecx, 3
mov rdi, rcx
mov rax, rsi
call sym.modernc.org_libc.VaList
mov rbx, qword [0x00a30e10]
add rbx, 0x9530
mov rcx, rax
mov rax, qword [rsp + 0x100]
call sym.modernc.org_sqlite_lib.Xsqlite3_mprintf
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x78]
mov rdi, rax
mov rax, qword [rsp + 0x100]
call sym.modernc.org_sqlite_lib._fts5IndexPrepareStmt
mov rdx, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x100]
mov rax, qword [rsp + 0x78]
mov r8d, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x40]
jmp 0x6d0320
mov byte [rsp + 0x2b], 0
mov rdx, qword [rsp + 0xe8]
mov rax, qword [rdx]
call rax
add rsp, 0xf0
pop rbp
ret
mov rdi, qword [rsp + 0x100]
mov r10, qword [rsp + 0x78]
mov rsi, rdi
mov r9d, eax
mov r8d, edx
mov rax, r10
mov rdx, rbx
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x40], r9d
mov rdi, rdx
cmp dword [rdx + 0x3c], 0
je 0x6d0337
xor ecx, ecx
jmp 0x6d036a
mov rbx, qword [rax]
mov rax, rsi
nop dword [rax]
call sym.modernc.org_sqlite_lib.Xsqlite3_step
cmp eax, 0x64
sete cl
mov rax, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x108]
mov r8d, dword [rsp + 0x48]
mov r9d, dword [rsp + 0x40]
test cl, cl
je 0x6d06b2
mov rbx, qword [rax]
mov rax, rsi
mov ecx, 1
nop dword [rax]
call sym.modernc.org_sqlite_lib.Xsqlite3_column_blob
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rdx]
mov ecx, 1
mov rax, qword [rsp + 0x100]
nop
call sym.modernc.org_sqlite_lib.Xsqlite3_column_bytes
mov dword [rsp + 0x30], eax
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rdx]
mov ecx, 2
mov rax, qword [rsp + 0x100]
nop
call sym.modernc.org_sqlite_lib.Xsqlite3_column_int
mov dword [rsp + 0x44], eax
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rdx]
mov ecx, 3
mov rax, qword [rsp + 0x100]
nop
call sym.modernc.org_sqlite_lib.Xsqlite3_column_int
mov rdx, qword [rsp + 0x110]
mov rsi, rdx
mov edi, dword [rsp + 0x44]
cmp dword [rdx + 4], edi
jle 0x6d040e
mov rbx, qword [rsp + 0x108]
mov eax, dword [rsp + 0x40]
mov edx, dword [rsp + 0x48]
jmp 0x6d0304
mov dword [rsp + 0x50], eax
movsxd rdx, dword [rdx]
shl rdx, 0x25
movsxd rsi, edi
lea rcx, [rsi + rdx]
mov rax, qword [rsp + 0x100]
mov rbx, qword [rsp + 0x108]
call sym.modernc.org_sqlite_lib._fts5LeafRead
test rax, rax
je 0x6d06a5
mov rbx, rax
mov ecx, dword [rax + 8]
mov edx, dword [rax + 0xc]
cmp edx, ecx
jl 0x6d049c
mov esi, dword [rsp + 0x30]
test esi, esi
jne 0x6d047d
mov rsi, qword [rsp + 0x90]
mov rdi, rsi
cmp dword [rsi + 0x88], 5
jne 0x6d0485
cmp edx, ecx
jne 0x6d0485
cmp ecx, 4
jne 0x6d0485
mov rdx, qword [rsp + 0x108]
jmp 0x6d05ad
mov rdi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x108]
mov rdx, rcx
mov dword [rcx + 0x3c], 0x10b
jmp 0x6d05ad
mov qword [rsp + 0x88], rbx
mov rax, qword [rsp + 0x100]
call sym.modernc.org_sqlite_lib._fts5LeafFirstTermOff
mov rcx, qword [rsp + 0x88]
mov rdx, rcx
mov rsi, qword [rdx]
mov rdi, rsi
movzx esi, byte [rsi]
movzx esi, si
shl esi, 8
lea r8, [rdi + 1]
movzx r8d, byte [r8]
add esi, r8d
movzx esi, si
cmp eax, esi
jle 0x6d04e5
nop dword [rax]
cmp dword [rdx + 0xc], eax
jg 0x6d04fc
mov rbx, qword [rsp + 0x108]
mov rdx, rbx
mov dword [rdx + 0x3c], 0x10b
jmp 0x6d0598
mov dword [rsp + 0x3c], eax
movsxd rdx, eax
lea rbx, [rdx + rdi]
mov rcx, qword [rsp + 0x78]
lea rdx, [rcx + 8]
mov qword [rsp + 0x80], rdx
mov rax, qword [rsp + 0x100]
mov rcx, rdx
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint32
mov rdx, qword [rsp + 0x80]
mov edx, dword [rdx]
mov esi, dword [rsp + 0x3c]
add esi, eax
mov edi, dword [rsp + 0x30]
cmp edi, edx
mov r8d, edi
cmovg edi, edx
test edi, edi
jle 0x6d0566
mov rcx, qword [rsp + 0x88]
mov r9, rcx
movsxd rsi, esi
add rsi, qword [r9]
movsxd rdi, edi
mov rax, qword [rsp + 0x58]
jmp 0x6d0960
xor eax, eax
sub edx, r8d
test eax, eax
cmove eax, edx
test eax, eax
jge 0x6d0588
mov rbx, qword [rsp + 0x108]
mov rdx, rbx
mov dword [rdx + 0x3c], 0x10b
jmp 0x6d0590
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x100]
call sym.modernc.org_sqlite_lib._fts5IntegrityCheckPgidx
mov rbx, qword [rsp + 0x88]
nop
mov rax, qword [rsp + 0x100]
call sym.modernc.org_sqlite_lib.Xsqlite3_free
mov rbx, qword [rsp + 0x108]
mov rcx, rbx
cmp dword [rcx + 0x3c], 0
jne 0x6d06fa
mov edi, dword [rsp + 0x40]
inc edi
mov esi, dword [rsp + 0x48]
inc esi
mov r8d, dword [rsp + 0x44]
lea edx, [r8 - 1]
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x110]
mov r8d, edx
call sym.modernc.org_sqlite_lib._fts5IndexIntegrityCheckEmpty
mov rbx, qword [rsp + 0x108]
mov rdx, rbx
cmp dword [rdx + 0x3c], 0
jne 0x6d06eb
mov edx, dword [rsp + 0x50]
test edx, edx
jne 0x6d062a
mov rdx, qword [rsp + 0x110]
mov rsi, rdx
mov edx, dword [rdx + 8]
jmp 0x6d0699
mov rdx, qword [rsp + 0x110]
mov edi, dword [rdx]
mov dword [rsp + 0x34], edi
mov rax, qword [rsp + 0x100]
xor ecx, ecx
mov esi, dword [rsp + 0x44]
call sym.modernc.org_sqlite_lib._fts5DlidxIterInit
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x100]
mov rbx, qword [rsp + 0x108]
mov r8d, dword [rsp + 0x34]
mov esi, dword [rsp + 0x44]
mov ecx, esi
xor edi, edi
jmp 0x6d0763
mov dword [rsp + 0x48], edi
mov rbx, rax
mov rax, rdx
nop dword [rax]
call sym.modernc.org_sqlite_lib._fts5DlidxIterFree
mov rbx, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x110]
mov edx, dword [rsp + 0x48]
mov eax, dword [rsp + 0x44]
nop dword [rax]
jmp 0x6d0304
mov rax, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x100]
mov rbx, qword [rax]
mov rax, rsi
call sym.modernc.org_sqlite_lib.Xsqlite3_finalize
mov rcx, qword [rsp + 0x108]
cmp dword [rcx + 0x3c], 0
jne 0x6d06ce
mov dword [rcx + 0x3c], eax
mov byte [rsp + 0x2b], 0
mov rdx, qword [rsp + 0xe8]
mov rax, qword [rdx]
nop
call rax
add rsp, 0xf0
pop rbp
ret
mov rax, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x100]
jmp 0x6d06b2
mov rax, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x100]
jmp 0x6d06b2
mov rax, qword [rsp + 0x100]
mov rbx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x68]
xor edi, edi
call sym.modernc.org_sqlite_lib._fts5DlidxIterNextR
mov rax, qword [rsp + 0x100]
mov rbx, qword [rsp + 0x108]
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x68]
mov esi, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x2c]
mov rax, rcx
mov ecx, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x100]
mov r8d, dword [rsp + 0x34]
mov esi, dword [rsp + 0x2c]
mov edi, dword [rsp + 0x38]
mov r9, rbx
cmp dword [r9 + 0x3c], 0
je 0x6d0775
mov r9d, 1
jmp 0x6d0782
lea r9, [rax + 8]
cmp dword [r9 + 0xc], 0
setne r9b
movzx r9d, r9b
test r9d, r9d
jne 0x6d0672
inc esi
jmp 0x6d08dc
mov qword [rsp + 0x88], r9
mov dword [rsp + 0x2c], edi
movsxd rsi, r8d
shl rsi, 0x25
movsxd r9, edi
lea rcx, [r9 + rsi]
mov rax, rdx
call sym.modernc.org_sqlite_lib._fts5DataRead
nop dword [rax + rax]
test rax, rax
je 0x6d0709
mov qword [rsp + 0x60], rax
mov rdx, qword [rax]
mov rsi, rdx
movzx edx, byte [rdx]
movzx edx, dx
shl edx, 8
lea rdi, [rsi + 1]
movzx edi, byte [rdi]
add edx, edi
movzx edx, dx
cmp dword [rax + 0xc], edx
jg 0x6d0805
mov rcx, qword [rsp + 0x108]
mov dword [rcx + 0x3c], 0x10b
nop dword [rax]
jmp 0x6d08a0
mov edi, dword [rsp + 0x4c]
test edi, edi
je 0x6d0815
test edx, edx
je 0x6d0896
movsxd rdx, edx
lea rbx, [rdx + rsi]
mov rcx, qword [rsp + 0x78]
lea rdx, [rcx + 0x10]
mov qword [rsp + 0x80], rdx
mov rsi, qword [rsp + 0x88]
mov rsi, qword [rsi + 0x18]
mov qword [rsp + 0x70], rsi
nop
mov rax, qword [rsp + 0x100]
mov rcx, rdx
call sym.modernc.org_sqlite_lib._sqlite3Fts5GetVarint
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx]
mov rsi, qword [rsp + 0x70]
nop
cmp rsi, rdx
jle 0x6d086b
mov ecx, dword [rsp + 0x4c]
jmp 0x6d0878
mov ecx, dword [rsp + 0x4c]
test ecx, ecx
jne 0x6d088c
cmp rsi, rdx
je 0x6d088c
mov rdx, qword [rsp + 0x108]
mov rsi, rdx
mov dword [rdx + 0x3c], 0x10b
jmp 0x6d08a0
mov rsi, qword [rsp + 0x108]
jmp 0x6d08a0
mov ecx, edi
mov rsi, qword [rsp + 0x108]
nop
mov rax, qword [rsp + 0x100]
mov rbx, qword [rsp + 0x60]
call sym.modernc.org_sqlite_lib.Xsqlite3_free
jmp 0x6d0709
mov esi, dword [rsp + 0x38]
inc esi
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x100]
mov rbx, qword [rsp + 0x108]
mov r8d, dword [rsp + 0x34]
mov dword [rsp + 0x38], esi
lea rdi, [rax + 8]
mov r9, rdi
mov edi, dword [rdi + 0x14]
cmp esi, edi
jge 0x6d0796
movsxd rdi, r8d
shl rdi, 0x25
movsxd r9, esi
lea rcx, [r9 + rdi]
mov rax, rdx
call sym.modernc.org_sqlite_lib._fts5DataRead
test rax, rax
je 0x6d08b8
mov rbx, rax
mov rcx, qword [rax]
mov rdx, rcx
movzx ecx, byte [rcx]
movzx ecx, cx
shl ecx, 8
inc rdx
movzx edx, byte [rdx]
add ecx, edx
movzx ecx, cx
test ecx, ecx
je 0x6d093d
mov rcx, qword [rsp + 0x108]
mov dword [rcx + 0x3c], 0x10b
nop
mov rax, qword [rsp + 0x100]
call sym.modernc.org_sqlite_lib.Xsqlite3_free
jmp 0x6d08b8
dec rdi
lea rsi, [r9 + 1]
lea rax, [r10 + 1]
nop dword [rax + rax]
test rdi, rdi
je 0x6d098f
mov r9, rsi
movzx esi, byte [rsi]
mov r10, rax
movzx r11d, byte [rax]
cmp r11b, sil
ja 0x6d0985
jae 0x6d0950
mov eax, 1
nop
jmp 0x6d0568
mov eax, 0xffffffff
jmp 0x6d0568
xor eax, eax
jmp 0x6d0568
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp sym.modernc.org_sqlite_lib._fts5IndexIntegrityCheckSegment