Function at 0x1401db0d0
Capabilities:
Reference sql statements

Disassembly:
push r12
push r13
push r14
sub rsp, 0x80
mov r13, qword [rsp + 0xc8]
mov r12, rcx
mov rcx, qword [rsp + 0xc0]
mov r14, r9
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x50], r9
mov dword [rsp + 0x40], r8d
mov qword [rsp + 0x48], rdx
cmp r8d, 0x67
jle 0x1401db137
lea rdx, str.Too_many_columns_for_an_rtree_table
lea rcx, [0x14032d664]
call fcn.140188b80
mov qword [r13], rax
mov eax, 1
add rsp, 0x80
pop r14
pop r13
pop r12
ret
mov edx, 1
mov qword [rsp + 0xa8], rbx
mov r8d, edx
mov qword [rsp + 0x68], rdi
mov rcx, r12
call fcn.140194750
mov rax, qword [r14 + 8]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x1401db160
mov rax, qword [r14 + 0x10]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1401db174
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x60], r15
call fcn.14022da30
test eax, eax
jne 0x1401db52c
movsxd rsi, ebx
movsxd r15, edi
lea rbp, [r15 + rsi]
lea rcx, [rbp + 0x3ca]
call fcn.140203f00
mov rbx, rax
test rax, rax
je 0x1401db52c
lea r8, [rbp + 0x3ca]
xor edx, edx
mov rcx, rax
call fcn.140289490
lea r9, [rbx + 0x3c8]
mov dword [rbx + 0x40], 1
lea rax, reloc.WS2_32.dll_closesocket
mov qword [rbx + 0x30], r9
mov qword [rbx], rax
mov r8, r15
lea eax, [rdi + 1]
movsxd rcx, eax
add rcx, r9
cmp qword [rsp + 0x48], 0
mov qword [rbx + 0x38], rcx
mov rcx, r9
setne al
mov byte [rbx + 0x26], al
mov rdx, qword [r14 + 8]
call fcn.140289020
mov rdx, qword [r14 + 0x10]
mov r8, rsi
mov rcx, qword [rbx + 0x38]
call fcn.140289020
mov rcx, r12
call fcn.140191080
mov r8, qword [r14 + 0x18]
lea rdx, str.CREATE_TABLE_x__s
mov rcx, rax
mov rsi, rax
call fcn.140191150
movsxd rdi, dword [rsp + 0x40]
mov ebp, 4
mov r15, rdi
cmp rdi, rbp
jle 0x1401db295
mov edi, ebp
mov rax, qword [r14 + rdi*8]
movzx ecx, byte [rbx + 0x29]
cmp byte [rax], 0x2b
jne 0x1401db26d
inc cl
mov byte [rbx + 0x29], cl
mov r8, qword [r14 + rdi*8]
inc r8
jmp 0x1401db278
test cl, cl
jne 0x1401db291
inc byte [rbx + 0x25]
mov r8, qword [r14 + rdi*8]
lea rdx, [0x140335904]
mov rcx, rsi
call fcn.140191150
inc ebp
inc rdi
cmp rdi, r15
jl 0x1401db252
mov edi, dword [rsp + 0x40]
lea rdx, [0x140335908]
mov rcx, rsi
call fcn.140191150
xor r15d, r15d
test rsi, rsi
je 0x1401db34a
lea rax, [0x1403bb058]
cmp rsi, rax
je 0x1401db34a
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1401db2e9
mov eax, dword [rsi + 0x18]
mov byte [rax + rcx], r15b
cmp dword [rsi + 0x14], r15d
jbe 0x1401db2e9
test byte [rsi + 0x1d], 4
jne 0x1401db2e9
mov rcx, rsi
call fcn.14022eb50
mov r14, rax
jmp 0x1401db2ed
mov r14, qword [rsi + 8]
mov rcx, rsi
call fcn.1401890d0
test r14, r14
je 0x1401db34d
cmp ebp, edi
jge 0x1401db31c
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x14032d664]
call fcn.140188b80
mov qword [r13], rax
mov edi, 1
jmp 0x1401db352
mov rdx, r14
mov rcx, r12
call fcn.14018f770
mov edi, eax
test eax, eax
je 0x1401db352
mov rcx, r12
call fcn.140189f80
mov rdx, rax
lea rcx, [0x14032d664]
call fcn.140188b80
mov qword [r13], rax
jmp 0x1401db352
mov r14, r15
mov edi, 7
mov rcx, r14
call fcn.1401890d0
test edi, edi
jne 0x1401db3a9
movzx ecx, byte [rbx + 0x25]
movzx eax, cl
shr al, 1
mov byte [rbx + 0x24], al
cmp al, 1
jae 0x1401db377
lea rax, str.Too_few_columns_for_an_rtree_table
jmp 0x1401db391
cmp cl, 0xa
jbe 0x1401db385
lea rax, str.Too_many_columns_for_an_rtree_table
jmp 0x1401db391
test cl, 1
je 0x1401db3b8
lea rax, str.Wrong_number_of_columns_for_an_rtree_table
mov rdx, rax
lea rcx, [0x14032d664]
call fcn.140188b80
mov qword [r13], rax
mov edi, 1
mov rcx, rbx
call fcn.1401db680
mov eax, edi
jmp 0x1401db531
mov r14d, dword [rsp + 0xd0]
add cl, 2
mov rdx, qword [rbx + 0x30]
shl cl, 2
mov byte [rbx + 0x27], cl
test r14d, r14d
je 0x1401db468
lea rcx, str.PRAGMA__Q.page_size
call fcn.140188b80
mov rsi, rax
mov edi, 7
test rax, rax
je 0x1401db44a
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
lea r9d, [rdi + 0x79]
lea r8d, [rdi - 8]
mov qword [rsp + 0x20], r15
mov rdx, rsi
mov qword [rsp + 0x40], r15
mov rcx, r12
call fcn.140203b80
mov edi, eax
test eax, eax
jne 0x1401db44a
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call fcn.14018b7c0
cmp eax, 0x64
jne 0x1401db440
xor edx, edx
mov rcx, rdi
call fcn.14018beb0
mov r15d, eax
mov rcx, rdi
call fcn.14018c4d0
mov edi, eax
test edi, edi
jne 0x1401db490
movzx eax, byte [rbx + 0x27]
lea edx, [r15 - 0x40]
imul ecx, eax, 0x33
mov dword [rbx + 0x20], edx
add ecx, 4
cmp ecx, edx
jge 0x1401db4c6
mov dword [rbx + 0x20], ecx
jmp 0x1401db4c6
mov r8, qword [rbx + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.140188b80
lea r8, [rbx + 0x20]
mov rdx, rax
mov rcx, r12
mov rsi, rax
call fcn.1401c5b00
mov edi, eax
test eax, eax
je 0x1401db4a4
mov rcx, r12
call fcn.140189f80
mov rdx, rax
lea rcx, [0x14032d664]
jmp 0x1401db4bd
cmp dword [rbx + 0x20], 0x1c0
jge 0x1401db4c6
mov rdx, qword [rbx + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov edi, 0x10b
call fcn.140188b80
mov qword [r13], rax
mov rcx, rsi
call fcn.1401890d0
test edi, edi
jne 0x1401db3a9
mov r8, qword [rsp + 0x50]
mov rdx, r12
mov rcx, rbx
mov dword [rsp + 0x20], r14d
mov r9, qword [r8 + 0x10]
mov r8, qword [r8 + 8]
call fcn.1401dbaf0
mov edi, eax
test eax, eax
je 0x1401db520
mov rcx, r12
call fcn.140189f80
mov rdx, rax
lea rcx, [0x14032d664]
call fcn.140188b80
mov qword [r13], rax
mov rcx, rbx
call fcn.1401db680
mov eax, edi
jmp 0x1401db531
mov rax, qword [rsp + 0x58]
mov qword [rax], rbx
xor eax, eax
jmp 0x1401db531
mov eax, 7
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0x68]
add rsp, 0x80
pop r14
pop r13
pop r12
ret