Function at 0x1800047a0
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
add rcx, 0x28
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::clear_void____ptr64]
mov rax, qword [rbx + 0x10]
mov rdx, rdi
mov byte [rax + 0x30], 1
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax + 0x10]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180028430
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
call fcn.18001f7c0
test al, al
je 0x1800286a5
mov rax, qword [rsi]
cmp dword [rax + 4], 0
je 0x1800286a5
mov dword [rbp - 0x10], 0x2b
lea rax, str.SELECT_Id_FROM_FilterNameTable_WHERE_Name_
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x10]
movaps xmm0, xmmword [rbp - 0x10]
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x60], rbx
mov rbx, qword [rdi + 0x20]
movdqa xmmword [rbp - 0x10], xmm0
mov qword [rsp + 0x68], r14
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rbx, qword [rdi + 0x20]
lea rcx, [rbp - 0x10]
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 - 0x10]
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 - 0x10]
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::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 0x180028637
mov rcx, qword [rdi + 0x20]
lea rdx, [rbp - 0x10]
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 - 0x10]
mov r14d, eax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
test r14d, r14d
js 0x180028637
mov rbx, qword [rdi + 0x20]
lea rax, str.DELETE_FROM_FilterTable_WHERE_NameId_
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x10]
mov dword [rbp - 0x10], 0x26
lea rcx, [rbp + 0x30]
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rbx, qword [rdi + 0x20]
lea rcx, [rbp - 0x10]
mov edx, r14d
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, 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 - 0x10]
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::exec_void____ptr64]
mov rbx, qword [rdi + 0x20]
lea rax, str.DELETE_FROM_FilterNameTable_WHERE_Id_
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x10]
mov dword [rbp - 0x10], 0x26
lea rcx, [rbp + 0x30]
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp + 0x30]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rbx, qword [rdi + 0x20]
lea rcx, [rbp - 0x10]
mov edx, r14d
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, 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 - 0x10]
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::exec_void____ptr64]
mov al, 1
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
xor r9d, r9d
mov dword [rsp + 0x20], 0xffffffff
lea r8, str.Unknown_filter___1_.
lea rdx, [rbp + 0x38]
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 + 0x30]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
xor r9d, r9d
lea rdx, [rbp - 0x10]
mov r8, rsi
lea rcx, [rbp + 0x38]
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, rdi
call fcn.180039350
lea rcx, [rbp - 0x10]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor al, al
jmp 0x180028625
xor al, al
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret