Function at 0x18035b1c0
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbx
push rbp
push r13
push r15
sub rsp, 0xb8
mov rax, qword [0x1804cc010]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x100]
xor ebp, ebp
mov r13, qword [rsp + 0x108]
mov rbx, r9
mov qword [rsp + 0x68], rax
mov r15, rcx
lea rax, str.Wrong_number_of_columns_for_an_rtree_table
mov qword [rsp + 0x40], rbx
mov qword [r11 - 0x60], rax
lea rax, str.Too_few_columns_for_an_rtree_table
mov qword [r11 - 0x58], rax
lea rax, str.Too_many_columns_for_an_rtree_table
mov qword [r11 - 0x50], rax
lea rax, str.Auxiliary_rtree_columns_must_be_last
mov qword [r11 - 0x48], rax
lea eax, [r8 - 6]
mov dword [rsp + 0x50], r8d
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], r13
mov qword [r11 - 0x68], rbp
cmp eax, 0x61
ja 0x18035b6fd
mov edx, 1
mov qword [r11 - 0x28], rdi
mov r8d, edx
call fcn.180318220
mov rax, qword [rbx + 8]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], bpl
jne 0x18035b271
mov rax, qword [rbx + 0x10]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], bpl
jne 0x18035b285
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xa0], r14
call fcn.1803322b0
test eax, eax
jne 0x18035b6f3
movsxd rsi, ebx
movsxd r12, edi
lea r14, [r12 + rsi]
lea rcx, [r14 + 0x3ca]
call fcn.180295be0
mov rbx, rax
test rax, rax
je 0x18035b6f3
lea r8, [r14 + 0x3ca]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rbx + 0x3c8]
mov dword [rbx + 0x40], 1
lea rax, [0x1804d17c0]
mov qword [rbx + 0x30], r9
mov qword [rbx], rax
mov r8, r12
mov r12, qword [rsp + 0x40]
lea eax, [rdi + 1]
movsxd rcx, eax
add rcx, r9
cmp qword [rsp + 0x48], rbp
mov qword [rbx + 0x38], rcx
mov rcx, r9
setne al
mov byte [rbx + 0x26], al
mov rdx, qword [r12 + 8]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [r12 + 0x10]
mov r8, rsi
mov rcx, qword [rbx + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r15
call fcn.180298540
mov rdi, qword [r12 + 0x18]
mov rsi, rax
mov qword [rsp + 0x48], rax
lea rax, [0x1803bbb70]
mov dword [rsp + 0x40], ebp
movzx ecx, byte [rdi]
movzx r8d, byte [rcx + rax]
cmp r8d, 0x1c
ja 0x18035b37d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180330f10
jmp 0x18035b382
mov eax, 1
mov r9, rdi
lea rdx, str.CREATE_TABLE_x__.s_INT
mov r8d, eax
mov rcx, rsi
call fcn.180298950
movsxd rdi, dword [rsp + 0x50]
mov r14d, 4
mov rax, rdi
cmp rdi, r14
jle 0x18035b47d
mov r13, qword [rsp + 0x48]
mov esi, r14d
mov r15, rax
nop dword [rax]
mov rdi, qword [r12 + rsi*8]
movzx eax, byte [rbx + 0x29]
cmp byte [rdi], 0x2b
jne 0x18035b412
inc al
mov dword [rsp + 0x40], ebp
inc rdi
mov byte [rbx + 0x29], al
lea rcx, [0x1803bbb70]
movzx eax, byte [rdi]
movzx r8d, byte [rax + rcx]
cmp r8d, 0x1c
ja 0x18035b404
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180330f10
lea rdx, str.__.s
jmp 0x18035b44d
mov eax, 1
lea rdx, str.__.s
jmp 0x18035b44d
test al, al
jne 0x18035b46a
inc byte [rbx + 0x25]
lea rcx, [0x1803bbb70]
movzx eax, byte [rdi]
mov dword [rsp + 0x40], ebp
movzx r8d, byte [rax + rcx]
cmp r8d, 0x1c
ja 0x18035b441
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180330f10
jmp 0x18035b446
mov eax, 1
lea rdx, str.__.s_NUM
mov r9, rdi
mov r8d, eax
mov rcx, r13
call fcn.180298950
inc r14d
inc rsi
cmp rsi, r15
jl 0x18035b3c0
mov r15, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x48]
mov edi, dword [rsp + 0x50]
lea rdx, [0x1803e4ee4]
mov rcx, rsi
call fcn.180298950
mov rcx, rsi
call fcn.180298450
mov rsi, rax
test rax, rax
jne 0x18035b4a1
lea edi, [rax + 7]
jmp 0x18035b4ec
cmp r14d, edi
jge 0x18035b4c0
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x1803de084]
call fcn.180298790
mov edi, 1
jmp 0x18035b4e8
mov rdx, rsi
mov rcx, r15
call fcn.180317860
mov edi, eax
test eax, eax
je 0x18035b4ec
mov rcx, r15
call fcn.1803351f0
mov rdx, rax
lea rcx, [0x1803de084]
call fcn.180298790
mov qword [r13], rax
mov rcx, rsi
call fcn.180295e20
test edi, edi
jne 0x18035b540
movzx ecx, byte [rbx + 0x25]
movzx eax, cl
shr al, 1
mov byte [rbx + 0x24], al
cmp al, 1
jae 0x18035b511
lea rdx, str.Too_few_columns_for_an_rtree_table
jmp 0x18035b52b
cmp cl, 0xa
jbe 0x18035b51f
lea rdx, str.Too_many_columns_for_an_rtree_table
jmp 0x18035b52b
test cl, 1
je 0x18035b588
lea rdx, str.Wrong_number_of_columns_for_an_rtree_table
lea rcx, [0x1803de084]
call fcn.180298790
mov qword [r13], rax
mov edi, 1
mov rcx, rbx
call fcn.1803557c0
mov eax, edi
mov r12, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xe8]
mov r14, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1803868f0
add rsp, 0xb8
pop r15
pop r13
pop rbp
pop rbx
ret
mov r14d, dword [rsp + 0x110]
add cl, 2
mov rdx, qword [rbx + 0x30]
shl cl, 2
mov byte [rbx + 0x27], cl
test r14d, r14d
je 0x18035b636
lea rcx, str.PRAGMA__Q.page_size
call fcn.180298790
mov rsi, rax
mov edi, 7
test rax, rax
je 0x18035b619
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
lea r9d, [rdi + 0x79]
lea r8d, [rdi - 8]
mov qword [rsp + 0x20], rbp
mov rdx, rsi
mov qword [rsp + 0x48], rbp
mov rcx, r15
call fcn.1803024f0
mov edi, eax
test eax, eax
jne 0x18035b619
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call fcn.1802c1c30
cmp eax, 0x64
jne 0x18035b60f
xor edx, edx
mov rcx, rdi
call fcn.1802c2670
mov ebp, eax
mov rcx, rdi
call fcn.1802c0c50
mov edi, eax
test edi, edi
jne 0x18035b65e
movzx eax, byte [rbx + 0x27]
lea edx, [rbp - 0x40]
imul ecx, eax, 0x33
mov dword [rbx + 0x20], edx
add ecx, 4
cmp ecx, edx
jge 0x18035b694
mov dword [rbx + 0x20], ecx
jmp 0x18035b694
mov r8, qword [rbx + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.180298790
lea r8, [rbx + 0x20]
mov rdx, rax
mov rcx, r15
mov rsi, rax
call fcn.18035b140
mov edi, eax
test eax, eax
je 0x18035b672
mov rcx, r15
call fcn.1803351f0
mov rdx, rax
lea rcx, [0x1803de084]
jmp 0x18035b68b
cmp dword [rbx + 0x20], 0x1c0
jge 0x18035b694
mov rdx, qword [rbx + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov edi, 0x10b
call fcn.180298790
mov qword [r13], rax
mov rcx, rsi
call fcn.180295e20
test edi, edi
jne 0x18035b540
mov r9, qword [r12 + 0x10]
mov rdx, r15
mov r8, qword [r12 + 8]
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call fcn.18035aa80
mov edi, eax
test eax, eax
je 0x18035b6e4
mov rcx, r15
call fcn.1803351f0
mov rdx, rax
lea rcx, [0x1803de084]
call fcn.180298790
mov qword [r13], rax
jmp 0x18035b540
mov rax, qword [rsp + 0x68]
mov qword [rax], rbx
xor eax, eax
jmp 0x18035b54a
mov eax, 7
jmp 0x18035b54a
cmp r8d, 6
lea rcx, [0x1803de084]
mov eax, 0x18
mov edx, 0x10
cmovge edx, eax
mov rdx, qword [rsp + rdx + 0x70]
call fcn.180298790
mov qword [r13], rax
mov eax, 1
jmp 0x18035b56a