Function at 0x140061ca0
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0xa8
mov rsi, rcx
xor dil, dil
mov rax, qword [rcx]
mov rbx, qword [rax + 0x80]
mov edx, 0x38
lea rcx, str.SELECT_name__sql_FROM_sqlite_master_WHERE_typetable__
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp + 0x67], rax
lea r8, [rbp + 0x67]
lea rdx, [rbp - 0x21]
mov rcx, rsi
call rbx
nop
lea rcx, [rbp + 0x67]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp byte [rbp - 0x19], dil
je 0x1400620b7
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
test al, al
je 0x1400620b7
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::destructor_void____ptr64]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x80]
mov edx, 0x12
lea rcx, str.pragma_quick_check
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp + 0x67], rax
lea r8, [rbp + 0x67]
lea rdx, [rbp - 0x21]
mov rcx, rsi
call rbx
nop
lea rcx, [rbp + 0x67]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp byte [rbp - 0x19], dil
je 0x140061fde
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
test al, al
je 0x140061fde
mov sil, 1
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x140061fc4
nop
test sil, sil
je 0x140061ed9
xor sil, sil
xor r8d, r8d
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
nop
lea rdx, [rbp + 0x77]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rbx, rax
mov edx, 2
lea rcx, [0x14008a534]
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rbp + 0x6f], rax
xor r8d, r8d
lea rdx, [rbp + 0x6f]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QString::compare_class_QString_const____ptr64__enum_Qt::CaseSensitivity_const___ptr64]
mov ebx, eax
lea rcx, [rbp + 0x6f]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x77]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0xf]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
test ebx, ebx
je 0x140061fb2
call qword [sym.imp.logger.dll_public:_static_class_QtAppLogger____ptr64___cdecl_QtAppDefaultLogger::instance_void_]
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x41], 1
mov byte [rbp - 0x3d], 1
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov r8d, 3
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QTextStream::constructor_class_QString____ptr64__class_QFlags_enum_QIODevice::OpenModeFlag_____ptr64]
nop
lea rdx, str._AbstractSqlDatabaseManager_:_WARNING:_DB_is_corrupted._ERROR_3:
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
mov rbx, rax
xor r8d, r8d
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
nop
lea rdx, [rbp + 0x7f]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp + 0x7f]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x1f]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QTextStream::flush_void____ptr64]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140061eae
lea r8, [rbp - 0x39]
mov edx, dword [rbp - 0x41]
call qword [sym.imp.logger.dll_public:_void___cdecl_QtAppLogger::log_int__class_QString_const____ptr64____ptr64]
mov rcx, qword [rbp - 0x49]
cmp byte [rbp - 0x3d], 0
je 0x140061ebf
test rcx, rcx
je 0x140061ebf
call qword [sym.imp.logger.dll_public:_int___cdecl_QtAppLogger::verbosityLevel_void_const___ptr64]
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public_virtual:_void___cdecl_QTextStream::destructor_void____ptr64]
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
jmp 0x140061faf
call qword [sym.imp.logger.dll_public:_static_class_QtAppLogger____ptr64___cdecl_QtAppDefaultLogger::instance_void_]
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x41], 1
mov byte [rbp - 0x3d], 1
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov r8d, 3
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QTextStream::constructor_class_QString____ptr64__class_QFlags_enum_QIODevice::OpenModeFlag_____ptr64]
nop
lea rdx, str._AbstractSqlDatabaseManager_:_WARNING:_DB_is_corrupted._ERROR_4:
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
mov rbx, rax
xor r8d, r8d
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
nop
lea rdx, [rbp - 0x11]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x11]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 9]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QTextStream::flush_void____ptr64]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140061f89
lea r8, [rbp - 0x39]
mov edx, dword [rbp - 0x41]
call qword [sym.imp.logger.dll_public:_void___cdecl_QtAppLogger::log_int__class_QString_const____ptr64____ptr64]
mov rcx, qword [rbp - 0x49]
cmp byte [rbp - 0x3d], 0
je 0x140061f9a
test rcx, rcx
je 0x140061f9a
call qword [sym.imp.logger.dll_public:_int___cdecl_QtAppLogger::verbosityLevel_void_const___ptr64]
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public_virtual:_void___cdecl_QTextStream::destructor_void____ptr64]
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov dil, 1
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
jne 0x140061d80
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::destructor_void____ptr64]
movzx eax, dil
add rsp, 0xa8
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.logger.dll_public:_static_class_QtAppLogger____ptr64___cdecl_QtAppDefaultLogger::instance_void_]
nop
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x41], 1
mov byte [rbp - 0x3d], 1
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov r8d, 3
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QTextStream::constructor_class_QString____ptr64__class_QFlags_enum_QIODevice::OpenModeFlag_____ptr64]
nop
lea rdx, str._AbstractSqlDatabaseManager_:_WARNING:_DB_is_corrupted._ERROR_2:
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
mov rbx, rax
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_class_QSqlError___cdecl_QSqlQuery::lastError_void____ptr64]
nop
lea rdx, [rbp + 0x6f]
mov rcx, rax
call qword [sym.imp.Qt5Sql.dll_public:_class_QString___cdecl_QSqlError::text_void____ptr64]
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp + 0x6f]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 9]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlError::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QTextStream::flush_void____ptr64]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x14006208c
lea r8, [rbp - 0x39]
mov edx, dword [rbp - 0x41]
call qword [sym.imp.logger.dll_public:_void___cdecl_QtAppLogger::log_int__class_QString_const____ptr64____ptr64]
mov rcx, qword [rbp - 0x49]
cmp byte [rbp - 0x3d], 0
je 0x14006209d
test rcx, rcx
je 0x14006209d
call qword [sym.imp.logger.dll_public:_int___cdecl_QtAppLogger::verbosityLevel_void_const___ptr64]
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public_virtual:_void___cdecl_QTextStream::destructor_void____ptr64]
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
jmp 0x14006218a
call qword [sym.imp.logger.dll_public:_static_class_QtAppLogger____ptr64___cdecl_QtAppDefaultLogger::instance_void_]
mov qword [rbp - 0x49], rax
mov dword [rbp - 0x41], 1
mov byte [rbp - 0x3d], 1
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov r8d, 3
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QTextStream::constructor_class_QString____ptr64__class_QFlags_enum_QIODevice::OpenModeFlag_____ptr64]
nop
lea rdx, str._AbstractSqlDatabaseManager_:_WARNING:_DB_is_corrupted._ERROR_1:
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
mov rbx, rax
lea rdx, [rbp - 9]
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_class_QSqlError___cdecl_QSqlQuery::lastError_void____ptr64]
nop
lea rdx, [rbp + 0x6f]
mov rcx, rax
call qword [sym.imp.Qt5Sql.dll_public:_class_QString___cdecl_QSqlError::text_void____ptr64]
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp + 0x6f]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 9]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlError::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QTextStream::flush_void____ptr64]
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x140062164
lea r8, [rbp - 0x39]
mov edx, dword [rbp - 0x41]
call qword [sym.imp.logger.dll_public:_void___cdecl_QtAppLogger::log_int__class_QString_const____ptr64____ptr64]
mov rcx, qword [rbp - 0x49]
cmp byte [rbp - 0x3d], 0
je 0x140062175
test rcx, rcx
je 0x140062175
call qword [sym.imp.logger.dll_public:_int___cdecl_QtAppLogger::verbosityLevel_void_const___ptr64]
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public_virtual:_void___cdecl_QTextStream::destructor_void____ptr64]
lea rcx, [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::destructor_void____ptr64]
mov al, 1
add rsp, 0xa8
pop rdi
pop rsi
pop rbx
pop rbp
ret