Function at 0x1803632d0
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rbx
push rbp
push r13
push r15
sub rsp, 0xb8
mov rax, qword [0x1804e0010]
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 0x18036380d
mov edx, 1
mov qword [r11 - 0x28], rdi
mov r8d, edx
call fcn.180320330
mov rax, qword [rbx + 8]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], bpl
jne 0x180363381
mov rax, qword [rbx + 0x10]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], bpl
jne 0x180363395
mov qword [rsp + 0xe8], rsi
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xa0], r14
call fcn.18033a3c0
test eax, eax
jne 0x180363803
movsxd rsi, ebx
movsxd r12, edi
lea r14, [r12 + rsi]
lea rcx, [r14 + 0x3ca]
call fcn.18029dcf0
mov rbx, rax
test rax, rax
je 0x180363803
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, [0x1804e5c00]
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.1802a0650
mov rdi, qword [r12 + 0x18]
mov rsi, rax
mov qword [rsp + 0x48], rax
lea rax, [0x1803c99a0]
mov dword [rsp + 0x40], ebp
movzx ecx, byte [rdi]
movzx r8d, byte [rcx + rax]
cmp r8d, 0x1c
ja 0x18036348d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180339020
jmp 0x180363492
mov eax, 1
mov r9, rdi
lea rdx, str.CREATE_TABLE_x__.s_INT
mov r8d, eax
mov rcx, rsi
call fcn.1802a0a60
movsxd rdi, dword [rsp + 0x50]
mov r14d, 4
mov rax, rdi
cmp rdi, r14
jle 0x18036358d
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 0x180363522
inc al
mov dword [rsp + 0x40], ebp
inc rdi
mov byte [rbx + 0x29], al
lea rcx, [0x1803c99a0]
movzx eax, byte [rdi]
movzx r8d, byte [rax + rcx]
cmp r8d, 0x1c
ja 0x180363514
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180339020
lea rdx, str.__.s
jmp 0x18036355d
mov eax, 1
lea rdx, str.__.s
jmp 0x18036355d
test al, al
jne 0x18036357a
inc byte [rbx + 0x25]
lea rcx, [0x1803c99a0]
movzx eax, byte [rdi]
mov dword [rsp + 0x40], ebp
movzx r8d, byte [rax + rcx]
cmp r8d, 0x1c
ja 0x180363551
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.180339020
jmp 0x180363556
mov eax, 1
lea rdx, str.__.s_NUM
mov r9, rdi
mov r8d, eax
mov rcx, r13
call fcn.1802a0a60
inc r14d
inc rsi
cmp rsi, r15
jl 0x1803634d0
mov r15, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x48]
mov edi, dword [rsp + 0x50]
lea rdx, [0x1803f424c]
mov rcx, rsi
call fcn.1802a0a60
mov rcx, rsi
call fcn.1802a0560
mov rsi, rax
test rax, rax
jne 0x1803635b1
lea edi, [rax + 7]
jmp 0x1803635fc
cmp r14d, edi
jge 0x1803635d0
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x1803ed540]
call fcn.1802a08a0
mov edi, 1
jmp 0x1803635f8
mov rdx, rsi
mov rcx, r15
call fcn.18031f970
mov edi, eax
test eax, eax
je 0x1803635fc
mov rcx, r15
call fcn.18033d300
mov rdx, rax
lea rcx, [0x1803ed540]
call fcn.1802a08a0
mov qword [r13], rax
mov rcx, rsi
call fcn.18029df30
test edi, edi
jne 0x180363650
movzx ecx, byte [rbx + 0x25]
movzx eax, cl
shr al, 1
mov byte [rbx + 0x24], al
cmp al, 1
jae 0x180363621
lea rdx, str.Too_few_columns_for_an_rtree_table
jmp 0x18036363b
cmp cl, 0xa
jbe 0x18036362f
lea rdx, str.Too_many_columns_for_an_rtree_table
jmp 0x18036363b
test cl, 1
je 0x180363698
lea rdx, str.Wrong_number_of_columns_for_an_rtree_table
lea rcx, [0x1803ed540]
call fcn.1802a08a0
mov qword [r13], rax
mov edi, 1
mov rcx, rbx
call fcn.18035d8d0
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.180393f50
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 0x180363746
lea rcx, str.PRAGMA__Q.page_size
call fcn.1802a08a0
mov rsi, rax
mov edi, 7
test rax, rax
je 0x180363729
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.18030a600
mov edi, eax
test eax, eax
jne 0x180363729
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call fcn.1802c9d40
cmp eax, 0x64
jne 0x18036371f
xor edx, edx
mov rcx, rdi
call fcn.1802ca780
mov ebp, eax
mov rcx, rdi
call fcn.1802c8d60
mov edi, eax
test edi, edi
jne 0x18036376e
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 0x1803637a4
mov dword [rbx + 0x20], ecx
jmp 0x1803637a4
mov r8, qword [rbx + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.1802a08a0
lea r8, [rbx + 0x20]
mov rdx, rax
mov rcx, r15
mov rsi, rax
call fcn.180363250
mov edi, eax
test eax, eax
je 0x180363782
mov rcx, r15
call fcn.18033d300
mov rdx, rax
lea rcx, [0x1803ed540]
jmp 0x18036379b
cmp dword [rbx + 0x20], 0x1c0
jge 0x1803637a4
mov rdx, qword [rbx + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov edi, 0x10b
call fcn.1802a08a0
mov qword [r13], rax
mov rcx, rsi
call fcn.18029df30
test edi, edi
jne 0x180363650
mov r9, qword [r12 + 0x10]
mov rdx, r15
mov r8, qword [r12 + 8]
mov rcx, rbx
mov dword [rsp + 0x20], r14d
call fcn.180362b90
mov edi, eax
test eax, eax
je 0x1803637f4
mov rcx, r15
call fcn.18033d300
mov rdx, rax
lea rcx, [0x1803ed540]
call fcn.1802a08a0
mov qword [r13], rax
jmp 0x180363650
mov rax, qword [rsp + 0x68]
mov qword [rax], rbx
xor eax, eax
jmp 0x18036365a
mov eax, 7
jmp 0x18036365a
cmp r8d, 6
lea rcx, [0x1803ed540]
mov eax, 0x18
mov edx, 0x10
cmovge edx, eax
mov rdx, qword [rsp + rdx + 0x70]
call fcn.1802a08a0
mov qword [r13], rax
mov eax, 1
jmp 0x18036367a