Function at 0x140002487
Capabilities:
Reference sql statements

Disassembly:
jmp 0x14000d8c0
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rcx]
cmp dword [rax + 4], 0
je 0x14000dae9
mov rax, qword [sym.imp.coreframe.dll_class_QSqlDatabase____ptr64___ptr64_DatabaseFunctionOperation::m_pdb]
cmp qword [rax], 0
je 0x14000dae9
mov edx, 8
lea rcx, str.tb_tasks
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 - 0x28], rax
mov edx, 0x59
lea rcx, str.SELECT__1.operation_register_name___1.operation_parameter_FROM__1_WHERE__1.task_name_2
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 - 0x30], rax
mov dl, 0x20
lea rcx, [rbp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx ecx, word [rax]
mov word [rsp + 0x20], cx
xor r9d, r9d
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov rbx, rax
mov dl, 0x20
lea rcx, [rbp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx ecx, word [rax]
mov word [rsp + 0x20], cx
xor r9d, r9d
mov r8, rdi
lea rdx, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rdx, qword [sym.imp.coreframe.dll_class_QSqlDatabase____ptr64___ptr64_DatabaseFunctionOperation::m_pdb]
mov rdx, qword [rdx]
lea rcx, [rbp - 8]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlDatabase::constructor_class_QSqlDatabase_const____ptr64____ptr64]
mov rdx, rax
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::constructor_class_QSqlDatabase____ptr64]
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_class_QString_const____ptr64____ptr64]
test al, al
je 0x14000dabf
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x14000dabf
mov edx, 0x17
lea rcx, str.operation_register_name
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 + 0x20], rax
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_class_QString_const____ptr64____ptr64]
nop
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.coreframe.dll_public:_class_TaskAttribute____ptr64___cdecl_SchedulerPlan::getObjectTaskAttribute_void____ptr64]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.coreframe.dll_public:_void___cdecl_TaskAttribute::setOperationRegisterName_class_QString_const____ptr64____ptr64]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov edx, 0x13
lea rcx, str.operation_parameter
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 + 0x20], rax
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_class_QString_const____ptr64____ptr64]
nop
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray___cdecl_QVariant::toByteArray_void____ptr64]
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.coreframe.dll_public:_class_TaskAttribute____ptr64___cdecl_SchedulerPlan::getObjectTaskAttribute_void____ptr64]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.coreframe.dll_public:_void___cdecl_TaskAttribute::setOperationParameter_class_QByteArray_const____ptr64____ptr64]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov bl, 1
jmp 0x14000dac1
xor bl, bl
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
movzx eax, bl
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
xor al, al
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret