Function at 0x180092550
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbx
push r12
push r13
push r15
sub rsp, 0xa8
mov rax, qword [0x18014b940]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xf0]
mov r12, r9
mov rbx, qword [rsp + 0xf8]
mov r15, 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
movsxd r13, r8d
mov qword [r11 - 0x48], rax
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], rdx
lea eax, [r13 - 6]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x38], rbx
mov qword [r11 - 0x68], 0
cmp eax, 0x61
ja 0x180092cfd
mov edx, 1
mov qword [r11 - 0x30], rdi
mov r8d, edx
call fcn.180103e80
mov rax, qword [r12 + 8]
mov rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp byte [rax + rdi], 0
jne 0x180092606
mov rax, qword [r12 + 0x10]
inc rbx
cmp byte [rax + rbx], 0
jne 0x180092614
mov qword [rsp + 0xd8], rbp
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0x90], r14
call fcn.1800fff70
test eax, eax
jne 0x180092cf3
movsxd rsi, ebx
movsxd r14, edi
lea rbp, [r14 + rsi]
lea rcx, [rbp + 0x3ca]
call fcn.1800ca1d0
mov rbx, rax
test rax, rax
je 0x180092cf3
lea r8, [rbp + 0x3ca]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea r9, [rbx + 0x3c8]
mov dword [rbx + 0x40], 1
lea rax, [0x180149aa0]
mov qword [rbx + 0x30], r9
mov qword [rbx], rax
mov r8, r14
lea eax, [rdi + 1]
movsxd rcx, eax
add rcx, r9
cmp qword [rsp + 0x40], 0
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
call fcn.1800fff70
lea rsi, [0x180147850]
test eax, eax
jne 0x180092713
lea ecx, [rax + 0x20]
call fcn.1800ca1d0
mov rdi, rax
test rax, rax
je 0x180092713
test r15, r15
je 0x1800926f6
mov eax, dword [r15 + 0x7c]
jmp 0x1800926fb
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 0x180092716
mov rdi, rsi
mov rcx, qword [r12 + 0x18]
lea rdx, [rsp + 0x34]
call fcn.1800c4a90
mov r9, qword [r12 + 0x18]
lea rdx, str.CREATE_TABLE_x__.s_INT
mov r8d, eax
mov rcx, rdi
call fcn.180101c70
mov r12d, 4
cmp r13, r12
jle 0x1800927e3
mov r15, qword [rsp + 0x48]
lea r14, str.__.s_REAL
mov ebp, r12d
nop word [rax + rax]
mov rsi, qword [r15 + rbp*8]
movzx eax, byte [rbx + 0x29]
cmp byte [rsi], 0x2b
jne 0x18009278e
inc al
lea rdx, [rsp + 0x34]
inc rsi
mov byte [rbx + 0x29], al
mov rcx, rsi
lea r14, str.__.s
call fcn.1800c4a90
mov r8d, eax
jmp 0x1800927b7
test al, al
jne 0x1800927d7
inc byte [rbx + 0x25]
lea rdx, [rsp + 0x34]
mov rcx, rsi
call fcn.1800c4a90
mov r8d, eax
mov rax, qword [rsp + 0x40]
neg rax
sbb rcx, rcx
and ecx, 8
mov r14, qword [rcx + r14]
mov r9, rsi
mov rdx, r14
mov rcx, rdi
call fcn.180101c70
inc r12d
lea r14, str.__.s_REAL
inc rbp
cmp rbp, r13
jl 0x180092760
mov r15, qword [rsp + 0x50]
lea rsi, [0x180147850]
lea rdx, [0x180130600]
mov rcx, rdi
call fcn.180101c70
test rdi, rdi
je 0x180092b5c
cmp rdi, rsi
je 0x180092b5c
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18009282d
mov eax, dword [rdi + 0x18]
mov byte [rax + rcx], 0
cmp dword [rdi + 0x14], 0
jbe 0x18009282d
test byte [rdi + 0x1d], 4
jne 0x18009282d
mov rcx, rdi
call fcn.180104690
mov rsi, rax
jmp 0x180092831
mov rsi, qword [rdi + 8]
cmp dword [0x180147090], 0
je 0x180092883
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x18009284c
call qword [0x180147110]
mov rcx, rdi
call qword [0x1801470c8]
dec qword [0x18014bdb8]
movsxd rcx, eax
sub qword [0x18014bd70], rcx
mov rcx, rdi
call qword [0x1801470b8]
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x18009288c
call qword [0x180147120]
jmp 0x18009288c
mov rcx, rdi
call qword [0x1801470b8]
test rsi, rsi
je 0x180092b5c
cmp r12d, r13d
jge 0x1800928bd
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x18012a598]
call fcn.1801004e0
mov r12, qword [rsp + 0x38]
mov edi, 1
mov qword [r12], rax
jmp 0x1800928f5
mov rdx, rsi
mov rcx, r15
call fcn.1800fe960
mov edi, eax
test eax, eax
je 0x1800928f0
mov rcx, r15
call fcn.1800fed00
mov rdx, rax
lea rcx, [0x18012a598]
call fcn.1801004e0
mov r12, qword [rsp + 0x38]
mov qword [r12], rax
jmp 0x1800928f5
mov r12, qword [rsp + 0x38]
cmp dword [0x180147090], 0
je 0x180092947
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x180092910
call qword [0x180147110]
mov rcx, rsi
call qword [0x1801470c8]
dec qword [0x18014bdb8]
movsxd rcx, eax
sub qword [0x18014bd70], rcx
mov rcx, rsi
call qword [0x1801470b8]
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x180092950
call qword [0x180147120]
jmp 0x180092950
mov rcx, rsi
call qword [0x1801470b8]
test edi, edi
jne 0x180092b61
movzx ecx, byte [rbx + 0x25]
movzx eax, cl
shr al, 1
mov byte [rbx + 0x24], al
cmp al, 1
jae 0x180092971
lea rdx, str.Too_few_columns_for_an_rtree_table
jmp 0x18009298b
cmp cl, 0xa
jbe 0x18009297f
lea rdx, str.Too_many_columns_for_an_rtree_table
jmp 0x18009298b
test cl, 1
je 0x1800929a5
lea rdx, str.Wrong_number_of_columns_for_an_rtree_table
lea rcx, [0x18012a598]
call fcn.1801004e0
mov qword [r12], rax
mov edi, 1
jmp 0x180092b61
mov r14d, dword [rsp + 0x100]
add cl, 2
mov rdx, qword [rbx + 0x30]
shl cl, 2
mov byte [rbx + 0x27], cl
test r14d, r14d
je 0x180092a0d
lea rcx, str.PRAGMA__Q.page_size
mov dword [rsp + 0x30], 0
call fcn.1801004e0
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, r15
mov rsi, rax
call fcn.180077040
mov edi, eax
test eax, eax
jne 0x180092a35
movzx ecx, byte [rbx + 0x27]
mov r8d, dword [rsp + 0x30]
imul edx, ecx, 0x33
add r8d, 0xffffffc0
mov dword [rbx + 0x20], r8d
add edx, 4
cmp edx, r8d
jge 0x180092a6b
mov dword [rbx + 0x20], edx
jmp 0x180092a6b
mov r8, qword [rbx + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.1801004e0
lea r8, [rbx + 0x20]
mov rdx, rax
mov rcx, r15
mov rsi, rax
call fcn.180077040
mov edi, eax
test eax, eax
je 0x180092a49
mov rcx, r15
call fcn.1800fed00
mov rdx, rax
lea rcx, [0x18012a598]
jmp 0x180092a62
cmp dword [rbx + 0x20], 0x1c0
jge 0x180092a6b
mov rdx, qword [rbx + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov edi, 0x10b
call fcn.1801004e0
mov qword [r12], rax
test rsi, rsi
je 0x180092acb
cmp dword [0x180147090], 0
je 0x180092ac2
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x180092a8b
call qword [0x180147110]
mov rcx, rsi
call qword [0x1801470c8]
dec qword [0x18014bdb8]
movsxd rcx, eax
sub qword [0x18014bd70], rcx
mov rcx, rsi
call qword [0x1801470b8]
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x180092acb
call qword [0x180147120]
jmp 0x180092acb
mov rcx, rsi
call qword [0x1801470b8]
test edi, edi
jne 0x180092b61
mov r8, qword [rsp + 0x48]
mov rdx, r15
mov rcx, rbx
mov dword [rsp + 0x20], r14d
mov r9, qword [r8 + 0x10]
mov r8, qword [r8 + 8]
call fcn.1800933b0
mov edi, eax
test eax, eax
je 0x180092b13
mov rcx, r15
call fcn.1800fed00
mov rdx, rax
lea rcx, [0x18012a598]
call fcn.1801004e0
mov qword [r12], rax
jmp 0x180092b61
mov rax, qword [rsp + 0x58]
mov qword [rax], rbx
xor eax, eax
mov rbp, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xa0]
mov r14, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.18011eb70
add rsp, 0xa8
pop r15
pop r13
pop r12
pop rbx
ret
mov edi, 7
add dword [rbx + 0x40], 0xffffffff
jne 0x180092cec
mov rsi, qword [rbx + 0x70]
mov byte [rbx + 0x28], 0
test rsi, rsi
je 0x180092bbf
cmp dword [rbx + 0x50], 0
jne 0x180092bbf
mov qword [rbx + 0x70], 0
mov rbp, qword [rsi + 0x20]
mov r14, qword [rsi + 0x18]
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x180092b9d
call qword [0x180147110]
mov rdx, rsi
mov rcx, rbp
call fcn.1800a5670
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x180092bb7
call qword [0x180147120]
mov rcx, r14
call fcn.1800ffcb0
mov rcx, qword [rbx + 0x78]
call fcn.1800ffcb0
mov rcx, qword [rbx + 0x80]
call fcn.1800ffcb0
mov rcx, qword [rbx + 0x88]
call fcn.1800ffcb0
mov rcx, qword [rbx + 0x90]
call fcn.1800ffcb0
mov rcx, qword [rbx + 0x98]
call fcn.1800ffcb0
mov rcx, qword [rbx + 0xa0]
call fcn.1800ffcb0
mov rcx, qword [rbx + 0xa8]
call fcn.1800ffcb0
mov rcx, qword [rbx + 0xb0]
call fcn.1800ffcb0
mov rcx, qword [rbx + 0xb8]
call fcn.1800ffcb0
mov rsi, qword [rbx + 0x58]
test rsi, rsi
je 0x180092c8c
cmp dword [0x180147090], 0
je 0x180092c83
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x180092c4c
call qword [0x180147110]
mov rcx, rsi
call qword [0x1801470c8]
dec qword [0x18014bdb8]
mov rcx, rsi
movsxd rdx, eax
sub qword [0x18014bd70], rdx
call qword [0x1801470b8]
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x180092c93
call qword [0x180147120]
jmp 0x180092c8c
mov rcx, rsi
call qword [0x1801470b8]
mov rcx, qword [0x18014be20]
cmp dword [0x180147090], 0
je 0x180092ce3
test rcx, rcx
je 0x180092ca7
call qword [0x180147110]
mov rcx, rbx
call qword [0x1801470c8]
dec qword [0x18014bdb8]
movsxd rcx, eax
sub qword [0x18014bd70], rcx
mov rcx, rbx
call qword [0x1801470b8]
mov rcx, qword [0x18014be20]
test rcx, rcx
je 0x180092cec
call qword [0x180147120]
mov eax, edi
jmp 0x180092b1d
mov rcx, rbx
call qword [0x1801470b8]
mov eax, edi
jmp 0x180092b1d
mov eax, 7
jmp 0x180092b1d
cmp r13d, 6
lea rcx, [0x18012a598]
mov eax, 0x18
mov edx, 0x10
cmovge edx, eax
mov rdx, qword [rsp + rdx + 0x60]
call fcn.1801004e0
mov qword [rbx], rax
mov eax, 1
jmp 0x180092b3d