Function at 0x18001d420
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov rdi, r8
mov qword [rbp - 0x79], rax
mov r14, rdx
mov r13, rcx
call fcn.18001f7c0
test al, al
jne 0x18001d4d6
mov rax, qword [rbp - 0x79]
mov qword [r14], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rbp - 0x79], rax
mov ecx, dword [rax]
test ecx, ecx
je 0x18001d497
cmp ecx, 0xffffffff
je 0x18001daba
mov rax, qword [rbp - 0x79]
mov r15d, 0xffffffff
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x18001daba
mov rsi, qword [rbp - 0x79]
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 0x18001dab1
nop dword [rax]
sub rbx, 8
mov rcx, rbx
call fcn.180004ed0
cmp rbx, rdi
jne 0x18001d4c0
jmp 0x18001dab1
mov rbx, qword [r13 + 0x20]
lea rax, str.SELECT_FileAttributeSetTable.FilterAttributeSetId__FilterAttributeTable.Name_FROM_FileAttributeSetTable__FilterAttributeTable__NamespaceTable_WHERE_FileAttributeSetTable.FilterAttributeId__FilterAttributeTable.Id_AND_FileAttributeSetTable.NamespaceId__NamespaceTable.Id_AND_NamespaceTable.Name____ORDER_BY_FileAttributeSetTable.FilterAttributeSetId
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 9]
mov dword [rbp - 0x49], 0x15f
lea rcx, [rbp - 0x51]
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 9], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp - 0x51]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rbx, qword [r13 + 0x20]
lea rcx, [rbp - 0x21]
mov rdx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
mov r9d, 1
lea r8, [rbp - 0x21]
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, [rbp - 0x21]
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]
mov r15d, 0xffffffff
mov ebx, r15d
mov dword [rbp - 0x69], ebx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x18001d9c7
mov qword [rsp + 0x110], r12
nop word [rax + rax]
mov rcx, qword [r13 + 0x20]
lea rdx, [rbp + 7]
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 + 7]
mov r14d, eax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
cmp r14d, ebx
je 0x18001d74f
mov rcx, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rbp - 0x61], rcx
mov rcx, qword [rbp - 0x79]
mov edx, dword [rcx]
cmp edx, 1
jbe 0x18001d6cc
mov rcx, qword [rbp - 0x79]
lea rdx, [rbp + 0x7f]
mov dword [rbp + 0x7f], 0x7fffffff
mov r8d, 1
movsxd rax, dword [rcx + 8]
add rcx, 0x10
lea rbx, [rcx + rax*8]
lea rcx, [rbp - 0x79]
call qword [sym.imp.Qt5Core.dll_public:_struct_QListData::Data____ptr64___cdecl_QListData::detach_grow_int____ptr64__int____ptr64]
mov rcx, qword [rbp - 0x79]
mov rdi, rax
movsxd rdx, dword [rbp + 0x7f]
add rdx, 2
movsxd r9, dword [rcx + 8]
add rdx, r9
lea r8, [rcx + rdx*8]
add rcx, 0x10
lea rdx, [rcx + r9*8]
mov r9, rbx
lea rcx, [rbp - 0x79]
call fcn.180021490
mov rcx, qword [rbp - 0x79]
movsxd r10, dword [rbp + 0x7f]
movsxd rdx, dword [rcx + 0xc]
movsxd rax, dword [rcx + 8]
lea r9, [rbx + r10*8]
add rdx, 2
add rax, r10
lea r8, [rcx + rdx*8]
add rcx, 0x18
lea rdx, [rcx + rax*8]
lea rcx, [rbp - 0x79]
call fcn.180021490
mov eax, dword [rdi]
test eax, eax
je 0x18001d66c
cmp eax, r15d
je 0x18001d6aa
mov eax, r15d
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x18001d6aa
movsxd rsi, dword [rdi + 8]
movsxd rbx, dword [rdi + 0xc]
add rsi, 2
add rbx, 2
lea rsi, [rdi + rsi*8]
lea rbx, [rdi + rbx*8]
cmp rbx, rsi
je 0x18001d6a1
nop dword [rax]
sub rbx, 8
mov rcx, rbx
call fcn.180004ed0
cmp rbx, rsi
jne 0x18001d690
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rax, qword [rbp - 0x79]
movsxd rcx, dword [rbp + 0x7f]
movsxd rdx, dword [rax + 8]
add rax, 0x10
add rdx, rcx
lea rcx, [rax + rdx*8]
lea rdx, [rbp - 0x61]
call fcn.180004ba0
jmp 0x18001d6ea
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x39]
call fcn.180004ba0
lea rcx, [rbp - 0x79]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov rcx, qword [rbp - 0x39]
mov qword [rax], rcx
mov rax, qword [rbp - 0x61]
mov ecx, dword [rax]
test ecx, ecx
je 0x18001d709
cmp ecx, r15d
je 0x18001d74b
mov rax, qword [rbp - 0x61]
mov ecx, r15d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18001d74b
mov rbx, qword [rbp - 0x61]
movsxd rsi, dword [rbx + 8]
movsxd rdi, dword [rbx + 0xc]
add rsi, 2
add rdi, 2
lea rsi, [rbx + rsi*8]
lea rdi, [rbx + rdi*8]
cmp rdi, rsi
je 0x18001d742
nop word [rax + rax]
sub rdi, 8
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rdi, rsi
jne 0x18001d730
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov dword [rbp - 0x69], r14d
mov rax, qword [rbp - 0x79]
mov ecx, dword [rax]
cmp ecx, 1
jbe 0x18001d7fa
mov rax, qword [rbp - 0x79]
movsxd rcx, dword [rax + 8]
mov edx, dword [rax + 4]
lea rbx, [rax + rcx*8]
lea rcx, [rbp - 0x79]
call qword [sym.imp.Qt5Core.dll_public:_struct_QListData::Data____ptr64___cdecl_QListData::detach_int____ptr64]
mov rcx, qword [rbp - 0x79]
lea r9, [rbx + 0x10]
mov rdi, rax
movsxd rdx, dword [rcx + 0xc]
add rdx, 2
lea r8, [rcx + rdx*8]
movsxd rdx, dword [rcx + 8]
add rcx, 0x10
lea rdx, [rcx + rdx*8]
lea rcx, [rbp - 0x79]
call fcn.180021490
mov eax, dword [rdi]
test eax, eax
je 0x18001d7ba
cmp eax, r15d
je 0x18001d7fa
mov eax, r15d
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x18001d7fa
movsxd rsi, dword [rdi + 8]
movsxd rbx, dword [rdi + 0xc]
add rsi, 2
add rbx, 2
lea rsi, [rdi + rsi*8]
lea rbx, [rdi + rbx*8]
cmp rbx, rsi
je 0x18001d7f1
nop word [rax + rax]
sub rbx, 8
mov rcx, rbx
call fcn.180004ed0
cmp rbx, rsi
jne 0x18001d7e0
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rax, qword [rbp - 0x79]
lea rdx, [rbp + 0x17]
mov r8d, 1
movsxd rcx, dword [rax + 0xc]
lea r12, [rax + rcx*8]
mov rcx, qword [r13 + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rcx, qword [r12 + 8]
mov qword [rbp - 0x31], rax
mov edx, dword [rcx]
cmp edx, 1
jbe 0x18001d973
mov rdx, qword [r12 + 8]
mov r8d, 1
mov dword [rbp - 0x71], 0x7fffffff
movsxd rcx, dword [rdx + 8]
add rdx, 0x10
lea r13, [rdx + rcx*8]
lea rdx, [rbp - 0x71]
lea rcx, [r12 + 8]
call qword [sym.imp.Qt5Core.dll_public:_struct_QListData::Data____ptr64___cdecl_QListData::detach_grow_int____ptr64__int____ptr64]
mov r8, qword [r12 + 8]
mov rdi, r13
mov rsi, rax
movsxd rax, dword [rbp - 0x71]
movsxd rdx, dword [r8 + 8]
lea rbx, [r8 + 0x10]
lea r14, [rax + 2]
add r14, rdx
lea rbx, [rbx + rdx*8]
lea r14, [r8 + r14*8]
cmp rbx, r14
je 0x18001d8b4
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, r14
jne 0x18001d893
mov r8, qword [r12 + 8]
mov eax, dword [rbp - 0x71]
movsxd rbx, dword [r8 + 8]
movsxd r14, dword [r8 + 0xc]
add rbx, 3
movsxd rcx, eax
add r14, 2
add rbx, rcx
lea rdi, [rcx*8]
lea rbx, [r8 + rbx*8]
add rdi, r13
lea r14, [r8 + r14*8]
cmp rbx, r14
je 0x18001d8fb
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, r14
jne 0x18001d8e2
mov eax, dword [rsi]
test eax, eax
je 0x18001d912
cmp eax, r15d
je 0x18001d94b
mov eax, r15d
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x18001d94b
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 0x18001d942
nop
sub rbx, 8
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rbx, rdi
jne 0x18001d930
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rdx, qword [r12 + 8]
movsxd rax, dword [rbp - 0x71]
movsxd rcx, dword [rdx + 8]
add rdx, 0x10
add rcx, rax
lea rcx, [rdx + rcx*8]
mov rdx, qword [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov r13, qword [rbp + 0x67]
jmp 0x18001d992
mov rdx, rax
lea rcx, [rbp - 0x29]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea rcx, [r12 + 8]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov rcx, qword [rbp - 0x29]
mov qword [rax], rcx
lea rcx, [rbp - 0x49]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x17]
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]
mov ebx, dword [rbp - 0x69]
test al, al
jne 0x18001d580
mov r14, qword [rbp + 0x6f]
mov r12, qword [rsp + 0x110]
mov rax, qword [rbp - 0x79]
mov ecx, dword [rax + 8]
cmp dword [rax + 0xc], ecx
jne 0x18001da4f
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
mov qword [rbp - 0x59], rax
call fcn.1800169d0
mov rax, qword [rbp - 0x59]
mov ecx, dword [rax]
test ecx, ecx
je 0x18001da0a
cmp ecx, r15d
je 0x18001da4b
mov rax, qword [rbp - 0x59]
mov ecx, r15d
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18001da4b
mov rbx, qword [rbp - 0x59]
movsxd rsi, dword [rbx + 8]
movsxd rdi, dword [rbx + 0xc]
add rsi, 2
add rdi, 2
lea rsi, [rbx + rsi*8]
lea rdi, [rbx + rdi*8]
cmp rdi, rsi
je 0x18001da42
nop dword [rax + rax]
sub rdi, 8
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rdi, rsi
jne 0x18001da30
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rax, qword [rbp - 0x79]
mov qword [r14], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rbp - 0x79], rax
mov ecx, dword [rax]
test ecx, ecx
je 0x18001da77
cmp ecx, r15d
je 0x18001daba
mov rax, qword [rbp - 0x79]
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x18001daba
mov rsi, qword [rbp - 0x79]
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 0x18001dab1
nop dword [rax + rax]
sub rbx, 8
mov rcx, rbx
call fcn.180004ed0
cmp rbx, rdi
jne 0x18001daa0
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rax, r14
add rsp, 0xc0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret