Function at 0x140011b40
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x338]
sub rsp, 0x438
mov rax, qword [0x14002a1d8]
xor rax, rsp
mov qword [rbp + 0x310], rax
mov rbx, qword [rcx + 0x28]
xor r14d, r14d
mov byte [rsp + 0x30], r9b
mov rdi, r8
mov qword [rbp - 0x20], r8
mov r15, rcx
mov qword [rbp - 0x30], rdx
mov r12d, r14d
mov qword [rbp - 0x70], rcx
mov dword [rsp + 0x40], r14d
test rbx, rbx
jne 0x140011b9c
xor al, al
jmp 0x1400127bb
lea rax, str.SELECT_Id__Name_FROM_FilterAttributeTable
mov qword [rbp - 0x60], 0x29
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x10]
movaps xmm0, xmmword [rbp - 0x60]
lea rcx, [rbp + 0x40]
movdqa xmmword [rbp - 0x10], xmm0
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp + 0x40]
mov rcx, rbx
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::exec_class_QString_const____ptr64____ptr64]
lea rcx, [rbp + 0x40]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
mov qword [rbp - 0x48], rax
mov rax, qword [rdi + 0x10]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x50], rcx
test rcx, rcx
je 0x140011c02
mov eax, 1
lock xadd dword [rcx], eax
mov rcx, qword [r15 + 0x28]
mov qword [rsp + 0x480], rsi
mov qword [rsp + 0x430], r13
mov qword [rsp + 0x38], r14
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
mov ebx, 0xffffffff
test al, al
je 0x140012090
movzx edi, byte [rsp + 0x30]
jmp 0x140011c45
mov ebx, 0xffffffff
mov rcx, qword [r15 + 0x28]
lea rdx, [rbp + 0x270]
xor r8d, r8d
call qword [sym.imp.Qt6Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.Qt6Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64]
mov rcx, qword [r15 + 0x28]
lea rdx, [rbp + 0x250]
mov r8d, 1
mov dword [rsp + 0x40], eax
call qword [sym.imp.Qt6Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rbp + 0x130]
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rcx, qword [rsp + 0x38]
mov r13, rax
test rcx, rcx
je 0x140011ccb
mov ecx, dword [rcx]
cmp ecx, 1
je 0x140011ccb
mov rcx, qword [rsp + 0x38]
or r12d, 1
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x140011cc4
mov eax, 1
lock xadd dword [rcx], eax
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x70]
jmp 0x140011cd6
or r12d, 2
lea rax, [rbp - 0x80]
mov rcx, r14
mov qword [rax], r14
mov qword [rbp - 0x38], rcx
test r12b, 2
je 0x140011d34
mov rax, qword [rbp - 0x80]
and r12d, 0xfffffffd
test rax, rax
je 0x140011d34
mov ecx, ebx
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140011d34
mov rbx, qword [rbp - 0x80]
mov r8, qword [rbx + 8]
lea rdx, [rbx + 8]
lea rcx, [rbx + 8]
mov r8, qword [r8 + 8]
call fcn.140005510
mov rcx, qword [rbx + 8]
mov edx, 0x40
call fcn.14001e65c
mov edx, 0x18
mov rcx, rbx
call fcn.14001e65c
mov ebx, 0xffffffff
test r12b, 1
je 0x140011d88
mov rax, qword [rsp + 0x70]
and r12d, 0xfffffffe
test rax, rax
je 0x140011d88
mov ecx, ebx
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140011d88
mov rbx, qword [rsp + 0x70]
mov r8, qword [rbx + 8]
lea rdx, [rbx + 8]
lea rcx, [rbx + 8]
mov r8, qword [r8 + 8]
call fcn.140005510
mov rcx, qword [rbx + 8]
mov edx, 0x40
call fcn.14001e65c
mov edx, 0x18
mov rcx, rbx
call fcn.14001e65c
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140011f00
mov eax, dword [rcx]
cmp eax, 1
je 0x140011eb9
mov ecx, 0x18
call fcn.14001e970
mov r14, rax
xor eax, eax
mov dword [r14], eax
lea ecx, [rax + 0x40]
mov qword [r14 + 8], rax
mov qword [r14 + 0x10], rax
call fcn.14001e970
mov rbx, qword [rsp + 0x38]
lea rcx, [r14 + 8]
movzx r9d, dil
mov r8, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [r14 + 8], rax
mov rdx, qword [rbx + 8]
mov rdx, qword [rdx + 8]
call fcn.1400053b0
mov rcx, qword [r14 + 8]
mov qword [rcx + 8], rax
mov rdx, qword [r14 + 8]
mov rax, qword [rbx + 0x10]
mov qword [r14 + 0x10], rax
mov rcx, qword [rdx + 8]
cmp byte [rcx + 0x19], 0
jne 0x140011e54
mov rax, qword [rcx]
cmp byte [rax + 0x19], 0
jne 0x140011e2c
nop dword [rax]
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140011e20
mov qword [rdx], rcx
mov rdx, qword [r14 + 8]
mov rcx, qword [rdx + 8]
mov rax, qword [rcx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140011e4e
mov rcx, rax
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x140011e41
mov qword [rdx + 0x10], rcx
jmp 0x140011e5f
mov qword [rdx], rdx
mov rax, qword [r14 + 8]
mov qword [rax + 0x10], rax
mov eax, 1
lock xadd dword [r14], eax
mov rsi, qword [rsp + 0x38]
mov qword [rsp + 0x38], r14
test rsi, rsi
je 0x140011eb6
mov eax, 0xffffffff
lock xadd dword [rsi], eax
cmp eax, 1
jne 0x140011eb6
mov r8, qword [rsi + 8]
lea rdx, [rsi + 8]
lea rcx, [rsi + 8]
mov r8, qword [r8 + 8]
call fcn.140005510
mov rcx, qword [rsi + 8]
mov edx, 0x40
call fcn.14001e65c
mov edx, 0x18
mov rcx, rsi
call fcn.14001e65c
xor r14d, r14d
mov r15, qword [rsp + 0x38]
mov dword [rsp + 0x58], r14d
mov rsi, qword [r15 + 8]
mov rbx, qword [rsi + 8]
mov qword [rsp + 0x50], rbx
cmp byte [rbx + 0x19], 0
jne 0x140011f5e
nop word [rax + rax]
lea rcx, [rbx + 0x20]
mov qword [rsp + 0x50], rbx
mov rdx, r13
call fcn.140001730
test al, al
je 0x140011f4a
mov rbx, qword [rbx + 0x10]
mov dword [rsp + 0x58], r14d
jmp 0x140011f58
mov ecx, 0x18
call fcn.14001e970
mov ecx, 0x40
mov rbx, rax
mov dword [rax], r14d
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
call fcn.14001e970
mov qword [rsp + 0x38], rbx
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbx + 8], rax
mov eax, 1
lock xadd dword [rbx], eax
jmp 0x140011eb9
mov rsi, rbx
mov dword [rsp + 0x58], 1
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140011ee0
cmp byte [rsi + 0x19], 0
jne 0x140011f7d
lea rdx, [rsi + 0x20]
mov rcx, r13
call fcn.140001730
test al, al
jne 0x140011f7d
mov eax, dword [rsp + 0x40]
mov dword [rsi + 0x38], eax
jmp 0x140011fe5
movabs rax, 0x3ffffffffffffff
cmp qword [r15 + 0x10], rax
je 0x1400127ea
mov rsi, qword [r15 + 8]
mov ecx, 0x40
call fcn.14001e970
mov rdx, r13
mov r14, rax
lea rcx, [rax + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov eax, dword [rsp + 0x40]
lea rdx, [rbp]
movups xmm0, xmmword [rsp + 0x50]
mov dword [r14 + 0x38], eax
lea rcx, [r15 + 8]
mov qword [r14], rsi
mov r8, r14
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rsi
mov word [r14 + 0x18], 0
movaps xmmword [rbp], xmm0
call fcn.140002660
xor r14d, r14d
lea rcx, [rbp - 0x38]
call fcn.140006ed0
lea rcx, [rbp + 0x130]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x250]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
lea rcx, [rbp + 0x270]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov r15, qword [rbp - 0x70]
lea rdx, [rbp + 0x290]
mov r8d, 1
mov rcx, qword [r15 + 0x28]
call qword [sym.imp.Qt6Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rbp + 0x148]
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rdx, rax
lea rcx, [rbp + 0x58]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x50]
call fcn.1400068d0
lea rcx, [rbp + 0x58]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x148]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x290]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r15 + 0x28]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
jne 0x140011c40
mov rbx, qword [rbp - 0x48]
mov rax, qword [rbp - 0x40]
movaps xmmword [rsp + 0x420], xmm6
lea rcx, [rax + rax*2]
lea rdi, [rbx + rcx*8]
cmp rbx, rdi
je 0x140012331
lea rax, str.INSERT_INTO_FilterAttributeTable_VALUES_NULL____
mov qword [rsp + 0x50], 0x30
mov qword [rsp + 0x58], rax
movaps xmm6, xmmword [rsp + 0x50]
nop dword [rax + rax]
mov rsi, qword [r15 + 0x28]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x70]
movdqa xmmword [rbp + 0x10], xmm6
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp + 0x70]
mov rcx, rsi
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp + 0x70]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rsi, qword [r15 + 0x28]
lea rcx, [rbp + 0x190]
mov rdx, rbx
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
mov r9d, 1
lea r8, [rbp + 0x190]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp + 0x190]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r15 + 0x28]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
mov rcx, qword [r15 + 0x28]
lea rdx, [rbp + 0x2b0]
call qword [sym.imp.Qt6Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::lastInsertId_void____ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.Qt6Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64]
mov rcx, qword [rsp + 0x38]
mov r14d, eax
mov dword [rsp + 0x40], eax
test rcx, rcx
je 0x1400121a0
mov ecx, dword [rcx]
cmp ecx, 1
je 0x1400121a0
mov rcx, qword [rsp + 0x38]
or r12d, 4
mov qword [rsp + 0x78], rcx
test rcx, rcx
je 0x140012196
mov eax, 1
lock xadd dword [rcx], eax
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x78]
xor r13d, r13d
jmp 0x1400121ae
or r12d, 8
lea rax, [rbp - 0x78]
xor r13d, r13d
mov ecx, r13d
mov qword [rax], r13
mov qword [rbp - 0x60], rcx
test r12b, 8
je 0x1400121e1
mov rax, qword [rbp - 0x78]
and r12d, 0xfffffff7
test rax, rax
je 0x1400121e1
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1400121e1
mov edx, ecx
mov rcx, qword [rbp - 0x78]
call fcn.1400077a0
test r12b, 4
je 0x14001220f
mov rax, qword [rsp + 0x78]
and r12d, 0xfffffffb
test rax, rax
je 0x14001220f
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14001220f
mov edx, ecx
mov rcx, qword [rsp + 0x78]
call fcn.1400077a0
cmp qword [rsp + 0x38], 0
je 0x140012223
lea rcx, [rsp + 0x38]
call fcn.14000a450
jmp 0x140012268
mov ecx, 0x18
call fcn.14001e970
mov ecx, 0x40
mov rsi, rax
mov dword [rax], r13d
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
call fcn.14001e970
mov qword [rsp + 0x38], rsi
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsi + 8], rax
mov eax, 1
lock xadd dword [rsi], eax
mov r13, qword [rsp + 0x38]
lea rdx, [rbp + 0x88]
mov r8, rbx
lea rcx, [r13 + 8]
call fcn.1400056b0
mov rsi, qword [rbp + 0x98]
cmp byte [rsi + 0x19], 0
jne 0x1400122a3
lea rdx, [rsi + 0x20]
mov rcx, rbx
call fcn.140001730
test al, al
jne 0x1400122a3
mov dword [rsi + 0x38], r14d
jmp 0x14001230e
movabs rax, 0x3ffffffffffffff
cmp qword [r13 + 0x10], rax
je 0x1400127e4
mov r14, qword [r13 + 8]
mov ecx, 0x40
call fcn.14001e970
mov rdx, rbx
mov r15, rax
lea rcx, [rax + 0x20]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
mov eax, dword [rsp + 0x40]
lea rdx, [rbp + 0x20]
movups xmm0, xmmword [rbp + 0x88]
mov dword [r15 + 0x38], eax
lea rcx, [r13 + 8]
mov qword [r15], r14
mov r8, r15
mov qword [r15 + 8], r14
mov qword [r15 + 0x10], r14
mov word [r15 + 0x18], 0
movaps xmmword [rbp + 0x20], xmm0
call fcn.140002660
mov r15, qword [rbp - 0x70]
lea rcx, [rbp - 0x60]
call fcn.140006ed0
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
add rbx, 0x18
cmp rbx, rdi
jne 0x1400120d0
mov rbx, qword [r15 + 0x28]
lea rax, str.SELECT_Id_FROM_FilterNameTable_WHERE_Name_
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x50], 0x2b
lea rcx, [rbp + 0xa0]
movaps xmm0, xmmword [rsp + 0x50]
mov esi, 0xffffffff
movdqa xmmword [rbp - 0x70], xmm0
mov r14d, esi
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp + 0xa0]
mov rcx, rbx
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rdi, qword [rbp - 0x30]
lea rcx, [rbp + 0x1b0]
mov rbx, qword [r15 + 0x28]
mov rdx, rdi
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
lea r9d, [rsi + 2]
xor edx, edx
lea r8, [rbp + 0x1b0]
mov rcx, rbx
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r15 + 0x28]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
mov rcx, qword [r15 + 0x28]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x140012494
mov rcx, qword [r15 + 0x28]
lea rdx, [rbp + 0x2d0]
xor r8d, r8d
call qword [sym.imp.Qt6Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.Qt6Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64]
lea rcx, [rbp + 0x2d0]
mov r14d, eax
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
test r14d, r14d
js 0x140012494
cmp byte [rsp + 0x30], 0
jne 0x1400125d1
xor r9d, r9d
mov dword [rsp + 0x20], esi
lea r8, str.The_filter__1_is_already_registered.
lea rdx, [rbp + 0xb8]
lea rcx, [0x140021210]
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
mov eax, 0x20
lea rdx, [rbp + 0x160]
xor r9d, r9d
mov word [rsp + 0x20], ax
mov r8, rdi
lea rcx, [rbp + 0xb8]
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov rdx, rax
lea rcx, [r15 + 0x10]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp + 0x160]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor bl, bl
jmp 0x140012778
mov rbx, qword [r15 + 0x28]
lea rax, str.INSERT_INTO_FilterNameTable_VALUES_NULL____
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x50], 0x2b
lea rcx, [rbp + 0xd0]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x30], xmm0
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rbx, qword [r15 + 0x28]
lea rcx, [rbp + 0x1d0]
mov rdx, rdi
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
mov r9d, 1
lea r8, [rbp + 0x1d0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r15 + 0x28]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
test al, al
je 0x140012558
mov rcx, qword [r15 + 0x28]
lea rdx, [rbp + 0x2f0]
call qword [sym.imp.Qt6Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::lastInsertId_void____ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.Qt6Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64]
lea rcx, [rbp + 0x2f0]
mov r14d, eax
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
test r14d, r14d
jns 0x1400125d1
xor r9d, r9d
mov dword [rsp + 0x20], esi
lea r8, str.Cannot_register_filter__1.
lea rdx, [rbp + 0xe8]
lea rcx, [0x140021210]
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
mov eax, 0x20
lea rdx, [rbp + 0x178]
xor r9d, r9d
mov word [rsp + 0x20], ax
mov r8, rdi
lea rcx, [rbp + 0xe8]
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
mov rdx, rax
lea rcx, [r15 + 0x10]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp + 0x178]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0xe8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor bl, bl
jmp 0x140012778
mov rbx, qword [r15 + 0x28]
lea rax, str.DELETE_FROM_FilterTable_WHERE_NameId_
mov qword [rsp + 0x58], rax
lea rdx, [rbp + 0x30]
mov qword [rsp + 0x50], 0x26
lea rcx, [rbp + 0x100]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x30], xmm0
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp + 0x100]
mov rcx, rbx
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp + 0x100]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rbx, qword [r15 + 0x28]
lea rcx, [rbp + 0x1f0]
mov edx, r14d
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
mov r9d, 1
lea r8, [rbp + 0x1f0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r15 + 0x28]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
mov rax, qword [rbp - 0x20]
mov rbx, qword [rax + 8]
mov rax, qword [rax + 0x10]
lea rcx, [rax + rax*2]
lea rdi, [rbx + rcx*8]
cmp rbx, rdi
je 0x140012776
lea rax, str.INSERT_INTO_FilterTable_VALUES______
mov qword [rsp + 0x50], 0x24
mov qword [rsp + 0x58], rax
movaps xmm6, xmmword [rsp + 0x50]
nop dword [rax]
mov rsi, qword [r15 + 0x28]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x118]
movdqa xmmword [rbp - 0x20], xmm6
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp + 0x118]
mov rcx, rsi
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp + 0x118]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rsi, qword [r15 + 0x28]
lea rcx, [rbp + 0x210]
mov edx, r14d
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
mov r9d, 1
lea r8, [rbp + 0x210]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp + 0x210]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rsi, qword [r15 + 0x28]
lea rcx, [rsp + 0x38]
mov rdx, rbx
call fcn.140007370
lea rcx, [rbp + 0x230]
mov edx, dword [rax]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
mov r9d, 1
lea r8, [rbp + 0x230]
mov edx, r9d
mov rcx, rsi
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp + 0x230]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r15 + 0x28]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
test al, al
je 0x1400127db
add rbx, 0x18
cmp rbx, rdi
jne 0x1400126a0
mov esi, 0xffffffff
mov bl, 1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140012797
lock xadd dword [rcx], esi
cmp esi, 1
jne 0x140012797
mov rcx, qword [rsp + 0x38]
mov edx, esi
call fcn.1400077a0
lea rcx, [rbp - 0x50]
call fcn.140006de0
movaps xmm6, xmmword [rsp + 0x420]
movzx eax, bl
mov rsi, qword [rsp + 0x480]
mov r13, qword [rsp + 0x430]
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14001e950
add rsp, 0x438
pop r15
pop r14
pop r12
pop rdi
pop rbx
pop rbp
ret
mov esi, 0xffffffff
xor bl, bl
jmp 0x140012778
call fcn.140002900
int3
call fcn.140002900
int3