Function at 0x1402a8070
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x1404735c0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xf0]
mov r13, r9
mov r15, qword [rsp + 0xf8]
mov r14, rcx
mov qword [rsp + 0x58], rax
lea rax, str.Wrong_number_of_columns_for_an_rtree_table
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 + 0x30], r8d
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], r15
mov qword [r11 - 0x68], 0
cmp eax, 0x61
ja 0x1402a885c
mov edx, 1
mov qword [r11 - 0x28], rsi
mov r8d, edx
mov qword [r11 - 0x30], rdi
call fcn.140208c60
mov edx, 2
mov rcx, r14
call fcn.140208c60
mov rax, qword [r13 + 8]
mov rdi, 0xffffffffffffffff
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], 0
jne 0x1402a8132
mov rax, qword [r13 + 0x10]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x1402a8140
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0x90], r12
call fcn.140319ef0
test eax, eax
jne 0x1402a8852
lea eax, [rdi + rdi]
movsxd r12, esi
movsxd rbp, eax
lea rcx, [r12 + 0x3d0]
add rcx, rbp
call fcn.1402e5070
mov rbx, rax
test rax, rax
je 0x1402a8852
lea r8, [r12 + 0x3d0]
xor edx, edx
add r8, rbp
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rbx + 0x3c8]
mov dword [rbx + 0x48], 1
lea rax, [0x14046e760]
mov qword [rbx + 0x30], r9
mov qword [rbx], rax
mov r8, r12
lea eax, [rsi + 1]
movsxd rdx, eax
lea eax, [rdi + 1]
add rdx, r9
movsxd rcx, eax
add rcx, rdx
mov qword [rbx + 0x38], rdx
cmp qword [rsp + 0x40], 0
mov qword [rbx + 0x40], rcx
mov rcx, r9
setne al
mov byte [rbx + 0x26], al
mov rdx, qword [r13 + 8]
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [r13 + 0x10]
mov rcx, qword [rbx + 0x38]
movsxd rdi, edi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [r13 + 0x10]
mov r8, rdi
mov rcx, qword [rbx + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str._node]
mov rcx, qword [rbx + 0x40]
mov dword [rcx + rdi], eax
movzx eax, word [0x14035b72c]
mov word [rcx + rdi + 4], ax
call fcn.140319ef0
lea rsi, [0x14046b8f0]
test eax, eax
jne 0x1402a8280
lea ecx, [rax + 0x20]
call fcn.1402e5070
mov rdi, rax
test rax, rax
je 0x1402a8280
test r14, r14
je 0x1402a8263
mov eax, dword [r14 + 0x88]
jmp 0x1402a8268
mov eax, 0x3b9aca00
xor ecx, ecx
mov dword [rdi + 0x14], eax
mov qword [rdi + 8], rcx
mov qword [rdi], rcx
mov dword [rdi + 0x10], ecx
mov dword [rdi + 0x18], ecx
mov word [rdi + 0x1c], cx
jmp 0x1402a8283
mov rdi, rsi
mov rcx, qword [r13 + 0x18]
lea rdx, [rsp + 0x38]
call fcn.1402dfb20
mov r9, qword [r13 + 0x18]
lea rdx, str.CREATE_TABLE_x__.s_INT
mov r8d, eax
mov rcx, rdi
call fcn.1402041e0
movsxd rbp, dword [rsp + 0x30]
mov r12d, 4
mov qword [rsp + 0x38], rbp
cmp rbp, r12
jle 0x1402a835d
mov r14, qword [rsp + 0x38]
lea r15, str.__.s_REAL
mov ebp, r12d
nop
mov rsi, qword [r13 + rbp*8]
movzx eax, byte [rbx + 0x29]
cmp byte [rsi], 0x2b
jne 0x1402a82ff
inc al
lea rdx, [rsp + 0x38]
inc rsi
mov byte [rbx + 0x29], al
mov rcx, rsi
lea r15, str.__.s
call fcn.1402dfb20
mov r8d, eax
jmp 0x1402a8328
test al, al
jne 0x1402a8348
inc byte [rbx + 0x25]
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.1402dfb20
mov r8d, eax
mov rax, qword [rsp + 0x40]
neg rax
sbb rcx, rcx
and ecx, 8
mov r15, qword [rcx + r15]
mov r9, rsi
mov rdx, r15
mov rcx, rdi
call fcn.1402041e0
inc r12d
lea r15, str.__.s_REAL
inc rbp
cmp rbp, r14
jl 0x1402a82d0
mov r14, qword [rsp + 0x48]
lea rsi, [0x14046b8f0]
mov r15, qword [rsp + 0x50]
mov ebp, dword [rsp + 0x30]
lea rdx, [0x14035b750]
mov rcx, rdi
call fcn.1402041e0
test rdi, rdi
je 0x1402a86bb
cmp rdi, rsi
je 0x1402a86bb
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1402a83a7
mov eax, dword [rdi + 0x18]
mov byte [rax + rcx], 0
cmp dword [rdi + 0x14], 0
jbe 0x1402a83a7
test byte [rdi + 0x1d], 4
jne 0x1402a83a7
mov rcx, rdi
call fcn.14031b6d0
mov rsi, rax
jmp 0x1402a83ab
mov rsi, qword [rdi + 8]
cmp dword [0x14046b030], 0
je 0x1402a83fd
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402a83c6
call qword [0x14046b0b0]
mov rcx, rdi
call qword [0x14046b068]
dec qword [0x140473788]
movsxd rcx, eax
sub qword [0x140473740], rcx
mov rcx, rdi
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402a8406
call qword [0x14046b0c0]
jmp 0x1402a8406
mov rcx, rdi
call qword [0x14046b058]
test rsi, rsi
je 0x1402a86bb
cmp r12d, ebp
jge 0x1402a842e
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x140354bc0]
call fcn.140225d20
mov edi, 1
jmp 0x1402a8456
mov rdx, rsi
mov rcx, r14
call fcn.1402021a0
mov edi, eax
test eax, eax
je 0x1402a8459
mov rcx, r14
call fcn.1402272c0
mov rdx, rax
lea rcx, [0x140354bc0]
call fcn.140225d20
mov qword [r15], rax
cmp dword [0x14046b030], 0
je 0x1402a84ab
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402a8474
call qword [0x14046b0b0]
mov rcx, rsi
call qword [0x14046b068]
dec qword [0x140473788]
movsxd rcx, eax
sub qword [0x140473740], rcx
mov rcx, rsi
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402a84b4
call qword [0x14046b0c0]
jmp 0x1402a84b4
mov rcx, rsi
call qword [0x14046b058]
test edi, edi
jne 0x1402a86c0
movzx ecx, byte [rbx + 0x25]
movzx eax, cl
shr al, 1
mov byte [rbx + 0x24], al
cmp al, 1
jae 0x1402a84d5
lea rdx, str.Too_few_columns_for_an_rtree_table
jmp 0x1402a84ef
cmp cl, 0xa
jbe 0x1402a84e3
lea rdx, str.Too_many_columns_for_an_rtree_table
jmp 0x1402a84ef
test cl, 1
je 0x1402a8508
lea rdx, str.Wrong_number_of_columns_for_an_rtree_table
lea rcx, [0x140354bc0]
call fcn.140225d20
mov qword [r15], rax
mov edi, 1
jmp 0x1402a86c0
mov r12d, dword [rsp + 0x100]
add cl, 2
mov rdx, qword [rbx + 0x30]
shl cl, 2
mov byte [rbx + 0x27], cl
test r12d, r12d
je 0x1402a856c
lea rcx, str.PRAGMA__Q.page_size
mov dword [rsp + 0x30], 0
call fcn.140225d20
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, r14
mov rsi, rax
call fcn.140287ac0
mov edi, eax
test eax, eax
jne 0x1402a8594
movzx ecx, byte [rbx + 0x27]
mov edx, dword [rsp + 0x30]
imul eax, ecx, 0x33
add edx, 0xffffffc0
mov dword [rbx + 0x20], edx
add eax, 4
cmp eax, edx
jge 0x1402a85c9
mov dword [rbx + 0x20], eax
jmp 0x1402a85c9
mov r8, qword [rbx + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.140225d20
lea r8, [rbx + 0x20]
mov rdx, rax
mov rcx, r14
mov rsi, rax
call fcn.140287ac0
mov edi, eax
test eax, eax
je 0x1402a85a8
mov rcx, r14
call fcn.1402272c0
mov rdx, rax
lea rcx, [0x140354bc0]
jmp 0x1402a85c1
cmp dword [rbx + 0x20], 0x1c0
jge 0x1402a85c9
mov rdx, qword [rbx + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov edi, 0x10b
call fcn.140225d20
mov qword [r15], rax
test rsi, rsi
je 0x1402a8629
cmp dword [0x14046b030], 0
je 0x1402a8620
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402a85e9
call qword [0x14046b0b0]
mov rcx, rsi
call qword [0x14046b068]
dec qword [0x140473788]
movsxd rcx, eax
sub qword [0x140473740], rcx
mov rcx, rsi
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402a8629
call qword [0x14046b0c0]
jmp 0x1402a8629
mov rcx, rsi
call qword [0x14046b058]
test edi, edi
jne 0x1402a86c0
mov r9, qword [r13 + 0x10]
mov rdx, r14
mov r8, qword [r13 + 8]
mov rcx, rbx
mov dword [rsp + 0x20], r12d
call fcn.1402a8ee0
mov edi, eax
test eax, eax
je 0x1402a866b
mov rcx, r14
call fcn.1402272c0
mov rdx, rax
lea rcx, [0x140354bc0]
call fcn.140225d20
mov qword [r15], rax
jmp 0x1402a86c0
mov rax, qword [rsp + 0x58]
mov qword [rax], rbx
xor eax, eax
mov rbx, qword [rsp + 0xd8]
mov rbp, qword [rsp + 0xa8]
mov r12, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140339750
add rsp, 0xb0
pop r15
pop r14
pop r13
ret
mov edi, 7
add dword [rbx + 0x48], 0xffffffff
jne 0x1402a884b
mov rsi, qword [rbx + 0x70]
mov byte [rbx + 0x28], 0
test rsi, rsi
je 0x1402a871e
cmp dword [rbx + 0x58], 0
jne 0x1402a871e
mov qword [rbx + 0x70], 0
mov rbp, qword [rsi + 0x20]
mov r14, qword [rsi + 0x18]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1402a86fc
call qword [0x14046b0b0]
mov rdx, rsi
mov rcx, rbp
call fcn.1402bd350
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1402a8716
call qword [0x14046b0c0]
mov rcx, r14
call fcn.1402295e0
mov rcx, qword [rbx + 0x78]
call fcn.1402295e0
mov rcx, qword [rbx + 0x80]
call fcn.1402295e0
mov rcx, qword [rbx + 0x88]
call fcn.1402295e0
mov rcx, qword [rbx + 0x90]
call fcn.1402295e0
mov rcx, qword [rbx + 0x98]
call fcn.1402295e0
mov rcx, qword [rbx + 0xa0]
call fcn.1402295e0
mov rcx, qword [rbx + 0xa8]
call fcn.1402295e0
mov rcx, qword [rbx + 0xb0]
call fcn.1402295e0
mov rcx, qword [rbx + 0xb8]
call fcn.1402295e0
mov rsi, qword [rbx + 0x60]
test rsi, rsi
je 0x1402a87eb
cmp dword [0x14046b030], 0
je 0x1402a87e2
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402a87ab
call qword [0x14046b0b0]
mov rcx, rsi
call qword [0x14046b068]
dec qword [0x140473788]
mov rcx, rsi
movsxd rdx, eax
sub qword [0x140473740], rdx
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402a87f2
call qword [0x14046b0c0]
jmp 0x1402a87eb
mov rcx, rsi
call qword [0x14046b058]
mov rcx, qword [0x140473800]
cmp dword [0x14046b030], 0
je 0x1402a8842
test rcx, rcx
je 0x1402a8806
call qword [0x14046b0b0]
mov rcx, rbx
call qword [0x14046b068]
dec qword [0x140473788]
movsxd rcx, eax
sub qword [0x140473740], rcx
mov rcx, rbx
call qword [0x14046b058]
mov rcx, qword [0x140473800]
test rcx, rcx
je 0x1402a884b
call qword [0x14046b0c0]
mov eax, edi
jmp 0x1402a8675
mov rcx, rbx
call qword [0x14046b058]
mov eax, edi
jmp 0x1402a8675
mov eax, 7
jmp 0x1402a8675
cmp r8d, 6
lea rcx, [0x140354bc0]
mov eax, 0x18
mov edx, 0x10
cmovge edx, eax
mov rdx, qword [rsp + rdx + 0x60]
call fcn.140225d20
mov qword [r15], rax
mov eax, 1
jmp 0x1402a869d