Function at 0x1800ac3f0
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbp
push r13
push r14
push r15
sub rsp, 0xc8
mov rax, qword [0x1800e2008]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x110]
xor ebp, ebp
mov r13, qword [rsp + 0x118]
mov r14, r9
mov qword [rsp + 0x70], rax
mov r15, rcx
lea rax, str.Wrong_number_of_columns_for_an_rtree_table
mov qword [rsp + 0x58], r9
mov qword [r11 - 0x68], rax
lea rax, str.Too_few_columns_for_an_rtree_table
mov qword [r11 - 0x60], rax
lea rax, str.Too_many_columns_for_an_rtree_table
mov qword [r11 - 0x58], rax
lea rax, str.Auxiliary_rtree_columns_must_be_last
mov qword [r11 - 0x50], rax
lea eax, [r8 - 6]
mov dword [rsp + 0x44], r8d
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], r13
mov qword [r11 - 0x70], rbp
cmp eax, 0x61
ja 0x1800ac8ed
mov edx, 1
mov qword [r11 + 0x10], rbx
mov r8d, edx
mov qword [r11 - 0x30], rdi
call sym.SQLite3.dll_sqlite3_vtab_config
mov rax, qword [r14 + 8]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], bpl
jne 0x1800ac4a6
mov rax, qword [r14 + 0x10]
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], bpl
jne 0x1800ac4c0
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xb0], r12
call sym.SQLite3.dll_sqlite3_initialize
test eax, eax
jne 0x1800ac8e3
movsxd rax, ebx
movsxd rsi, edi
mov qword [rsp + 0x48], rax
lea r12, [rax + rsi]
lea rcx, [r12 + 0x3ca]
call fcn.1800041a0
mov rdi, rax
test rax, rax
je 0x1800ac8e3
lea r8, [r12 + 0x3ca]
xor edx, edx
mov rcx, rax
call fcn.1800af360
mov r8, qword [rsp + 0x48]
lea r9, [rdi + 0x3c8]
lea rax, [0x1800e5000]
mov dword [rdi + 0x40], 1
mov qword [rdi], rax
lea eax, [rbx + 1]
movsxd rcx, eax
add rcx, r9
mov qword [rdi + 0x30], r9
cmp qword [rsp + 0x50], rbp
mov qword [rdi + 0x38], rcx
mov rcx, r9
setne al
mov byte [rdi + 0x26], al
mov rdx, qword [r14 + 8]
call fcn.1800b02e0
mov rdx, qword [r14 + 0x10]
mov r8, rsi
mov rcx, qword [rdi + 0x38]
call fcn.1800b02e0
mov rcx, r15
call sym.SQLite3.dll_sqlite3_str_new
mov rcx, qword [r14 + 0x18]
lea rdx, [rsp + 0x40]
mov rsi, rax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], ebp
call fcn.18009f7f0
mov r9, qword [r14 + 0x18]
lea rdx, str.CREATE_TABLE_x__.s_INT
mov r8d, eax
mov rcx, rsi
call sym.SQLite3.dll_sqlite3_str_appendf
movsxd rbx, dword [rsp + 0x44]
mov r12d, 4
mov rax, rbx
cmp rbx, r12
jle 0x1800ac66e
mov r15, qword [rsp + 0x48]
lea rdx, str.__.s_REAL
mov esi, r12d
mov r13, r14
nop word [rax + rax]
mov rbx, qword [r13 + rsi*8]
movzx eax, byte [rdi + 0x29]
cmp byte [rbx], 0x2b
jne 0x1800ac5ff
inc al
lea r14, str.__.s
mov byte [rdi + 0x29], al
inc rbx
jmp 0x1800ac618
test al, al
jne 0x1800ac656
inc byte [rdi + 0x25]
mov rax, qword [rsp + 0x50]
neg rax
sbb rcx, rcx
and ecx, 8
mov r14, qword [rcx + rdx]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], ebp
mov rcx, rbx
call fcn.18009f7f0
mov r9, rbx
mov r8d, eax
mov rdx, r14
mov rcx, r15
call sym.SQLite3.dll_sqlite3_str_appendf
movsxd rbx, dword [rsp + 0x44]
lea rdx, str.__.s_REAL
inc r12d
inc rsi
mov rax, rbx
cmp rsi, rbx
jl 0x1800ac5e0
jmp 0x1800ac65a
mov ebx, dword [rsp + 0x44]
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
lea rdx, [0x1800cd344]
mov rcx, rsi
call sym.SQLite3.dll_sqlite3_str_appendf
mov rcx, rsi
call sym.SQLite3.dll_sqlite3_str_finish
mov rsi, rax
test rax, rax
jne 0x1800ac692
lea ebx, [rax + 7]
jmp 0x1800ac6dd
cmp r12d, ebx
jge 0x1800ac6b1
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x1800c7700]
call sym.SQLite3.dll_sqlite3_mprintf
mov ebx, 1
jmp 0x1800ac6d9
mov rdx, rsi
mov rcx, r15
call sym.SQLite3.dll_sqlite3_declare_vtab
mov ebx, eax
test eax, eax
je 0x1800ac6dd
mov rcx, r15
call sym.SQLite3.dll_sqlite3_errmsg
mov rdx, rax
lea rcx, [0x1800c7700]
call sym.SQLite3.dll_sqlite3_mprintf
mov qword [r13], rax
mov rcx, rsi
call sym.SQLite3.dll_sqlite3_free
test ebx, ebx
jne 0x1800ac731
movzx ecx, byte [rdi + 0x25]
movzx eax, cl
shr al, 1
mov byte [rdi + 0x24], al
cmp al, 1
jae 0x1800ac702
lea rdx, str.Too_few_columns_for_an_rtree_table
jmp 0x1800ac71c
cmp cl, 0xa
jbe 0x1800ac710
lea rdx, str.Too_many_columns_for_an_rtree_table
jmp 0x1800ac71c
test cl, 1
je 0x1800ac77a
lea rdx, str.Wrong_number_of_columns_for_an_rtree_table
lea rcx, [0x1800c7700]
call sym.SQLite3.dll_sqlite3_mprintf
mov qword [r13], rax
mov ebx, 1
mov rcx, rdi
call fcn.1800a6c10
mov eax, ebx
mov rsi, qword [rsp + 0xc0]
mov r12, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1800ae0b0
add rsp, 0xc8
pop r15
pop r14
pop r13
pop rbp
ret
mov r12d, dword [rsp + 0x120]
add cl, 2
mov rdx, qword [rdi + 0x30]
shl cl, 2
mov byte [rdi + 0x27], cl
test r12d, r12d
je 0x1800ac828
lea rcx, str.PRAGMA__Q.page_size
call sym.SQLite3.dll_sqlite3_mprintf
mov rsi, rax
mov ebx, 7
test rax, rax
je 0x1800ac80b
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
lea r9d, [rbx + 0x79]
lea r8d, [rbx - 8]
mov qword [rsp + 0x20], rbp
mov rdx, rsi
mov qword [rsp + 0x48], rbp
mov rcx, r15
call fcn.180071160
mov ebx, eax
test eax, eax
jne 0x1800ac80b
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call sym.SQLite3.dll_sqlite3_step
cmp eax, 0x64
jne 0x1800ac801
xor edx, edx
mov rcx, rbx
call sym.SQLite3.dll_sqlite3_column_int
mov ebp, eax
mov rcx, rbx
call sym.SQLite3.dll_sqlite3_finalize
mov ebx, eax
test ebx, ebx
jne 0x1800ac850
movzx eax, byte [rdi + 0x27]
lea edx, [rbp - 0x40]
imul ecx, eax, 0x33
mov dword [rdi + 0x20], edx
add ecx, 4
cmp ecx, edx
jge 0x1800ac886
mov dword [rdi + 0x20], ecx
jmp 0x1800ac886
mov r8, qword [rdi + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call sym.SQLite3.dll_sqlite3_mprintf
lea r8, [rdi + 0x20]
mov rdx, rax
mov rcx, r15
mov rsi, rax
call fcn.1800ac370
mov ebx, eax
test eax, eax
je 0x1800ac864
mov rcx, r15
call sym.SQLite3.dll_sqlite3_errmsg
mov rdx, rax
lea rcx, [0x1800c7700]
jmp 0x1800ac87d
cmp dword [rdi + 0x20], 0x1c0
jge 0x1800ac886
mov rdx, qword [rdi + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov ebx, 0x10b
call sym.SQLite3.dll_sqlite3_mprintf
mov qword [r13], rax
mov rcx, rsi
call sym.SQLite3.dll_sqlite3_free
test ebx, ebx
jne 0x1800ac731
mov r9, qword [r14 + 0x10]
mov rdx, r15
mov r8, qword [r14 + 8]
mov rcx, rdi
mov dword [rsp + 0x20], r12d
call fcn.1800abdd0
mov ebx, eax
test eax, eax
je 0x1800ac8d4
mov rcx, r15
call sym.SQLite3.dll_sqlite3_errmsg
mov rdx, rax
lea rcx, [0x1800c7700]
call sym.SQLite3.dll_sqlite3_mprintf
mov qword [r13], rax
jmp 0x1800ac731
mov rax, qword [rsp + 0x70]
mov qword [rax], rdi
xor eax, eax
jmp 0x1800ac73b
mov eax, 7
jmp 0x1800ac73b
cmp r8d, 6
lea rcx, [0x1800c7700]
mov eax, 0x18
mov edx, 0x10
cmovge edx, eax
mov rdx, qword [rsp + rdx + 0x78]
call sym.SQLite3.dll_sqlite3_mprintf
mov qword [r13], rax
mov eax, 1
jmp 0x1800ac75b