Function at 0x180010ef0
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
lea rax, str.version
mov rsi, rdx
mov rdi, rcx
lea rdx, [rbp - 0x20]
xor r14d, r14d
lea rcx, [rbp + 0x48]
mov dword [rbp + 0x30], r14d
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x30], 7
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x20], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_void____ptr64]
mov rbx, qword [rdi + 0x30]
test rbx, rbx
je 0x180011042
mov dword [rbp - 0x20], 0x3a
lea rax, str.SELECT_COUNT_Value___Value_FROM_MetaDataTable_WHERE_Name_
mov qword [rbp - 0x18], rax
lea rdx, [rbp - 0x20]
movaps xmm0, xmmword [rbp - 0x20]
lea rcx, [rbp + 0x40]
movdqa xmmword [rbp - 0x20], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp + 0x40]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rbx, qword [rdi + 0x30]
lea rdx, [rbp + 0x48]
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
lea r9d, [r14 + 1]
xor edx, edx
lea r8, [rbp - 0x20]
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 - 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
test al, al
je 0x180011001
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x180011001
mov rcx, qword [rdi + 0x30]
lea rdx, [rbp - 0x20]
xor r8d, r8d
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
xor edx, edx
mov rcx, rax
lea r14d, [rdx + 1]
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64]
cmp eax, r14d
jne 0x180011001
movzx ebx, r14b
jmp 0x180011003
xor bl, bl
test r14b, 1
je 0x180011013
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
test bl, bl
je 0x180011042
mov rcx, qword [rdi + 0x30]
lea rdx, [rbp - 0x20]
mov r8d, 1
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rdx, rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QVariant____ptr64___cdecl_QVariant::operator_class_QVariant____ptr64____ptr64]
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QVariant____ptr64____ptr64]
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x10]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
lea rcx, [rbp - 0x10]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
lea rcx, [rbp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [rbp + 0x30]
cmp dword [rax + 4], 0
jne 0x180011093
mov rdx, rsi
mov rcx, rdi
call fcn.1800104c0
jmp 0x1800110a0
lea rdx, [rbp + 0x30]
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea rcx, [rbp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, rsi
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret