Function at 0x1401ee530
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 0x1401eece5
mov qword [r11 - 0x30], rbp
mov edx, 1
mov qword [r11 - 0x38], rsi
mov r8d, edx
mov qword [r11 - 0x40], rdi
call fcn.1401536b0
mov rcx, qword [r14 + 8]
mov rax, 0xffffffffffffffff
mov rdi, rax
inc rdi
cmp byte [rcx + rdi], 0
jne 0x1401ee5c6
mov rcx, qword [r14 + 0x10]
inc rax
cmp byte [rcx + rax], 0
jne 0x1401ee5d3
mov qword [rsp + 0xa0], rbx
movsxd rsi, eax
movsxd rbp, edi
call fcn.14025f340
test eax, eax
jne 0x1401eecdb
lea rcx, [rbp + 0x3ca]
add rcx, rsi
call fcn.14022a800
mov rbx, rax
test rax, rax
je 0x1401eecdb
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, [0x1403464e0]
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.14025f340
lea rbp, [0x1403438b0]
test eax, eax
jne 0x1401ee6df
mov ecx, 0x20
call fcn.14022a800
mov rdi, rax
test rax, rax
je 0x1401ee6df
test r15, r15
je 0x1401ee6c2
mov eax, dword [r15 + 0x88]
jmp 0x1401ee6c7
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 0x1401ee6e2
mov rdi, rbp
mov rcx, qword [r14 + 0x18]
lea rdx, [rsp + 0x30]
call fcn.140225340
mov r9, qword [r14 + 0x18]
lea rdx, str.CREATE_TABLE_x__.s_INT
mov r8d, eax
mov rcx, rdi
call fcn.14014fa80
mov r13d, 4
cmp r12d, r13d
jle 0x1401ee7cd
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 0x1401ee75e
inc al
lea rdx, [rsp + 0x30]
inc rsi
mov byte [rbx + 0x29], al
mov rcx, rsi
lea r14, str.__.s
call fcn.140225340
mov r8d, eax
jmp 0x1401ee78a
test al, al
jne 0x1401ee7b6
inc byte [rbx + 0x25]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140225340
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.14014fa80
movsxd rcx, dword [rsp + 0xe0]
lea r14, str.__.s_REAL
inc r13d
inc rbp
cmp rbp, rcx
jl 0x1401ee730
mov r15, qword [rsp + 0xd0]
lea rbp, [0x1403438b0]
mov r12d, dword [rsp + 0xe0]
lea rdx, [0x1402a7918]
mov rcx, rdi
mov rsi, rbx
call fcn.14014fa80
test rdi, rdi
je 0x1401eeb40
cmp rdi, rbp
je 0x1401eeb40
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1401ee81a
mov eax, dword [rdi + 0x18]
mov byte [rax + rcx], 0
cmp dword [rdi + 0x14], 0
jbe 0x1401ee81a
test byte [rdi + 0x1d], 4
jne 0x1401ee81a
mov rcx, rdi
call fcn.140260b80
mov rbp, rax
jmp 0x1401ee81e
mov rbp, qword [rdi + 8]
cmp dword [0x140343050], 0
je 0x1401ee870
mov rcx, qword [0x14034c0c0]
test rcx, rcx
je 0x1401ee839
call qword [0x1403430d0]
mov rcx, rdi
call qword [0x140343088]
dec qword [0x14034c048]
mov rcx, rdi
movsxd rdx, eax
sub qword [0x14034c000], rdx
call qword [0x140343078]
mov rcx, qword [0x14034c0c0]
test rcx, rcx
je 0x1401ee879
call qword [0x1403430e0]
jmp 0x1401ee879
mov rcx, rdi
call qword [0x140343078]
test rbp, rbp
je 0x1401eeb40
mov r14, qword [rsp + 0xf8]
cmp r13d, r12d
jge 0x1401ee8a9
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x1402a1008]
call fcn.1401712f0
mov edi, 1
jmp 0x1401ee8d1
mov rdx, rbp
mov rcx, r15
call fcn.14014db00
mov edi, eax
test eax, eax
je 0x1401ee8d4
mov rcx, r15
call fcn.140172960
mov rdx, rax
lea rcx, [0x1402a1008]
call fcn.1401712f0
mov qword [r14], rax
cmp dword [0x140343050], 0
je 0x1401ee926
mov rcx, qword [0x14034c0c0]
test rcx, rcx
je 0x1401ee8ef
call qword [0x1403430d0]
mov rcx, rbp
call qword [0x140343088]
dec qword [0x14034c048]
movsxd rcx, eax
sub qword [0x14034c000], rcx
mov rcx, rbp
call qword [0x140343078]
mov rcx, qword [0x14034c0c0]
test rcx, rcx
je 0x1401ee92f
call qword [0x1403430e0]
jmp 0x1401ee92f
mov rcx, rbp
call qword [0x140343078]
test edi, edi
jne 0x1401eeb45
movzx ecx, byte [rbx + 0x25]
movzx eax, cl
shr al, 1
mov byte [rbx + 0x24], al
cmp al, 1
jae 0x1401ee950
lea rdx, str.Too_few_columns_for_an_rtree_table
jmp 0x1401ee96a
cmp cl, 0xa
jbe 0x1401ee95e
lea rdx, str.Too_many_columns_for_an_rtree_table
jmp 0x1401ee96a
test cl, 1
je 0x1401ee983
lea rdx, str.Wrong_number_of_columns_for_an_rtree_table
lea rcx, [0x1402a1008]
call fcn.1401712f0
mov qword [r14], rax
mov edi, 1
jmp 0x1401eeb45
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 0x1401ee9f4
lea rcx, str.PRAGMA__Q.page_size
mov dword [rsp + 0xe0], 0
call fcn.1401712f0
lea r8, [rsp + 0xe0]
mov rdx, rax
mov rcx, r15
mov rbx, rax
call fcn.1401d0900
mov edi, eax
test eax, eax
jne 0x1401eea21
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 0x1401eea56
mov dword [rsi + 0x20], eax
jmp 0x1401eea56
mov r13, qword [rsp + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
mov r8, qword [r13]
call fcn.1401712f0
lea r8, [rsi + 0x20]
mov rdx, rax
mov rcx, r15
mov rbx, rax
call fcn.1401d0900
mov edi, eax
test eax, eax
je 0x1401eea35
mov rcx, r15
call fcn.140172960
mov rdx, rax
lea rcx, [0x1402a1008]
jmp 0x1401eea4e
cmp dword [rsi + 0x20], 0x1c0
jge 0x1401eea56
mov rdx, qword [r13]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov edi, 0x10b
call fcn.1401712f0
mov qword [r14], rax
test rbx, rbx
je 0x1401eeab6
cmp dword [0x140343050], 0
je 0x1401eeaad
mov rcx, qword [0x14034c0c0]
test rcx, rcx
je 0x1401eea76
call qword [0x1403430d0]
mov rcx, rbx
call qword [0x140343088]
dec qword [0x14034c048]
movsxd rcx, eax
sub qword [0x14034c000], rcx
mov rcx, rbx
call qword [0x140343078]
mov rcx, qword [0x14034c0c0]
test rcx, rcx
je 0x1401eeab6
call qword [0x1403430e0]
jmp 0x1401eeab6
mov rcx, rbx
call qword [0x140343078]
mov rbx, rsi
test edi, edi
jne 0x1401eeb45
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.1401ef380
mov edi, eax
test eax, eax
je 0x1401eeb03
mov rcx, r15
call fcn.140172960
mov rdx, rax
lea rcx, [0x1402a1008]
call fcn.1401712f0
mov qword [r14], rax
jmp 0x1401eeb45
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 0x1401eecd4
mov rsi, qword [rbx + 0x70]
mov byte [rbx + 0x28], 0
test rsi, rsi
je 0x1401eeba7
cmp dword [rbx + 0x50], 0
jne 0x1401eeba7
mov qword [rbx + 0x70], 0
mov rbp, qword [rsi + 0x20]
mov r14, qword [rsi + 0x18]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1401eeb85
call qword [0x1403430d0]
mov rdx, rsi
mov rcx, rbp
call fcn.140202fc0
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1401eeb9f
call qword [0x1403430e0]
mov rcx, r14
call fcn.1401492c0
mov rcx, qword [rbx + 0x78]
call fcn.1401492c0
mov rcx, qword [rbx + 0x80]
call fcn.1401492c0
mov rcx, qword [rbx + 0x88]
call fcn.1401492c0
mov rcx, qword [rbx + 0x90]
call fcn.1401492c0
mov rcx, qword [rbx + 0x98]
call fcn.1401492c0
mov rcx, qword [rbx + 0xa0]
call fcn.1401492c0
mov rcx, qword [rbx + 0xa8]
call fcn.1401492c0
mov rcx, qword [rbx + 0xb0]
call fcn.1401492c0
mov rcx, qword [rbx + 0xb8]
call fcn.1401492c0
mov rsi, qword [rbx + 0x58]
test rsi, rsi
je 0x1401eec74
cmp dword [0x140343050], 0
je 0x1401eec6b
mov rcx, qword [0x14034c0c0]
test rcx, rcx
je 0x1401eec34
call qword [0x1403430d0]
mov rcx, rsi
call qword [0x140343088]
dec qword [0x14034c048]
mov rcx, rsi
movsxd rdx, eax
sub qword [0x14034c000], rdx
call qword [0x140343078]
mov rcx, qword [0x14034c0c0]
test rcx, rcx
je 0x1401eec7b
call qword [0x1403430e0]
jmp 0x1401eec74
mov rcx, rsi
call qword [0x140343078]
mov rcx, qword [0x14034c0c0]
cmp dword [0x140343050], 0
je 0x1401eeccb
test rcx, rcx
je 0x1401eec8f
call qword [0x1403430d0]
mov rcx, rbx
call qword [0x140343088]
dec qword [0x14034c048]
mov rcx, rbx
movsxd rdx, eax
sub qword [0x14034c000], rdx
call qword [0x140343078]
mov rcx, qword [0x14034c0c0]
test rcx, rcx
je 0x1401eecd4
call qword [0x1403430e0]
mov eax, edi
jmp 0x1401eeb10
mov rcx, rbx
call qword [0x140343078]
mov eax, edi
jmp 0x1401eeb10
mov eax, 7
jmp 0x1401eeb10
cmp r12d, 6
lea rcx, [0x1402a1008]
mov eax, 0x18
mov edx, 0x10
cmovge edx, eax
mov rdx, qword [rsp + rdx + 0x50]
call fcn.1401712f0
mov rcx, qword [rsp + 0xf8]
mov qword [rcx], rax
mov eax, 1
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
ret