Function at 0x14029b110
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov dword [r11 + 0x18], r8d
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push r12
push r13
push r14
push r15
sub rsp, 0xa8
lea rax, str.Wrong_number_of_columns_for_an_rtree_table
mov qword [r11 - 0x78], 0
mov qword [r11 - 0x70], rax
mov r14, r9
lea rax, str.Too_few_columns_for_an_rtree_table
mov r12d, r8d
mov qword [r11 - 0x68], rax
mov r13, rdx
lea rax, str.Too_many_columns_for_an_rtree_table
mov r15, rcx
mov qword [r11 - 0x60], rax
lea rax, str.Auxiliary_rtree_columns_must_be_last
mov qword [r11 - 0x58], rax
lea eax, [r8 - 6]
cmp eax, 0x61
ja 0x14029b8c5
mov qword [r11 - 0x30], rbp
mov edx, 1
mov qword [r11 - 0x38], rsi
mov r8d, edx
mov qword [r11 - 0x40], rdi
call fcn.140201370
mov rcx, qword [r14 + 8]
mov rax, 0xffffffffffffffff
mov rdi, rax
inc rdi
cmp byte [rcx + rdi], 0
jne 0x14029b1a6
mov rcx, qword [r14 + 0x10]
inc rax
cmp byte [rcx + rax], 0
jne 0x14029b1b3
mov qword [rsp + 0xa0], rbx
movsxd rsi, eax
movsxd rbp, edi
call fcn.14030be00
test eax, eax
jne 0x14029b8bb
lea rcx, [rbp + 0x3ca]
add rcx, rsi
call fcn.1402d7360
mov rbx, rax
test rax, rax
je 0x14029b8bb
lea r8, [rbp + 0x3ca]
xor edx, edx
add r8, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rbx + 0x40], 1
lea rax, [rbx + 0x40]
mov qword [rsp + 0x48], rax
lea rcx, [rbx + 0x3c8]
mov qword [rbx + 0x30], rcx
lea r8, [rbx + 0x38]
lea rax, [0x14043d1a0]
mov qword [rsp + 0x38], r8
mov qword [rbx], rax
lea rax, [rbx + 0x30]
mov qword [rsp + 0x40], rax
lea eax, [rdi + 1]
movsxd rdx, eax
add rdx, rcx
mov qword [r8], rdx
test r13, r13
mov r8, rbp
setne al
mov byte [rbx + 0x26], al
mov rdx, qword [r14 + 8]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x38]
mov r8, rsi
mov rdx, qword [r14 + 0x10]
mov rcx, qword [rcx]
call sub.VCRUNTIME140.dll_memcpy
call fcn.14030be00
lea rbp, [0x14043a570]
test eax, eax
jne 0x14029b2bf
mov ecx, 0x20
call fcn.1402d7360
mov rdi, rax
test rax, rax
je 0x14029b2bf
test r15, r15
je 0x14029b2a2
mov eax, dword [r15 + 0x88]
jmp 0x14029b2a7
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 0x14029b2c2
mov rdi, rbp
mov rcx, qword [r14 + 0x18]
lea rdx, [rsp + 0x30]
call fcn.1402d1ea0
mov r9, qword [r14 + 0x18]
lea rdx, str.CREATE_TABLE_x__.s_INT
mov r8d, eax
mov rcx, rdi
call fcn.1401fcc00
mov r13d, 4
cmp r12d, r13d
jle 0x14029b3ad
mov r15, qword [rsp + 0xe8]
lea r14, str.__.s_REAL
mov ebp, r13d
nop word [rax + rax]
mov rsi, qword [r15 + rbp*8]
movzx eax, byte [rbx + 0x29]
cmp byte [rsi], 0x2b
jne 0x14029b33e
inc al
lea rdx, [rsp + 0x30]
inc rsi
mov byte [rbx + 0x29], al
mov rcx, rsi
lea r14, str.__.s
call fcn.1402d1ea0
mov r8d, eax
jmp 0x14029b36a
test al, al
jne 0x14029b396
inc byte [rbx + 0x25]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1402d1ea0
mov r8d, eax
mov rax, qword [rsp + 0xd8]
neg rax
sbb rcx, rcx
and ecx, 8
mov r14, qword [rcx + r14]
mov r9, rsi
mov rdx, r14
mov rcx, rdi
call fcn.1401fcc00
movsxd rcx, dword [rsp + 0xe0]
lea r14, str.__.s_REAL
inc r13d
inc rbp
cmp rbp, rcx
jl 0x14029b310
mov r15, qword [rsp + 0xd0]
lea rbp, [0x14043a570]
mov r12d, dword [rsp + 0xe0]
lea rdx, [0x14041e8c8]
mov rcx, rdi
mov rsi, rbx
call fcn.1401fcc00
test rdi, rdi
je 0x14029b720
cmp rdi, rbp
je 0x14029b720
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14029b3fa
mov eax, dword [rdi + 0x18]
mov byte [rax + rcx], 0
cmp dword [rdi + 0x14], 0
jbe 0x14029b3fa
test byte [rdi + 0x1d], 4
jne 0x14029b3fa
mov rcx, rdi
call fcn.14030d640
mov rbp, rax
jmp 0x14029b3fe
mov rbp, qword [rdi + 8]
cmp dword [0x140439d10], 0
je 0x14029b450
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x14029b419
call qword [0x140439d90]
mov rcx, rdi
call qword [0x140439d48]
dec qword [0x14043f378]
mov rcx, rdi
movsxd rdx, eax
sub qword [0x14043f330], rdx
call qword [0x140439d38]
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x14029b459
call qword [0x140439da0]
jmp 0x14029b459
mov rcx, rdi
call qword [0x140439d38]
test rbp, rbp
je 0x14029b720
mov r14, qword [rsp + 0xf8]
cmp r13d, r12d
jge 0x14029b489
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x140417fb8]
call fcn.14021e5b0
mov edi, 1
jmp 0x14029b4b1
mov rdx, rbp
mov rcx, r15
call fcn.1401fadb0
mov edi, eax
test eax, eax
je 0x14029b4b4
mov rcx, r15
call fcn.14021feb0
mov rdx, rax
lea rcx, [0x140417fb8]
call fcn.14021e5b0
mov qword [r14], rax
cmp dword [0x140439d10], 0
je 0x14029b506
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x14029b4cf
call qword [0x140439d90]
mov rcx, rbp
call qword [0x140439d48]
dec qword [0x14043f378]
movsxd rcx, eax
sub qword [0x14043f330], rcx
mov rcx, rbp
call qword [0x140439d38]
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x14029b50f
call qword [0x140439da0]
jmp 0x14029b50f
mov rcx, rbp
call qword [0x140439d38]
test edi, edi
jne 0x14029b725
movzx ecx, byte [rbx + 0x25]
movzx eax, cl
shr al, 1
mov byte [rbx + 0x24], al
cmp al, 1
jae 0x14029b530
lea rdx, str.Too_few_columns_for_an_rtree_table
jmp 0x14029b54a
cmp cl, 0xa
jbe 0x14029b53e
lea rdx, str.Too_many_columns_for_an_rtree_table
jmp 0x14029b54a
test cl, 1
je 0x14029b563
lea rdx, str.Wrong_number_of_columns_for_an_rtree_table
lea rcx, [0x140417fb8]
call fcn.14021e5b0
mov qword [r14], rax
mov edi, 1
jmp 0x14029b725
mov rdx, qword [rsp + 0x40]
add cl, 2
mov r12d, dword [rsp + 0x100]
shl cl, 2
mov byte [rbx + 0x27], cl
mov rdx, qword [rdx]
test r12d, r12d
je 0x14029b5d4
lea rcx, str.PRAGMA__Q.page_size
mov dword [rsp + 0xe0], 0
call fcn.14021e5b0
lea r8, [rsp + 0xe0]
mov rdx, rax
mov rcx, r15
mov rbx, rax
call fcn.14027d510
mov edi, eax
test eax, eax
jne 0x14029b601
movzx ecx, byte [rsi + 0x27]
mov edx, dword [rsp + 0xe0]
imul eax, ecx, 0x33
add edx, 0xffffffc0
mov dword [rsi + 0x20], edx
add eax, 4
cmp eax, edx
jge 0x14029b636
mov dword [rsi + 0x20], eax
jmp 0x14029b636
mov r13, qword [rsp + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
mov r8, qword [r13]
call fcn.14021e5b0
lea r8, [rsi + 0x20]
mov rdx, rax
mov rcx, r15
mov rbx, rax
call fcn.14027d510
mov edi, eax
test eax, eax
je 0x14029b615
mov rcx, r15
call fcn.14021feb0
mov rdx, rax
lea rcx, [0x140417fb8]
jmp 0x14029b62e
cmp dword [rsi + 0x20], 0x1c0
jge 0x14029b636
mov rdx, qword [r13]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov edi, 0x10b
call fcn.14021e5b0
mov qword [r14], rax
test rbx, rbx
je 0x14029b696
cmp dword [0x140439d10], 0
je 0x14029b68d
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x14029b656
call qword [0x140439d90]
mov rcx, rbx
call qword [0x140439d48]
dec qword [0x14043f378]
movsxd rcx, eax
sub qword [0x14043f330], rcx
mov rcx, rbx
call qword [0x140439d38]
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x14029b696
call qword [0x140439da0]
jmp 0x14029b696
mov rcx, rbx
call qword [0x140439d38]
mov rbx, rsi
test edi, edi
jne 0x14029b725
mov r8, qword [rsp + 0xe8]
mov rdx, r15
mov rcx, rsi
mov dword [rsp + 0x20], r12d
mov r9, qword [r8 + 0x10]
mov r8, qword [r8 + 8]
call fcn.14029bf60
mov edi, eax
test eax, eax
je 0x14029b6e3
mov rcx, r15
call fcn.14021feb0
mov rdx, rax
lea rcx, [0x140417fb8]
call fcn.14021e5b0
mov qword [r14], rax
jmp 0x14029b725
mov rax, qword [rsp + 0xf0]
mov qword [rax], rsi
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
ret
mov edi, 7
mov rax, qword [rsp + 0x48]
add dword [rax], 0xffffffff
jne 0x14029b8b4
mov rsi, qword [rbx + 0x70]
mov byte [rbx + 0x28], 0
test rsi, rsi
je 0x14029b787
cmp dword [rbx + 0x50], 0
jne 0x14029b787
mov qword [rbx + 0x70], 0
mov rbp, qword [rsi + 0x20]
mov r14, qword [rsi + 0x18]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14029b765
call qword [0x140439d90]
mov rdx, rsi
mov rcx, rbp
call fcn.1402afb40
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x14029b77f
call qword [0x140439da0]
mov rcx, r14
call fcn.1401f6d00
mov rcx, qword [rbx + 0x78]
call fcn.1401f6d00
mov rcx, qword [rbx + 0x80]
call fcn.1401f6d00
mov rcx, qword [rbx + 0x88]
call fcn.1401f6d00
mov rcx, qword [rbx + 0x90]
call fcn.1401f6d00
mov rcx, qword [rbx + 0x98]
call fcn.1401f6d00
mov rcx, qword [rbx + 0xa0]
call fcn.1401f6d00
mov rcx, qword [rbx + 0xa8]
call fcn.1401f6d00
mov rcx, qword [rbx + 0xb0]
call fcn.1401f6d00
mov rcx, qword [rbx + 0xb8]
call fcn.1401f6d00
mov rsi, qword [rbx + 0x58]
test rsi, rsi
je 0x14029b854
cmp dword [0x140439d10], 0
je 0x14029b84b
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x14029b814
call qword [0x140439d90]
mov rcx, rsi
call qword [0x140439d48]
dec qword [0x14043f378]
mov rcx, rsi
movsxd rdx, eax
sub qword [0x14043f330], rdx
call qword [0x140439d38]
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x14029b85b
call qword [0x140439da0]
jmp 0x14029b854
mov rcx, rsi
call qword [0x140439d38]
mov rcx, qword [0x14043f3f0]
cmp dword [0x140439d10], 0
je 0x14029b8ab
test rcx, rcx
je 0x14029b86f
call qword [0x140439d90]
mov rcx, rbx
call qword [0x140439d48]
dec qword [0x14043f378]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x14043f330], rdx
call qword [0x140439d38]
mov rcx, qword [0x14043f3f0]
test rcx, rcx
je 0x14029b8b4
call qword [0x140439da0]
mov eax, edi
jmp 0x14029b6f0
mov rcx, rbx
call qword [0x140439d38]
mov eax, edi
jmp 0x14029b6f0
mov eax, 7
jmp 0x14029b6f0
cmp r12d, 6
lea rcx, [0x140417fb8]
mov eax, 0x18
mov edx, 0x10
cmovge edx, eax
mov rdx, qword [rsp + rdx + 0x50]
call fcn.14021e5b0
mov rcx, qword [rsp + 0xf8]
mov qword [rcx], rax
mov eax, 1
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
ret