Function at 0x18000d510
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rdi
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0xb8
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov r15, rdx
mov qword [rdx], rax
mov rdi, rcx
mov rbx, qword [rcx + 0x30]
test rbx, rbx
je 0x18000da5b
lea rax, str.SELECT_FileAttributeSetTable.Id__FilterAttributeTable.Name_FROM_FileAttributeSetTable__FilterAttributeTable_WHERE_FileAttributeSetTable.FilterAttributeId__FilterAttributeTable.Id_ORDER_BY_FileAttributeSetTable.Id
mov dword [rbp - 0x49], 0xd5
mov qword [rbp - 0x41], rax
lea rdx, [rbp - 0x19]
movaps xmm0, xmmword [rbp - 0x49]
lea rcx, [rbp - 0x51]
movdqa xmmword [rbp - 0x19], 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::exec_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rdi + 0x30]
mov ebx, 0xffffffff
mov dword [rbp + 0x7f], ebx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x18000da5b
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0x98], r14
nop dword [rax]
mov rcx, qword [rdi + 0x30]
lea rdx, [rbp - 9]
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 - 9]
mov r13d, eax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
cmp r13d, ebx
je 0x18000d7b3
mov rcx, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rbp - 0x59], rcx
mov rcx, qword [r15]
mov edx, dword [rcx]
cmp edx, 1
jbe 0x18000d72e
mov rcx, qword [r15]
lea rdx, [rbp + 0x6f]
mov dword [rbp + 0x6f], 0x7fffffff
mov r8d, 1
movsxd rax, dword [rcx + 8]
add rcx, 0x10
lea r12, [rcx + rax*8]
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_struct_QListData::Data____ptr64___cdecl_QListData::detach_grow_int____ptr64__int____ptr64]
mov r8, qword [r15]
mov rdi, r12
mov rsi, rax
movsxd rax, dword [rbp + 0x6f]
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 0x18000d67e
nop dword [rax]
mov rdx, rdi
mov rcx, rbx
call fcn.180004ba0
add rbx, 8
add rdi, 8
cmp rbx, r14
jne 0x18000d660
mov r8, qword [r15]
mov eax, dword [rbp + 0x6f]
movsxd rbx, dword [r8 + 8]
movsxd r14, dword [r8 + 0xc]
add rbx, 3
movsxd rcx, eax
add r14, 2
add rbx, rcx
lea r14, [r8 + r14*8]
lea rbx, [r8 + rbx*8]
lea rdi, [r12 + rcx*8]
cmp rbx, r14
je 0x18000d6bd
mov rdx, rdi
mov rcx, rbx
call fcn.180004ba0
add rbx, 8
add rdi, 8
cmp rbx, r14
jne 0x18000d6a5
mov eax, dword [rsi]
test eax, eax
je 0x18000d6d6
cmp eax, 0xffffffff
je 0x18000d70d
mov eax, 0xffffffff
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x18000d70d
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 0x18000d704
sub rbx, 8
mov rcx, rbx
call fcn.180004ed0
cmp rbx, rdi
jne 0x18000d6f3
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rdx, qword [r15]
movsxd rax, dword [rbp + 0x6f]
movsxd rcx, dword [rdx + 8]
add rdx, 0x10
add rcx, rax
lea rcx, [rdx + rcx*8]
lea rdx, [rbp - 0x59]
call fcn.180004ba0
jmp 0x18000d74b
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x39]
call fcn.180004ba0
mov rcx, r15
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 - 0x59]
mov ecx, dword [rax]
test ecx, ecx
je 0x18000d76c
cmp ecx, 0xffffffff
je 0x18000d7ab
mov rax, qword [rbp - 0x59]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18000d7ab
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 0x18000d7a2
nop dword [rax]
sub rdi, 8
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rdi, rsi
jne 0x18000d790
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rdi, qword [rbp + 0x67]
mov dword [rbp + 0x7f], r13d
mov rax, qword [r15]
mov ecx, dword [rax]
cmp ecx, 1
jbe 0x18000d86e
mov rcx, qword [r15]
movsxd rax, dword [rcx + 8]
mov edx, dword [rcx + 4]
add rax, 2
lea rdi, [rcx + rax*8]
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_struct_QListData::Data____ptr64___cdecl_QListData::detach_int____ptr64]
mov rdx, qword [r15]
mov rsi, rax
movsxd r14, dword [rdx + 0xc]
movsxd rbx, dword [rdx + 8]
add r14, 2
add rbx, 2
lea r14, [rdx + r14*8]
lea rbx, [rdx + rbx*8]
cmp rbx, r14
je 0x18000d818
nop
mov rdx, rdi
mov rcx, rbx
call fcn.180004ba0
add rbx, 8
add rdi, 8
cmp rbx, r14
jne 0x18000d800
mov eax, dword [rsi]
test eax, eax
je 0x18000d831
cmp eax, 0xffffffff
je 0x18000d86a
mov eax, 0xffffffff
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x18000d86a
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 0x18000d861
nop
sub rbx, 8
mov rcx, rbx
call fcn.180004ed0
cmp rbx, rdi
jne 0x18000d850
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rdi, qword [rbp + 0x67]
mov rcx, qword [r15]
lea rdx, [rbp + 7]
mov r8d, 1
movsxd rax, dword [rcx + 0xc]
lea r12, [rcx + rax*8]
mov rcx, qword [rdi + 0x30]
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 0x18000d9f3
mov rdx, qword [r12 + 8]
mov r8d, 1
mov dword [rbp + 0x77], 0x7fffffff
movsxd rcx, dword [rdx + 8]
add rdx, 0x10
lea r13, [rdx + rcx*8]
lea rdx, [rbp + 0x77]
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 + 0x77]
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 0x18000d931
nop word [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, r14
jne 0x18000d910
mov r8, qword [r12 + 8]
mov eax, dword [rbp + 0x77]
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 0x18000d979
nop
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 0x18000d960
mov eax, dword [rsi]
test eax, eax
je 0x18000d992
cmp eax, 0xffffffff
je 0x18000d9cb
mov eax, 0xffffffff
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x18000d9cb
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 0x18000d9c2
nop
sub rbx, 8
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rbx, rdi
jne 0x18000d9b0
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 + 0x77]
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 rdi, qword [rbp + 0x67]
jmp 0x18000da12
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 + 7]
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::next_void____ptr64]
mov ebx, dword [rbp + 0x7f]
test al, al
jne 0x18000d5c0
mov r14, qword [rsp + 0x98]
mov r13, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xb0]
mov rax, r15
add rsp, 0xb8
pop r15
pop rdi
pop rbx
pop rbp
ret