Function at 0x18035ccd0
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbx
push rbp
push r13
push r15
sub rsp, 0xb8
mov rax, qword [0x1804cd010]
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 0x18035d20d
mov edx, 1
mov qword [r11 - 0x28], rdi
mov r8d, edx
call fcn.180319d30
mov rax, qword [rbx + 8]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], bpl
jne 0x18035cd81
mov rax, qword [rbx + 0x10]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], bpl
jne 0x18035cd95
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xa0], r14
call fcn.180333dc0
test eax, eax
jne 0x18035d203
movsxd rsi, ebx
movsxd r12, edi
lea r14, [r12 + rsi]
lea rcx, [r14 + 0x3ca]
call fcn.1802976f0
mov rbx, rax
test rax, rax
je 0x18035d203
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, [0x1804d27c0]
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.18029a050
mov rdi, qword [r12 + 0x18]
mov rsi, rax
mov qword [rsp + 0x48], rax
lea rax, [0x1803bbb90]
mov dword [rsp + 0x40], ebp
movzx ecx, byte [rdi]
movzx r8d, byte [rcx + rax]
cmp r8d, 0x1c
ja 0x18035ce8d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180332a20
jmp 0x18035ce92
mov eax, 1
mov r9, rdi
lea rdx, str.CREATE_TABLE_x__.s_INT
mov r8d, eax
mov rcx, rsi
call fcn.18029a460
movsxd rdi, dword [rsp + 0x50]
mov r14d, 4
mov rax, rdi
cmp rdi, r14
jle 0x18035cf8d
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 0x18035cf22
inc al
mov dword [rsp + 0x40], ebp
inc rdi
mov byte [rbx + 0x29], al
lea rcx, [0x1803bbb90]
movzx eax, byte [rdi]
movzx r8d, byte [rax + rcx]
cmp r8d, 0x1c
ja 0x18035cf14
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180332a20
lea rdx, str.__.s
jmp 0x18035cf5d
mov eax, 1
lea rdx, str.__.s
jmp 0x18035cf5d
test al, al
jne 0x18035cf7a
inc byte [rbx + 0x25]
lea rcx, [0x1803bbb90]
movzx eax, byte [rdi]
mov dword [rsp + 0x40], ebp
movzx r8d, byte [rax + rcx]
cmp r8d, 0x1c
ja 0x18035cf51
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180332a20
jmp 0x18035cf56
mov eax, 1
lea rdx, str.__.s_NUM
mov r9, rdi
mov r8d, eax
mov rcx, r13
call fcn.18029a460
inc r14d
inc rsi
cmp rsi, r15
jl 0x18035ced0
mov r15, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x48]
mov edi, dword [rsp + 0x50]
lea rdx, [0x1803e628c]
mov rcx, rsi
call fcn.18029a460
mov rcx, rsi
call fcn.180299f60
mov rsi, rax
test rax, rax
jne 0x18035cfb1
lea edi, [rax + 7]
jmp 0x18035cffc
cmp r14d, edi
jge 0x18035cfd0
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x1803df140]
call fcn.18029a2a0
mov edi, 1
jmp 0x18035cff8
mov rdx, rsi
mov rcx, r15
call fcn.180319370
mov edi, eax
test eax, eax
je 0x18035cffc
mov rcx, r15
call fcn.180336d00
mov rdx, rax
lea rcx, [0x1803df140]
call fcn.18029a2a0
mov qword [r13], rax
mov rcx, rsi
call fcn.180297930
test edi, edi
jne 0x18035d050
movzx ecx, byte [rbx + 0x25]
movzx eax, cl
shr al, 1
mov byte [rbx + 0x24], al
cmp al, 1
jae 0x18035d021
lea rdx, str.Too_few_columns_for_an_rtree_table
jmp 0x18035d03b
cmp cl, 0xa
jbe 0x18035d02f
lea rdx, str.Too_many_columns_for_an_rtree_table
jmp 0x18035d03b
test cl, 1
je 0x18035d098
lea rdx, str.Wrong_number_of_columns_for_an_rtree_table
lea rcx, [0x1803df140]
call fcn.18029a2a0
mov qword [r13], rax
mov edi, 1
mov rcx, rbx
call fcn.1803572d0
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.180388400
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 0x18035d146
lea rcx, str.PRAGMA__Q.page_size
call fcn.18029a2a0
mov rsi, rax
mov edi, 7
test rax, rax
je 0x18035d129
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.180304000
mov edi, eax
test eax, eax
jne 0x18035d129
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call fcn.1802c3740
cmp eax, 0x64
jne 0x18035d11f
xor edx, edx
mov rcx, rdi
call fcn.1802c4180
mov ebp, eax
mov rcx, rdi
call fcn.1802c2760
mov edi, eax
test edi, edi
jne 0x18035d16e
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 0x18035d1a4
mov dword [rbx + 0x20], ecx
jmp 0x18035d1a4
mov r8, qword [rbx + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.18029a2a0
lea r8, [rbx + 0x20]
mov rdx, rax
mov rcx, r15
mov rsi, rax
call fcn.18035cc50
mov edi, eax
test eax, eax
je 0x18035d182
mov rcx, r15
call fcn.180336d00
mov rdx, rax
lea rcx, [0x1803df140]
jmp 0x18035d19b
cmp dword [rbx + 0x20], 0x1c0
jge 0x18035d1a4
mov rdx, qword [rbx + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov edi, 0x10b
call fcn.18029a2a0
mov qword [r13], rax
mov rcx, rsi
call fcn.180297930
test edi, edi
jne 0x18035d050
mov r9, qword [r12 + 0x10]
mov rdx, r15
mov r8, qword [r12 + 8]
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call fcn.18035c590
mov edi, eax
test eax, eax
je 0x18035d1f4
mov rcx, r15
call fcn.180336d00
mov rdx, rax
lea rcx, [0x1803df140]
call fcn.18029a2a0
mov qword [r13], rax
jmp 0x18035d050
mov rax, qword [rsp + 0x68]
mov qword [rax], rbx
xor eax, eax
jmp 0x18035d05a
mov eax, 7
jmp 0x18035d05a
cmp r8d, 6
lea rcx, [0x1803df140]
mov eax, 0x18
mov edx, 0x10
cmovge edx, eax
mov rdx, qword [rsp + rdx + 0x70]
call fcn.18029a2a0
mov qword [r13], rax
mov eax, 1
jmp 0x18035d07a