Function at 0x14008d680
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
mov rax, qword [0x1400e6280]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rsi, rcx
xor dil, dil
mov rax, qword [rcx]
mov rbx, qword [rax + 0x80]
lea rdx, str.SELECT_name__sql_FROM_sqlite_master_WHERE_typetable__
lea rcx, [rbp - 9]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
lea r8, [rbp - 9]
lea rdx, [rbp - 0x41]
mov rcx, rsi
call rbx
nop
lea rcx, [rbp - 9]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp byte [rbp - 0x39], dil
je 0x14008da9a
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
test al, al
je 0x14008da9a
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlQuery::destructor_void____ptr64]
mov rax, qword [rsi]
mov rbx, qword [rax + 0x80]
lea rdx, str.pragma_quick_check
lea rcx, [rbp - 9]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
nop
lea r8, [rbp - 9]
lea rdx, [rbp - 0x41]
mov rcx, rsi
call rbx
nop
lea rcx, [rbp - 9]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp byte [rbp - 0x39], dil
je 0x14008d9c2
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
test al, al
je 0x14008d9c2
mov sil, 1
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x14008d9af
nop
test sil, sil
je 0x14008d8c4
xor sil, sil
xor r8d, r8d
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt6Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
nop
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rbx, rax
lea rdx, [0x1400bdb84]
lea rcx, [rbp + 0xf]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
xor r8d, r8d
lea rdx, [rbp + 0xf]
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_int___cdecl_QString::compare_class_QString_const____ptr64__enum_Qt::CaseSensitivity_const___ptr64]
mov ebx, eax
lea rcx, [rbp + 0xf]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x27]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
test ebx, ebx
je 0x14008d99d
call qword [sym.imp.logger.dll_public:_static_class_QtAppLogger____ptr64___cdecl_QtAppDefaultLogger::instance_void_]
mov qword [rbp - 0x79], rax
mov dword [rbp - 0x71], 1
mov byte [rbp - 0x6d], 1
lea rcx, [rbp - 0x69]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov r8d, 3
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QTextStream::constructor_class_QString____ptr64__class_QFlags_enum_QIODeviceBase::OpenModeFlag_____ptr64]
nop
lea rdx, str._AbstractSqlDatabaseManager_:_WARNING:_DB_is_corrupted._ERROR_3:
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
mov rbx, rax
xor r8d, r8d
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt6Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
nop
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x27]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QTextStream::flush_void____ptr64]
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14008d899
lea r8, [rbp - 0x69]
mov edx, dword [rbp - 0x71]
call qword [sym.imp.logger.dll_public:_void___cdecl_QtAppLogger::log_int__class_QString_const____ptr64____ptr64]
mov rcx, qword [rbp - 0x79]
cmp byte [rbp - 0x6d], 0
je 0x14008d8aa
test rcx, rcx
je 0x14008d8aa
call qword [sym.imp.logger.dll_public:_int___cdecl_QtAppLogger::verbosityLevel_void_const___ptr64]
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public_virtual:_void___cdecl_QTextStream::destructor_void____ptr64]
lea rcx, [rbp - 0x69]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
jmp 0x14008d99a
call qword [sym.imp.logger.dll_public:_static_class_QtAppLogger____ptr64___cdecl_QtAppDefaultLogger::instance_void_]
mov qword [rbp - 0x79], rax
mov dword [rbp - 0x71], 1
mov byte [rbp - 0x6d], 1
lea rcx, [rbp - 0x69]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov r8d, 3
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QTextStream::constructor_class_QString____ptr64__class_QFlags_enum_QIODeviceBase::OpenModeFlag_____ptr64]
nop
lea rdx, str._AbstractSqlDatabaseManager_:_WARNING:_DB_is_corrupted._ERROR_4:
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
mov rbx, rax
xor r8d, r8d
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt6Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
nop
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x27]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QTextStream::flush_void____ptr64]
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14008d974
lea r8, [rbp - 0x69]
mov edx, dword [rbp - 0x71]
call qword [sym.imp.logger.dll_public:_void___cdecl_QtAppLogger::log_int__class_QString_const____ptr64____ptr64]
mov rcx, qword [rbp - 0x79]
cmp byte [rbp - 0x6d], 0
je 0x14008d985
test rcx, rcx
je 0x14008d985
call qword [sym.imp.logger.dll_public:_int___cdecl_QtAppLogger::verbosityLevel_void_const___ptr64]
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public_virtual:_void___cdecl_QTextStream::destructor_void____ptr64]
lea rcx, [rbp - 0x69]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
mov dil, 1
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
jne 0x14008d770
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlQuery::destructor_void____ptr64]
movzx eax, dil
jmp 0x14008db79
call qword [sym.imp.logger.dll_public:_static_class_QtAppLogger____ptr64___cdecl_QtAppDefaultLogger::instance_void_]
mov qword [rbp - 0x79], rax
mov dword [rbp - 0x71], 1
mov byte [rbp - 0x6d], 1
lea rcx, [rbp - 0x69]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov r8d, 3
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QTextStream::constructor_class_QString____ptr64__class_QFlags_enum_QIODeviceBase::OpenModeFlag_____ptr64]
nop
lea rdx, str._AbstractSqlDatabaseManager_:_WARNING:_DB_is_corrupted._ERROR_2:
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
mov rbx, rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt6Sql.dll_public:_class_QSqlError___cdecl_QSqlQuery::lastError_void____ptr64]
nop
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.Qt6Sql.dll_public:_class_QString___cdecl_QSqlError::text_void____ptr64]
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlError::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QTextStream::flush_void____ptr64]
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14008da6f
lea r8, [rbp - 0x69]
mov edx, dword [rbp - 0x71]
call qword [sym.imp.logger.dll_public:_void___cdecl_QtAppLogger::log_int__class_QString_const____ptr64____ptr64]
mov rcx, qword [rbp - 0x79]
cmp byte [rbp - 0x6d], 0
je 0x14008da80
test rcx, rcx
je 0x14008da80
call qword [sym.imp.logger.dll_public:_int___cdecl_QtAppLogger::verbosityLevel_void_const___ptr64]
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public_virtual:_void___cdecl_QTextStream::destructor_void____ptr64]
lea rcx, [rbp - 0x69]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
jmp 0x14008db6d
call qword [sym.imp.logger.dll_public:_static_class_QtAppLogger____ptr64___cdecl_QtAppDefaultLogger::instance_void_]
mov qword [rbp - 0x79], rax
mov dword [rbp - 0x71], 1
mov byte [rbp - 0x6d], 1
lea rcx, [rbp - 0x69]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
nop
mov r8d, 3
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QTextStream::constructor_class_QString____ptr64__class_QFlags_enum_QIODeviceBase::OpenModeFlag_____ptr64]
nop
lea rdx, str._AbstractSqlDatabaseManager_:_WARNING:_DB_is_corrupted._ERROR_1:
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___char_const____ptr64____ptr64]
mov rbx, rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt6Sql.dll_public:_class_QSqlError___cdecl_QSqlQuery::lastError_void____ptr64]
nop
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.Qt6Sql.dll_public:_class_QString___cdecl_QSqlError::text_void____ptr64]
nop
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_class_QTextStream____ptr64___cdecl_QTextStream::operator___class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x29]
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlError::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QTextStream::flush_void____ptr64]
mov rcx, qword [rbp - 0x79]
test rcx, rcx
je 0x14008db47
lea r8, [rbp - 0x69]
mov edx, dword [rbp - 0x71]
call qword [sym.imp.logger.dll_public:_void___cdecl_QtAppLogger::log_int__class_QString_const____ptr64____ptr64]
mov rcx, qword [rbp - 0x79]
cmp byte [rbp - 0x6d], 0
je 0x14008db58
test rcx, rcx
je 0x14008db58
call qword [sym.imp.logger.dll_public:_int___cdecl_QtAppLogger::verbosityLevel_void_const___ptr64]
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt6Core.dll_public_virtual:_void___cdecl_QTextStream::destructor_void____ptr64]
lea rcx, [rbp - 0x69]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlQuery::destructor_void____ptr64]
mov al, 1
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400a36a0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret