Function at 0x140006330
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x78
cmp qword [rcx + 0x18], 0
mov rdi, r8
mov rsi, rdx
mov r14, rcx
jne 0x140006359
xor al, al
add rsp, 0x78
pop r14
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0xa8], rbx
lea r8, str.Insert_contents...
xor r9d, r9d
mov qword [rsp + 0x70], r15
lea rdx, [rbp + 0x28]
mov dword [rsp + 0x20], 0xffffffff
lea rcx, [section..data]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x48], 0
lea r9, [rbp - 0x48]
mov qword [rbp - 0x40], rax
xor r8d, r8d
lea rdx, [section..data]
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject____ptr64__struct_QMetaObject_const____ptr64__int__void____ptr64____ptr64_]
lea rcx, [rbp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rbx, qword [r14 + 0x18]
lea rax, str.INSERT_INTO_ContentsTable__NamespaceId__Data__VALUES______
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x28]
mov dword [rbp - 0x48], 0x3a
lea rcx, [rbp + 0x28]
movaps xmm0, xmmword [rbp - 0x48]
movdqa xmmword [rbp - 0x28], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp + 0x28]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov edx, dword [r14 + 0x20]
lea rcx, [rbp - 0x48]
mov rbx, qword [r14 + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
mov r9d, 1
lea r8, [rbp - 0x48]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rbx, qword [r14 + 0x18]
lea rcx, [rbp - 0x48]
mov rdx, rsi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QByteArray_const____ptr64____ptr64]
mov r9d, 1
lea r8, [rbp - 0x48]
mov edx, r9d
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
mov rcx, qword [r14 + 0x18]
lea rdx, [rbp - 0x28]
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::lastInsertId_void____ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64]
lea rcx, [rbp - 0x28]
mov r15d, eax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
cmp r15d, 1
jge 0x1400064d8
xor r9d, r9d
mov dword [rsp + 0x20], 0xffffffff
lea r8, str.Cannot_insert_contents.
lea rdx, [rbp + 0x28]
lea rcx, [section..data]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
lea rcx, [r14 + 0x10]
lea rdx, [rbp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor al, al
jmp 0x1400065eb
mov rcx, qword [rdi]
mov qword [rsp + 0xb0], r12
movsxd rbx, dword [rcx + 8]
movsxd rdi, dword [rcx + 0xc]
add rbx, 2
add rdi, 2
lea rbx, [rcx + rbx*8]
lea rdi, [rcx + rdi*8]
cmp rbx, rdi
je 0x1400065d3
lea r12, str.INSERT_INTO_ContentsFilterTable__FilterAttributeId__ContentsId__SELECT_Id____FROM_FilterAttributeTable_WHERE_Name_
nop dword [rax + rax]
mov rsi, qword [r14 + 0x18]
lea rdx, [rbp - 0x18]
mov dword [rbp - 0x48], 0x73
lea rcx, [rbp + 0x28]
mov qword [rbp - 0x40], r12
movaps xmm0, xmmword [rbp - 0x48]
movdqa xmmword [rbp - 0x18], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp + 0x28]
mov rcx, rsi
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rsi, qword [r14 + 0x18]
lea rcx, [rbp - 0x38]
mov edx, r15d
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
mov r9d, 1
lea r8, [rbp - 0x38]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rsi, qword [r14 + 0x18]
lea rcx, [rbp - 0x28]
mov rdx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
mov r9d, 1
lea r8, [rbp - 0x28]
mov edx, r9d
mov rcx, rsi
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp - 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::isActive_void_const___ptr64]
test al, al
je 0x140006602
add rbx, 8
cmp rbx, rdi
jne 0x140006510
movsd xmm1, qword [r14 + 0x48]
mov rcx, r14
call fcn.1400028c0
mov al, 1
mov r12, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa8]
mov r15, qword [rsp + 0x70]
add rsp, 0x78
pop r14
pop rdi
pop rsi
pop rbp
ret
xor r9d, r9d
mov dword [rsp + 0x20], 0xffffffff
lea r8, str.Cannot_register_contents.
lea rdx, [rbp + 0x28]
lea rcx, [section..data]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
lea rcx, [r14 + 0x10]
lea rdx, [rbp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor al, al
jmp 0x1400065e3