Function at 0x1800244e0
Capabilities:
Reference sql statements

Disassembly:
mov dword [rsp + 0x18], r8d
push rbp
push rdi
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rdi, rdx
mov r15, rcx
call fcn.18001f7c0
test al, al
jne 0x180024510
add rsp, 0x130
pop r15
pop rdi
pop rbp
ret
mov rcx, qword [rdi]
mov eax, dword [rcx + 8]
cmp dword [rcx + 0xc], eax
jne 0x180024529
mov al, 1
add rsp, 0x130
pop r15
pop rdi
pop rbp
ret
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x150], rbx
lea rcx, [rsp + 0x40]
mov rbx, qword [r15 + 0x20]
mov qword [rsp + 0x128], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
mov qword [rbp + 0x68], rax
lea rax, str.SELECT_MAX_FilterAttributeSetId__FROM_FileAttributeSetTable
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x120], r12
mov dword [rsp + 0x30], 0x3b
movaps xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x118], r13
movdqa xmmword [rbp - 0x40], xmm0
mov qword [rsp + 0x110], r14
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_class_QString_const____ptr64____ptr64]
test al, al
je 0x18002488f
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x18002488f
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [r15 + 0x20]
lea rdx, [rbp - 0x30]
xor r8d, r8d
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64]
lea rcx, [rbp - 0x30]
mov r13d, eax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rdx, qword [rdi]
movsxd rdi, dword [rdx + 8]
movsxd r14, dword [rdx + 0xc]
add rdi, 2
add r14, 2
lea rdi, [rdx + rdi*8]
lea r14, [rdx + r14*8]
cmp rdi, r14
je 0x1800247a4
lea rdx, str.SELECT_Id_FROM_FilterAttributeTable_WHERE_Name_
nop
mov rcx, qword [rdi]
inc r13d
movsxd rbx, dword [rcx + 8]
movsxd rsi, dword [rcx + 0xc]
add rbx, 2
add rsi, 2
lea rbx, [rcx + rbx*8]
lea rsi, [rcx + rsi*8]
cmp rbx, rsi
je 0x180024797
nop word [rax + rax]
mov r12, qword [r15 + 0x20]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x38], rdx
lea rdx, [rbp - 0x20]
mov dword [rsp + 0x30], 0x30
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x20], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rsp + 0x48]
mov rcx, r12
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r12, qword [r15 + 0x20]
lea rcx, [rsp + 0x50]
mov rdx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
mov r9d, 1
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, r12
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
test al, al
je 0x18002489a
mov rcx, qword [r15 + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x18002489a
mov edx, dword [rbp + 0x60]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.180016b40
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov edx, r13d
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call fcn.180016b40
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r15 + 0x20]
lea rdx, [rbp - 0x10]
xor r8d, r8d
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64]
mov edx, eax
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x68]
call fcn.180016b40
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
lea rcx, [rbp - 0x10]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
add rbx, 8
lea rdx, str.SELECT_Id_FROM_FilterAttributeTable_WHERE_Name_
cmp rbx, rsi
jne 0x180024650
add rdi, 8
cmp rdi, r14
jne 0x180024620
mov rbx, qword [r15 + 0x20]
lea rax, str.INSERT_INTO_FileAttributeSetTable__NamespaceId__FilterAttributeSetId__FilterAttributeId__VALUES_________
mov qword [rsp + 0x38], rax
lea rdx, [rbp]
mov dword [rsp + 0x30], 0x68
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rbx, qword [r15 + 0x20]
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QList_class_QVariant__const____ptr64____ptr64]
mov r8d, 1
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::addBindValue_class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp - 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rbx, qword [r15 + 0x20]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QList_class_QVariant__const____ptr64____ptr64]
mov r8d, 1
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::addBindValue_class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rbx, qword [r15 + 0x20]
lea rdx, [rbp + 0x68]
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QList_class_QVariant__const____ptr64____ptr64]
mov r8d, 1
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::addBindValue_class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r15 + 0x20]
xor edx, edx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::execBatch_enum_QSqlQuery::BatchExecutionMode____ptr64]
movzx r12d, al
jmp 0x18002489d
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor r12b, r12b
mov rax, qword [rbp + 0x68]
mov esi, 0xffffffff
mov r13, qword [rsp + 0x118]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800248c7
cmp ecx, esi
je 0x180024921
mov rax, qword [rbp + 0x68]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180024921
mov r15, qword [rbp + 0x68]
movsxd r14, dword [r15 + 8]
movsxd rbx, dword [r15 + 0xc]
add r14, 2
add rbx, 2
lea r14, [r15 + r14*8]
lea rbx, [r15 + rbx*8]
cmp rbx, r14
je 0x180024918
nop dword [rax + rax]
mov rdi, qword [rbx - 8]
sub rbx, 8
test rdi, rdi
je 0x180024913
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov edx, 0x10
mov rcx, rdi
call fcn.18003aa44
cmp rbx, r14
jne 0x1800248f0
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rax, qword [rsp + 0x20]
mov ecx, dword [rax]
test ecx, ecx
je 0x180024940
cmp ecx, esi
je 0x180024993
mov rax, qword [rsp + 0x20]
mov ecx, esi
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x180024993
mov r15, qword [rsp + 0x20]
movsxd r14, dword [r15 + 8]
movsxd rbx, dword [r15 + 0xc]
add r14, 2
add rbx, 2
lea r14, [r15 + r14*8]
lea rbx, [r15 + rbx*8]
cmp rbx, r14
je 0x18002498a
mov rdi, qword [rbx - 8]
sub rbx, 8
test rdi, rdi
je 0x180024985
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov edx, 0x10
mov rcx, rdi
call fcn.18003aa44
cmp rbx, r14
jne 0x180024962
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x1800249b0
cmp ecx, esi
je 0x180024a03
mov rax, qword [rsp + 0x28]
lock xadd dword [rax], esi
cmp esi, 1
jne 0x180024a03
mov r14, qword [rsp + 0x28]
movsxd rsi, dword [r14 + 8]
movsxd rbx, dword [r14 + 0xc]
add rsi, 2
add rbx, 2
lea rsi, [r14 + rsi*8]
lea rbx, [r14 + rbx*8]
cmp rbx, rsi
je 0x1800249fa
mov rdi, qword [rbx - 8]
sub rbx, 8
test rdi, rdi
je 0x1800249f5
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov edx, 0x10
mov rcx, rdi
call fcn.18003aa44
cmp rbx, rsi
jne 0x1800249d2
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov r14, qword [rsp + 0x110]
movzx eax, r12b
mov r12, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x150]
add rsp, 0x130
pop r15
pop rdi
pop rbp
ret