Function at 0x18000cf90
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x28]
sub rsp, 0x128
cmp qword [rcx + 0x30], 0
mov rsi, r9
mov rdi, qword [sym.imp.Qt5Core.dll_struct_QMapDataBase_const_QMapDataBase::shared_null]
mov r13, r8
mov qword [rsp + 0x48], rdi
mov r12, rdx
mov r14, rcx
jne 0x18000d002
mov eax, dword [rdi]
mov qword [rdx], rdi
test eax, eax
je 0x18000cff5
cmp eax, 0xffffffff
je 0x18000d4f9
mov r13d, 0xffffffff
lock xadd dword [rdi], r13d
cmp r13d, 1
jne 0x18000d4f9
mov rcx, rdi
call fcn.18000c900
jmp 0x18000d4f9
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x170], rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
mov rax, qword [rsi]
cmp dword [rax + 4], 0
je 0x18000d0a2
lea rax, str.AND_FileNameTable.Name_LIKE__._1
mov dword [rsp + 0x50], 0x22
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x40]
movaps xmm0, xmmword [rsp + 0x50]
lea rcx, [rbp - 0x58]
movdqa xmmword [rbp - 0x40], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov dl, 0x20
lea rcx, [rsp + 0x68]
mov rbx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
xor r9d, r9d
lea rdx, [rbp - 0x60]
mov r8, rsi
movzx ecx, word [rax]
mov word [rsp + 0x20], cx
mov rcx, rbx
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, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [r13]
mov qword [rsp + 0x120], r15
mov ecx, dword [rax + 0xc]
mov edx, dword [rax + 8]
cmp ecx, edx
jne 0x18000d140
lea rax, str.SELECT_FileNameTable.Name__FileDataTable.Data_FROM_FolderTable__FileNameTable__FileDataTable_WHERE_FileDataTable.Id__FileNameTable.FileId_AND_FileNameTable.FolderId__FolderTable.Id__1
mov dword [rsp + 0x50], 0xb9
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x70]
movaps xmm0, xmmword [rsp + 0x50]
lea rcx, [rsp + 0x70]
movdqa xmmword [rbp - 0x70], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov dl, 0x20
lea rcx, [rsp + 0x30]
mov rbx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
xor r9d, r9d
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
movzx ecx, word [rax]
mov word [rsp + 0x20], cx
mov rcx, rbx
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, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x18000d2bf
xor r15d, r15d
sub ecx, edx
test ecx, ecx
jle 0x18000d2bf
lea r12, str._INTERSECT
lea r14, str.SELECT_FileNameTable.Name__FileDataTable.Data_FROM_FolderTable__FileNameTable__FileDataTable__FileFilterTable__FilterAttributeTable_WHERE_FileDataTable.Id__FileNameTable.FileId_AND_FileNameTable.FolderId__FolderTable.Id_AND_FileNameTable.FileId__FileFilterTable.FileId_AND_FileFilterTable.FilterAttributeId__FilterAttributeTable.Id_AND_FilterAttributeTable.Name___1__2
lea rdi, [0x18003fe94]
test r15d, r15d
jle 0x18000d18d
mov dword [rsp + 0x50], 0xb
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x38]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x30], xmm0
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QLatin1String____ptr64]
mov dword [rbp - 0x80], 0x177
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x78], r14
lea rcx, [rbp - 0x48]
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x20], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov dl, 0x20
lea rcx, [rsp + 0x30]
mov rsi, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
mov r8, qword [r13]
movsxd rcx, r15d
movzx ebx, word [rax]
movsxd rdx, dword [r8 + 8]
add r8, 0x10
add rdx, rcx
lea rcx, [rsp + 0x40]
lea rdx, [r8 + rdx*8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov dl, 0x27
mov dword [rbp - 0x70], 2
lea rcx, [rsp + 0x6a]
mov qword [rbp - 0x68], rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movaps xmm0, xmmword [rbp - 0x70]
lea r8, [rbp - 0x10]
mov r9d, 1
movdqa xmmword [rbp - 0x10], xmm0
lea rcx, [rsp + 0x40]
movzx edx, word [rax]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::replace_class_QChar__class_QLatin1String__enum_Qt::CaseSensitivity____ptr64]
xor r9d, r9d
mov word [rsp + 0x20], bx
lea r8, [rsp + 0x40]
mov rcx, rsi
lea rdx, [rbp - 0x50]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov dl, 0x20
lea rcx, [rsp + 0x6c]
mov rbx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
xor r9d, r9d
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x70]
movzx ecx, word [rax]
mov word [rsp + 0x20], cx
mov rcx, rbx
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, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QString_const____ptr64____ptr64]
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [r13]
inc r15d
mov ecx, dword [rax + 0xc]
sub ecx, dword [rax + 8]
cmp r15d, ecx
jl 0x18000d162
mov rdi, qword [rsp + 0x48]
mov r14, qword [rbp + 0x60]
mov r12, qword [rbp + 0x68]
mov rcx, qword [r14 + 0x30]
lea rdx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_class_QString_const____ptr64____ptr64]
mov rcx, qword [r14 + 0x30]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
mov r13d, 0xffffffff
test al, al
je 0x18000d4aa
nop word [rax + rax]
mov rcx, qword [r14 + 0x30]
lea rdx, [rbp + 0x10]
mov r8d, 1
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray___cdecl_QVariant::toByteArray_void____ptr64]
mov rcx, qword [rax]
mov ebx, dword [rcx + 4]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_char_const____ptr64___cdecl_QByteArray::constData_void_const___ptr64]
mov r8d, ebx
lea rcx, [rsp + 0x48]
mov rdx, rax
call qword [sym.imp.Qt5Core.dll_class_QByteArray___cdecl_qUncompress_unsigned_char_const____ptr64__int_]
mov rcx, qword [r14 + 0x30]
lea rdx, [rbp]
xor r8d, r8d
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov ecx, dword [rdi]
mov r15, rax
cmp ecx, 1
jbe 0x18000d3b0
call qword [sym.imp.Qt5Core.dll_public:_static_struct_QMapDataBase____ptr64___cdecl_QMapDataBase::createData_void_]
mov rcx, qword [rdi + 0x10]
mov rbx, rax
test rcx, rcx
je 0x18000d385
mov rdx, rax
call fcn.18000c340
lea rdx, [rbx + 8]
mov qword [rbx + 0x10], rax
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMapNodeBase::setParent_struct_QMapNodeBase____ptr64____ptr64]
mov eax, dword [rdi]
test eax, eax
je 0x18000d39c
cmp eax, r13d
je 0x18000d3a4
mov eax, r13d
lock xadd dword [rdi], eax
cmp eax, 1
jne 0x18000d3a4
mov rcx, rdi
call fcn.18000c900
mov rcx, rbx
mov rdi, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMapDataBase::recalcMostLeftNode_void____ptr64]
mov rbx, qword [rdi + 0x10]
lea r12, [rdi + 8]
xor r14d, r14d
mov sil, 1
test rbx, rbx
je 0x18000d423
nop dword [rax]
nop word [rax + rax]
lea rcx, [rbx + 0x18]
mov rdx, r15
mov r12, rbx
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
jne 0x18000d3f0
mov r14, rbx
mov sil, 1
mov rbx, qword [rbx + 8]
jmp 0x18000d3f7
mov rbx, qword [rbx + 0x10]
xor sil, sil
test rbx, rbx
jne 0x18000d3d0
test r14, r14
je 0x18000d423
lea rdx, [r14 + 0x18]
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
jne 0x18000d423
lea rcx, [r14 + 0x20]
lea rdx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::operator_class_QByteArray_const____ptr64____ptr64]
jmp 0x18000d45c
mov edx, 0x28
mov byte [rsp + 0x20], sil
mov r9, r12
mov rcx, rdi
lea r8d, [rdx - 0x20]
call qword [sym.imp.Qt5Core.dll_public:_struct_QMapNodeBase____ptr64___cdecl_QMapDataBase::createNode_int__int__struct_QMapNodeBase____ptr64__bool____ptr64]
mov rdx, r15
mov rbx, rax
lea rcx, [rax + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea rcx, [rbx + 0x20]
lea rdx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_class_QByteArray_const____ptr64____ptr64]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
lea rcx, [rbp + 0x10]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov r14, qword [rbp + 0x60]
mov rcx, qword [r14 + 0x30]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
jne 0x18000d2f0
mov r12, qword [rbp + 0x68]
mov rbx, qword [sym.imp.Qt5Core.dll_struct_QMapDataBase_const_QMapDataBase::shared_null]
lea rcx, [rsp + 0x60]
mov qword [r12], rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov eax, dword [rbx]
mov r15, qword [rsp + 0x120]
test eax, eax
je 0x18000d4e9
cmp eax, r13d
je 0x18000d4f1
lock xadd dword [rbx], r13d
cmp r13d, 1
jne 0x18000d4f1
mov rcx, rbx
call fcn.18000c900
mov rbx, qword [rsp + 0x170]
mov rax, r12
add rsp, 0x128
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret