Function at 0x1800e6040
Capabilities:
Reference sql statements

Disassembly:
push r12
push r13
push r14
push r15
sub rsp, 0x88
mov rax, qword [0x1801eab50]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xd0]
mov r14, r9
mov r12, qword [rsp + 0xd8]
mov r15, rcx
mov qword [rsp + 0x40], rax
lea rax, str.Wrong_number_of_columns_for_an_rtree_table
mov qword [rsp + 0x50], rax
lea rax, str.Too_few_columns_for_an_rtree_table
mov qword [rsp + 0x58], rax
lea rax, str.Too_many_columns_for_an_rtree_table
movsxd r13, r8d
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x48], 0
cmp r13d, 6
jge 0x1800e60bb
mov eax, 2
jmp 0x1800e60cd
mov eax, r13d
mov ecx, 3
and eax, 1
cmp r13d, 0xe
cmovg eax, ecx
mov rdx, qword [rsp + rax*8 + 0x48]
test rdx, rdx
je 0x1800e60f1
lea rcx, [0x1801c73e0]
call fcn.180063690
mov qword [r12], rax
mov eax, 1
jmp 0x1800e660f
mov edx, 1
mov qword [rsp + 0xb8], rbx
mov r8d, edx
mov qword [rsp + 0x80], rbp
mov rcx, r15
mov qword [rsp + 0x70], rdi
call fcn.18006f2f0
mov rax, qword [r14 + 8]
mov rbx, 0xffffffffffffffff
mov rbp, rbx
inc rbp
cmp byte [rax + rbp], 0
jne 0x1800e6124
mov rax, qword [r14 + 0x10]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800e6131
lea edi, [rbp + 0x3b2]
mov qword [rsp + 0x78], rsi
add edi, ebx
call fcn.18014a870
test eax, eax
jne 0x1800e65f0
test edi, edi
jle 0x1800e65f0
movsxd rcx, edi
call fcn.18011da50
mov rsi, rax
test rax, rax
je 0x1800e65f0
movsxd rdi, ebx
xor edx, edx
movsxd rbx, ebp
mov rcx, rax
lea r8, [rdi + 0x3b2]
add r8, rbx
call fcn.180162c50
lea r9, [rsi + 0x3b0]
mov dword [rsi + 0x40], 1
lea rax, [0x1801e5ae0]
mov qword [rsi + 0x30], r9
mov qword [rsi], rax
mov r8, rbx
lea eax, [rbp + 1]
movsxd rcx, eax
lea eax, [r13 - 4]
cdq
add rcx, r9
sub eax, edx
mov qword [rsi + 0x38], rcx
sar eax, 1
mov rcx, r9
mov byte [rsi + 0x24], al
inc al
shl al, 3
cmp qword [rsp + 0x30], 0
mov byte [rsi + 0x26], al
setne al
mov byte [rsi + 0x25], al
mov rdx, qword [r14 + 8]
call fcn.1801625a0
mov rdx, qword [r14 + 0x10]
mov r8, rdi
mov rcx, qword [rsi + 0x38]
call fcn.1801625a0
mov ebp, dword [rsp + 0xe0]
mov rdx, qword [rsi + 0x30]
test ebp, ebp
je 0x1800e624f
lea rcx, str.PRAGMA__Q.page_size
mov dword [rsp + 0x30], 0
call fcn.180063690
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, r15
mov rbx, rax
call fcn.1800ce310
mov edi, eax
test eax, eax
jne 0x1800e6277
movzx ecx, byte [rsi + 0x26]
mov r8d, dword [rsp + 0x30]
imul edx, ecx, 0x33
add r8d, 0xffffffc0
mov dword [rsi + 0x20], r8d
add edx, 4
cmp edx, r8d
jge 0x1800e6292
mov dword [rsi + 0x20], edx
jmp 0x1800e6292
mov r8, qword [rsi + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.180063690
lea r8, [rsi + 0x20]
mov rdx, rax
mov rcx, r15
mov rbx, rax
call fcn.1800ce310
mov edi, eax
test eax, eax
je 0x1800e6292
mov rcx, r15
call fcn.1800657a0
mov rdx, rax
lea rcx, [0x1801c73e0]
call fcn.180063690
mov qword [r12], rax
test rbx, rbx
je 0x1800e62f2
cmp dword [0x1801e5920], 0
je 0x1800e62e9
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x1800e62b2
call qword [0x1801e59a8]
mov rcx, rbx
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, rbx
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x1800e62f2
call qword [0x1801e59b8]
jmp 0x1800e62f2
mov rcx, rbx
call qword [0x1801e5950]
test edi, edi
jne 0x1800e6332
mov r9, qword [r14 + 0x10]
mov rdx, r15
mov r8, qword [r14 + 8]
mov rcx, rsi
mov dword [rsp + 0x20], ebp
call fcn.1800e6bd0
mov edi, eax
test eax, eax
je 0x1800e63fb
mov rcx, r15
call fcn.1800657a0
mov rdx, rax
lea rcx, [0x1801c73e0]
call fcn.180063690
mov qword [r12], rax
sub dword [rsi + 0x40], 1
jne 0x1800e65ec
mov rcx, qword [rsi + 0x60]
call fcn.1800681f0
mov rcx, qword [rsi + 0x68]
call fcn.1800681f0
mov rcx, qword [rsi + 0x70]
call fcn.1800681f0
mov rcx, qword [rsi + 0x78]
call fcn.1800681f0
mov rcx, qword [rsi + 0x80]
call fcn.1800681f0
mov rcx, qword [rsi + 0x88]
call fcn.1800681f0
mov rcx, qword [rsi + 0x90]
call fcn.1800681f0
mov rcx, qword [rsi + 0x98]
call fcn.1800681f0
mov rcx, qword [rsi + 0xa0]
call fcn.1800681f0
cmp dword [0x1801e5920], 0
je 0x1800e65e3
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x1800e63bb
call qword [0x1801e59a8]
mov rcx, rsi
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, rsi
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x1800e65ec
call qword [0x1801e59b8]
mov eax, edi
jmp 0x1800e65f5
mov rdx, qword [r14 + 0x18]
lea rcx, str.CREATE_TABLE_x__s
call fcn.180063690
mov rbx, rax
test rax, rax
je 0x1800e64ae
mov ebp, 4
nop dword [rax]
mov rdi, rbx
mov rdx, rbx
cmp rbp, r13
jge 0x1800e6519
mov r8, qword [r14 + rbp*8]
lea rcx, str._s___s
call fcn.180063690
mov rbx, rax
test rdi, rdi
je 0x1800e64a2
cmp dword [0x1801e5920], 0
je 0x1800e6499
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x1800e6462
call qword [0x1801e59a8]
mov rcx, rdi
call qword [0x1801e5960]
dec qword [0x1801ee598]
mov rcx, rdi
movsxd rdx, eax
sub qword [0x1801ee550], rdx
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x1800e64a2
call qword [0x1801e59b8]
jmp 0x1800e64a2
mov rcx, rdi
call qword [0x1801e5950]
inc rbp
test rbx, rbx
jne 0x1800e6420
mov edi, 7
test rbx, rbx
je 0x1800e6332
cmp dword [0x1801e5920], 0
je 0x1800e65c6
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x1800e64db
call qword [0x1801e59a8]
mov rcx, rbx
call qword [0x1801e5960]
dec qword [0x1801ee598]
movsxd rcx, eax
sub qword [0x1801ee550], rcx
mov rcx, rbx
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x1800e65cf
call qword [0x1801e59b8]
jmp 0x1800e65cf
lea rcx, str._s__
call fcn.180063690
mov rbx, rax
test rdi, rdi
je 0x1800e6588
cmp dword [0x1801e5920], 0
je 0x1800e657f
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x1800e6548
call qword [0x1801e59a8]
mov rcx, rdi
call qword [0x1801e5960]
dec qword [0x1801ee598]
mov rcx, rdi
movsxd rdx, eax
sub qword [0x1801ee550], rdx
call qword [0x1801e5950]
mov rcx, qword [0x1801ee840]
test rcx, rcx
je 0x1800e6588
call qword [0x1801e59b8]
jmp 0x1800e6588
mov rcx, rdi
call qword [0x1801e5950]
test rbx, rbx
je 0x1800e64ae
mov rdx, rbx
mov rcx, r15
call fcn.18006ba40
mov edi, eax
test eax, eax
je 0x1800e64bc
mov rcx, r15
call fcn.1800657a0
mov rdx, rax
lea rcx, [0x1801c73e0]
call fcn.180063690
mov qword [r12], rax
jmp 0x1800e64bc
mov rcx, rbx
call qword [0x1801e5950]
test edi, edi
jne 0x1800e6332
mov rax, qword [rsp + 0x40]
mov qword [rax], rsi
mov eax, edi
jmp 0x1800e65f5
mov rcx, rsi
call qword [0x1801e5950]
mov eax, edi
jmp 0x1800e65f5
mov eax, 7
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
mov rbx, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18015fd80
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
ret