Function at 0x18035a4e0
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbx
push rbp
push r13
push r15
sub rsp, 0xb8
mov rax, qword [0x1804ca010]
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 0x18035aa1d
mov edx, 1
mov qword [r11 - 0x28], rdi
mov r8d, edx
call fcn.180317540
mov rax, qword [rbx + 8]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], bpl
jne 0x18035a591
mov rax, qword [rbx + 0x10]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], bpl
jne 0x18035a5a5
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xa0], r14
call fcn.1803315d0
test eax, eax
jne 0x18035aa13
movsxd rsi, ebx
movsxd r12, edi
lea r14, [r12 + rsi]
lea rcx, [r14 + 0x3ca]
call fcn.180294f00
mov rbx, rax
test rax, rax
je 0x18035aa13
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, [0x1804cf7c0]
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.180297860
mov rdi, qword [r12 + 0x18]
mov rsi, rax
mov qword [rsp + 0x48], rax
lea rax, [0x1803ba9c0]
mov dword [rsp + 0x40], ebp
movzx ecx, byte [rdi]
movzx r8d, byte [rcx + rax]
cmp r8d, 0x1c
ja 0x18035a69d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180330230
jmp 0x18035a6a2
mov eax, 1
mov r9, rdi
lea rdx, str.CREATE_TABLE_x__.s_INT
mov r8d, eax
mov rcx, rsi
call fcn.180297c70
movsxd rdi, dword [rsp + 0x50]
mov r14d, 4
mov rax, rdi
cmp rdi, r14
jle 0x18035a79d
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 0x18035a732
inc al
mov dword [rsp + 0x40], ebp
inc rdi
mov byte [rbx + 0x29], al
lea rcx, [0x1803ba9c0]
movzx eax, byte [rdi]
movzx r8d, byte [rax + rcx]
cmp r8d, 0x1c
ja 0x18035a724
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180330230
lea rdx, str.__.s
jmp 0x18035a76d
mov eax, 1
lea rdx, str.__.s
jmp 0x18035a76d
test al, al
jne 0x18035a78a
inc byte [rbx + 0x25]
lea rcx, [0x1803ba9c0]
movzx eax, byte [rdi]
mov dword [rsp + 0x40], ebp
movzx r8d, byte [rax + rcx]
cmp r8d, 0x1c
ja 0x18035a761
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180330230
jmp 0x18035a766
mov eax, 1
lea rdx, str.__.s_NUM
mov r9, rdi
mov r8d, eax
mov rcx, r13
call fcn.180297c70
inc r14d
inc rsi
cmp rsi, r15
jl 0x18035a6e0
mov r15, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x48]
mov edi, dword [rsp + 0x50]
lea rdx, [0x1803e3fe4]
mov rcx, rsi
call fcn.180297c70
mov rcx, rsi
call fcn.180297770
mov rsi, rax
test rax, rax
jne 0x18035a7c1
lea edi, [rax + 7]
jmp 0x18035a80c
cmp r14d, edi
jge 0x18035a7e0
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x1803dd25c]
call fcn.180297ab0
mov edi, 1
jmp 0x18035a808
mov rdx, rsi
mov rcx, r15
call fcn.180316b80
mov edi, eax
test eax, eax
je 0x18035a80c
mov rcx, r15
call fcn.180334510
mov rdx, rax
lea rcx, [0x1803dd25c]
call fcn.180297ab0
mov qword [r13], rax
mov rcx, rsi
call fcn.180295140
test edi, edi
jne 0x18035a860
movzx ecx, byte [rbx + 0x25]
movzx eax, cl
shr al, 1
mov byte [rbx + 0x24], al
cmp al, 1
jae 0x18035a831
lea rdx, str.Too_few_columns_for_an_rtree_table
jmp 0x18035a84b
cmp cl, 0xa
jbe 0x18035a83f
lea rdx, str.Too_many_columns_for_an_rtree_table
jmp 0x18035a84b
test cl, 1
je 0x18035a8a8
lea rdx, str.Wrong_number_of_columns_for_an_rtree_table
lea rcx, [0x1803dd25c]
call fcn.180297ab0
mov qword [r13], rax
mov edi, 1
mov rcx, rbx
call fcn.180354ae0
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.180385c10
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 0x18035a956
lea rcx, str.PRAGMA__Q.page_size
call fcn.180297ab0
mov rsi, rax
mov edi, 7
test rax, rax
je 0x18035a939
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.180301810
mov edi, eax
test eax, eax
jne 0x18035a939
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call fcn.1802c0f50
cmp eax, 0x64
jne 0x18035a92f
xor edx, edx
mov rcx, rdi
call fcn.1802c1990
mov ebp, eax
mov rcx, rdi
call fcn.1802bff70
mov edi, eax
test edi, edi
jne 0x18035a97e
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 0x18035a9b4
mov dword [rbx + 0x20], ecx
jmp 0x18035a9b4
mov r8, qword [rbx + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.180297ab0
lea r8, [rbx + 0x20]
mov rdx, rax
mov rcx, r15
mov rsi, rax
call fcn.18035a460
mov edi, eax
test eax, eax
je 0x18035a992
mov rcx, r15
call fcn.180334510
mov rdx, rax
lea rcx, [0x1803dd25c]
jmp 0x18035a9ab
cmp dword [rbx + 0x20], 0x1c0
jge 0x18035a9b4
mov rdx, qword [rbx + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov edi, 0x10b
call fcn.180297ab0
mov qword [r13], rax
mov rcx, rsi
call fcn.180295140
test edi, edi
jne 0x18035a860
mov r9, qword [r12 + 0x10]
mov rdx, r15
mov r8, qword [r12 + 8]
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call fcn.180359da0
mov edi, eax
test eax, eax
je 0x18035aa04
mov rcx, r15
call fcn.180334510
mov rdx, rax
lea rcx, [0x1803dd25c]
call fcn.180297ab0
mov qword [r13], rax
jmp 0x18035a860
mov rax, qword [rsp + 0x68]
mov qword [rax], rbx
xor eax, eax
jmp 0x18035a86a
mov eax, 7
jmp 0x18035a86a
cmp r8d, 6
lea rcx, [0x1803dd25c]
mov eax, 0x18
mov edx, 0x10
cmovge edx, eax
mov rdx, qword [rsp + rdx + 0x70]
call fcn.180297ab0
mov qword [r13], rax
mov eax, 1
jmp 0x18035a88a