Function at 0x140082ef0
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rdi
push r13
push r14
sub rsp, 0x88
mov r13, qword [rcx]
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x60], r13
mov r14, rcx
cmp byte [r13 + 0x67], 0
jne 0x1400837e3
mov r9, qword [rdx + 8]
mov qword [rax - 0x28], rsi
xor esi, esi
mov qword [rax - 0x30], r12
test r9, r9
je 0x140082f68
mov rdx, qword [r13 + 0x20]
mov ecx, esi
cmp qword [rdx + 0x18], r9
lea rax, [rdx + 0x18]
je 0x140082f5b
nop word [rax + rax]
inc ecx
lea rax, [rax + 0x20]
cmp qword [rax], r9
jne 0x140082f50
movsxd rax, ecx
shl rax, 5
mov r9, qword [rax + rdx]
jmp 0x140082f6c
mov r9, qword [rdx + 0x10]
mov r8, qword [rdi + 0x18]
xor edx, edx
mov rcx, r14
call fcn.140088020
mov r12, rax
test rax, rax
je 0x1400837d6
mov rdx, rax
mov rcx, r14
call fcn.14007dba0
test eax, eax
jne 0x1400837d6
cmp byte [r12 + 0x3f], 2
lea r9, str.view
cmovne r9, rsi
cmp byte [r12 + 0x3f], 1
jne 0x140082fbb
lea r9, str.virtual_table
jmp 0x140082fc0
test r9, r9
je 0x140082fe4
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.14002d760
jmp 0x1400837d6
mov rdx, rbx
mov rcx, r13
call fcn.140088b70
mov qword [rsp + 0x58], rax
mov rsi, rax
test rax, rax
je 0x1400837d6
mov rdx, rax
mov qword [rsp + 0x70], r15
mov rcx, r12
call fcn.1400b1df0
movsxd r15, eax
mov dword [rsp + 0x44], r15d
test eax, eax
jns 0x140083033
mov r8, rbx
lea rdx, [0x140197008]
mov rcx, r14
call fcn.14002d760
jmp 0x1400837c6
mov rax, qword [r12 + 8]
lea rcx, [r15 + r15*2]
mov qword [rsp + 0xc0], rbp
lea rbp, [rcx*8]
movzx ecx, word [rax + rcx*8 + 0x12]
test cl, 9
je 0x140083082
test cl, 1
lea rax, str.PRIMARY_KEY
lea r8, str.UNIQUE
mov r9, rsi
cmovne r8, rax
lea rdx, str.cannot_drop__s_column:___s_
mov rcx, r14
call fcn.14002d760
jmp 0x1400837be
cmp word [r12 + 0x36], 1
jg 0x1400830a2
mov r8, rsi
lea rdx, str.cannot_drop_column___s_:_no_other_columns_exist
mov rcx, r14
call fcn.14002d760
jmp 0x1400837be
mov rcx, qword [r12 + 0x60]
mov edi, 0xffff8000
test rcx, rcx
je 0x1400830cb
mov rax, qword [r13 + 0x20]
xor edi, edi
add rax, 0x18
cmp qword [rax], rcx
je 0x1400830cb
inc edi
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x1400830c0
mov rax, qword [r13 + 0x20]
mov edx, 0x1a
mov r9, qword [r12]
movsxd rcx, edi
shl rcx, 5
mov qword [rsp + 0x20], rsi
mov rbx, qword [rcx + rax]
mov rcx, r14
mov r8, rbx
call fcn.140087090
test eax, eax
jne 0x1400837b6
mov dword [rsp + 0x30], eax
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
xor esi, esi
mov byte [r14 + 0x1c], 1
lea rax, [0x14019f518]
cmp edi, 1
mov qword [rsp + 0x28], rax
mov r9, rbx
sete sil
mov r8, rbx
mov rcx, r14
mov dword [rsp + 0x20], esi
call fcn.140087a50
mov r8, rbx
mov rcx, r14
cmp edi, 1
je 0x14008317e
lea r9, [0x14019f518]
mov dword [rsp + 0x20], 0
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
call fcn.140087a50
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.140087a50
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.140087a50
jmp 0x14008318d
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__
call fcn.140087a50
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 r8, rbx
mov dword [rsp + 0x20], r15d
mov rcx, r14
call fcn.140087a50
mov r8d, 2
mov edx, edi
mov rcx, r14
call fcn.14007dc90
mov dword [rsp + 0x30], 1
lea r15, str.after_drop_column
mov qword [rsp + 0x28], r15
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.140087a50
cmp edi, 1
je 0x140083214
mov r9, r15
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.140087a50
cmp dword [r14 + 0x30], 0
jne 0x1400837b1
mov rax, qword [r12 + 8]
test byte [rax + rbp + 0x12], 0x20
jne 0x1400837b1
mov rbx, qword [r14 + 0x10]
xor esi, esi
xor ebp, ebp
test rbx, rbx
jne 0x14008325e
cmp qword [r14 + 0xb0], rsi
jne 0x140083253
mov rax, qword [r14]
test byte [rax + 0x60], 8
jne 0x140083253
mov byte [r14 + 0x23], 1
mov rcx, r14
call fcn.1400575b0
mov rbx, rax
mov r13d, dword [r14 + 0x34]
mov r9, r12
mov r8d, edi
mov dword [rsp + 0x20], 0x71
mov edx, r13d
lea ecx, [r13 + 1]
mov dword [r14 + 0x34], ecx
mov rcx, r14
call fcn.14009f280
movsxd r8, dword [rbx + 0x90]
lea r11, [rbx + 0x88]
mov dword [rsp + 0x40], r8d
mov qword [rsp + 0x50], r11
cmp dword [rbx + 0x94], r8d
jg 0x1400832ca
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r13d
mov rcx, rbx
lea edx, [r9 + 0x24]
call fcn.1400578a0
mov dword [rsp + 0x40], eax
lea r11, [rbx + 0x88]
xor r8d, r8d
jmp 0x1400832f9
lea rcx, [r8 + r8*2]
mov qword [rsp + 0x50], r11
lea eax, [r8 + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
mov rax, qword [r11]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], r13d
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
mov edx, dword [r14 + 0x38]
inc edx
mov dword [r14 + 0x38], edx
test byte [r12 + 0x30], 0x80
mov dword [rsp + 0xc8], edx
jne 0x140083389
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x140083350
mov dword [rsp + 0x20], r8d
mov r9d, edx
mov r8d, r13d
mov edx, 0x87
mov rcx, rbx
call fcn.1400578a0
movsx eax, word [r12 + 0x36]
xor r8d, r8d
add eax, dword [r14 + 0x38]
mov r11, qword [rsp + 0x50]
jmp 0x140083437
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r11]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edx
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 0x140083437
mov rsi, qword [r12 + 0x10]
test rsi, rsi
je 0x1400833a5
mov eax, dword [rsi + 0x64]
and al, 3
cmp al, 2
je 0x1400833a5
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x140083393
movzx eax, word [rsi + 0x60]
mov edi, r8d
add eax, edx
mov dword [r14 + 0x38], eax
movzx ecx, word [rsi + 0x5e]
cmp r8w, cx
jae 0x140083434
lea r15d, [rdx + 1]
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400833f4
lea eax, [r15 + rdi]
mov r9d, edi
mov r8d, r13d
mov dword [rsp + 0x20], eax
mov edx, 0x5e
mov rcx, rbx
call fcn.1400578a0
mov r11, qword [rsp + 0x50]
xor r8d, r8d
jmp 0x140083423
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r11]
mov dword [rax + rcx*8], 0x5e
mov dword [rax + rcx*8 + 4], r13d
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 0x1400833c0
movzx ecx, ax
mov eax, dword [r14 + 0x38]
movzx ebp, cx
lea r15d, [rax + 1]
mov edi, r8d
mov dword [r14 + 0x38], r15d
mov dword [rsp + 0x48], r15d
cmp r8w, word [r12 + 0x36]
jge 0x14008358e
mov r15d, dword [rsp + 0xc8]
mov r9d, 0xffffffff
mov r14d, dword [rsp + 0x44]
cmp edi, r14d
je 0x14008356b
movsxd rax, edi
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 8]
test byte [rax + rcx*8 + 0x12], 0x20
jne 0x14008356b
test rsi, rsi
je 0x1400834e5
movzx edx, word [rsi + 0x60]
mov ecx, r8d
test edx, edx
je 0x1400834b0
mov r8, qword [rsi + 8]
nop word [rax + rax]
movsxd rax, ecx
cmp di, word [r8 + rax*2]
je 0x1400834b4
inc ecx
cmp ecx, edx
jl 0x1400834a0
movzx ecx, r9w
movzx eax, word [rsi + 0x5e]
movsx r10d, cx
cmp r10d, eax
jl 0x14008356b
movzx edx, r14w
mov rcx, rsi
call fcn.1400890f0
movsx ecx, ax
xor r8d, r8d
cmp r10d, ecx
mov eax, r8d
setg al
sub r10d, eax
jmp 0x1400834e8
mov r10d, ebp
movsx eax, word [r12 + 0x34]
lea edx, [r15 + 1]
add edx, r10d
cmp edi, eax
jne 0x140083549
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x140083521
mov dword [rsp + 0x20], r8d
mov r9d, edx
xor r8d, r8d
mov rcx, rbx
lea edx, [r8 + 0x4b]
call fcn.1400578a0
jmp 0x14008355e
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r11]
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 0x140083563
mov dword [rsp + 0x20], edx
mov r9d, edi
mov rdx, r12
mov r8d, r13d
mov rcx, rbx
call fcn.1400784e0
mov r11, qword [rsp + 0x50]
inc ebp
mov r9d, 0xffffffff
movsx eax, word [r12 + 0x36]
inc edi
mov r8d, 0
cmp edi, eax
jl 0x140083466
mov r14, qword [rsp + 0xb0]
mov r15d, dword [rsp + 0x48]
mov r12d, dword [rsp + 0xc8]
lea edi, [r12 + 1]
test ebp, ebp
jne 0x1400835fd
inc dword [r14 + 0x38]
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1400835d2
mov dword [rsp + 0x20], r8d
lea edx, [rbp + 0x4b]
xor r8d, r8d
mov r9d, edi
mov rcx, rbx
call fcn.1400578a0
mov r11, qword [rsp + 0x50]
xor r8d, r8d
jmp 0x1400835f8
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r11]
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 0x14008362e
mov r9d, ebp
mov dword [rsp + 0x20], r15d
mov r8d, edi
mov edx, 0x61
mov rcx, rbx
call fcn.1400578a0
mov r11, qword [rsp + 0x50]
xor r8d, r8d
jmp 0x140083657
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r11]
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], r15d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rbx + 0x90]
test rsi, rsi
je 0x1400836b5
movzx edx, word [rsi + 0x5e]
cmp dword [rbx + 0x94], ecx
jg 0x140083694
mov dword [rsp + 0x28], edx
mov r9d, r15d
mov edx, 0x8a
mov dword [rsp + 0x20], edi
mov r8d, r13d
mov rcx, rbx
call fcn.140057900
mov r11, qword [rsp + 0x50]
xor r8d, r8d
jmp 0x14008370a
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r11]
mov dword [rax + rcx*8], 0xfd8a
mov dword [rax + rcx*8 + 0xc], edi
mov dword [rax + rcx*8 + 0x10], edx
jmp 0x140083700
cmp dword [rbx + 0x94], ecx
jg 0x1400836df
mov r9d, r15d
mov dword [rsp + 0x20], r12d
mov r8d, r13d
mov edx, 0x80
mov rcx, rbx
call fcn.1400578a0
mov r11, qword [rsp + 0x50]
xor r8d, r8d
jmp 0x14008370a
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r11]
mov dword [rax + rcx*8], 0x80
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r8
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 4], r13d
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x140083726
lea rcx, [rax + rax*2]
mov edx, 2
mov rax, qword [r11]
mov word [rax + rcx*8 - 0x16], dx
movsxd rdi, dword [rsp + 0x40]
movsxd rcx, dword [rbx + 0x90]
lea edx, [rdi + 1]
cmp dword [rbx + 0x94], ecx
jg 0x14008375c
mov dword [rsp + 0x20], r8d
mov r9d, edx
mov r8d, r13d
mov edx, 0x27
mov rcx, rbx
call fcn.1400578a0
mov r11, qword [rsp + 0x50]
jmp 0x140083786
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r11]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rbx]
mov ecx, dword [rbx + 0x90]
cmp byte [rax + 0x67], 0
je 0x14008379e
lea rax, [0x14019f188]
jmp 0x1400837a9
mov rax, qword [r11]
lea rdx, [rdi + rdi*2]
lea rax, [rax + rdx*8]
mov r13, qword [rsp + 0x60]
mov dword [rax + 8], ecx
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xc0]
mov rdx, rsi
mov rcx, r13
call fcn.140029880
mov r15, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
mov r12, qword [rsp + 0x78]
mov rdx, rdi
mov rcx, r13
add rsp, 0x88
pop r14
pop r13
pop rdi
pop rbx
jmp fcn.140090dc0