Function at 0x18001b840
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov r14, r9
mov qword [rsp + 0x30], rax
mov rdi, r8
mov r15, rdx
mov r13, rcx
call fcn.18001f7c0
test al, al
jne 0x18001b927
mov rax, qword [rsp + 0x30]
mov qword [r15], 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 0x18001b8c2
cmp ecx, 0xffffffff
je 0x18001c0ab
mov rax, qword [rsp + 0x30]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x18001c0ab
mov r14, qword [rsp + 0x30]
movsxd rsi, dword [r14 + 8]
movsxd rdi, dword [r14 + 0xc]
add rsi, 2
add rdi, 2
lea rsi, [r14 + rsi*8]
lea rdi, [r14 + rdi*8]
cmp rdi, rsi
je 0x18001c0a2
nop dword [rax + rax]
mov rbx, qword [rdi - 8]
sub rdi, 8
test rbx, rbx
je 0x18001b91d
lea rcx, [rbx + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QUrl::destructor_void____ptr64]
mov edx, 0x10
mov rcx, rbx
call fcn.18003aa44
cmp rdi, rsi
jne 0x18001b8f0
jmp 0x18001c0a2
mov esi, 0xffffffff
lea rdx, str.SELECT_FileNameTable.Title__NamespaceTable.Name__FolderTable.Name__FileNameTable.Name__IndexTable.Anchor_FROM_IndexTable__FileNameTable__FolderTable__NamespaceTable_WHERE_IndexTable.FileId__FileNameTable.FileId_AND_FileNameTable.FolderId__FolderTable.Id_AND_IndexTable.NamespaceId__NamespaceTable.Id_AND_IndexTable._1___
mov r8d, esi
lea rcx, [rbp - 0x28]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const____ptr64__int_]
mov dl, 0x20
lea rcx, [rsp + 0x58]
mov rbx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
xor r9d, r9d
lea rdx, [rbp - 0x68]
mov r8, rdi
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]
lea rcx, [rbp - 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rax, str.IndexId
mov dword [rsp + 0x40], 7
mov qword [rsp + 0x48], rax
lea rdx, [rbp]
movaps xmm0, xmmword [rsp + 0x40]
lea rcx, [rbp - 0x78]
movdqa xmmword [rbp], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rax, str.IndexFilterTable
mov dword [rsp + 0x40], 0x10
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x10]
movaps xmm0, xmmword [rsp + 0x40]
lea rcx, [rbp - 0x80]
movdqa xmmword [rbp + 0x10], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rax, [0x180042a98]
mov dword [rsp + 0x40], 2
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x20]
movaps xmm0, xmmword [rsp + 0x40]
lea rcx, [rsp + 0x78]
movdqa xmmword [rbp + 0x20], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rax, str.IndexTable
mov dword [rsp + 0x40], 0xa
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x30]
movaps xmm0, xmmword [rsp + 0x40]
lea rcx, [rsp + 0x70]
movdqa xmmword [rbp + 0x30], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rdi, qword [rbp + 0x120]
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x70]
lea rcx, [rbp - 0x60]
mov rax, qword [rdi]
mov edx, dword [rax + 0xc]
sub edx, dword [rax + 8]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.180022cc0
lea rdx, [rbp - 0x68]
mov rbx, rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::append_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x60]
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]
lea rcx, [rsp + 0x78]
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]
mov rcx, qword [r13 + 0x20]
lea rdx, [rsp + 0x68]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
mov rbx, qword [r13 + 0x20]
lea rcx, [rbp - 0x20]
mov rdx, r14
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
lea r9d, [rsi + 2]
xor edx, edx
lea r8, [rbp - 0x20]
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 - 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r13 + 0x20]
lea edx, [rsi + 2]
mov r8, rdi
call fcn.1800172a0
mov rcx, qword [r13 + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
mov rcx, qword [r13 + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x18001bffc
mov qword [rsp + 0x200], r12
lea rbx, [0x180043a08]
nop word [rax + rax]
mov rcx, qword [r13 + 0x20]
lea rdx, [rbp + 0x40]
xor r8d, r8d
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_QString___cdecl_QVariant::toString_void____ptr64]
lea rcx, [rbp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rax, qword [rsp + 0x50]
cmp dword [rax + 4], 0
jne 0x18001bc6b
mov rcx, qword [r13 + 0x20]
lea rdx, [rbp + 0x60]
mov r8d, 3
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x58]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov dword [rbp - 0x10], 3
lea r15, [rbp - 0x10]
mov qword [rbp - 8], rbx
mov rsi, rax
mov rcx, qword [r14]
mov r8d, dword [rcx + 4]
mov rcx, qword [rax]
mov edx, dword [rcx + 4]
lea rcx, [rsp + 0x60]
add edx, 3
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 + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_class_QChar_const____ptr64___cdecl_QString::constData_void_const___ptr64]
mov rcx, qword [r14]
mov rdi, rax
movsxd rbx, dword [rcx + 4]
mov rcx, r14
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, rdi
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [r15]
add rdi, rbx
mov r8, rdi
movd ebx, xmm0
movaps xmmword [rbp + 0xb0], xmm0
psrldq xmm0, 8
mov edx, ebx
movq rcx, xmm0
call qword [sym.imp.Qt5Core.dll_protected:_static_void___cdecl_QAbstractConcatenable::appendLatin1To_char_const____ptr64__int__class_QChar____ptr64_]
movsxd rax, ebx
mov rcx, rsi
add rax, rax
add rdi, rax
mov rax, qword [rsi]
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]
mov r8, rbx
mov rcx, rdi
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 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]
lea rcx, [rbp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r13 + 0x20]
lea rdx, [rbp + 0xa0]
mov r8d, 4
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x38]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rcx, qword [r13 + 0x20]
lea rdx, [rbp + 0x90]
mov r8d, 3
mov rsi, rax
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x40]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rcx, qword [r13 + 0x20]
lea rdx, [rbp + 0x80]
mov r8d, 2
mov rdi, rax
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rcx, qword [r13 + 0x20]
lea rdx, [rbp + 0x70]
mov r8d, 1
mov rbx, rax
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rbp - 0x50]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov r9, rdi
mov qword [rsp + 0x20], rsi
mov rdx, rax
lea rcx, [rbp - 0x70]
mov r8, rbx
call fcn.180017370
lea rcx, [rbp - 0x50]
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, [rbp - 0x48]
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]
lea rcx, [rbp - 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x90]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QUrl::constructor_class_QUrl_const____ptr64____ptr64]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
cmp ecx, 1
jbe 0x18001bf69
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 rdi, [rax + rcx*8]
lea rcx, [rsp + 0x30]
mov qword [rbp - 0x30], rdi
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 r15, rax
movsxd rax, dword [rsp + 0x38]
movsxd r8, dword [rcx + 8]
lea rbx, [rcx + 0x10]
lea r12, [rax + 2]
add r12, r8
lea rbx, [rbx + r8*8]
lea r12, [rcx + r12*8]
cmp rbx, r12
je 0x18001be46
mov r14, rdi
sub r14, rbx
mov ecx, 0x10
call fcn.18003aa08
mov rdi, qword [rbx + r14]
mov rcx, rax
mov rdx, rdi
mov rsi, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QUrl::constructor_class_QUrl_const____ptr64____ptr64]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov qword [rbx], rsi
add rbx, 8
cmp rbx, r12
jne 0x18001be02
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
mov rdi, qword [rbp - 0x30]
movsxd rsi, dword [rcx + 8]
movsxd r12, dword [rcx + 0xc]
add rsi, 3
movsxd rdx, eax
add r12, 2
add rsi, rdx
lea r12, [rcx + r12*8]
lea rsi, [rcx + rsi*8]
lea r14, [rdi + rdx*8]
cmp rsi, r12
je 0x18001beaa
nop dword [rax]
mov ecx, 0x10
call fcn.18003aa08
mov rbx, qword [r14]
mov rcx, rax
mov rdx, rbx
mov rdi, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QUrl::constructor_class_QUrl_const____ptr64____ptr64]
lea rcx, [rdi + 8]
lea rdx, [rbx + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov qword [rsi], rdi
lea r14, [r14 + 8]
add rsi, 8
cmp rsi, r12
jne 0x18001be70
mov eax, dword [r15]
test eax, eax
je 0x18001bec5
cmp eax, 0xffffffff
je 0x18001bf1d
mov eax, 0xffffffff
lock xadd dword [r15], eax
cmp eax, 1
jne 0x18001bf1d
movsxd rsi, dword [r15 + 8]
movsxd rdi, dword [r15 + 0xc]
add rsi, 2
add rdi, 2
lea rsi, [r15 + rsi*8]
lea rdi, [r15 + rdi*8]
cmp rdi, rsi
je 0x18001bf14
mov rbx, qword [rdi - 8]
sub rdi, 8
test rbx, rbx
je 0x18001bf0f
lea rcx, [rbx + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QUrl::destructor_void____ptr64]
mov edx, 0x10
mov rcx, rbx
call fcn.18003aa44
cmp rdi, rsi
jne 0x18001bee2
mov rcx, r15
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 rdx, rcx
mov ecx, 0x10
lea rdi, [rax + rdx*8]
call fcn.18003aa08
lea rdx, [rsp + 0x40]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QUrl::constructor_class_QUrl_const____ptr64____ptr64]
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov r14, qword [rbp + 0x118]
mov qword [rdi + 0x10], rbx
jmp 0x18001bfa4
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void____ptr64____ptr64___cdecl_QListData::append_void____ptr64]
mov ecx, 0x10
mov rdi, rax
call fcn.18003aa08
lea rdx, [rsp + 0x40]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QUrl::constructor_class_QUrl_const____ptr64____ptr64]
lea rcx, [rbx + 8]
lea rdx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov qword [rdi], rbx
lea rcx, [rsp + 0x48]
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_QUrl::destructor_void____ptr64]
lea rcx, [rbp - 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QUrl::destructor_void____ptr64]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [r13 + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
lea rbx, [0x180043a08]
test al, al
jne 0x18001bb30
mov r15, qword [rbp + 0x108]
mov esi, 0xffffffff
mov r12, qword [rsp + 0x200]
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x68]
mov qword [r15], rax
mov rax, qword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov qword [rsp + 0x30], rax
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 rax, qword [rsp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x18001c043
cmp ecx, 0xffffffff
je 0x18001c0ab
mov rax, qword [rsp + 0x30]
lock xadd dword [rax], esi
cmp esi, 1
jne 0x18001c0ab
mov r14, qword [rsp + 0x30]
movsxd rsi, dword [r14 + 8]
movsxd rdi, dword [r14 + 0xc]
add rsi, 2
add rdi, 2
lea rsi, [r14 + rsi*8]
lea rdi, [r14 + rdi*8]
cmp rdi, rsi
je 0x18001c0a2
nop word [rax + rax]
mov rbx, qword [rdi - 8]
sub rdi, 8
test rbx, rbx
je 0x18001c09d
lea rcx, [rbx + 8]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QUrl::destructor_void____ptr64]
mov edx, 0x10
mov rcx, rbx
call fcn.18003aa44
cmp rdi, rsi
jne 0x18001c070
mov rcx, r14
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rax, r15
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret