Function at 0x18001dad0
Capabilities:
Reference sql statements

Disassembly:
push rbx
push rdi
push r13
push r14
sub rsp, 0x78
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov rdi, r8
mov qword [rdx], rax
mov r14, rdx
mov rbx, qword [rcx + 0x20]
mov r13, rcx
test rbx, rbx
je 0x18001dd84
lea rax, str.SELECT_FilterAttributeTable.Name_FROM_FilterAttributeTable__FilterTable__FilterNameTable_WHERE_FilterAttributeTable.Id__FilterTable.FilterAttributeId_AND_FilterTable.NameId__FilterNameTable.Id_AND_FilterNameTable.Name_
mov dword [rsp + 0x20], 0xdd
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x20]
lea rcx, [rsp + 0xa8]
movdqa xmmword [rsp + 0x40], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rsp + 0xa8]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rbx, qword [r13 + 0x20]
lea rcx, [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
mov r9d, 1
lea r8, [rsp + 0x30]
xor edx, edx
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, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r13 + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
mov rcx, qword [r13 + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x18001dd84
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r15
mov rcx, qword [r13 + 0x20]
lea rdx, [rsp + 0x50]
xor r8d, r8d
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rcx, qword [r14]
mov r12, rax
mov edx, dword [rcx]
cmp edx, 1
jbe 0x18001dd20
mov rdx, qword [r14]
mov r8d, 1
mov dword [rsp + 0xa0], 0x7fffffff
movsxd rcx, dword [rdx + 8]
add rdx, 0x10
lea r15, [rdx + rcx*8]
mov rcx, r14
lea rdx, [rsp + 0xa0]
call qword [sym.imp.Qt5Core.dll_public:_struct_QListData::Data____ptr64___cdecl_QListData::detach_grow_int____ptr64__int____ptr64]
mov r8, qword [r14]
mov rdi, r15
mov rsi, rax
movsxd rax, dword [rsp + 0xa0]
movsxd rdx, dword [r8 + 8]
lea rbx, [r8 + 0x10]
lea rbp, [rax + 2]
add rbp, rdx
lea rbx, [rbx + rdx*8]
lea rbp, [r8 + rbp*8]
cmp rbx, rbp
je 0x18001dc64
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
add rbx, 8
add rdi, 8
cmp rbx, rbp
jne 0x18001dc41
mov r8, qword [r14]
mov eax, dword [rsp + 0xa0]
movsxd rbx, dword [r8 + 8]
movsxd rbp, dword [r8 + 0xc]
add rbx, 3
movsxd rcx, eax
add rbp, 2
add rbx, rcx
lea rbp, [r8 + rbp*8]
lea rbx, [r8 + rbx*8]
lea rdi, [r15 + rcx*8]
cmp rbx, rbp
je 0x18001dca9
nop dword [rax + rax]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
add rbx, 8
add rdi, 8
cmp rbx, rbp
jne 0x18001dc90
mov eax, dword [rsi]
test eax, eax
je 0x18001dcc2
cmp eax, 0xffffffff
je 0x18001dcfb
mov eax, 0xffffffff
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x18001dcfb
movsxd rdi, dword [rsi + 8]
movsxd rbx, dword [rsi + 0xc]
add rdi, 2
add rbx, 2
lea rdi, [rsi + rdi*8]
lea rbx, [rsi + rbx*8]
cmp rbx, rdi
je 0x18001dcf2
nop
sub rbx, 8
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rbx, rdi
jne 0x18001dce0
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rdx, qword [r14]
movsxd rax, dword [rsp + 0xa0]
movsxd rcx, dword [rdx + 8]
add rdx, 0x10
add rcx, rax
lea rcx, [rdx + rcx*8]
mov rdx, r12
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
jmp 0x18001dd45
mov rdx, r12
lea rcx, [rsp + 0xb8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov rcx, qword [rsp + 0xb8]
mov qword [rax], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r13 + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
jne 0x18001dbb2
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xb0]
mov rax, r14
add rsp, 0x78
pop r14
pop r13
pop rdi
pop rbx
ret