Function at 0x1400a35f0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov r10, qword [rdx + 8]
xor r13d, r13d
mov r14, qword [rcx]
mov r15, r8
mov qword [rsp + 0x58], r13
mov rbx, rdx
mov rsi, rcx
mov ebp, r13d
test r10, r10
je 0x1400a365a
mov r9, qword [r14 + 0x20]
mov ecx, r13d
cmp qword [r9 + 0x18], r10
lea rax, [r9 + 0x18]
je 0x1400a364d
inc ecx
lea rax, [rax + 0x20]
cmp qword [rax], r10
jne 0x1400a3642
movsxd rax, ecx
shl rax, 5
mov r9, qword [rax + r9]
jmp 0x1400a365e
mov r9, qword [rdx + 0x10]
mov r8, qword [rdx + 0x18]
mov rcx, rsi
xor edx, edx
mov qword [rsp + 0x78], rdi
call fcn.1400acfb0
mov r12, rax
test rax, rax
je 0x1400a3a95
mov rdx, rax
mov rcx, rsi
call fcn.1400a2510
test eax, eax
jne 0x1400a3a95
cmp byte [r12 + 0x3f], 2
lea r9, str.view
cmovne r9, r13
cmp byte [r12 + 0x3f], 1
jne 0x1400a36b2
lea r9, str.virtual_table
jmp 0x1400a36b7
test r9, r9
je 0x1400a36e6
mov rax, qword [r12]
lea r8, str.rename_columns_of
lea rdx, str.cannot__s__s___s_
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.140052a70
mov rdx, rbx
mov rcx, r14
call fcn.1400b5e30
jmp 0x1400a3ac5
mov rcx, qword [r12 + 0x60]
mov edi, 0xffff8000
test rcx, rcx
je 0x1400a3710
mov rax, qword [r14 + 0x20]
mov edi, r13d
add rax, 0x18
cmp qword [rax], rcx
je 0x1400a3710
inc edi
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x1400a3705
mov rax, qword [r14 + 0x20]
mov edx, reloc.WLDAP32.dll_Ordinal_26
mov r9, qword [r12]
movsxd rcx, edi
shl rcx, 5
mov qword [rsp + 0x60], rcx
mov r13, qword [rcx + rax]
xor eax, eax
mov r8, r13
mov qword [rsp + 0x20], rax
mov rcx, rsi
call fcn.1400ac040
test eax, eax
jne 0x1400a3a95
mov rdx, r15
mov rcx, r14
call fcn.1400adc40
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400a3a92
movsx rdx, word [r12 + 0x36]
xor ecx, ecx
mov r15d, ecx
cmp cx, dx
jge 0x1400a37f2
mov r11, qword [r12 + 8]
mov rbp, rdx
mov r10d, ecx
mov rbx, rax
mov rax, qword [r11]
mov r9, rbx
sub r9, rax
nop dword [rax + rax]
movzx r8d, byte [rax]
movzx ecx, byte [r9 + rax]
cmp r8d, ecx
jne 0x1400a37a8
test r8d, r8d
je 0x1400a37e2
inc rax
jmp 0x1400a3790
lea rdx, [0x140000000]
movzx edx, byte [rcx + rdx + 0x292250]
mov rcx, r8
lea r8, [0x140000000]
movzx ecx, byte [rcx + r8 + 0x292250]
cmp ecx, edx
jne 0x1400a37d3
inc rax
jmp 0x1400a3790
inc r15d
inc r10
add r11, 0x18
cmp r10, rbp
jl 0x1400a3782
mov rbx, qword [rsp + 0xc8]
xor ecx, ecx
movzx edx, word [r12 + 0x36]
movsx eax, dx
cmp r15d, eax
jne 0x1400a3826
mov r8, qword [rsp + 0xd0]
lea rdx, str.no_such_column:___T_
mov rcx, rsi
call fcn.140052a70
mov rdx, rbx
mov rcx, r14
call fcn.1400b5e30
mov rbp, qword [rsp + 0x50]
jmp 0x1400a3aa5
mov ebp, ecx
mov dword [rsp + 0x30], ecx
lea rax, [0x140283fa6]
mov byte [rsi + 0x1c], 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
cmp edi, 1
mov r9, r13
mov r8, r13
mov rcx, rsi
sete bpl
mov dword [rsp + 0x20], ebp
call fcn.1400ac9f0
mov r8, r13
mov rcx, rsi
cmp edi, 1
je 0x1400a38a6
xor eax, eax
lea r9, [0x140283fa6]
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 dword [rsp + 0x20], eax
call fcn.1400ac9f0
mov r9, r13
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, r13
mov rcx, rsi
call fcn.1400ac9f0
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, rsi
call fcn.1400ac9f0
jmp 0x1400a38b5
mov r9, r13
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.1400ac9f0
mov rax, qword [rsi + 0xb0]
mov rcx, rsi
mov rdx, qword [rsp + 0xd8]
test rax, rax
cmovne rcx, rax
mov byte [rcx + 0x21], 1
mov rcx, r14
call fcn.1400adc40
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1400a3a8b
mov rcx, qword [rsp + 0xd8]
mov r9, r13
mov r8, r13
mov rcx, qword [rcx]
movzx edx, byte [rcx]
lea rcx, [0x140000000]
movzx ebx, byte [rdx + rcx + 0x2910d0]
lea rdx, str.UPDATE___w_.sqlite_master_SET_sql__sqlite_rename_column_sql__type__name___Q___Q___d___Q___d___d__WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X__AND__type___index_OR_tbl_name___Q_
mov rcx, qword [r12]
and ebx, 0x80
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], ebp
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call fcn.1400ac9f0
mov rax, qword [rsp + 0x58]
lea rdx, str.UPDATE_temp.sqlite_master_SET_sql__sqlite_rename_column_sql__type__name___Q___Q___d___Q___d__1__WHERE_type_IN__trigger__view_
mov r9, qword [r12]
mov r8, r13
mov dword [rsp + 0x30], ebx
mov rcx, rsi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
call fcn.1400ac9f0
mov r10, qword [rsi + 0x10]
test r10, r10
je 0x1400a3a19
mov rax, qword [rsi]
mov rcx, qword [rax + 0x20]
mov rax, qword [rsp + 0x60]
mov rax, qword [rcx + rax + 0x18]
movsxd rcx, dword [r10 + 0x90]
mov edx, dword [rax]
inc edx
cmp dword [r10 + 0x94], ecx
jg 0x1400a39b7
mov dword [rsp + 0x20], edx
mov r9d, 1
mov edx, 0x64
mov r8d, edi
mov rcx, r10
call fcn.14007c620
jmp 0x1400a39eb
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [r10 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r10 + 0x88]
mov dword [rax + rcx*8], 0x64
mov dword [rax + rcx*8 + 4], edi
mov dword [rax + rcx*8 + 8], 1
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rsi + 0x10]
mov r9d, 1
xor r8d, r8d
mov edx, edi
call fcn.14007cdb0
cmp edi, 1
je 0x1400a3a19
mov rcx, qword [rsi + 0x10]
mov r9d, 1
mov edx, r9d
xor r8d, r8d
call fcn.14007cdb0
mov dword [rsp + 0x30], 1
lea rbx, str.after_rename
mov qword [rsp + 0x28], rbx
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, r13
mov dword [rsp + 0x20], ebp
mov r8, r13
mov byte [rsi + 0x1c], 1
mov rcx, rsi
call fcn.1400ac9f0
cmp edi, 1
je 0x1400a3a83
mov r9, rbx
mov dword [rsp + 0x20], 1
mov r8, r13
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 fcn.1400ac9f0
mov rdx, qword [rsp + 0xc8]
mov rcx, r14
call fcn.1400b5e30
mov rbp, qword [rsp + 0x50]
jmp 0x1400a3aa5
mov rbx, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0x50]
jmp 0x1400a3a95
mov rbp, rax
mov rdx, rbx
mov rcx, r14
call fcn.1400b5e30
test rbp, rbp
je 0x1400a3ab0
mov rdx, rbp
mov rcx, r14
call fcn.14004ebc0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400a3ac5
mov rdx, rax
mov rcx, r14
call fcn.14004ebc0
mov rdi, qword [rsp + 0x78]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret