Function at 0x14007ddd0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push r14
push r15
sub rsp, 0x78
mov r15, qword [rcx]
mov rbx, r8
mov rbp, rdx
mov qword [rsp + 0x58], r15
mov r14, rcx
cmp byte [r15 + 0x67], 0
jne 0x14007e7e1
mov r9, qword [rdx + 8]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r13
xor r13d, r13d
test r9, r9
je 0x14007de48
mov rdx, qword [r15 + 0x20]
mov ecx, r13d
cmp qword [rdx + 0x18], r9
lea rax, [rdx + 0x18]
je 0x14007de3b
nop word [rax + rax]
inc ecx
lea rax, [rax + 0x20]
cmp qword [rax], r9
jne 0x14007de30
movsxd rax, ecx
shl rax, 5
mov r9, qword [rax + rdx]
jmp 0x14007de4c
mov r9, qword [rdx + 0x10]
mov r8, qword [rbp + 0x18]
xor edx, edx
mov rcx, r14
call fcn.140083230
mov qword [rsp + 0x48], rax
mov r12, rax
test rax, rax
je 0x14007e7d7
mov rdx, rax
mov rcx, r14
call fcn.140079260
test eax, eax
jne 0x14007e7d7
cmp byte [r12 + 0x3f], 2
lea r9, str.view
cmovne r9, r13
cmp byte [r12 + 0x3f], 1
jne 0x14007dea0
lea r9, str.virtual_table
jmp 0x14007dea5
test r9, r9
je 0x14007dec9
mov rax, qword [r12]
lea r8, str.drop_column_from
lea rdx, str.cannot__s__s___s_
mov qword [rsp + 0x20], rax
mov rcx, r14
call fcn.140030230
jmp 0x14007e7d7
test rbx, rbx
je 0x14007e7d7
mov qword [rsp + 0xb0], rsi
mov rsi, qword [rbx]
mov qword [rsp + 0x70], rdi
mov edi, dword [rbx + 8]
test rsi, rsi
je 0x14007df11
lea rdx, [rdi + 1]
mov rcx, r15
call fcn.14002c580
mov r13, rax
test rax, rax
je 0x14007df11
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call fcn.14012dc00
mov byte [rdi + r13], 0
mov rcx, r13
call fcn.140030390
test r13, r13
je 0x14007e7ca
mov rdx, r13
mov rcx, r12
call fcn.1400abca0
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14007df4c
mov r8, rbx
lea rdx, str.no_such_column:___T_
mov rcx, r14
call fcn.140030230
jmp 0x14007e768
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 8]
lea rbp, [rcx*8]
movzx ecx, word [rax + rcx*8 + 0x12]
test cl, 9
je 0x14007df95
test cl, 1
lea rax, str.PRIMARY_KEY
lea r8, str.UNIQUE
mov r9, r13
cmovne r8, rax
lea rdx, str.cannot_drop__s_column:___s_
mov rcx, r14
call fcn.140030230
jmp 0x14007e760
cmp word [r12 + 0x36], 1
jg 0x14007dfb5
mov r8, r13
lea rdx, str.cannot_drop_column___s_:_no_other_columns_exist
mov rcx, r14
call fcn.140030230
jmp 0x14007e760
mov rcx, qword [r12 + 0x60]
mov edi, 0xffff8000
test rcx, rcx
je 0x14007dfeb
mov rax, qword [r15 + 0x20]
xor r8d, r8d
add rax, 0x18
mov edi, r8d
cmp qword [rax], rcx
je 0x14007dfeb
nop word [rax + rax]
inc edi
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x14007dfe0
mov rax, qword [r15 + 0x20]
mov edx, 0x1a
mov r9, qword [r12]
movsxd rcx, edi
shl rcx, 5
mov qword [rsp + 0x20], r13
mov rbx, qword [rcx + rax]
mov rcx, r14
mov r8, rbx
call fcn.140082270
test eax, eax
jne 0x14007e760
xor eax, eax
mov byte [r14 + 0x1c], 1
mov esi, eax
mov dword [rsp + 0x30], eax
lea rax, [0x14015febb]
cmp edi, 1
mov qword [rsp + 0x28], rax
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
sete sil
mov r9, rbx
mov r8, rbx
mov dword [rsp + 0x20], esi
mov rcx, r14
call fcn.140082c20
mov rcx, r14
cmp edi, 1
je 0x14007e0a0
xor r8d, r8d
lea r9, [0x14015febb]
mov dword [rsp + 0x20], r8d
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 r8, rbx
call fcn.140082c20
mov r9, rbx
lea rdx, str.UPDATE___w_.sqlite_master_SET_sql__sqlite_rename_quotefix__Q__sql_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual__
mov r8, rbx
mov rcx, r14
call fcn.140082c20
lea rdx, str.UPDATE_temp.sqlite_master_SET_sql__sqlite_rename_quotefix_temp__sql_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual__
mov rcx, r14
call fcn.140082c20
jmp 0x14007e0b2
mov r9, rbx
lea rdx, str.UPDATE___w_.sqlite_master_SET_sql__sqlite_rename_quotefix__Q__sql_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual__
mov r8, rbx
call fcn.140082c20
mov rax, qword [r12]
lea rdx, str.UPDATE___w_.sqlite_master_SET_sql__sqlite_drop_column__d__sql___d__WHERE__typetable_AND_tbl_name_Q_COLLATE_nocase_
mov qword [rsp + 0x28], rax
mov r9d, edi
mov eax, dword [rsp + 0x50]
mov r8, rbx
mov rcx, r14
mov dword [rsp + 0x20], eax
call fcn.140082c20
cmp qword [r14 + 0x10], 0
je 0x14007e118
mov edx, edi
mov rcx, r14
call fcn.140086cb0
mov rcx, qword [r14 + 0x10]
mov r9d, 2
xor r8d, r8d
mov edx, edi
call fcn.140054e00
cmp edi, 1
je 0x14007e118
mov rcx, qword [r14 + 0x10]
mov r9d, 2
xor r8d, r8d
lea edx, [r9 - 1]
call fcn.140054e00
lea rax, str.after_drop_column
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
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 r9, rbx
mov dword [rsp + 0x20], esi
mov r8, rbx
mov byte [r14 + 0x1c], 1
mov rcx, r14
call fcn.140082c20
cmp edi, 1
je 0x14007e170
lea r9, str.after_drop_column
mov dword [rsp + 0x20], 1
mov r8, rbx
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, r14
call fcn.140082c20
cmp dword [r14 + 0x30], 0
jne 0x14007e760
mov rax, qword [r12 + 8]
test byte [rax + rbp + 0x12], 0x20
jne 0x14007e760
mov rbx, qword [r14 + 0x10]
xor eax, eax
mov esi, eax
mov ebp, eax
test rbx, rbx
jne 0x14007e1bc
cmp qword [r14 + 0xa8], rax
jne 0x14007e1b1
mov rax, qword [r14]
test byte [rax + 0x60], 8
jne 0x14007e1b1
mov byte [r14 + 0x23], 1
mov rcx, r14
call fcn.140054260
mov rbx, rax
mov eax, dword [r14 + 0x34]
mov r8d, edi
mov r9, r12
mov dword [rsp + 0xb8], eax
mov edx, eax
mov dword [rsp + 0x20], 0x71
mov edi, eax
lea ecx, [rax + 1]
mov dword [r14 + 0x34], ecx
mov rcx, r14
call fcn.140099be0
movsxd rdx, dword [rbx + 0x90]
xor r8d, r8d
mov dword [rsp + 0x54], edx
cmp dword [rbx + 0x94], edx
jg 0x14007e21e
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, edi
mov rcx, rbx
lea edx, [r9 + 0x24]
call fcn.1400545c0
mov dword [rsp + 0x54], eax
xor r8d, r8d
jmp 0x14007e247
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], edi
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
inc dword [r14 + 0x38]
test byte [r12 + 0x30], 0x80
mov r11d, dword [r14 + 0x38]
mov dword [rsp + 0x40], r11d
jne 0x14007e2d7
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x14007e29a
mov dword [rsp + 0x20], r8d
mov r9d, r11d
mov r8d, edi
mov edx, 0x87
mov rcx, rbx
call fcn.1400545c0
movsx eax, word [r12 + 0x36]
xor r8d, r8d
add eax, dword [r14 + 0x38]
mov r11d, dword [rsp + 0x40]
jmp 0x14007e3a5
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], r11d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsx eax, word [r12 + 0x36]
add eax, dword [r14 + 0x38]
jmp 0x14007e3a5
mov rsi, qword [r12 + 0x10]
test rsi, rsi
je 0x14007e2f3
mov eax, dword [rsi + 0x64]
and al, 3
cmp al, 2
je 0x14007e2f3
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x14007e2e1
movzx eax, word [rsi + 0x60]
mov edi, r8d
add eax, r11d
mov dword [r14 + 0x38], eax
movzx ecx, word [rsi + 0x5e]
cmp r8w, cx
jae 0x14007e3a2
mov r12d, dword [rsp + 0xb8]
lea r15d, [r11 + 1]
nop dword [rax + rax]
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x14007e34f
lea eax, [r15 + rdi]
mov r9d, edi
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov edx, 0x5e
mov rcx, rbx
call fcn.1400545c0
xor r8d, r8d
jmp 0x14007e382
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x5e
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], edi
lea rdx, [rax + rcx*8]
lea eax, [r15 + rdi]
mov qword [rdx + 0x10], r8
mov dword [rdx + 0xc], eax
movzx eax, word [rsi + 0x5e]
inc edi
cmp edi, eax
jl 0x14007e320
mov r12, qword [rsp + 0x48]
movzx ecx, ax
mov eax, dword [r14 + 0x38]
mov r15, qword [rsp + 0x58]
mov r11d, dword [rsp + 0x40]
movzx ebp, cx
inc eax
mov edi, r8d
mov dword [r14 + 0x38], eax
mov dword [rsp + 0x48], eax
cmp r8w, word [r12 + 0x36]
jge 0x14007e4f7
mov r15d, dword [rsp + 0xb8]
mov r9d, 0xffffffff
mov r14d, dword [rsp + 0x50]
cmp edi, r14d
je 0x14007e4d4
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 8]
test byte [rax + rcx*8 + 0x12], 0x20
jne 0x14007e4d4
test rsi, rsi
je 0x14007e44a
movzx edx, word [rsi + 0x60]
mov ecx, r8d
test edx, edx
je 0x14007e415
mov r8, qword [rsi + 8]
movsxd rax, ecx
cmp di, word [r8 + rax*2]
je 0x14007e419
inc ecx
cmp ecx, edx
jl 0x14007e405
movzx ecx, r9w
movzx eax, word [rsi + 0x5e]
movsx r10d, cx
cmp r10d, eax
jl 0x14007e4d4
movzx edx, r14w
mov rcx, rsi
call fcn.140084980
movsx ecx, ax
xor r8d, r8d
cmp r10d, ecx
mov eax, r8d
setg al
sub r10d, eax
jmp 0x14007e44d
mov r10d, ebp
movsx eax, word [r12 + 0x34]
lea edx, [r11 + 1]
add edx, r10d
cmp edi, eax
jne 0x14007e4b2
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x14007e486
mov dword [rsp + 0x20], r8d
mov r9d, edx
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0x4b]
call fcn.1400545c0
jmp 0x14007e4c7
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 0x4b
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
jmp 0x14007e4cc
mov dword [rsp + 0x20], edx
mov r9d, edi
mov rdx, r12
mov r8d, r15d
mov rcx, rbx
call fcn.140074120
mov r11d, dword [rsp + 0x40]
inc ebp
mov r9d, 0xffffffff
movsx eax, word [r12 + 0x36]
inc edi
mov r8d, 0
cmp edi, eax
jl 0x14007e3d1
mov r14, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x58]
lea edi, [r11 + 1]
test ebp, ebp
jne 0x14007e55c
inc dword [r14 + 0x38]
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x14007e52d
mov dword [rsp + 0x20], r8d
lea edx, [rbp + 0x4b]
xor r8d, r8d
mov r9d, edi
mov rcx, rbx
call fcn.1400545c0
xor r8d, r8d
jmp 0x14007e557
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 0x4b
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov ebp, 1
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x14007e58d
mov eax, dword [rsp + 0x48]
mov r9d, ebp
mov r8d, edi
mov dword [rsp + 0x20], eax
mov edx, 0x61
mov rcx, rbx
call fcn.1400545c0
mov r9d, dword [rsp + 0x48]
jmp 0x14007e5bf
mov r9d, dword [rsp + 0x48]
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x61
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r8
mov r8d, dword [rsp + 0xb8]
test rsi, rsi
je 0x14007e656
movsxd rdx, dword [rbx + 0x90]
movzx esi, word [rsi + 0x5e]
cmp dword [rbx + 0x94], edx
jg 0x14007e5f8
mov edx, 0x8a
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.1400545c0
mov edx, eax
jmp 0x14007e629
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 4], r8d
xor r8d, r8d
mov qword [rax + rcx*8 + 0x10], r8
mov dword [rax + rcx*8], 0x8a
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edi
mov rax, qword [rbx]
xor r9d, r9d
mov r8d, dword [rsp + 0xb8]
cmp byte [rax + 0x67], r9b
jne 0x14007e6b8
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], esi
jmp 0x14007e6b8
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [rsp + 0x40]
cmp dword [rbx + 0x94], ecx
jg 0x14007e687
mov dword [rsp + 0x20], edx
mov rcx, rbx
mov edx, 0x80
call fcn.1400545c0
mov r8d, dword [rsp + 0xb8]
xor r9d, r9d
jmp 0x14007e6b8
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8 + 8], r9d
xor r9d, r9d
mov qword [rax + rcx*8 + 0x10], r9
mov dword [rax + rcx*8], 0x80
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 0xc], edx
movsxd rcx, dword [rbx + 0x90]
test ecx, ecx
jle 0x14007e6de
mov rax, qword [rbx + 0x88]
lea rcx, [rcx + rcx*2]
mov edx, 2
mov word [rax + rcx*8 - 0x16], dx
mov ecx, dword [rbx + 0x90]
movsxd rdi, dword [rsp + 0x54]
lea edx, [rdi + 1]
cmp dword [rbx + 0x94], ecx
jg 0x14007e705
mov dword [rsp + 0x20], r9d
mov rcx, rbx
mov r9d, edx
mov edx, 0x27
call fcn.1400545c0
jmp 0x14007e736
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rbx]
mov edx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x14007e74e
lea rax, [0x1401964e8]
jmp 0x14007e75d
mov rax, qword [rbx + 0x88]
lea rcx, [rdi + rdi*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rbp, qword [rsp + 0xa8]
cmp r13, qword [r15 + 0x1f0]
jae 0x14007e7ab
cmp r13, qword [r15 + 0x1e0]
jb 0x14007e78e
mov rax, qword [r15 + 0x1d8]
mov qword [r13], rax
mov qword [r15 + 0x1d8], r13
jmp 0x14007e7ca
cmp r13, qword [r15 + 0x1e8]
jb 0x14007e7ab
mov rax, qword [r15 + 0x1c8]
mov qword [r13], rax
mov qword [r15 + 0x1c8], r13
jmp 0x14007e7ca
cmp qword [r15 + 0x308], 0
je 0x14007e7c2
mov rdx, r13
mov rcx, r15
call fcn.14002c160
jmp 0x14007e7ca
mov rcx, r13
call fcn.14002c0f0
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0xb0]
mov r12, qword [rsp + 0x68]
mov r13, qword [rsp + 0x60]
mov rdx, rbp
mov rcx, r15
add rsp, 0x78
pop r15
pop r14
pop rbp
pop rbx
jmp fcn.14008c910