Function at 0x180021040
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r13
push r15
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov rbx, r8
mov qword [rbp - 0x58], rax
mov r13, rdx
mov rdi, rcx
call fcn.18001f7c0
test al, al
jne 0x1800210e8
mov rax, qword [rbp - 0x58]
mov qword [r13], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rbp - 0x58], rax
mov ecx, dword [rax]
test ecx, ecx
je 0x1800210ac
cmp ecx, 0xffffffff
je 0x1800213db
mov rax, qword [rbp - 0x58]
mov r15d, 0xffffffff
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x1800213db
mov rsi, qword [rbp - 0x58]
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 0x1800213d2
sub rbx, 8
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rbx, rdi
jne 0x1800210d1
jmp 0x1800213d2
mov r15d, 0xffffffff
lea rdx, str.SELECT_NamespaceTable.Name_FROM_NamespaceTable_WHERE_TRUE
mov r8d, r15d
lea rcx, [rbp - 0x40]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const____ptr64__int_]
mov rax, qword [rbx]
lea rcx, [rbp - 0x50]
cmp dword [rax + 4], 0
jne 0x180021117
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
jmp 0x180021127
mov r8d, r15d
lea rdx, str._AND_EXISTS_SELECT__FROM_Filter_WHERE_Filter.Name_____AND___NOT_EXISTS_SELECT__FROM_ComponentFilter__Filter_WHERE_ComponentFilter.FilterId__Filter.FilterId_AND_Filter.Name_____OR_NamespaceTable.Id_IN__SELECT_NamespaceTable.Id_FROM_NamespaceTable__ComponentTable__ComponentMapping__ComponentFilter__Filter_WHERE_ComponentMapping.NamespaceId__NamespaceTable.Id_AND_ComponentTable.ComponentId__ComponentMapping.ComponentId_AND___ComponentTable.Name__ComponentFilter.ComponentName__OR__ComponentTable.Name_IS_NULL_AND_ComponentFilter.ComponentName_IS_NULL___AND_ComponentFilter.FilterId__Filter.FilterId_AND_Filter.Name______AND__NOT_EXISTS_SELECT__FROM_VersionFilter__Filter_WHERE_VersionFilter.FilterId__Filter.FilterId_AND_Filter.Name_____OR_NamespaceTable.Id_IN__SELECT_NamespaceTable.Id_FROM_NamespaceTable__VersionFilter__VersionTable__Filter_WHERE_VersionFilter.FilterId__Filter.FilterId_AND___VersionFilter.Version__VersionTable.Version__OR__VersionFilter.Version_IS_NULL_AND_VersionTable.Version_IS_NULL___AND_VersionTable.NamespaceId__NamespaceTable.Id_AND_Filter.Name______
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const____ptr64__int_]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rdi + 0x20]
lea rdx, [rbp - 0x48]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
mov rcx, qword [rdi + 0x20]
mov r8, rbx
xor edx, edx
call fcn.180017170
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x180021353
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0x70], r14
mov rcx, qword [rdi + 0x20]
lea rdx, [rbp - 0x20]
xor r8d, r8d
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x28]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rcx, qword [rbp - 0x58]
mov qword [rbp - 0x38], rax
mov edx, dword [rcx]
cmp edx, 1
jbe 0x180021302
mov rcx, qword [rbp - 0x58]
mov r8d, 1
mov dword [rbp + 0x50], 0x7fffffff
movsxd rdx, dword [rcx + 8]
add rcx, 0x10
lea r12, [rcx + rdx*8]
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Core.dll_public:_struct_QListData::Data____ptr64___cdecl_QListData::detach_grow_int____ptr64__int____ptr64]
mov rcx, qword [rbp - 0x58]
mov rdi, r12
mov rsi, rax
movsxd rax, dword [rbp + 0x50]
movsxd r8, dword [rcx + 8]
lea rbx, [rcx + 0x10]
lea r14, [rax + 2]
add r14, r8
lea rbx, [rbx + r8*8]
lea r14, [rcx + r14*8]
cmp rbx, r14
je 0x180021240
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, r14
jne 0x180021220
mov rcx, qword [rbp - 0x58]
mov eax, dword [rbp + 0x50]
movsxd rbx, dword [rcx + 8]
movsxd r14, dword [rcx + 0xc]
add rbx, 3
movsxd rdx, eax
add r14, 2
add rbx, rdx
lea r14, [rcx + r14*8]
lea rbx, [rcx + rbx*8]
lea rdi, [r12 + rdx*8]
cmp rbx, r14
je 0x180021289
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 0x180021270
mov eax, dword [rsi]
test eax, eax
je 0x1800212a0
cmp eax, r15d
je 0x1800212db
mov eax, r15d
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x1800212db
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 0x1800212d2
nop dword [rax]
sub rbx, 8
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rbx, rdi
jne 0x1800212c0
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rax, qword [rbp - 0x58]
movsxd rcx, dword [rbp + 0x50]
movsxd rdx, dword [rax + 8]
add rax, 0x10
add rdx, rcx
lea rcx, [rax + rdx*8]
mov rdx, qword [rbp - 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rdi, qword [rbp + 0x38]
jmp 0x180021320
mov rdx, rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov rcx, qword [rbp - 0x30]
mov qword [rax], rcx
lea rcx, [rbp - 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
jne 0x180021192
mov r14, qword [rsp + 0x70]
mov r12, qword [rsp + 0xb8]
mov rax, qword [rbp - 0x58]
lea rcx, [rbp - 0x48]
mov qword [r13], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rbp - 0x58], rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [rbp - 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x180021398
cmp ecx, r15d
je 0x1800213db
mov rax, qword [rbp - 0x58]
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x1800213db
mov rsi, qword [rbp - 0x58]
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 0x1800213d2
nop dword [rax]
sub rbx, 8
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rbx, rdi
jne 0x1800213c0
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rax, r13
add rsp, 0x78
pop r15
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret