Function at 0x180015e30
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r13
lea rbp, [rsp - 0xf8]
sub rsp, 0x1f8
mov rsi, r8
mov rdi, rdx
mov r13, rcx
call fcn.18001f7c0
test al, al
je 0x1800169bc
mov rax, qword [rdi]
cmp dword [rax + 4], 0
je 0x1800169bc
mov qword [rsp + 0x1f0], rbx
lea rax, str.SELECT_Id_FROM_FilterNameTable_WHERE_Name_
mov rbx, qword [r13 + 0x20]
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x78], rax
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x1e0], r14
mov qword [rsp + 0x1d8], r15
mov r15d, 0xffffffff
mov dword [rsp + 0x70], 0x2b
movaps xmm0, xmmword [rsp + 0x70]
mov dword [rsp + 0x38], r15d
movdqa xmmword [rbp + 0x20], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rbx, qword [r13 + 0x20]
lea rcx, [rbp - 0x40]
mov rdx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
lea r9d, [r15 + 2]
xor edx, edx
lea r8, [rbp - 0x40]
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 - 0x40]
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::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 0x180015f50
mov rcx, qword [r13 + 0x20]
lea rdx, [rbp + 0x30]
xor r8d, r8d
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64]
lea rcx, [rbp + 0x30]
mov dword [rsp + 0x38], eax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rbx, qword [r13 + 0x20]
lea rax, str.SELECT_Id__Name_FROM_FilterAttributeTable
mov qword [rsp + 0x78], rax
lea rdx, [rbp + 0x40]
mov dword [rsp + 0x70], 0x29
lea rcx, [rbp - 0x78]
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp + 0x40], xmm0
mov qword [rsp + 0x1e8], r12
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.180004ba0
mov rcx, qword [r13 + 0x20]
mov rbx, qword [sym.imp.Qt5Core.dll_struct_QMapDataBase_const_QMapDataBase::shared_null]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x18001628c
nop word [rax + rax]
mov rcx, qword [r13 + 0x20]
lea rdx, [rbp + 0x50]
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]
lea rcx, [rbp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r13 + 0x20]
lea rdx, [rbp + 0x60]
xor r8d, r8d
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64]
mov ecx, dword [rbx]
mov r12d, eax
cmp ecx, 1
jbe 0x180016078
call qword [sym.imp.Qt5Core.dll_public:_static_struct_QMapDataBase____ptr64___cdecl_QMapDataBase::createData_void_]
mov rcx, qword [rbx + 0x10]
mov rdi, rax
test rcx, rcx
je 0x18001604d
mov rdx, rax
call fcn.1800189a0
lea rdx, [rdi + 8]
mov qword [rdi + 0x10], rax
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMapNodeBase::setParent_struct_QMapNodeBase____ptr64____ptr64]
mov eax, dword [rbx]
test eax, eax
je 0x180016064
cmp eax, 0xffffffff
je 0x18001606c
mov eax, r15d
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x18001606c
mov rcx, rbx
call fcn.1800091c0
mov rcx, rdi
mov rbx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMapDataBase::recalcMostLeftNode_void____ptr64]
mov rdi, qword [rbx + 0x10]
lea r15, [rbx + 8]
xor r14d, r14d
mov sil, 1
test rdi, rdi
je 0x1800160dc
nop dword [rax + rax]
lea rcx, [rdi + 0x18]
mov r15, rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
jne 0x1800160b2
mov r14, rdi
mov sil, 1
mov rdi, qword [rdi + 8]
jmp 0x1800160b9
mov rdi, qword [rdi + 0x10]
xor sil, sil
test rdi, rdi
jne 0x180016090
test r14, r14
je 0x1800160dc
lea rdx, [r14 + 0x18]
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
jne 0x1800160dc
mov dword [r14 + 0x20], r12d
jmp 0x18001610c
mov edx, 0x28
mov byte [rsp + 0x20], sil
mov r9, r15
mov rcx, rbx
lea r8d, [rdx - 0x20]
call qword [sym.imp.Qt5Core.dll_public:_struct_QMapNodeBase____ptr64___cdecl_QMapDataBase::createNode_int__int__struct_QMapNodeBase____ptr64__bool____ptr64]
lea rdx, [rsp + 0x40]
mov rdi, rax
lea rcx, [rax + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov dword [rdi + 0x20], r12d
lea rcx, [rbp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov r8d, 1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Core.dll_bool___cdecl_QtPrivate::QStringList_contains_class_QStringList_const____ptr64__class_QString_const____ptr64__enum_Qt::CaseSensitivity_]
test al, al
je 0x180016269
mov rax, qword [rsp + 0x30]
movsxd rdx, dword [rax + 0xc]
movsxd r8, dword [rax + 8]
mov ecx, edx
sub ecx, r8d
test ecx, ecx
jle 0x180016269
lea rsi, [rax + 0x10]
lea rdi, [rax + 0x10]
lea rsi, [rsi + rdx*8]
lea rdi, [rdi + r8*8]
cmp rdi, rsi
je 0x180016269
nop word [rax + rax]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
jne 0x180016190
add rdi, 8
cmp rdi, rsi
jne 0x180016170
jmp 0x180016269
mov rax, qword [rsp + 0x30]
movsxd rcx, dword [rax + 8]
lea rcx, [rcx*8 + 0x10]
sub rdi, rcx
sub rdi, rax
sar rdi, 3
cmp edi, 0xffffffff
je 0x180016269
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
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 0x1800161e1
mov rax, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov edx, dword [rax + 4]
call fcn.180007830
mov rax, qword [rsp + 0x30]
movsxd rcx, edi
movsxd rdx, dword [rax + 8]
add rdx, rcx
movsxd rcx, dword [rax + 0xc]
lea rdi, [rax + rdx*8]
add rax, 0x10
lea rsi, [rdi + 0x10]
lea r14, [rax + rcx*8]
lea rcx, [rdi + 0x10]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
add rdi, 0x18
cmp rdi, r14
je 0x18001624f
nop word [rax + rax]
lea rdx, [rbp - 0x70]
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator_class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
je 0x18001623c
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x180016246
mov rax, qword [rdi]
mov qword [rsi], rax
add rsi, 8
add rdi, 8
cmp rdi, r14
jne 0x180016220
mov rax, qword [rsp + 0x30]
lea rcx, [rbp - 0x70]
sub r14, rsi
sar r14, 3
sub dword [rax + 0xc], r14d
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]
mov rcx, qword [r13 + 0x20]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
mov r15d, 0xffffffff
test al, al
jne 0x180015fd0
mov rax, qword [rsp + 0x30]
movsxd rdi, dword [rax + 8]
movsxd rsi, dword [rax + 0xc]
add rdi, 2
add rsi, 2
lea rdi, [rax + rdi*8]
lea rsi, [rax + rsi*8]
cmp rdi, rsi
je 0x18001647c
lea rax, str.INSERT_INTO_FilterAttributeTable_VALUES_NULL____
nop dword [rax]
mov r14, qword [r13 + 0x20]
lea rdx, [rbp + 0x70]
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x68]
mov dword [rsp + 0x50], 0x30
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x70], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp - 0x68]
mov rcx, r14
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r14, qword [r13 + 0x20]
lea rcx, [rbp - 0x30]
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 - 0x30]
xor edx, edx
mov rcx, r14
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 - 0x30]
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::exec_void____ptr64]
mov rcx, qword [r13 + 0x20]
lea rdx, [rbp + 0x80]
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::lastInsertId_void____ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64]
mov ecx, dword [rbx]
mov dword [rsp + 0x60], eax
cmp ecx, 1
jbe 0x1800163b7
call qword [sym.imp.Qt5Core.dll_public:_static_struct_QMapDataBase____ptr64___cdecl_QMapDataBase::createData_void_]
mov rcx, qword [rbx + 0x10]
mov r14, rax
test rcx, rcx
je 0x18001638c
mov rdx, rax
call fcn.1800189a0
lea rdx, [r14 + 8]
mov qword [r14 + 0x10], rax
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMapNodeBase::setParent_struct_QMapNodeBase____ptr64____ptr64]
mov eax, dword [rbx]
test eax, eax
je 0x1800163a3
cmp eax, 0xffffffff
je 0x1800163ab
mov eax, r15d
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x1800163ab
mov rcx, rbx
call fcn.1800091c0
mov rcx, r14
mov rbx, r14
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMapDataBase::recalcMostLeftNode_void____ptr64]
mov r14, qword [rbx + 0x10]
lea r12, [rbx + 8]
xor r13d, r13d
mov r15b, 1
test r14, r14
je 0x18001641c
nop word [rax + rax]
lea rcx, [r14 + 0x18]
mov rdx, rdi
mov r12, r14
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
jne 0x1800163f0
mov r13, r14
mov r15b, 1
mov r14, qword [r14 + 8]
jmp 0x1800163f7
mov r14, qword [r14 + 0x10]
xor r15b, r15b
test r14, r14
jne 0x1800163d0
test r13, r13
je 0x18001641c
lea rdx, [r13 + 0x18]
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
jne 0x18001641c
mov eax, dword [rsp + 0x60]
mov dword [r13 + 0x20], eax
jmp 0x18001644e
mov edx, 0x28
mov byte [rsp + 0x20], r15b
mov r9, r12
mov rcx, rbx
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, rdi
mov r14, rax
lea rcx, [rax + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov eax, dword [rsp + 0x60]
mov dword [r14 + 0x20], eax
lea rcx, [rbp + 0x80]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov r13, qword [rbp + 0x120]
lea rax, str.INSERT_INTO_FilterAttributeTable_VALUES_NULL____
add rdi, 8
mov r15d, 0xffffffff
cmp rdi, rsi
jne 0x1800162c0
mov r15d, dword [rsp + 0x38]
test r15d, r15d
jns 0x1800165c8
mov rdi, qword [r13 + 0x20]
lea rax, str.INSERT_INTO_FilterNameTable_VALUES_NULL____
mov qword [rsp + 0x58], rax
lea rdx, [rbp + 0x90]
mov dword [rsp + 0x50], 0x2b
lea rcx, [rbp - 0x60]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x90], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rsi, qword [rbp + 0x128]
lea rcx, [rbp - 0x20]
mov rdi, qword [r13 + 0x20]
mov rdx, rsi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
mov r9d, 1
lea r8, [rbp - 0x20]
xor edx, edx
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 - 0x20]
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::exec_void____ptr64]
test al, al
je 0x180016551
mov rcx, qword [r13 + 0x20]
lea rdx, [rbp + 0xa0]
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::lastInsertId_void____ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.Qt5Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64]
lea rcx, [rbp + 0xa0]
mov dword [rsp + 0x38], eax
mov r15d, eax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
test r15d, r15d
jns 0x1800165c8
xor r9d, r9d
mov dword [rsp + 0x20], 0xffffffff
lea r8, str.Cannot_register_filter__1.
lea rdx, [rbp - 0x58]
lea rcx, [0x1800632a8]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
mov dl, 0x20
lea rcx, [rbp + 0x138]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
xor r9d, r9d
lea rdx, [rsp + 0x70]
mov r8, rsi
lea rcx, [rbp - 0x58]
movzx eax, word [rax]
mov word [rsp + 0x20], ax
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov rdx, rax
mov rcx, r13
call fcn.180039350
lea rcx, [rsp + 0x70]
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]
xor r14b, r14b
jmp 0x180016909
mov rdi, qword [r13 + 0x20]
lea rax, str.DELETE_FROM_FilterTable_WHERE_NameId_
mov qword [rsp + 0x58], rax
lea rdx, [rbp + 0xb0]
mov dword [rsp + 0x50], 0x26
lea rcx, [rbp - 0x50]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0xb0], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rdi, qword [r13 + 0x20]
lea rcx, [rbp - 0x10]
mov edx, r15d
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
mov r9d, 1
lea r8, [rbp - 0x10]
xor edx, edx
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 - 0x10]
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::exec_void____ptr64]
mov rax, qword [rbp + 0x130]
mov rcx, qword [rax]
movsxd rdi, dword [rcx + 8]
movsxd rsi, dword [rcx + 0xc]
add rdi, 2
add rsi, 2
lea rdi, [rcx + rdi*8]
lea rsi, [rcx + rsi*8]
cmp rdi, rsi
je 0x180016906
lea rax, str.INSERT_INTO_FilterTable_VALUES______
nop dword [rax]
nop word [rax + rax]
mov r14, qword [r13 + 0x20]
lea rdx, [rbp + 0xc0]
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x48]
mov dword [rsp + 0x50], 0x24
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0xc0], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp - 0x48]
mov rcx, r14
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov r14, qword [r13 + 0x20]
lea rcx, [rbp]
mov edx, r15d
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
mov r9d, 1
lea r8, [rbp]
xor edx, edx
mov rcx, r14
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]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rax, qword [r13 + 0x20]
mov qword [rsp + 0x60], rax
mov eax, dword [rbx]
cmp eax, 1
jbe 0x18001676e
call qword [sym.imp.Qt5Core.dll_public:_static_struct_QMapDataBase____ptr64___cdecl_QMapDataBase::createData_void_]
mov rcx, qword [rbx + 0x10]
mov r14, rax
test rcx, rcx
je 0x180016741
mov rdx, rax
call fcn.1800189a0
lea rdx, [r14 + 8]
mov qword [r14 + 0x10], rax
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMapNodeBase::setParent_struct_QMapNodeBase____ptr64____ptr64]
mov eax, dword [rbx]
test eax, eax
je 0x18001675a
cmp eax, 0xffffffff
je 0x180016762
mov eax, 0xffffffff
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x180016762
mov rcx, rbx
call fcn.1800091c0
mov rcx, r14
mov rbx, r14
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMapDataBase::recalcMostLeftNode_void____ptr64]
mov r14, qword [rbx + 0x10]
test r14, r14
je 0x1800167bd
xor r15d, r15d
nop word [rax + rax]
lea rcx, [r14 + 0x18]
mov rdx, rdi
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
jne 0x18001679a
mov r15, r14
mov r14, qword [r14 + 8]
jmp 0x18001679e
mov r14, qword [r14 + 0x10]
test r14, r14
jne 0x180016780
test r15, r15
je 0x1800167bd
lea rdx, [r15 + 0x18]
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
je 0x1800168ab
mov eax, dword [rbx]
cmp eax, 1
jbe 0x18001681c
call qword [sym.imp.Qt5Core.dll_public:_static_struct_QMapDataBase____ptr64___cdecl_QMapDataBase::createData_void_]
mov rcx, qword [rbx + 0x10]
mov r14, rax
test rcx, rcx
je 0x1800167ef
mov rdx, rax
call fcn.1800189a0
lea rdx, [r14 + 8]
mov qword [r14 + 0x10], rax
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMapNodeBase::setParent_struct_QMapNodeBase____ptr64____ptr64]
mov eax, dword [rbx]
test eax, eax
je 0x180016808
cmp eax, 0xffffffff
je 0x180016810
mov eax, 0xffffffff
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x180016810
mov rcx, rbx
call fcn.1800091c0
mov rcx, r14
mov rbx, r14
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMapDataBase::recalcMostLeftNode_void____ptr64]
mov r14, qword [rbx + 0x10]
lea r13, [rbx + 8]
xor r15d, r15d
mov r12b, 1
test r14, r14
je 0x180016872
nop
lea rcx, [r14 + 0x18]
mov rdx, rdi
mov r13, r14
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
jne 0x180016850
mov r15, r14
mov r12b, 1
mov r14, qword [r14 + 8]
jmp 0x180016857
mov r14, qword [r14 + 0x10]
xor r12b, r12b
test r14, r14
jne 0x180016830
test r15, r15
je 0x180016872
lea rdx, [r15 + 0x18]
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
je 0x18001689c
mov edx, 0x28
mov byte [rsp + 0x20], r12b
mov r9, r13
mov rcx, rbx
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, rdi
mov r15, rax
lea rcx, [rax + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov r13, qword [rbp + 0x120]
mov dword [r15 + 0x20], 0
mov edx, dword [r15 + 0x20]
lea rcx, [rbp + 0x10]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
mov rcx, qword [rsp + 0x60]
lea r8, [rbp + 0x10]
mov r9d, 1
mov edx, r9d
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 + 0x10]
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::exec_void____ptr64]
test al, al
je 0x1800165c0
mov r15d, dword [rsp + 0x38]
lea rax, str.INSERT_INTO_FilterTable_VALUES______
add rdi, 8
cmp rdi, rsi
jne 0x180016690
mov r14b, 1
mov eax, dword [rbx]
mov r15, qword [rsp + 0x1d8]
mov r12, qword [rsp + 0x1e8]
test eax, eax
je 0x180016933
mov edx, 0xffffffff
cmp eax, edx
je 0x180016940
mov eax, edx
lock xadd dword [rbx], eax
cmp eax, 1
jne 0x180016940
mov rcx, rbx
call fcn.1800091c0
mov edx, 0xffffffff
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x18001695e
cmp ecx, 0xffffffff
je 0x18001699b
mov rax, qword [rsp + 0x30]
lock xadd dword [rax], edx
cmp edx, 1
jne 0x18001699b
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 0x180016992
sub rbx, 8
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
cmp rbx, rdi
jne 0x180016980
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data____ptr64_]
mov rbx, qword [rsp + 0x1f0]
movzx eax, r14b
mov r14, qword [rsp + 0x1e0]
add rsp, 0x1f8
pop r13
pop rdi
pop rsi
pop rbp
ret
xor al, al
add rsp, 0x1f8
pop r13
pop rdi
pop rsi
pop rbp
ret