Function at 0x1402397c0
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 0x140239bd7
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
test al, al
je 0x140239bd7
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 0x140239afe
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
test al, al
je 0x140239afe
mov sil, 1
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x140239ae4
nop
test sil, sil
je 0x1402399f9
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, [0x1404b4834]
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 0x140239ad2
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 0x1402399ce
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 0x1402399df
test rcx, rcx
je 0x1402399df
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 0x140239acf
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 0x140239aa9
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 0x140239aba
test rcx, rcx
je 0x140239aba
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 0x1402398a0
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 0x140239bac
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 0x140239bbd
test rcx, rcx
je 0x140239bbd
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 0x140239caa
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 0x140239c84
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 0x140239c95
test rcx, rcx
je 0x140239c95
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