Function at 0x18001efd0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r13
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xa8
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov rbx, r8
mov qword [rbp - 0x59], rax
mov r13, rdx
mov rdi, rcx
call fcn.18001f7c0
test al, al
jne 0x18001f087
mov rax, qword [rbp - 0x59]
mov qword [r13], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rbp - 0x59], rax
mov ecx, dword [rax]
test ecx, ecx
je 0x18001f045
cmp ecx, 0xffffffff
je 0x18001f3ab
mov rax, qword [rbp - 0x59]
mov r15d, 0xffffffff
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x18001f3ab
mov rsi, qword [rbp - 0x59]
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 0x18001f3a2
nop word [rax + rax]
sub rbx, 8
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rbx, rdi
jne 0x18001f070
jmp 0x18001f3a2
mov r15d, 0xffffffff
lea rdx, str.SELECT_DISTINCT_IndexTable.Name_FROM_IndexTable__FileNameTable__FolderTable__NamespaceTable_WHERE_IndexTable.FileId__FileNameTable.FileId_AND_FileNameTable.FolderId__FolderTable.Id_AND_IndexTable.NamespaceId__NamespaceTable.Id
mov r8d, r15d
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const____ptr64__int_]
lea rax, str._ORDER_BY_LOWER_IndexTable.Name___IndexTable.Name
mov dword [rbp - 0x11], 0x31
mov qword [rbp - 9], rax
lea rcx, [rbp - 0x51]
mov rax, qword [rbx]
cmp dword [rax + 4], 0
jne 0x18001f0c8
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
jmp 0x18001f0d8
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 rax, [rbp - 0x41]
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x49]
lea rax, [rbp - 0x51]
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 1]
lea rax, [rbp - 0x21]
mov qword [rbp - 1], rax
lea rax, [rbp - 0x11]
mov qword [rbp + 7], rax
call fcn.180015b20
lea rcx, [rbp - 0x51]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rdi + 0x20]
lea rdx, [rbp - 0x49]
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 0x18001f326
mov qword [rsp + 0xe8], r12
mov qword [rsp + 0xa0], r14
nop word [rax + rax]
mov rcx, qword [rdi + 0x20]
lea rdx, [rbp + 0xf]
xor r8d, r8d
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x29]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rcx, qword [rbp - 0x59]
mov qword [rbp - 0x39], rax
mov edx, dword [rcx]
cmp edx, 1
jbe 0x18001f2d2
mov rcx, qword [rbp - 0x59]
mov r8d, 1
mov dword [rbp + 0x7f], 0x7fffffff
movsxd rdx, dword [rcx + 8]
add rcx, 0x10
lea r12, [rcx + rdx*8]
lea rdx, [rbp + 0x7f]
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_public:_struct_QListData::Data____ptr64___cdecl_QListData::detach_grow_int____ptr64__int____ptr64]
mov rcx, qword [rbp - 0x59]
mov rdi, r12
mov rsi, rax
movsxd rax, dword [rbp + 0x7f]
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 0x18001f210
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 0x18001f1f0
mov rcx, qword [rbp - 0x59]
mov eax, dword [rbp + 0x7f]
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 0x18001f259
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 0x18001f240
mov eax, dword [rsi]
test eax, eax
je 0x18001f270
cmp eax, r15d
je 0x18001f2ab
mov eax, r15d
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x18001f2ab
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 0x18001f2a2
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 0x18001f290
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rax, qword [rbp - 0x59]
movsxd rcx, dword [rbp + 0x7f]
movsxd rdx, dword [rax + 8]
add rax, 0x10
add rdx, rcx
lea rcx, [rax + rdx*8]
mov rdx, qword [rbp - 0x39]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rdi, qword [rbp + 0x67]
jmp 0x18001f2f0
mov rdx, rax
lea rcx, [rbp - 0x31]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x59]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov rcx, qword [rbp - 0x31]
mov qword [rax], rcx
lea rcx, [rbp - 0x29]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0xf]
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 0x18001f160
mov r14, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xe8]
mov rax, qword [rbp - 0x59]
lea rcx, [rbp - 0x49]
mov qword [r13], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rbp - 0x59], rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x41]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [rbp - 0x59]
mov ecx, dword [rax]
test ecx, ecx
je 0x18001f36b
cmp ecx, r15d
je 0x18001f3ab
mov rax, qword [rbp - 0x59]
lock xadd dword [rax], r15d
cmp r15d, 1
jne 0x18001f3ab
mov rsi, qword [rbp - 0x59]
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 0x18001f3a2
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 0x18001f390
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rax, r13
add rsp, 0xa8
pop r15
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret