Function at 0x14004e3d0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r10, qword [rdx + 8]
xor r12d, r12d
mov rsi, qword [rcx]
mov rbx, r8
mov rdi, rcx
mov r14d, r12d
mov r15d, r12d
test r10, r10
je 0x14004e438
mov r9, qword [rsi + 0x20]
mov ecx, r12d
cmp qword [r9 + 0x18], r10
lea rax, [r9 + 0x18]
je 0x14004e42b
nop word [rax + rax]
inc ecx
lea rax, [rax + 0x20]
cmp qword [rax], r10
jne 0x14004e420
movsxd rax, ecx
shl rax, 5
mov r9, qword [rax + r9]
jmp 0x14004e43c
mov r9, qword [rdx + 0x10]
mov r8, qword [rdx + 0x18]
mov rcx, rdi
xor edx, edx
mov qword [rsp + 0xb0], rbp
call fcn.1400565e0
mov r13, rax
test rax, rax
je 0x14004e729
mov rdx, rax
mov rcx, rdi
call fcn.14004d430
test eax, eax
jne 0x14004e729
cmp qword [r13 + 0x18], r12
lea r9, str.view
cmove r9, r12
cmp dword [r13 + 0x54], r12d
je 0x14004e48f
lea r9, str.virtual_table
jmp 0x14004e494
test r9, r9
je 0x14004e4c8
mov rax, qword [r13]
lea r8, str.rename_columns_of
lea rdx, str.cannot__s__s___s_
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.140007d30
mov rdx, qword [rsp + 0xa8]
mov rcx, rsi
call fcn.14005f680
jmp 0x14004e80d
mov rcx, qword [r13 + 0x70]
mov ebp, 0xffff8000
test rcx, rcx
je 0x14004e4fb
mov rax, qword [rsi + 0x20]
mov ebp, r12d
add rax, 0x18
cmp qword [rax], rcx
je 0x14004e4fb
nop word [rax + rax]
inc ebp
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x14004e4f0
mov rax, qword [rsi + 0x20]
mov edx, reloc.WLDAP32.dll_Ordinal_26
mov r9, qword [r13]
movsxd rcx, ebp
shl rcx, 5
mov qword [rsp + 0x20], r12
mov rax, qword [rcx + rax]
mov rcx, rdi
mov r8, rax
mov qword [rsp + 0x58], rax
call fcn.140055540
test eax, eax
jne 0x14004e729
mov rdx, rbx
mov rcx, rsi
call fcn.1400575c0
mov r14, rax
test rax, rax
je 0x14004e729
movsx rcx, word [r13 + 0x46]
xor eax, eax
mov edx, ecx
cmp ax, cx
jge 0x14004e5c4
mov r11, qword [r13 + 8]
mov rbx, rcx
mov r10d, eax
nop
mov rax, qword [r11]
mov r9, r14
sub r9, rax
nop dword [rax]
movzx r8d, byte [rax]
movzx ecx, byte [r9 + rax]
cmp r8d, ecx
jne 0x14004e588
test r8d, r8d
je 0x14004e5c2
inc rax
jmp 0x14004e570
lea rdx, [0x140000000]
movzx edx, byte [rcx + rdx + 0x2e82e0]
mov rcx, r8
lea r8, [0x140000000]
movzx ecx, byte [rcx + r8 + 0x2e82e0]
cmp ecx, edx
jne 0x14004e5b3
inc rax
jmp 0x14004e570
inc r12d
inc r10
add r11, 0x20
cmp r10, rbx
jl 0x14004e560
mov edx, ebx
mov rcx, rdi
cmp r12d, edx
jne 0x14004e5f0
mov r8, r14
lea rdx, str.no_such_column:___s_
call fcn.140007d30
mov rdx, qword [rsp + 0xa8]
mov rcx, rsi
call fcn.14005f680
jmp 0x14004e73e
mov rax, qword [rdi + 0xa0]
mov rbx, qword [rsp + 0xb8]
test rax, rax
mov rdx, rbx
cmovne rcx, rax
mov byte [rcx + 0x21], 1
mov rcx, rsi
call fcn.1400575c0
mov r15, rax
test rax, rax
je 0x14004e729
mov rcx, qword [rbx]
lea rax, [0x140000000]
mov r8, qword [rsp + 0x58]
xor edi, edi
mov r9, r8
movzx edx, byte [rcx]
mov rcx, qword [r13]
mov qword [rsp + 0x48], rcx
movzx ebx, byte [rdx + rax + 0x2e7340]
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__AND_sql_NOT_LIKE_create_virtual__
and ebx, 0x80
cmp ebp, 1
sete dil
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0xa0]
call fcn.140055f20
mov r9, qword [r13]
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 dword [rsp + 0x30], ebx
mov rbx, qword [rsp + 0xa0]
mov qword [rsp + 0x28], r15
mov rcx, rbx
mov dword [rsp + 0x20], r12d
mov r12, qword [rsp + 0x58]
mov r8, r12
call fcn.140055f20
mov r8d, 1
mov edx, ebp
mov rcx, rbx
call fcn.14004d510
mov qword [rsp + 0x30], 0
lea r13, str.after_rename
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___Q_NULL
mov r9, r12
mov dword [rsp + 0x20], edi
mov r8, r12
mov byte [rbx + 0x1c], 1
mov rcx, rbx
call fcn.140055f20
cmp ebp, 1
je 0x14004e729
mov r9, r13
mov qword [rsp + 0x20], 0
mov r8, r12
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___Q_NULL
mov rcx, rbx
call fcn.140055f20
mov rdx, qword [rsp + 0xa8]
mov rcx, rsi
call fcn.14005f680
jmp 0x14004e73e
mov rdx, qword [rsp + 0xa8]
mov rcx, rsi
call fcn.14005f680
test r14, r14
je 0x14004e7a3
test rsi, rsi
je 0x14004e79b
cmp qword [rsi + 0x2e0], 0
je 0x14004e75a
mov rdx, r14
mov rcx, rsi
call fcn.140004480
jmp 0x14004e7a3
cmp r14, qword [rsi + 0x1d0]
jae 0x14004e79b
cmp r14, qword [rsi + 0x1c0]
jb 0x14004e77f
mov rax, qword [rsi + 0x1b8]
mov qword [r14], rax
mov qword [rsi + 0x1b8], r14
jmp 0x14004e7a3
cmp r14, qword [rsi + 0x1c8]
jb 0x14004e79b
mov rax, qword [rsi + 0x1a8]
mov qword [r14], rax
mov qword [rsi + 0x1a8], r14
jmp 0x14004e7a3
mov rcx, r14
call fcn.140004410
test r15, r15
je 0x14004e80d
test rsi, rsi
je 0x14004e805
cmp qword [rsi + 0x2e0], 0
je 0x14004e7c4
mov rdx, r15
mov rcx, rsi
call fcn.140004480
jmp 0x14004e80d
cmp r15, qword [rsi + 0x1d0]
jae 0x14004e805
cmp r15, qword [rsi + 0x1c0]
jb 0x14004e7e9
mov rax, qword [rsi + 0x1b8]
mov qword [r15], rax
mov qword [rsi + 0x1b8], r15
jmp 0x14004e80d
cmp r15, qword [rsi + 0x1c8]
jb 0x14004e805
mov rax, qword [rsi + 0x1a8]
mov qword [r15], rax
mov qword [rsi + 0x1a8], r15
jmp 0x14004e80d
mov rcx, r15
call fcn.140004410
mov rbp, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret