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

Disassembly:
lea r12, [rsp - 0xf0]
cmp r12, qword [r14 + 0x10]
jbe 0x697e84
push rbp
mov rbp, rsp
sub rsp, 0x168
movq qword [rsp + 0x160], xmm15
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], rbx
mov qword [rsp + 0x188], rcx
mov dword [rsp + 0x190], edi
mov qword [rsp + 0x198], rsi
mov qword [rsp + 0x1a0], r8
mov qword [rsp + 0x1a8], r9
mov dword [rsp + 0x1b0], r10d
mov byte [rsp + 0x33], 0
mov dword [rsp + 0x38], 0
mov ebx, 0x20
call sym.modernc.org_libc._TLS_.Alloc
lea rcx, [sym.modernc.org_sqlite_lib._rtreeInit.deferwrap1]
mov qword [rsp + 0x120], rcx
mov rcx, qword [rsp + 0x178]
mov qword [rsp + 0x128], rcx
lea rdx, [rsp + 0x120]
mov qword [rsp + 0x160], rdx
mov byte [rsp + 0x33], 1
movups xmmword [rsp + 0x80], xmm15
movups xmmword [rsp + 0x88], xmm15
movups xmmword [rsp + 0x98], xmm15
mov rdx, qword [0x00a30e10]
add rdx, 0x6fc5
mov qword [rsp + 0x88], rdx
mov rdx, qword [0x00a30e10]
add rdx, 0x6ff0
mov qword [rsp + 0x90], rdx
mov rdx, qword [0x00a30e10]
add rdx, 0x7013
mov qword [rsp + 0x98], rdx
mov rdx, qword [0x00a30e10]
add rdx, 0x7037
mov qword [rsp + 0xa0], rdx
mov edx, dword [rsp + 0x190]
lea esi, [rdx - 6]
cmp esi, 0x61
ja 0x697374
lea rdx, [0x00728b40]
mov qword [rsp + 0x150], rdx
lea rsi, [0x007c98e0]
mov qword [rsp + 0x158], rsi
add rax, 8
mov qword [rsp + 0xe0], rax
lea rbx, [rsp + 0x150]
mov ecx, 1
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rbx, qword [rsp + 0x180]
mov ecx, 1
mov rdi, rax
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib.Xsqlite3_vtab_config
mov rax, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x180]
mov ecx, 2
xor edi, edi
call sym.modernc.org_sqlite_lib.Xsqlite3_vtab_config
mov rdx, qword [rsp + 0x198]
lea rsi, [rdx + 8]
mov r8, rsi
mov rsi, qword [rsi]
test rsi, rsi
jne 0x69736d
xor eax, eax
jmp 0x69744b
xor eax, eax
jmp 0x697443
movups xmmword [rsp + 0x150], xmm15
cmp edx, 6
setge dl
movzx edx, dl
add edx, 2
movsxd rdx, edx
cmp rdx, 5
jae 0x69742f
add rax, 8
mov rdx, qword [rsp + rdx*8 + 0x80]
mov qword [rsp + 0xa8], rdx
lea rdx, [0x00728cc0]
mov qword [rsp + 0x150], rdx
lea rdx, [rsp + 0xa8]
mov qword [rsp + 0x158], rdx
lea rbx, [rsp + 0x150]
mov ecx, 1
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rbx, qword [0x00a30e10]
add rbx, 0x1265
mov rcx, rax
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib.Xsqlite3_mprintf
mov rdx, qword [rsp + 0x1a8]
mov qword [rdx], rax
mov dword [rsp + 0x38], 1
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0x160]
mov rsi, qword [rdx]
nop
call rsi
mov eax, dword [rsp + 0x38]
add rsp, 0x168
pop rbp
ret
mov rax, rdx
mov ecx, 5
call sym.runtime.panicIndex
lea rsi, [rcx + 1]
inc rax
mov rcx, rsi
cmp byte [rsi], 0
jne 0x69743c
mov qword [rsp + 0xd8], r8
lea rcx, [rdx + 0x10]
mov qword [rsp + 0xd0], rcx
mov rsi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x697471
xor ebx, ebx
jmp 0x697e62
xor ecx, ecx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rcx
movsxd rdx, eax
mov qword [rsp + 0xc8], rdx
shl ecx, 1
movsxd rcx, ecx
lea rbx, [rcx + rdx]
lea rbx, [rbx + 0x3d0]
mov qword [rsp + 0xc0], rbx
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib.Xsqlite3_malloc64
test rax, rax
je 0x6977db
mov qword [rsp + 0x70], rax
mov rbx, rax
xor ecx, ecx
mov rdi, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x178]
call sym.modernc.org_libc.Xmemset
mov rdx, qword [rsp + 0x70]
mov rsi, rdx
mov dword [rdx + 0x48], 1
mov rdx, rsi
lea r8, [0x009bdc80]
mov qword [rsi], r8
mov rsi, rdx
lea r8, [rsi + 0x3c8]
mov qword [rdx + 0x30], r8
mov rdx, rsi
mov r8, qword [rsp + 0x60]
inc r8d
movsxd r8, r8d
add r8, qword [rsi + 0x30]
mov qword [rsi + 0x38], r8
mov rsi, rdx
mov r8, qword [rsp + 0x58]
lea r9d, [r8 + 1]
movsxd r9, r9d
add r9, qword [rdx + 0x38]
mov qword [rdx + 0x40], r9
mov rdx, rsi
mov r9, qword [rsp + 0x188]
test r9, r9
setne r9b
mov byte [rsp + 0x32], r9b
mov byte [rsi + 0x26], r9b
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x6975b3
movabs rbx, 0x3ffffffffffff
nop
cmp rbx, rcx
jb 0x697e53
mov rsi, rdx
mov rax, qword [rdx + 0x30]
mov rdi, qword [rsp + 0xd8]
mov r10, rdi
mov rdi, qword [rdi]
test byte [rax], al
test byte [rdi], al
cmp rdi, rax
je 0x6975c8
mov rbx, rdi
call sym.runtime.memmove
movabs rbx, 0x3ffffffffffff
mov rsi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x58]
movzx r9d, byte [rsp + 0x32]
mov r10, qword [rsp + 0xd8]
jmp 0x6975c8
movabs rbx, 0x3ffffffffffff
mov rsi, rdx
mov r10, qword [rsp + 0xd8]
movsxd rdx, r8d
test rdx, rdx
je 0x697642
cmp rbx, rdx
jb 0x697e4e
mov rdi, rsi
mov rax, qword [rsi + 0x38]
mov rsi, qword [rsp + 0xd0]
mov r11, rsi
mov rsi, qword [rsi]
test byte [rax], al
test byte [rsi], al
cmp rsi, rax
je 0x69763b
mov qword [rsp + 0x78], rdx
mov rbx, rsi
mov rcx, rdx
call sym.runtime.memmove
mov rdx, qword [rsp + 0x78]
test rdx, rdx
movabs rbx, 0x3ffffffffffff
mov rdi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x58]
movzx r9d, byte [rsp + 0x32]
mov r10, qword [rsp + 0xd8]
mov r11, qword [rsp + 0xd0]
jmp 0x69764d
test rdx, rdx
nop
jmp 0x69764d
mov rdi, rsi
mov r11, qword [rsp + 0xd0]
je 0x697698
cmp rbx, rdx
jb 0x697e49
mov rsi, rdi
mov rax, qword [rdi + 0x40]
mov rdi, r11
mov rbx, qword [r11]
test byte [rax], al
test byte [rbx], al
cmp rbx, rax
je 0x69769e
mov rcx, rdx
call sym.runtime.memmove
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xd0]
mov r8, qword [rsp + 0x58]
movzx r9d, byte [rsp + 0x32]
mov r10, qword [rsp + 0xd8]
jmp 0x69769e
mov rsi, rdi
mov rdi, r11
movsxd rdx, r8d
add rdx, qword [rsi + 0x40]
mov rsi, qword [0x00a30e10]
add rsi, 0x705c
test byte [rdx], al
test byte [rsi], al
cmp rsi, rdx
je 0x6976ca
mov r8d, dword [rsi]
movzx esi, word [rsi + 4]
mov dword [rdx], r8d
mov word [rdx + 4], si
mov rax, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x180]
call sym.modernc.org_sqlite_lib.Xsqlite3_str_new
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x198]
lea rdx, [rcx + 0x18]
mov qword [rsp + 0xb8], rdx
mov rbx, qword [rdx]
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib._rtreeTokenLength
movups xmmword [rsp + 0x130], xmm15
movups xmmword [rsp + 0x140], xmm15
mov dword [rsp + 0x4c], eax
lea rcx, [0x00728b40]
mov qword [rsp + 0x130], rcx
lea rdx, [rsp + 0x4c]
mov qword [rsp + 0x138], rdx
mov rdx, qword [rsp + 0xb8]
mov rdx, qword [rdx]
mov qword [rsp + 0x118], rdx
lea rdx, [0x00728cc0]
mov qword [rsp + 0x140], rdx
lea rsi, [rsp + 0x118]
mov qword [rsp + 0x148], rsi
mov rax, qword [rsp + 0xe0]
lea rbx, [rsp + 0x130]
mov edi, 2
mov rcx, rdi
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x7062
movzx edx, byte [rsp + 0x32]
movzx edx, dl
mov dword [rsp + 0x40], edx
mov rbx, qword [rsp + 0x68]
mov rdi, rax
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib.Xsqlite3_str_vappendf
mov rcx, qword [rsp + 0x198]
mov rax, qword [rsp + 0x178]
mov rdx, qword [rsp + 0x70]
mov esi, dword [rsp + 0x190]
mov ebx, 4
jmp 0x697824
mov dword [rsp + 0x38], 7
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0x160]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x38]
add rsp, 0x168
pop rbp
ret
mov ebx, dword [rsp + 0x3c]
inc ebx
mov rcx, qword [rsp + 0x198]
mov rax, qword [rsp + 0x178]
mov rdx, qword [rsp + 0x70]
mov esi, dword [rsp + 0x190]
mov dword [rsp + 0x3c], ebx
cmp esi, ebx
jle 0x6979f7
movsxd r8, ebx
lea r8, [rcx + r8*8]
mov r8, qword [r8]
mov r9, r8
movsx r8, byte [r8]
cmp r8d, 0x2b
je 0x697936
movzx r10d, byte [rdx + 0x29]
test r10d, r10d
jne 0x6979f7
mov qword [rsp + 0xb8], r9
movzx ecx, byte [rdx + 0x25]
inc ecx
mov byte [rdx + 0x25], cl
mov rbx, r9
call sym.modernc.org_sqlite_lib._rtreeTokenLength
mov ecx, dword [rsp + 0x40]
movsxd rdx, ecx
mov qword [rsp + 0xb0], rdx
movups xmmword [rsp + 0x130], xmm15
movups xmmword [rsp + 0x140], xmm15
mov dword [rsp + 0x44], eax
lea rsi, [0x00728b40]
mov qword [rsp + 0x130], rsi
lea rdi, [rsp + 0x44]
mov qword [rsp + 0x138], rdi
mov rdi, qword [rsp + 0xb8]
mov qword [rsp + 0x108], rdi
lea rdi, [0x00728cc0]
mov qword [rsp + 0x140], rdi
lea r8, [rsp + 0x108]
mov qword [rsp + 0x148], r8
mov rax, qword [rsp + 0xe0]
lea rbx, [rsp + 0x130]
mov ecx, 2
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rcx, qword [rsp + 0xb0]
cmp rcx, 2
jae 0x697e3c
lea rdx, [0x00a30f10]
mov rcx, qword [rdx + rcx*8]
mov rbx, qword [rsp + 0x68]
mov rdi, rax
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib.Xsqlite3_str_vappendf
jmp 0x697802
movzx esi, byte [rdx + 0x29]
inc esi
mov byte [rdx + 0x29], sil
lea rbx, [r9 + 1]
mov qword [rsp + 0xb8], rbx
call sym.modernc.org_sqlite_lib._rtreeTokenLength
movups xmmword [rsp + 0x130], xmm15
movups xmmword [rsp + 0x140], xmm15
mov dword [rsp + 0x48], eax
lea rcx, [0x00728b40]
mov qword [rsp + 0x130], rcx
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x138], rdx
mov rdx, qword [rsp + 0xb8]
mov qword [rsp + 0x110], rdx
lea rdx, [0x00728cc0]
mov qword [rsp + 0x140], rdx
lea rsi, [rsp + 0x110]
mov qword [rsp + 0x148], rsi
mov rax, qword [rsp + 0xe0]
lea rbx, [rsp + 0x130]
mov edi, 2
mov rcx, rdi
call sym.modernc.org_libc.VaList
mov rcx, qword [0x00a30e10]
add rcx, 0x707a
mov rbx, qword [rsp + 0x68]
mov rdi, rax
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib.Xsqlite3_str_vappendf
jmp 0x697802
mov rcx, qword [0x00a30e10]
add rcx, 0x7095
mov rbx, qword [rsp + 0x68]
xor edi, edi
call sym.modernc.org_sqlite_lib.Xsqlite3_str_vappendf
mov rax, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x68]
nop
call sym.modernc.org_sqlite_lib.Xsqlite3_str_finish
mov qword [rsp + 0x50], rax
test rax, rax
je 0x697b90
mov edx, dword [rsp + 0x190]
mov esi, dword [rsp + 0x3c]
nop
cmp edx, esi
jle 0x697ad3
movups xmmword [rsp + 0x150], xmm15
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x100], rdx
lea rdx, [0x00728cc0]
mov qword [rsp + 0x150], rdx
lea rsi, [rsp + 0x100]
mov qword [rsp + 0x158], rsi
mov rax, qword [rsp + 0xe0]
lea rbx, [rsp + 0x150]
mov ecx, 1
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rbx, qword [0x00a30e10]
add rbx, 0x1265
mov rcx, rax
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib.Xsqlite3_mprintf
mov rdx, qword [rsp + 0x1a8]
mov rsi, rdx
mov qword [rdx], rax
mov eax, 1
jmp 0x697b95
mov rbx, qword [rsp + 0x180]
mov rcx, rax
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib.Xsqlite3_declare_vtab
test eax, eax
je 0x697b86
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x180]
call sym.modernc.org_sqlite_lib.Xsqlite3_errmsg
movups xmmword [rsp + 0x150], xmm15
mov qword [rsp + 0xf8], rax
lea rcx, [0x00728cc0]
mov qword [rsp + 0x150], rcx
lea rdx, [rsp + 0xf8]
mov qword [rsp + 0x158], rdx
mov rax, qword [rsp + 0xe0]
lea rbx, [rsp + 0x150]
mov edi, 1
mov rcx, rdi
call sym.modernc.org_libc.VaList
mov rbx, qword [0x00a30e10]
add rbx, 0x1265
mov rcx, rax
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib.Xsqlite3_mprintf
mov rcx, qword [rsp + 0x1a8]
mov qword [rcx], rax
mov eax, dword [rsp + 0x34]
mov rsi, qword [rsp + 0x1a8]
jmp 0x697b95
mov eax, 7
mov dword [rsp + 0x34], eax
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib.Xsqlite3_free
mov ecx, dword [rsp + 0x34]
test ecx, ecx
je 0x697bba
mov eax, ecx
jmp 0x697db4
mov rdx, qword [rsp + 0x70]
mov r8, rdx
movzx r9d, byte [rdx + 0x25]
shr r9d, 1
mov byte [rdx + 0x24], r9b
mov rdx, r8
movzx r9d, byte [r8 + 0x24]
test r9d, r9d
jne 0x697be3
mov r9d, 2
jmp 0x697c00
movzx r9d, byte [r8 + 0x25]
cmp r9d, 0xa
jle 0x697bf6
mov r9d, 3
jmp 0x697c00
and r9d, 1
nop word [rax + rax]
test r9d, r9d
je 0x697c9d
movups xmmword [rsp + 0x150], xmm15
movsxd rax, r9d
cmp rax, 5
jae 0x697e32
mov rdx, qword [rsp + rax*8 + 0x80]
mov qword [rsp + 0xf0], rdx
lea rdx, [0x00728cc0]
mov qword [rsp + 0x150], rdx
lea rdx, [rsp + 0xf0]
mov qword [rsp + 0x158], rdx
mov rax, qword [rsp + 0xe0]
lea rbx, [rsp + 0x150]
mov ecx, 1
mov rdi, rcx
call sym.modernc.org_libc.VaList
mov rbx, qword [0x00a30e10]
add rbx, 0x1265
mov rcx, rax
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib.Xsqlite3_mprintf
mov rdx, qword [rsp + 0x1a8]
mov qword [rdx], rax
mov eax, dword [rsp + 0x34]
jmp 0x697db4
movzx r9d, byte [r8 + 0x25]
shl r9d, 2
add r9d, 8
mov byte [r8 + 0x27], r9b
mov rax, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x180]
mov rcx, rdx
mov edi, dword [rsp + 0x1b0]
mov rsi, qword [rsp + 0x1a8]
call sym.modernc.org_sqlite_lib._getNodeSize
test eax, eax
jne 0x697db4
mov rdx, qword [rsp + 0xd8]
mov rdi, qword [rdx]
mov rdx, qword [rsp + 0xd0]
mov rsi, qword [rdx]
mov rax, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x180]
mov r8d, dword [rsp + 0x1b0]
call sym.modernc.org_sqlite_lib._rtreeSqlInit
test eax, eax
je 0x697dfb
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x178]
mov rbx, qword [rsp + 0x180]
call sym.modernc.org_sqlite_lib.Xsqlite3_errmsg
movups xmmword [rsp + 0x150], xmm15
mov qword [rsp + 0xe8], rax
lea rcx, [0x00728cc0]
mov qword [rsp + 0x150], rcx
lea rcx, [rsp + 0xe8]
mov qword [rsp + 0x158], rcx
mov rax, qword [rsp + 0xe0]
lea rbx, [rsp + 0x150]
mov ecx, 1
mov rdi, rcx
nop
call sym.modernc.org_libc.VaList
mov rbx, qword [0x00a30e10]
add rbx, 0x1265
mov rcx, rax
mov rax, qword [rsp + 0x178]
nop
call sym.modernc.org_sqlite_lib.Xsqlite3_mprintf
mov rcx, qword [rsp + 0x1a8]
mov qword [rcx], rax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x34], eax
mov rbx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x178]
call sym.modernc.org_sqlite_lib._rtreeRelease
mov ecx, dword [rsp + 0x34]
test ecx, ecx
mov edx, 1
cmove ecx, edx
mov dword [rsp + 0x38], ecx
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0x160]
mov rcx, qword [rdx]
call rcx
mov eax, dword [rsp + 0x38]
add rsp, 0x168
pop rbp
ret
mov rax, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x70]
mov qword [rax], rcx
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x33], 0
mov rdx, qword [rsp + 0x160]
mov rax, qword [rdx]
call rax
mov eax, dword [rsp + 0x38]
add rsp, 0x168
pop rbp
ret
mov ecx, 5
call sym.runtime.panicIndex
mov rax, rcx
mov ecx, 2
call sym.runtime.panicIndex
call sym.runtime.panicSlice3AlenU
call sym.runtime.panicSlice3AlenU
mov rdx, rcx
call sym.runtime.panicSlice3AlenU
lea rcx, [rdi + 1]
inc rbx
mov rdi, rcx
cmp byte [rcx], 0
jne 0x697e5b
mov rcx, rbx
jmp 0x697473
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov dword [rsp + 0x40], r10d
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov edi, dword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov r10d, dword [rsp + 0x40]
jmp sym.modernc.org_sqlite_lib._rtreeInit