Function at 0x1400f6060
Capabilities:
Reference sql statements

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rdi, qword [rcx]
cmp byte [rdi + 0x67], 0
mov rbx, rcx
mov rsi, rdx
mov r12, r8
je 0x1400f60a8
mov rdx, rsi
mov rcx, rdi
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.140017bf0
mov rcx, qword [rdx + 8]
test rcx, rcx
je 0x1400f64f0
mov rdx, qword [rdi + 0x20]
cmp qword [rdx + 0x18], rcx
je 0x1400f60d5
lea rax, [rdx + 0x20]
nop dword [rax + rax]
mov rdx, rax
add rax, 0x20
cmp rcx, qword [rax - 8]
jne 0x1400f60c8
mov r9, qword [rdx]
mov r8, qword [rsi + 0x18]
xor edx, edx
mov rcx, rbx
call fcn.1400dc600
mov r13, rax
test rax, rax
je 0x1400f6085
mov rdx, rax
mov rcx, rbx
call fcn.14004ef90
mov r15d, eax
test eax, eax
jne 0x1400f6085
movzx eax, byte [r13 + 0x3f]
mov rdx, qword [r13]
cmp al, 2
je 0x1400f6500
lea r9, str.virtual_table
cmp al, 1
je 0x1400f6507
mov rdx, r12
mov rcx, rdi
call fcn.140026880
mov rbp, rax
test rax, rax
je 0x1400f6085
mov rdx, rax
mov rcx, r13
call fcn.14000b660
mov dword [rsp + 0x48], eax
test eax, eax
js 0x1400f6527
movsxd r12, dword [rsp + 0x48]
mov rax, qword [r13 + 8]
shl r12, 4
movzx eax, word [rax + r12 + 0xe]
test al, 9
jne 0x1400f6550
cmp word [r13 + 0x36], 1
jle 0x1400f6578
mov rdx, qword [r13 + 0x60]
mov rax, qword [rdi + 0x20]
test rdx, rdx
je 0x1400f658c
cmp rdx, qword [rax + 0x18]
je 0x1400f6598
add rax, 0x20
nop dword [rax]
mov rcx, rax
add rax, 0x20
add r15d, 1
cmp rdx, qword [rax - 8]
jne 0x1400f6198
mov r14, qword [rcx]
mov r9, qword [r13]
mov qword [rsp + 0x20], rbp
mov rcx, rbx
mov edx, 0x1a
mov r8, r14
call fcn.14004be40
test eax, eax
jne 0x1400f6540
lea rax, [0x1401b1370]
mov r9, r14
mov r8, r14
mov rcx, rbx
mov byte [rbx + 0x1c], 1
mov qword [rsp + 0x28], rax
xor eax, eax
cmp r15d, 1
sete al
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x50], r14
lea r14, 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 rdx, r14
call fcn.1400f03c0
cmp r15d, 1
jne 0x1400f65f7
mov r9, qword [rsp + 0x50]
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 rcx, rbx
mov r8, r9
call fcn.1400f03c0
mov rax, qword [r13]
mov rcx, rbx
mov r8, qword [rsp + 0x50]
mov r9d, 1
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 eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
call fcn.1400f03c0
cmp qword [rbx + 0x10], 0
je 0x1400f6275
mov r8d, 2
mov edx, 1
mov rcx, rbx
call fcn.140046160
mov byte [rbx + 0x1c], 1
mov r9, qword [rsp + 0x50]
mov rdx, r14
mov rcx, rbx
lea rax, str.after_drop_column
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
mov r8, r9
mov dword [rsp + 0x20], 1
call fcn.1400f03c0
mov r10d, dword [rbx + 0x30]
test r10d, r10d
jne 0x1400f6540
mov rax, qword [r13 + 8]
test byte [rax + r12 + 0xe], 0x20
jne 0x1400f6540
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x1400f62e3
mov rcx, rbx
mov dword [rsp + 0x50], r10d
call fcn.140045290
mov r10d, dword [rsp + 0x50]
mov r12, rax
mov ecx, dword [rbx + 0x34]
mov r9, r13
mov r8d, r15d
mov dword [rsp + 0x5c], r10d
lea eax, [rcx + 1]
mov edx, ecx
mov dword [rsp + 0x50], ecx
mov r14d, ecx
mov dword [rbx + 0x34], eax
mov rcx, rbx
mov dword [rsp + 0x20], 0x71
call fcn.140051460
xor r9d, r9d
mov r8d, r14d
mov edx, 0x24
mov rcx, r12
call fcn.140044810
mov r11d, dword [rbx + 0x38]
mov r10d, dword [rsp + 0x5c]
mov dword [rsp + 0x6c], eax
lea eax, [r11 + 1]
mov dword [rbx + 0x38], eax
test byte [r13 + 0x30], 0x80
mov dword [rsp + 0x68], eax
je 0x1400f680a
mov r15, qword [r13 + 0x10]
test r15, r15
jne 0x1400f6365
jmp 0x1400f68c7
mov r15, qword [r15 + 0x28]
test r15, r15
je 0x1401abefa
movzx eax, byte [r15 + 0x63]
and eax, 3
cmp al, 2
jne 0x1400f6358
movzx eax, word [r15 + 0x60]
mov ecx, dword [rsp + 0x68]
add eax, ecx
mov dword [rbx + 0x38], eax
cmp word [r15 + 0x5e], 0
je 0x1400f68a7
lea eax, [r11 + 2]
xor r14d, r14d
mov rcx, rsi
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x5c], eax
mov esi, r14d
mov ebx, eax
mov r14, rcx
lea eax, [rbx + rsi]
mov r8d, dword [rsp + 0x50]
mov r9d, esi
mov edx, 0x5e
mov dword [rsp + 0x20], eax
mov rcx, r12
add esi, 1
call fcn.1400447a0
movzx r10d, word [r15 + 0x5e]
cmp r10d, esi
jg 0x1400f63a6
mov rbx, qword [rsp + 0x60]
mov rsi, r14
mov eax, dword [rbx + 0x38]
add eax, 1
mov dword [rbx + 0x38], eax
cmp word [r13 + 0x36], 0
mov dword [rsp + 0x60], eax
jle 0x1400f6880
mov eax, dword [rsp + 0x48]
mov qword [rsp + 0x70], rbp
xor r14d, r14d
mov rbp, r15
mov qword [rsp + 0x48], rdi
mov r15, rsi
mov esi, r10d
mov qword [rsp + 0x78], rbx
mov edi, eax
mov ebx, eax
jmp 0x1400f6450
movsx eax, word [r13 + 0x34]
cmp eax, r8d
je 0x1400f67bd
mov dword [rsp + 0x20], r9d
mov r8d, dword [rsp + 0x50]
mov r9d, r14d
mov rdx, r13
mov rcx, r12
call fcn.1400a75f0
add esi, 1
movsx eax, word [r13 + 0x36]
add r14, 1
cmp eax, r14d
jle 0x1400f66db
mov r8d, r14d
cmp edi, r14d
je 0x1400f643e
mov rax, r14
shl rax, 4
add rax, qword [r13 + 8]
test byte [rax + 0xe], 0x20
jne 0x1400f643e
mov eax, dword [rsp + 0x5c]
lea r9d, [rsi + rax]
test rbp, rbp
je 0x1400f6415
movzx r9d, word [rbp + 0x60]
test r9d, r9d
je 0x1400f643e
mov rcx, qword [rbp + 8]
xor eax, eax
jmp 0x1400f649d
add rax, 1
cmp r9d, eax
jle 0x1400f67d2
cmp word [rcx + rax*2], r14w
jne 0x1400f6490
cwde
xor edx, edx
jmp 0x1400f64bd
add rdx, 1
cmp r9d, edx
jle 0x1400f67dc
cmp bx, word [rcx + rdx*2]
jne 0x1400f64b0
movsx edx, dx
movzx ecx, word [rbp + 0x5e]
cmp ecx, eax
jg 0x1400f643e
mov ecx, dword [rsp + 0x5c]
cmp eax, edx
lea r9d, [rax + rcx]
setg al
movzx eax, al
sub r9d, eax
jmp 0x1400f6415
mov r9, qword [rdx + 0x10]
jmp 0x1400f60d8
lea r9, str.view
mov qword [rsp + 0x20], rdx
lea r8, str.drop_column_from
mov rcx, rbx
lea rdx, str.cannot__s__s___s_
call fcn.140025960
jmp 0x1400f6085
mov r8, r12
lea rdx, str.no_such_column:___T_
mov rcx, rbx
call fcn.140025960
nop dword [rax]
mov rdx, rbp
mov rcx, rdi
call fcn.140016330
jmp 0x1400f6085
test al, 1
lea r8, str.UNIQUE
mov r9, rbp
mov rcx, rbx
lea rax, str.PRIMARY_KEY
lea rdx, str.cannot_drop__s_column:___s_
cmovne r8, rax
call fcn.140025960
jmp 0x1400f6540
mov r8, rbp
lea rdx, str.cannot_drop_column___s_:_no_other_columns_exist
mov rcx, rbx
call fcn.140025960
jmp 0x1400f6540
sub rax, 0x100000
mov r15d, 0xffff8000
mov rax, qword [rax]
mov r9, qword [r13]
mov qword [rsp + 0x20], rbp
mov rcx, rbx
mov edx, 0x1a
mov r8, rax
mov qword [rsp + 0x50], rax
call fcn.14004be40
test eax, eax
jne 0x1400f6540
lea rax, [0x1401b1370]
mov byte [rbx + 0x1c], 1
mov r9, qword [rsp + 0x50]
mov rcx, rbx
mov dword [rsp + 0x30], 0
lea r14, 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 qword [rsp + 0x28], rax
mov r8, r9
mov rdx, r14
mov dword [rsp + 0x20], 0
call fcn.1400f03c0
mov dword [rsp + 0x20], 0
mov r8, qword [rsp + 0x50]
mov rcx, rbx
lea r9, [0x1401b1370]
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.1400f03c0
mov r9, qword [rsp + 0x50]
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 rcx, rbx
mov r8, r9
call fcn.1400f03c0
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, rbx
call fcn.1400f03c0
mov rax, qword [r13]
mov r9d, r15d
mov rcx, rbx
mov r8, qword [rsp + 0x50]
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 eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
call fcn.1400f03c0
cmp qword [rbx + 0x10], 0
je 0x1400f6680
mov r8d, 2
mov edx, r15d
mov rcx, rbx
call fcn.140046160
mov byte [rbx + 0x1c], 1
mov r9, qword [rsp + 0x50]
mov rdx, r14
mov rcx, rbx
lea rax, str.after_drop_column
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
mov r8, r9
mov dword [rsp + 0x20], 0
call fcn.1400f03c0
mov dword [rsp + 0x20], 1
mov rcx, rbx
mov r8, qword [rsp + 0x50]
lea r9, str.after_drop_column
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.1400f03c0
jmp 0x1400f62a8
mov r10d, esi
mov rdi, qword [rsp + 0x48]
mov rsi, r15
mov rbx, qword [rsp + 0x78]
mov r15, rbp
mov rbp, qword [rsp + 0x70]
test r10d, r10d
je 0x1400f685c
mov eax, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x5c]
mov r9d, r10d
mov rcx, r12
mov edx, 0x61
mov dword [rsp + 0x20], eax
call fcn.1400447a0
test r15, r15
je 0x1400f67e6
movzx eax, word [r15 + 0x5e]
mov r9d, dword [rsp + 0x60]
mov edx, 0x8a
mov rcx, r12
mov r8d, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x20], eax
call fcn.1400458a0
movsxd rax, dword [r12 + 0x90]
test eax, eax
jle 0x1400f676f
mov rdx, qword [r12 + 0x88]
lea rax, [rax + rax*2]
mov ecx, 2
lea rax, [rdx + rax*8]
mov word [rax - 0x16], cx
mov ebx, dword [rsp + 0x6c]
mov r8d, dword [rsp + 0x50]
mov edx, 0x27
mov rcx, r12
lea r9d, [rbx + 1]
call fcn.140044810
mov rcx, qword [r12]
mov edx, dword [r12 + 0x90]
lea rax, [0x1401f50c0]
cmp byte [rcx + 0x67], 0
jne 0x1400f67b5
movsxd rax, ebx
lea rcx, [rax + rax*2]
mov rax, qword [r12 + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
jmp 0x1400f6540
xor r8d, r8d
mov edx, 0x4b
mov rcx, r12
call fcn.140044810
jmp 0x1400f643b
mov eax, 0xffffffff
jmp 0x1400f64a5
mov edx, 0xffffffff
jmp 0x1400f64c6
mov eax, dword [rsp + 0x68]
mov r9d, dword [rsp + 0x60]
mov edx, pe_nt_image_headers64
mov rcx, r12
mov r8d, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
call fcn.1400447a0
jmp 0x1400f674a
mov r8d, dword [rsp + 0x50]
mov r9d, eax
mov edx, 0x87
mov rcx, r12
mov dword [rsp + 0x70], r10d
xor r15d, r15d
mov dword [rsp + 0x5c], r11d
call fcn.140044810
movsx eax, word [r13 + 0x36]
mov r11d, dword [rsp + 0x5c]
add eax, dword [rbx + 0x38]
mov r10d, dword [rsp + 0x70]
add eax, 1
mov dword [rbx + 0x38], eax
cmp word [r13 + 0x36], 0
mov dword [rsp + 0x60], eax
lea eax, [r11 + 2]
mov dword [rsp + 0x5c], eax
jg 0x1400f63f0
add dword [rbx + 0x38], 1
mov r9d, dword [rsp + 0x5c]
xor r8d, r8d
mov rcx, r12
mov edx, 0x4b
call fcn.140044810
mov r10d, 1
jmp 0x1400f66fc
test r10d, r10d
je 0x1400f685c
mov eax, dword [rsp + 0x60]
mov r8d, dword [rsp + 0x5c]
mov r9d, r10d
mov rcx, r12
mov edx, 0x61
mov dword [rsp + 0x20], eax
call fcn.1400447a0
jmp 0x1400f6722
add eax, 1
mov dword [rbx + 0x38], eax
cmp word [r13 + 0x36], 0
mov dword [rsp + 0x60], eax
lea eax, [r11 + 2]
mov dword [rsp + 0x5c], eax
jg 0x1400f63f0
jmp 0x1400f685c
jmp 0x1401abefa
movzx eax, word [0x60]
ud2