Function at 0x18010d510
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbp
push r13
push r14
push r15
sub rsp, 0xc8
mov rax, qword [0x180182008]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x110]
xor r14d, r14d
mov r13, qword [rsp + 0x118]
mov rbp, 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 + 0x48], r8d
mov qword [rsp + 0x50], rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], r13
mov qword [r11 - 0x70], r14
cmp eax, 0x61
ja 0x18010da8a
mov edx, 1
mov qword [r11 + 0x10], rbx
mov r8d, edx
mov qword [r11 - 0x30], rdi
call fcn.1800c0eb0
mov rax, qword [rbp + 8]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], r14b
jne 0x18010d5c7
mov rax, qword [rbp + 0x10]
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], r14b
jne 0x18010d5e0
mov qword [rsp + 0xc0], rsi
mov qword [rsp + 0xb0], r12
call fcn.1800e0910
test eax, eax
jne 0x18010da80
movsxd rax, ebx
movsxd rsi, edi
mov qword [rsp + 0x40], rax
lea r12, [rax + rsi]
lea rcx, [r12 + 0x3ca]
call fcn.180028660
mov rdi, rax
test rax, rax
je 0x18010da80
lea r8, [r12 + 0x3ca]
xor edx, edx
mov rcx, rax
call fcn.180131080
mov r8, qword [rsp + 0x40]
lea r9, [rdi + 0x3c8]
lea rax, [0x180185f20]
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], r14
mov qword [rdi + 0x38], rcx
mov rcx, r9
setne al
mov byte [rdi + 0x26], al
mov rdx, qword [rbp + 8]
call fcn.180133760
mov rdx, qword [rbp + 0x10]
mov r8, rsi
mov rcx, qword [rdi + 0x38]
call fcn.180133760
call fcn.1800e0910
test eax, eax
jne 0x18010d6da
lea ecx, [rax + 0x20]
call fcn.180028660
mov rsi, rax
test rax, rax
je 0x18010d6da
test r15, r15
je 0x18010d6bc
mov eax, dword [r15 + 0x88]
jmp 0x18010d6c1
mov eax, 0x3b9aca00
mov qword [rsi + 8], r14
mov qword [rsi], r14
mov dword [rsi + 0x10], r14d
mov dword [rsi + 0x14], eax
mov dword [rsi + 0x18], r14d
mov word [rsi + 0x1c], r14w
jmp 0x18010d6e1
lea rsi, [0x1801868a0]
mov rcx, qword [rbp + 0x18]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
call fcn.1800df500
mov r9, qword [rbp + 0x18]
lea rdx, str.CREATE_TABLE_x__.s_INT
mov r8d, eax
mov rcx, rsi
call fcn.18002b940
movsxd rbx, dword [rsp + 0x48]
mov r12d, 4
cmp rbx, r12
jle 0x18010d7c3
mov r13, qword [rsp + 0x58]
mov ebp, r12d
mov r15, rbx
nop dword [rax]
mov rbx, qword [r13 + rbp*8]
movzx eax, byte [rdi + 0x29]
cmp byte [rbx], 0x2b
jne 0x18010d766
inc al
mov dword [rsp + 0x40], r14d
lea rdx, [rsp + 0x40]
mov byte [rdi + 0x29], al
lea rcx, [rbx + 1]
call fcn.1800df500
mov r8d, eax
lea r9, [rbx + 1]
lea rdx, str.__.s
jmp 0x18010d79e
test al, al
jne 0x18010d7b5
inc byte [rdi + 0x25]
lea rdx, [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x40], r14d
call fcn.1800df500
mov rcx, qword [rsp + 0x50]
mov r8d, eax
neg rcx
lea rax, str.__.s_REAL
mov r9, rbx
sbb rdx, rdx
and edx, 8
mov rdx, qword [rdx + rax]
mov rcx, rsi
call fcn.18002b940
inc r12d
inc rbp
cmp rbp, r15
jl 0x18010d730
mov r15, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x48]
lea rdx, [0x18016b5d4]
mov rcx, rsi
call fcn.18002b940
mov rcx, rsi
call fcn.18002b410
mov rsi, rax
test rax, rax
jne 0x18010d836
lea ebx, [rax + 7]
mov rcx, rsi
call fcn.180028850
mov rcx, rdi
call fcn.180107d10
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.18012f130
add rsp, 0xc8
pop r15
pop r14
pop r13
pop rbp
ret
cmp r12d, ebx
jge 0x18010d859
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x1801639c8]
call fcn.18002b780
mov qword [r13], rax
mov ebx, 1
jmp 0x18010d7e5
mov rdx, rsi
mov rcx, r15
call fcn.1800c0210
mov ebx, eax
test eax, eax
je 0x18010d88a
mov rcx, r15
call fcn.1800e3a60
mov rdx, rax
lea rcx, [0x1801639c8]
call fcn.18002b780
mov qword [r13], rax
jmp 0x18010d7e5
mov rcx, rsi
call fcn.180028850
movzx ecx, byte [rdi + 0x25]
movzx eax, cl
shr al, 1
mov byte [rdi + 0x24], al
cmp al, 1
jae 0x18010d8ab
lea rdx, str.Too_few_columns_for_an_rtree_table
jmp 0x18010d8c5
cmp cl, 0xa
jbe 0x18010d8b9
lea rdx, str.Too_many_columns_for_an_rtree_table
jmp 0x18010d8c5
test cl, 1
je 0x18010d8df
lea rdx, str.Wrong_number_of_columns_for_an_rtree_table
lea rcx, [0x1801639c8]
call fcn.18002b780
mov qword [r13], rax
mov ebx, 1
jmp 0x18010d7ed
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 0x18010d9a0
lea rcx, str.PRAGMA__Q.page_size
call fcn.18002b780
mov rbp, rax
mov esi, 7
test rax, rax
je 0x18010d971
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
lea r9d, [rsi + 0x79]
lea r8d, [rsi - 8]
mov qword [rsp + 0x20], r14
mov rdx, rbp
mov qword [rsp + 0x50], r14
mov rcx, r15
call fcn.1800a6360
mov esi, eax
test eax, eax
jne 0x18010d971
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1800567d0
cmp eax, 0x64
jne 0x18010d967
xor edx, edx
mov rcx, rbx
call fcn.180057530
mov r14d, eax
mov rcx, rbx
call fcn.180055800
mov esi, eax
mov ebx, esi
test esi, esi
jne 0x18010d9ca
movzx eax, byte [rdi + 0x27]
lea edx, [r14 - 0x40]
imul ecx, eax, 0x33
mov dword [rdi + 0x20], edx
add ecx, 4
cmp ecx, edx
jge 0x18010da1c
mov dword [rdi + 0x20], ecx
mov rcx, rbp
call fcn.180028850
jmp 0x18010da2e
mov r8, qword [rdi + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.18002b780
lea r8, [rdi + 0x20]
mov rdx, rax
mov rcx, r15
mov rbp, rax
call fcn.18010d490
mov esi, eax
mov ebx, eax
test eax, eax
je 0x18010d9ed
mov rcx, r15
call fcn.1800e3a60
mov rdx, rax
lea rcx, [0x1801639c8]
call fcn.18002b780
mov qword [r13], rax
mov rcx, rbp
jmp 0x18010d7e8
cmp dword [rdi + 0x20], 0x1c0
jge 0x18010da1c
mov rdx, qword [rdi + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
call fcn.18002b780
mov rcx, rbp
mov qword [r13], rax
call fcn.180028850
mov ebx, 0x10b
jmp 0x18010d7ed
mov rcx, rbp
call fcn.180028850
mov ebx, esi
test esi, esi
jne 0x18010d7ed
mov r8, qword [rsp + 0x58]
mov rdx, r15
mov rcx, rdi
mov dword [rsp + 0x20], r12d
mov r9, qword [r8 + 0x10]
mov r8, qword [r8 + 8]
call fcn.18010ce30
mov ebx, eax
test eax, eax
je 0x18010da71
mov rcx, r15
call fcn.1800e3a60
mov rdx, rax
lea rcx, [0x1801639c8]
call fcn.18002b780
mov qword [r13], rax
jmp 0x18010d7ed
mov rax, qword [rsp + 0x70]
mov qword [rax], rdi
xor eax, eax
jmp 0x18010d7f7
mov eax, 7
jmp 0x18010d7f7
cmp r8d, 6
lea rcx, [0x1801639c8]
mov eax, 0x18
mov edx, 0x10
cmovge edx, eax
mov rdx, qword [rsp + rdx + 0x78]
call fcn.18002b780
mov qword [r13], rax
mov eax, 1
jmp 0x18010d817