Function at 0x1401e6650
Capabilities:
Reference sql statements

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov rdi, qword [rcx]
cmp byte [rdi + 0x67], 0
mov rsi, rcx
mov rbp, rdx
mov r12, r8
je 0x1401e6690
mov rdx, rbp
mov rcx, rdi
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp dbg.sqlite3SrcListDelete
lea r8, [rdx + 8]
xor edx, edx
call dbg.sqlite3LocateTableItem
test rax, rax
mov r13, rax
je 0x1401e6672
mov rdx, qword [rax + 0x60]
mov rax, qword [rsi]
test rdx, rdx
je 0x1401e68d2
mov rcx, qword [rax + 0x20]
cmp rdx, qword [rcx + 0x18]
je 0x1401e68c8
mov eax, 0x20
xor ebx, ebx
nop dword [rax + rax]
mov r9, rax
add rax, 0x20
add ebx, 1
cmp rdx, qword [rcx + rax - 8]
jne 0x1401e66d0
mov rax, qword [rdi + 0x20]
mov rdx, r12
mov rcx, rdi
mov r14, qword [rax + r9]
call dbg.sqlite3NameFromToken
test rax, rax
mov r12, rax
je 0x1401e6672
mov r8, r14
mov rdx, rax
mov rcx, rdi
call dbg.sqlite3FindTable
test rax, rax
je 0x1401e6750
lea rdx, str.there_is_already_another_table_or_index_with_this_name:__s
mov r8, r12
mov rcx, rsi
call dbg.sqlite3ErrorMsg
mov rdx, rbp
mov rcx, rdi
call dbg.sqlite3SrcListDelete
mov rdx, r12
mov rcx, rdi
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.sqlite3DbFreeNN
mov r8, r14
mov rdx, r12
mov rcx, rdi
call dbg.sqlite3FindIndex
test rax, rax
mov r15, rax
jne 0x1401e6713
mov r8, r12
mov rdx, r13
mov rcx, rdi
call dbg.sqlite3IsShadowTableOf
test eax, eax
jne 0x1401e6713
mov rdx, r13
mov rcx, rsi
call dbg.isAlterableTable
test eax, eax
jne 0x1401e6725
mov r9, r12
mov rdx, r12
mov rcx, rsi
lea r8, str.table
call dbg.sqlite3CheckObjectName
test eax, eax
jne 0x1401e6725
cmp byte [r13 + 0x3f], 2
mov r8, qword [r13]
je 0x1401e6a7e
mov r9, r8
mov edx, 0x1a
mov r8, r14
mov qword [rsp + 0x20], 0
mov rcx, rsi
call dbg.sqlite3AuthCheck
test eax, eax
mov r10d, eax
jne 0x1401e6725
cmp byte [r13 + 0x3f], 1
je 0x1401e67e5
cmp word [r13 + 0x36], 0
jg 0x1401e6845
mov rdx, r13
mov rcx, rsi
mov dword [rsp + 0x48], r10d
call dbg.viewGetColumnNames
mov r10d, dword [rsp + 0x48]
test eax, eax
jne 0x1401e6725
cmp byte [r13 + 0x3f], 1
jne 0x1401e6845
mov rax, qword [r13 + 0x50]
test rax, rax
jne 0x1401e682d
jmp 0x1401e6ab6
mov rax, qword [rax + 0x28]
test rax, rax
je sym.sqlite3AlterRenameTable.cold
cmp rdi, qword [rax]
jne 0x1401e6820
mov rdx, qword [rax + 0x10]
mov rdx, qword [rdx]
cmp qword [rdx + 0x98], 0
cmovne r15, rax
mov rax, qword [rsi + 0x10]
test rax, rax
mov qword [rsp + 0x48], rax
je 0x1401e6a8a
mov rax, qword [rsi + 0xa8]
test rax, rax
cmove rax, rsi
mov byte [rax + 0x21], 1
mov r11, qword [r13]
cmp r11, 0xffffffffffffffff
movzx edx, byte [r11]
je 0x1401e68e3
test dl, dl
je 0x1401e68e3
mov rax, r11
jmp 0x1401e6891
mov rax, rcx
add r10d, 1
cmp rax, 0xffffffffffffffff
je 0x1401e68e3
test dl, dl
je 0x1401e68e3
lea rcx, [rax + 1]
movzx eax, byte [rax + 1]
cmp dl, 0xbf
mov edx, eax
jbe 0x1401e6880
and edx, 0xffffffc0
cmp dl, 0x80
jne 0x1401e6aaf
mov rax, rcx
movzx edx, byte [rax + 1]
add rax, 1
mov ecx, edx
and ecx, 0xffffffc0
cmp cl, 0x80
je 0x1401e68af
jmp 0x1401e6883
xor r9d, r9d
xor ebx, ebx
jmp 0x1401e66e1
mov r9, 0xfffffffffff00000
mov ebx, 0xffff8000
jmp 0x1401e66e1
xor eax, eax
cmp ebx, 1
mov qword [rsp + 0x38], r11
mov r9, r14
sete al
mov qword [rsp + 0x20], r11
mov r8, r14
mov rcx, rsi
mov dword [rsp + 0x30], eax
lea rdx, str.UPDATE___w_.sqlite_master_SET_sql__sqlite_rename_table__Q__type__name__sql___Q___Q___d__WHERE__type_index_OR_tbl_name_Q_COLLATE_nocase_AND___name_NOT_LIKE_sqliteX____ESCAPE_X
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], r10d
mov qword [rsp + 0x50], r11
call dbg.sqlite3NestedParse
mov r11, qword [rsp + 0x50]
mov r9, r12
mov r8, r14
mov r10d, dword [rsp + 0x5c]
lea rdx, str.UPDATE__Q.sqlite_master_SET_tbl_name___Q__name__CASE_WHEN_typetable_THEN__Q_WHEN_name_LIKE_sqliteX_autoindex___ESCAPE_X______AND_typeindex_THEN_sqlite_autoindex____Q__substr_name__d18__ELSE_name_END_WHERE_tbl_name_Q_COLLATE_nocase_AND__typetable_OR_typeindex_OR_typetrigger__
mov rcx, rsi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x38], r11
mov dword [rsp + 0x30], r10d
call dbg.sqlite3NestedParse
mov r8, r14
mov rcx, rdi
lea rdx, str.sqlite_sequence
call dbg.sqlite3FindTable
mov r11, qword [rsp + 0x50]
test rax, rax
je 0x1401e6993
mov rax, qword [r13]
mov r9, r12
mov r8, r14
mov rcx, rsi
lea rdx, str.UPDATE___w_.sqlite_sequence_set_name___Q_WHERE_name___Q
mov qword [rsp + 0x20], rax
call dbg.sqlite3NestedParse
mov r11, qword [rsp + 0x50]
cmp ebx, 1
je 0x1401e69c1
mov qword [rsp + 0x38], r12
mov r9, r11
mov r8, r14
mov rcx, rsi
mov qword [rsp + 0x30], r14
lea rdx, str.UPDATE_sqlite_temp_schema_SET_sql__sqlite_rename_table__Q__type__name__sql___Q___Q__1___tbl_name__CASE_WHEN_tbl_name_Q_COLLATE_nocase_AND___sqlite_rename_test__Q__sql__type__name__1__after_rename__0__THEN__Q_ELSE_tbl_name_END_WHERE_type_IN__view__trigger_
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x20], r12
call dbg.sqlite3NestedParse
test r15, r15
je 0x1401e6a09
mov eax, dword [rsi + 0x38]
mov r8, r12
mov rcx, qword [rsp + 0x48]
lea r13d, [rax + 1]
mov edx, r13d
mov dword [rsi + 0x38], r13d
call sym.sqlite3VdbeLoadString
mov rcx, qword [rsp + 0x48]
xor edx, edx
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, r13d
mov edx, 0xb0
mov dword [rsp + 0x30], 0xfffffff5
mov qword [rsp + 0x28], r15
call sym.sqlite3VdbeAddOp4
cmp qword [rsi + 0x10], 0
je 0x1401e6a20
mov r8d, 1
mov edx, ebx
mov rcx, rsi
call sym.renameReloadSchema.part.0
mov eax, dword [rsp + 0x58]
mov byte [rsi + 0x1c], 1
mov r9, r14
mov r8, r14
lea r13, str.after_rename
mov dword [rsp + 0x30], 0
mov rcx, rsi
mov qword [rsp + 0x28], r13
lea rdx, str.SELECT_1_FROM___w_.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d___Q___d_NULL
mov dword [rsp + 0x20], eax
call dbg.sqlite3NestedParse
cmp ebx, 1
je 0x1401e6725
xor eax, eax
mov r9, r13
mov r8, r14
mov dword [rsp + 0x20], eax
lea rdx, str.SELECT_1_FROM_temp.sqlite_master_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1___Q___d_NULL
mov rcx, rsi
call dbg.sqlite3NestedParse
jmp 0x1401e6725
lea rdx, str.view__s_may_not_be_altered
jmp 0x1401e671d
mov rcx, rsi
mov dword [rsp + 0x58], r10d
call sym.sqlite3GetVdbe.part.0
mov r10d, dword [rsp + 0x58]
test rax, rax
mov qword [rsp + 0x48], rax
jne 0x1401e6857
jmp 0x1401e6725
mov edx, eax
jmp 0x1401e6880
jmp sym.sqlite3AlterRenameTable.cold