Function at 0x62e8b0
Capabilities:
Reference sql statements

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea eax, [r8 - 6]
mov rsi, rdx
mov edi, r8d
mov rbx, r9
mov qword [rsp + 0x100], rcx
cmp eax, 0x61
jbe 0x62e930
cmp r8d, 5
lea rax, str.Too_few_columns_for_an_rtree_table
lea rdx, str.Too_many_columns_for_an_rtree_table
mov r15d, 1
cmovle rdx, rax
lea rcx, [0x00820b4c]
call fcn.005cede0
mov rdi, qword [rsp + 0x128]
mov qword [rdi], rax
mov eax, r15d
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x100]
mov r8d, 1
mov edx, 1
call fcn.005b5300
mov rcx, qword [rbx + 8]
call sub.msvcrt.dll_strlen
mov rcx, qword [rbx + 0x10]
mov r12, rax
call sub.msvcrt.dll_strlen
mov rbp, rax
call fcn.005a7100
test eax, eax
jne 0x62eb90
movsxd r12, r12d
movsxd rbp, ebp
lea r14, [r12 + rbp + 0x3ca]
mov rcx, r14
call fcn.00591bf0
mov r13, rax
test rax, rax
je 0x62eb90
mov r8, r14
xor edx, edx
lea r15, str.__.s_NUM
mov rcx, rax
call sub.msvcrt.dll_memset
lea rcx, [r13 + 0x3c8]
test rsi, rsi
lea rax, [0x0065c7a0]
lea r14, [rcx + r12 + 1]
mov qword [r13 + 0x30], rcx
mov r8, r12
mov qword [r13 + 0x38], r14
mov dword [r13 + 0x40], 1
mov qword [r13], rax
setne byte [r13 + 0x26]
mov rdx, qword [rbx + 8]
call sub.msvcrt.dll_memcpy
mov rdx, qword [rbx + 0x10]
mov r8, rbp
mov rcx, r14
lea r14, [rsp + 0x70]
lea ebp, [rdi - 5]
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x100]
call fcn.005a8730
mov rsi, qword [rbx + 0x18]
mov rdx, r14
mov dword [rsp + 0x70], 0
mov r12, rax
mov rcx, rsi
call fcn.0059aeb0
mov r9, rsi
lea rdx, str.CREATE_TABLE_x__.s_INT
mov rcx, r12
mov r8d, eax
call fcn.005b95a0
lea rax, [rbp + 5]
mov ebp, 4
mov qword [rsp + 0x58], rax
jmp 0x62ea8f
test al, al
jne 0x62eaf0
add byte [r13 + 0x25], 1
mov rcx, r9
mov rdx, r14
add rbp, 1
mov qword [rsp + 0x50], r9
mov dword [rsp + 0x70], 0
call fcn.0059aeb0
mov r9, qword [rsp + 0x50]
mov rdx, r15
mov rcx, r12
mov r8d, eax
call fcn.005b95a0
lea r8d, [rsi + 1]
cmp qword [rsp + 0x58], rbp
je 0x62eaf0
mov r9, qword [rbx + rbp*8]
movzx eax, byte [r13 + 0x29]
mov esi, ebp
mov r8d, ebp
cmp byte [r9], 0x2b
jne 0x62ea48
add eax, 1
add r9, 1
mov rdx, r14
add rbp, 1
mov byte [r13 + 0x29], al
mov rcx, r9
mov qword [rsp + 0x50], r9
mov dword [rsp + 0x70], 0
call fcn.0059aeb0
mov r9, qword [rsp + 0x50]
lea rdx, str.__.s
mov rcx, r12
mov r8d, eax
call fcn.005b95a0
lea r8d, [rsi + 1]
cmp qword [rsp + 0x58], rbp
jne 0x62ea8f
nop dword [rax]
lea rdx, [0x0082697e]
mov rcx, r12
mov dword [rsp + 0x50], r8d
call fcn.005b95a0
test r12, r12
mov r8d, dword [rsp + 0x50]
je 0x62eba0
lea rsi, [0x0065d040]
cmp r12, rsi
je 0x62eba0
mov rcx, r12
mov dword [rsp + 0x50], r8d
call fcn.0059ef00
mov r12, rax
test rax, rax
je 0x62eba0
mov r8d, dword [rsp + 0x50]
cmp edi, r8d
jle 0x62ebb0
lea rdx, str.Auxiliary_rtree_columns_must_be_last
lea rcx, [0x00820b4c]
mov r15d, 1
call fcn.005cede0
mov rdi, qword [rsp + 0x128]
mov rcx, r12
mov qword [rdi], rax
call fcn.005921d0
nop dword [rax]
sub dword [r13 + 0x40], 1
jne 0x62e910
mov rcx, r13
call fcn.005e7a20
jmp 0x62e910
mov r15d, 7
jmp 0x62e910
xor ecx, ecx
mov r15d, 7
call fcn.005921d0
jmp 0x62eb70
mov rcx, qword [rsp + 0x100]
mov rdx, rax
call fcn.00626de0
mov r15d, eax
test eax, eax
jne 0x62ef34
mov rcx, r12
call fcn.005921d0
movzx eax, byte [r13 + 0x25]
mov edx, eax
shr dl, 1
mov byte [r13 + 0x24], dl
je 0x62ef80
cmp al, 0xa
ja 0x62ef70
lea rdx, str.Wrong_number_of_columns_for_an_rtree_table
test al, 1
je 0x62ec20
lea rcx, [0x00820b4c]
mov r15d, 1
call fcn.005cede0
mov rdi, qword [rsp + 0x128]
mov qword [rdi], rax
jmp 0x62eb70
lea eax, [rax*4 + 8]
mov rdx, qword [r13 + 0x30]
mov byte [r13 + 0x27], al
mov eax, dword [rsp + 0x130]
test eax, eax
je 0x62efc9
lea rcx, str.PRAGMA__Q.page_size
mov dword [rsp + 0x70], 0
call fcn.005cede0
mov rdi, rax
test rax, rax
je 0x62ef8c
mov rcx, qword [rsp + 0x100]
mov r8, r14
mov rdx, rax
call fcn.0062c470
mov r12d, eax
test eax, eax
jne 0x62ef92
mov eax, dword [rsp + 0x70]
lea edx, [rax - 0x40]
movzx eax, byte [r13 + 0x27]
mov dword [r13 + 0x20], edx
imul eax, eax, 0x33
add eax, 4
cmp edx, eax
jle 0x62ec9a
mov dword [r13 + 0x20], eax
mov rcx, rdi
call fcn.005921d0
mov rax, qword [rsp + 0x100]
mov rdi, qword [rbx + 0x10]
mov rbx, qword [rbx + 8]
mov qword [r13 + 0x18], rax
mov rcx, rax
call fcn.005a8730
mov r9, rdi
mov r8, rbx
lea rdx, str.CREATE_TABLE___w_.__w_rowid__rowid_INTEGER_PRIMARY_KEY_nodeno
mov rcx, rax
mov rbp, rax
call fcn.005b95a0
cmp byte [r13 + 0x29], 0
je 0x62ed00
nop dword [rax]
mov r8d, r12d
lea rdx, str._a_d
mov rcx, rbp
add r12d, 1
call fcn.005b95a0
movzx eax, byte [r13 + 0x29]
cmp r12d, eax
jl 0x62ece0
mov r9, rdi
mov r8, rbx
lea rdx, str.__CREATE_TABLE___w_.__w_node__nodeno_INTEGER_PRIMARY_KEY_data__
mov rcx, rbp
call fcn.005b95a0
mov r9, rdi
mov r8, rbx
mov rcx, rbp
lea rdx, str.CREATE_TABLE___w_.__w_parent__nodeno_INTEGER_PRIMARY_KEY_parentnode__
call fcn.005b95a0
mov eax, dword [r13 + 0x20]
mov r9, rdi
mov r8, rbx
lea rdx, str.INSERT_INTO___w_.__w_node_VALUES_1_zeroblob__d__
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.005b95a0
test rbp, rbp
je 0x62f151
cmp rbp, rsi
je 0x62f151
mov rcx, rbp
call fcn.0059ef00
mov r12, rax
test rax, rax
je 0x62f151
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x100]
call fcn.0060b610
mov rcx, r12
mov ebp, eax
call fcn.005921d0
test ebp, ebp
jne 0x62f2e7
lea rax, [r13 + 0x78]
mov rdx, qword [r13 + 0x30]
xor r9d, r9d
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x70], rax
lea rax, [r13 + 0x80]
mov rcx, qword [rsp + 0x100]
lea r8, str.sqlite_stat1
mov qword [rsp + 0x78], rax
lea rax, [r13 + 0x88]
mov qword [rsp + 0x80], rax
lea rax, [r13 + 0x90]
mov qword [rsp + 0x88], rax
lea rax, [r13 + 0x98]
mov qword [rsp + 0x90], rax
lea rax, [r13 + 0xa0]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x98], rax
lea rax, [r13 + 0xa8]
mov qword [rsp + 0xa0], rax
lea rax, [r13 + 0xb0]
mov qword [rsp + 0xa8], rax
call fcn.00628870
mov ebp, eax
test eax, eax
je 0x62f02b
mov qword [r13 + 0x48], 0x100000
cmp eax, 1
je 0x62f0a6
cmp byte [r13 + 0x29], 0
je 0x62f2e7
mov r8, rdi
mov rdx, rbx
lea rcx, str.SELECT__FROM___w_.__w_rowid__WHERE_rowid_1
call fcn.005cede0
mov qword [r13 + 0x58], rax
test rax, rax
je 0x62f151
mov rcx, qword [rsp + 0x100]
lea rbp, str.a_d__d
call fcn.005a8730
mov r9, rdi
mov r8, rbx
lea rdx, str.UPDATE___w_.__w_rowid_SET
mov rcx, rax
mov r12, rax
lea rdi, str.a_dcoalesce___d_a_d_
call fcn.005b95a0
cmp byte [r13 + 0x29], 0
lea rbx, [0x008209a3]
jne 0x62ef16
jmp 0x62f198
mov dword [rsp + 0x20], r15d
mov r8d, r15d
mov rdx, rdi
mov rcx, r12
call fcn.005b95a0
movzx eax, byte [r13 + 0x29]
add r15d, 1
cmp r15d, eax
jge 0x62f198
mov r8d, 1
mov rdx, rbx
mov rcx, r12
call fcn.005b31b0
movzx eax, byte [r13 + 0x2a]
lea r9d, [r15 + 2]
cmp eax, r15d
jg 0x62eee0
mov r8d, r15d
mov rdx, rbp
mov rcx, r12
call fcn.005b95a0
jmp 0x62eef3
mov rcx, qword [rsp + 0x100]
call fcn.005bb100
lea rcx, [0x00820b4c]
mov rdx, rax
call fcn.005cede0
mov rdi, qword [rsp + 0x128]
mov rcx, r12
mov qword [rdi], rax
call fcn.005921d0
jmp 0x62eb70
lea rdx, str.Too_many_columns_for_an_rtree_table
jmp 0x62ebf9
lea rdx, str.Too_few_columns_for_an_rtree_table
jmp 0x62ebf9
mov r12d, 7
mov rcx, qword [rsp + 0x100]
mov r15d, r12d
call fcn.005bb100
lea rcx, [0x00820b4c]
mov rdx, rax
call fcn.005cede0
mov rbx, qword [rsp + 0x128]
mov rcx, rdi
mov qword [rbx], rax
call fcn.005921d0
jmp 0x62eb70
mov r8, qword [r13 + 0x38]
lea rcx, str.SELECT_length_data__FROM__q._q_node_WHERE_nodeno__1
call fcn.005cede0
mov rdi, rax
test rax, rax
je 0x62ef8c
mov rcx, qword [rsp + 0x100]
lea r8, [r13 + 0x20]
mov rdx, rax
call fcn.0062c470
mov r12d, eax
test eax, eax
jne 0x62ef92
cmp dword [r13 + 0x20], 0x1bf
jle 0x62f259
mov rcx, rdi
call fcn.005921d0
mov rax, qword [rsp + 0x100]
mov rdi, qword [rbx + 0x10]
mov rbx, qword [rbx + 8]
mov qword [r13 + 0x18], rax
jmp 0x62ed9e
mov rdx, qword [r13 + 0x30]
mov r8, qword [r13 + 0x38]
lea rcx, str.SELECT_stat_FROM__Q.sqlite_stat1_WHERE_tbl___q_rowid
call fcn.005cede0
mov r12, rax
test rax, rax
je 0x62f21f
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x100]
mov rdx, r12
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
mov r9d, pe_nt_image_headers64
mov r8d, 0xffffffff
mov qword [rsp + 0x20], 0
call fcn.006220f0
mov ebp, eax
test eax, eax
je 0x62f229
cmp eax, 7
je 0x62f24c
mov qword [r13 + 0x48], 0x100000
mov rcx, r12
call fcn.005921d0
xor ebp, ebp
jmp 0x62f117
mov rcx, qword [rsp + 0x100]
mov rdx, r10
mov qword [rsp + 0x50], r10
mov r9d, 0x85
mov qword [rsp + 0x30], 0
mov rax, qword [r14 + rbp*8]
mov r8d, 0xffffffff
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], rax
call fcn.006220f0
mov r10, qword [rsp + 0x50]
mov r12d, eax
mov rcx, r10
call fcn.005921d0
lea edx, [rbp + 1]
cmp edx, 7
setle cl
test r12d, r12d
sete dl
add rbp, 1
test cl, dl
je 0x62f2d4
cmp rbp, 3
je 0x62f188
lea rax, str.INSERT_OR_REPLACE_INTO__q._q_node_VALUES__1___2_
mov rcx, qword [rax + rbp*8]
mov r8, rdi
mov rdx, rbx
call fcn.005cede0
mov r10, rax
test rax, rax
jne 0x62f0b0
xor ecx, ecx
call fcn.005921d0
cmp byte [r13 + 0x29], 0
jne 0x62ee7b
mov r15d, 7
mov rcx, qword [rsp + 0x100]
call fcn.005bb100
lea rcx, [0x00820b4c]
mov rdx, rax
call fcn.005cede0
mov rdi, qword [rsp + 0x128]
mov qword [rdi], rax
jmp 0x62eb70
cmp byte [r13 + 0x29], 0
lea rcx, str.INSERT_INTO__w_.__w_rowid__rowid_nodeno_VALUES__1__2_ON_CONFLICT_rowid_DO_UPDATE_SET_nodenoexcluded.nodeno
jne 0x62f128
jmp 0x62f11d
lea rdx, str._WHERE_rowid_1
mov rcx, r12
call fcn.005b95a0
test r12, r12
je 0x62f151
cmp r12, rsi
je 0x62f151
mov rcx, r12
call fcn.0059ef00
mov r12, rax
test rax, rax
je 0x62f151
lea rax, [r13 + 0xb8]
mov rcx, qword [rsp + 0x100]
mov rdx, r12
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
mov r9d, 0x85
mov r8d, 0xffffffff
mov qword [rsp + 0x20], 0
call fcn.006220f0
mov rcx, r12
mov r15d, eax
call fcn.005921d0
test r15d, r15d
jne 0x62f157
mov rax, qword [rsp + 0x120]
mov qword [rax], r13
jmp 0x62e910
mov ebp, 7
jmp 0x62ee70
mov rcx, qword [rsp + 0x68]
call fcn.0060a5c0
cmp eax, 0x64
je 0x62f287
mov rcx, qword [rsp + 0x68]
call fcn.005e6740
mov ebp, eax
test eax, eax
je 0x62f096
mov rcx, r12
call fcn.005921d0
jmp 0x62ee70
mov rdx, qword [r13 + 0x38]
lea rcx, str.undersize_RTree_blobs_in___q_node_
mov r15d, 0x10b
call fcn.005cede0
mov rbx, qword [rsp + 0x128]
mov rcx, rdi
mov qword [rbx], rax
call fcn.005921d0
jmp 0x62eb70
mov rcx, qword [rsp + 0x68]
xor edx, edx
call fcn.005a3c00
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x50], rax
call fcn.005e6740
mov rdx, qword [rsp + 0x50]
test eax, eax
mov ebp, eax
jne 0x62f24c
test rdx, rdx
je 0x62f096
cmp rdx, 0x64
mov eax, 0x64
mov rcx, r12
cmovl rdx, rax
mov qword [r13 + 0x48], rdx
call fcn.005921d0
jmp 0x62f0a6
cmp byte [r13 + 0x29], 0
jne 0x62ee7b
mov r15d, r12d
jmp 0x62f206
mov r15d, ebp
jmp 0x62f157