Function at 0x18001cd90
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov r15, r9
mov rdi, r8
mov r14, rdx
mov r13, rcx
call fcn.18001f7c0
test al, al
jne 0x18001cdd0
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [r14], rax
jmp 0x18001d407
mov qword [rsp + 0x1c0], rbx
mov qword [rsp + 0x1d0], rsi
mov rsi, qword [rbp + 0xe0]
mov qword [rsp + 0x1d8], r12
mov rax, qword [rsi]
cmp dword [rax + 4], 0
jne 0x18001ce16
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x60]
jmp 0x18001ce54
lea rax, str._AND_FileNameTable.Name_LIKE__
mov dword [rsp + 0x40], 0x1e
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x20]
movaps xmm0, xmmword [rsp + 0x40]
lea rcx, [rbp - 0x58]
movdqa xmmword [rbp + 0x20], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rax, str.SELECT_FolderTable.Name__FileNameTable.Name_FROM_FileNameTable__FolderTable__NamespaceTable_WHERE_FileNameTable.FolderId__FolderTable.Id_AND_FolderTable.NamespaceId__NamespaceTable.Id_AND_NamespaceTable.Name___
mov dword [rbp - 0x28], 0xd5
mov qword [rbp - 0x20], rax
lea rdx, [rsp + 0x78]
lea rax, [rbp - 0x28]
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x18]
lea rax, [rsp + 0x68]
mov qword [rbp - 0x10], rax
call fcn.180015c10
lea rbx, str.FileId
mov dword [rsp + 0x40], 6
mov qword [rsp + 0x48], rbx
lea rdx, [rbp + 0x30]
movaps xmm0, xmmword [rsp + 0x40]
lea rcx, [rbp - 0x68]
movdqa xmmword [rbp + 0x30], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rax, str.FileFilterTable
mov dword [rsp + 0x40], 0xf
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x40]
movaps xmm0, xmmword [rsp + 0x40]
lea rcx, [rbp - 0x70]
movdqa xmmword [rbp + 0x40], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov dword [rsp + 0x40], 6
lea rdx, [rbp + 0x50]
mov qword [rsp + 0x48], rbx
lea rcx, [rbp - 0x78]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x50], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rax, str.FileNameTable
mov dword [rsp + 0x40], 0xd
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x60]
movaps xmm0, xmmword [rsp + 0x40]
lea rcx, [rbp - 0x80]
movdqa xmmword [rbp + 0x60], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rax, qword [r15]
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x80]
lea rcx, [rbp - 0x50]
mov edx, dword [rax + 0xc]
sub edx, dword [rax + 8]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
call fcn.180022cc0
lea rdx, [rsp + 0x78]
mov rbx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rdx, rbx
lea rcx, [rsp + 0x60]
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]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [r13 + 0x20]
lea rdx, [rsp + 0x60]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
mov rbx, qword [r13 + 0x20]
lea rcx, [rbp - 8]
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 - 8]
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 - 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rax, qword [rsi]
mov edx, 1
cmp dword [rax + 4], 0
lea r12d, [rdx - 2]
je 0x18001d091
mov rdi, qword [r13 + 0x20]
lea rdx, str._._1
mov r8d, r12d
lea rcx, [rbp - 0x40]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const____ptr64__int_]
mov dl, 0x20
lea rcx, [rsp + 0x70]
mov rbx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
xor r9d, r9d
mov r8, rsi
mov rcx, rbx
movzx edx, word [rax]
mov word [rsp + 0x20], dx
lea rdx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov rdx, rax
lea rcx, [rbp + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
mov r9d, 1
lea r8, [rbp + 8]
mov edx, r9d
mov rcx, rdi
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 + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
lea rcx, [rbp - 0x48]
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]
lea edx, [r12 + 3]
mov rcx, qword [r13 + 0x20]
mov r8, r15
call fcn.1800172a0
mov rcx, qword [r13 + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
test al, al
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
jne 0x18001d0ba
mov qword [r14], rax
jmp 0x18001d3ce
mov rcx, qword [r13 + 0x20]
mov qword [rsp + 0x30], rax
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x18001d362
mov rcx, qword [r13 + 0x20]
lea rdx, [rbp + 0x80]
mov r8d, 1
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rcx, qword [r13 + 0x20]
lea rdx, [rbp + 0x70]
xor r8d, r8d
mov r14, rax
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x30]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rdx, qword [r14]
mov rdi, rax
mov rcx, qword [rax]
mov edx, dword [rdx + 4]
mov r8d, dword [rcx + 4]
lea rcx, [rsp + 0x58]
inc r8d
add edx, r8d
xor r8d, r8d
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_int__enum_Qt::Initialization____ptr64]
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_class_QChar_const____ptr64___cdecl_QString::constData_void_const___ptr64]
mov rcx, qword [rdi]
mov rsi, rax
movsxd rbx, dword [rcx + 4]
mov rcx, rdi
add rbx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QChar_const____ptr64___cdecl_QString::constData_void_const___ptr64]
mov r8, rbx
mov rcx, rsi
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov dl, 0x2f
lea rcx, [rsp + 0x52]
add rsi, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx eax, word [rsp + 0x52]
mov rcx, r14
mov word [rsi], ax
mov rax, qword [r14]
movsxd rbx, dword [rax + 4]
add rbx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QChar_const____ptr64___cdecl_QString::constData_void_const___ptr64]
lea rcx, [rsi + 2]
mov r8, rbx
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
cmp ecx, 1
jbe 0x18001d2f1
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], 0x7fffffff
mov r8d, 1
movsxd rcx, dword [rax + 8]
add rax, 0x10
lea r15, [rax + rcx*8]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_struct_QListData::Data____ptr64___cdecl_QListData::detach_grow_int____ptr64__int____ptr64]
mov rcx, qword [rsp + 0x30]
mov rdi, r15
mov rsi, rax
movsxd rax, dword [rsp + 0x38]
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 0x18001d232
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 0x18001d210
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
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, [r15 + rdx*8]
cmp rbx, r14
je 0x18001d279
nop dword [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 0x18001d260
mov eax, dword [rsi]
test eax, eax
je 0x18001d290
cmp eax, r12d
je 0x18001d2cb
mov eax, r12d
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x18001d2cb
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 0x18001d2c2
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 0x18001d2b0
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rsp + 0x38]
movsxd rdx, dword [rax + 8]
add rax, 0x10
add rdx, rcx
lea rcx, [rax + rdx*8]
lea rdx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
jmp 0x18001d312
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov rcx, qword [rbp - 0x38]
mov qword [rax], rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x80]
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 0x18001d0d1
mov r14, qword [rbp + 0xc8]
mov rax, qword [rsp + 0x30]
mov qword [r14], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rsp + 0x30], rax
mov ecx, dword [rax]
test ecx, ecx
je 0x18001d391
cmp ecx, r12d
je 0x18001d3ce
mov rax, qword [rsp + 0x30]
lock xadd dword [rax], r12d
cmp r12d, 1
jne 0x18001d3ce
mov rsi, qword [rsp + 0x30]
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 0x18001d3c5
sub rbx, 8
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rbx, rdi
jne 0x18001d3b3
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rsi, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x1c0]
mov r12, qword [rsp + 0x1d8]
mov rax, r14
add rsp, 0x190
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret