Function at 0x140009200
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push r13
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x14002a1d8]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rbx, qword [rcx + 0x28]
mov r13, rcx
test rbx, rbx
jne 0x140009238
xor al, al
jmp 0x14000a24d
lea rax, str.SELECT_COUNT___FROM_sqlite_master_WHERE_TYPEtableAND_NameNamespaceTable
mov qword [rsp + 0x360], r15
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x48], rax
lea rcx, [rsp + 0x50]
mov qword [rbp - 0x50], 0x4e
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::exec_class_QString_const____ptr64____ptr64]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
mov rcx, qword [r13 + 0x28]
lea rdx, [rbp + 0x230]
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 + 0x230]
mov ebx, eax
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
test ebx, ebx
jle 0x1400092ff
mov r15d, 0xffffffff
lea r8, str.Some_tables_already_exist.
xor r9d, r9d
mov dword [rsp + 0x20], r15d
lea rdx, [rsp + 0x50]
lea rcx, [0x140021210]
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
lea rcx, [r13 + 0x10]
lea rdx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor al, al
jmp 0x14000a245
mov qword [rsp + 0x398], rsi
lea rax, str.CREATE_TABLE_NamespaceTable__Id_INTEGER_PRIMARY_KEY_Name_TEXT__
mov qword [rsp + 0x3a0], rdi
lea rdx, [rbp - 0x40]
xorps xmm0, xmm0
mov qword [rsp + 0x3a8], r12
xor edi, edi
mov qword [rsp + 0x368], r14
lea rcx, [rbp - 0x68]
mov qword [rsp + 0x40], rdi
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rbp - 0x40], 0x3f
mov qword [rbp - 0x38], rax
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rax, qword [rsp + 0x30]
lea r15d, [rdi + 1]
mov r14, qword [rsp + 0x40]
movabs r12, 0x2aaaaaaaaaaaaaab
test rax, rax
je 0x1400093fd
mov eax, dword [rax]
cmp eax, r15d
jg 0x1400093fd
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov rcx, r9
lea rax, [r8 + 0x17]
and rax, 0xfffffffffffffff8
sub rcx, rax
mov rax, r12
imul rcx
mov rcx, qword [rsp + 0x40]
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r8 + 8]
sub rax, rdx
cmp rax, rcx
je 0x1400093d5
lea rax, [rcx + rcx*2]
lea rcx, [r9 + rax*8]
lea rdx, [rbp - 0x68]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
inc qword [rsp + 0x40]
jmp 0x140009618
test rcx, rcx
jne 0x1400093fd
test rdx, rdx
je 0x1400093fd
lea rcx, [r9 - 0x18]
lea rdx, [rbp - 0x68]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
sub qword [rsp + 0x38], 0x18
inc qword [rsp + 0x40]
jmp 0x140009618
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
cmp qword [rsp + 0x40], rdi
je 0x140009420
test r14, r14
jne 0x140009420
movzx esi, r15b
jmp 0x140009423
xor sil, sil
mov rax, qword [rsp + 0x30]
movzx r11d, sil
test rax, rax
je 0x14000959c
mov eax, dword [rax]
cmp eax, r15d
jg 0x14000959c
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp r11d, r15d
jne 0x1400094d9
mov rdx, qword [rsp + 0x30]
mov rax, r9
lea rcx, [rdx + 0x17]
and rcx, 0xfffffffffffffff8
sub rax, rcx
cmp rax, 0x18
jge 0x1400095b9
mov rbx, qword [rdx + 8]
lea rax, [rdx + 0x17]
and rax, 0xfffffffffffffff8
mov rcx, r9
sub rcx, rax
mov rax, r12
imul rcx
mov rcx, rbx
sub rcx, r8
mov r10, rdx
sar r10, 2
mov rax, r10
shr rax, 0x3f
add r10, rax
mov rax, rcx
sub rax, r10
cmp rax, r15
jl 0x14000959c
lea rax, [r8 + r8*2]
cmp rax, rbx
jge 0x14000959c
lea rax, [rcx - 1]
cqo
sub rax, rdx
mov rdx, rdi
sar rax, 1
test rax, rax
cmovg rdx, rax
inc rdx
jmp 0x14000955b
mov r10, qword [rsp + 0x30]
test sil, sil
jne 0x140009518
lea rax, [r10 + 0x17]
mov rcx, r9
and rax, 0xfffffffffffffff8
sub rcx, rax
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r10 + 8]
sub rax, rdx
sub rax, r8
cmp rax, r15
jge 0x1400095b9
mov rbx, qword [r10 + 8]
lea rax, [r10 + 0x17]
and rax, 0xfffffffffffffff8
mov rcx, r9
sub rcx, rax
mov rax, r12
imul rcx
mov r10, rdx
mov rdx, rdi
sar r10, 2
mov rax, r10
shr rax, 0x3f
add r10, rax
test sil, sil
jne 0x14000959c
cmp r10, r15
jl 0x14000959c
lea rcx, [rbx + rbx]
lea rax, [r8 + r8*2]
cmp rax, rcx
jge 0x14000959c
sub rdx, r10
lea rax, [rdx + rdx*2]
lea rbx, [r9 + rax*8]
test r8, r8
je 0x140009592
cmp r9, rbx
je 0x140009592
test r9, r9
je 0x140009592
test rbx, rbx
je 0x140009592
lea r8, [r8 + r8*2]
mov rdx, r9
shl r8, 3
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x38], rbx
jmp 0x1400095b9
xor r9d, r9d
lea rcx, [rsp + 0x30]
mov r8, r15
mov edx, r11d
call fcn.140004c90
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
test sil, sil
je 0x1400095d7
lea rcx, [r9 - 0x18]
lea rdx, [rbp + 0xe0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
sub qword [rsp + 0x38], 0x18
jmp 0x140009606
sub r8, r14
lea rax, [r14 + r14*2]
lea rbx, [r9 + rax*8]
lea rcx, [rbx + 0x18]
mov rdx, rbx
lea r8, [r8 + r8*2]
shl r8, 3
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rbp + 0xe0]
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
inc qword [rsp + 0x40]
lea rcx, [rbp + 0xe0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140009629
mov eax, dword [rax]
cmp eax, r15d
jle 0x14000963b
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140004c90
lea rax, str.CREATE_TABLE_FilterAttributeTable__Id_INTEGER_PRIMARY_KEY__Name_TEXT__
mov qword [rbp - 0x30], 0x46
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rax, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
test rax, rax
je 0x1400096fb
mov eax, dword [rax]
cmp eax, r15d
jg 0x1400096fb
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov rcx, r9
lea rax, [r8 + 0x17]
and rax, 0xfffffffffffffff8
sub rcx, rax
mov rax, r12
imul rcx
mov rcx, qword [rsp + 0x40]
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r8 + 8]
sub rax, rdx
cmp rax, rcx
je 0x1400096d3
lea rax, [rcx + rcx*2]
lea rcx, [r9 + rax*8]
lea rdx, [rbp - 0x80]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
inc qword [rsp + 0x40]
jmp 0x140009916
test rcx, rcx
jne 0x1400096fb
test rdx, rdx
je 0x1400096fb
lea rcx, [r9 - 0x18]
lea rdx, [rbp - 0x80]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
sub qword [rsp + 0x38], 0x18
inc qword [rsp + 0x40]
jmp 0x140009916
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
cmp qword [rsp + 0x40], rdi
je 0x14000971e
test r14, r14
jne 0x14000971e
movzx esi, r15b
jmp 0x140009721
xor sil, sil
mov rax, qword [rsp + 0x30]
movzx r11d, sil
test rax, rax
je 0x14000989a
mov eax, dword [rax]
cmp eax, r15d
jg 0x14000989a
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
cmp r11d, r15d
jne 0x1400097d7
mov rdx, qword [rsp + 0x30]
mov rax, r9
lea rcx, [rdx + 0x17]
and rcx, 0xfffffffffffffff8
sub rax, rcx
cmp rax, 0x18
jge 0x1400098b7
mov rbx, qword [rdx + 8]
lea rax, [rdx + 0x17]
and rax, 0xfffffffffffffff8
mov rcx, r9
sub rcx, rax
mov rax, r12
imul rcx
mov rcx, rbx
sub rcx, r8
mov r10, rdx
sar r10, 2
mov rax, r10
shr rax, 0x3f
add r10, rax
mov rax, rcx
sub rax, r10
cmp rax, r15
jl 0x14000989a
lea rax, [r8 + r8*2]
cmp rax, rbx
jge 0x14000989a
lea rax, [rcx - 1]
cqo
sub rax, rdx
mov rdx, rdi
sar rax, 1
test rax, rax
cmovg rdx, rax
inc rdx
jmp 0x140009859
mov r10, qword [rsp + 0x30]
test sil, sil
jne 0x140009816
lea rax, [r10 + 0x17]
mov rcx, r9
and rax, 0xfffffffffffffff8
sub rcx, rax
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r10 + 8]
sub rax, rdx
sub rax, r8
cmp rax, r15
jge 0x1400098b7
mov rbx, qword [r10 + 8]
lea rax, [r10 + 0x17]
and rax, 0xfffffffffffffff8
mov rcx, r9
sub rcx, rax
mov rax, r12
imul rcx
mov r10, rdx
mov rdx, rdi
sar r10, 2
mov rax, r10
shr rax, 0x3f
add r10, rax
test sil, sil
jne 0x14000989a
cmp r10, r15
jl 0x14000989a
lea rcx, [rbx + rbx]
lea rax, [r8 + r8*2]
cmp rax, rcx
jge 0x14000989a
sub rdx, r10
lea rax, [rdx + rdx*2]
lea rbx, [r9 + rax*8]
test r8, r8
je 0x140009890
cmp r9, rbx
je 0x140009890
test r9, r9
je 0x140009890
test rbx, rbx
je 0x140009890
lea r8, [r8 + r8*2]
mov rdx, r9
shl r8, 3
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x38], rbx
jmp 0x1400098b7
xor r9d, r9d
lea rcx, [rsp + 0x30]
mov r8, r15
mov edx, r11d
call fcn.140004c90
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x38]
test sil, sil
je 0x1400098d5
lea rcx, [r9 - 0x18]
lea rdx, [rbp + 0xb0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
sub qword [rsp + 0x38], 0x18
jmp 0x140009904
sub r8, r14
lea rax, [r14 + r14*2]
lea rbx, [r9 + rax*8]
lea rcx, [rbx + 0x18]
mov rdx, rbx
lea r8, [r8 + r8*2]
shl r8, 3
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rbp + 0xb0]
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
inc qword [rsp + 0x40]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140009927
mov eax, dword [rax]
cmp eax, r15d
jle 0x140009939
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140004c90
lea rax, str.CREATE_TABLE_FilterNameTable__Id_INTEGER_PRIMARY_KEY__Name_TEXT__
mov qword [rbp - 0x20], 0x41
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x18], rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rax, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
test rax, rax
je 0x1400099fc
mov eax, dword [rax]
cmp eax, r15d
jg 0x1400099fc
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov rcx, r9
lea rax, [r8 + 0x17]
and rax, 0xfffffffffffffff8
sub rcx, rax
mov rax, r12
imul rcx
mov rcx, qword [rsp + 0x40]
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r8 + 8]
sub rax, rdx
cmp rax, rcx
je 0x1400099d3
lea rax, [rcx + rcx*2]
lea rcx, [r9 + rax*8]
lea rdx, [rsp + 0x68]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
inc qword [rsp + 0x40]
jmp 0x140009c17
test rcx, rcx
jne 0x1400099fc
test rdx, rdx
je 0x1400099fc
lea rcx, [r9 - 0x18]
lea rdx, [rsp + 0x68]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
sub qword [rsp + 0x38], 0x18
inc qword [rsp + 0x40]
jmp 0x140009c17
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xc8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
cmp qword [rsp + 0x40], rdi
je 0x140009a20
test r14, r14
jne 0x140009a20
movzx esi, r15b
jmp 0x140009a23
xor sil, sil
mov rax, qword [rsp + 0x30]
movzx r11d, sil
test rax, rax
je 0x140009b9b
mov eax, dword [rax]
cmp eax, r15d
jg 0x140009b9b
mov r9, qword [rsp + 0x38]
cmp r11d, r15d
jne 0x140009ad6
mov r8, qword [rsp + 0x30]
mov rcx, r9
lea rdx, [r8 + 0x17]
and rdx, 0xfffffffffffffff8
sub rcx, rdx
cmp rcx, 0x18
jge 0x140009bb3
mov rbx, qword [r8 + 8]
lea rcx, [r8 + 0x17]
mov r8, qword [rsp + 0x40]
and rcx, 0xfffffffffffffff8
mov rdx, r9
mov rax, r12
sub rdx, rcx
mov rcx, rbx
imul rdx
sub rcx, r8
mov r10, rdx
sar r10, 2
mov rax, r10
shr rax, 0x3f
add r10, rax
mov rax, rcx
sub rax, r10
cmp rax, r15
jl 0x140009b9b
lea rax, [r8 + r8*2]
cmp rax, rbx
jge 0x140009b9b
lea rax, [rcx - 1]
cqo
sub rax, rdx
sar rax, 1
test rax, rax
cmovg rdi, rax
inc rdi
jmp 0x140009b5a
mov r8, qword [rsp + 0x40]
mov r10, qword [rsp + 0x30]
test sil, sil
jne 0x140009b1a
lea rax, [r10 + 0x17]
mov rcx, r9
and rax, 0xfffffffffffffff8
sub rcx, rax
mov rax, r12
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r10 + 8]
sub rax, rdx
sub rax, r8
cmp rax, r15
jge 0x140009bb8
mov rbx, qword [r10 + 8]
lea rax, [r10 + 0x17]
and rax, 0xfffffffffffffff8
mov rcx, r9
sub rcx, rax
mov rax, r12
imul rcx
mov r10, rdx
sar r10, 2
mov rax, r10
shr rax, 0x3f
add r10, rax
test sil, sil
jne 0x140009b9b
cmp r10, r15
jl 0x140009b9b
lea rcx, [rbx + rbx]
lea rax, [r8 + r8*2]
cmp rax, rcx
jge 0x140009b9b
sub rdi, r10
lea rax, [rdi + rdi*2]
lea rbx, [r9 + rax*8]
test r8, r8
je 0x140009b91
cmp r9, rbx
je 0x140009b91
test r9, r9
je 0x140009b91
test rbx, rbx
je 0x140009b91
lea r8, [r8 + r8*2]
mov rdx, r9
shl r8, 3
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, qword [rsp + 0x40]
mov r9, rbx
mov qword [rsp + 0x38], rbx
jmp 0x140009bb8
xor r9d, r9d
lea rcx, [rsp + 0x30]
mov r8, r15
mov edx, r11d
call fcn.140004c90
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x40]
test sil, sil
je 0x140009bd6
lea rcx, [r9 - 0x18]
lea rdx, [rbp + 0xc8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
sub qword [rsp + 0x38], 0x18
jmp 0x140009c05
sub r8, r14
lea rax, [r14 + r14*2]
lea rbx, [r9 + rax*8]
lea rcx, [rbx + 0x18]
mov rdx, rbx
lea r8, [r8 + r8*2]
shl r8, 3
call sub.VCRUNTIME140.dll_memmove
lea rdx, [rbp + 0xc8]
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QString____ptr64____ptr64]
inc qword [rsp + 0x40]
lea rcx, [rbp + 0xc8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140009c28
mov eax, dword [rax]
cmp eax, r15d
jle 0x140009c3a
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140004c90
lea rax, str.CREATE_TABLE_FilterTable__NameId_INTEGER__FilterAttributeId_INTEGER__
mov qword [rbp - 0x10], 0x45
lea rdx, [rbp - 0x10]
mov qword [rbp - 8], rax
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rdx, qword [rsp + 0x40]
lea r8, [rbp + 0x1e8]
lea rcx, [rsp + 0x30]
call fcn.1400021d0
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140009c85
mov eax, dword [rax]
cmp eax, r15d
jle 0x140009c97
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140004c90
lea rax, str.CREATE_TABLE_IndexTable__Id_INTEGER_PRIMARY_KEY__Name_TEXT__Identifier_TEXT__NamespaceId_INTEGER__FileId_INTEGER__Anchor_TEXT__
mov qword [rbp], 0x7f
lea rdx, [rbp]
mov qword [rbp + 8], rax
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rdx, qword [rsp + 0x40]
lea r8, [rbp + 0x1d0]
lea rcx, [rsp + 0x30]
call fcn.1400021d0
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140009ce2
mov eax, dword [rax]
cmp eax, r15d
jle 0x140009cf4
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140004c90
lea rax, str.CREATE_TABLE_IndexFilterTable__FilterAttributeId_INTEGER__IndexId_INTEGER__
mov qword [rbp + 0x10], 0x4b
lea rdx, [rbp + 0x10]
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rdx, qword [rsp + 0x40]
lea r8, [rbp + 0x1b8]
lea rcx, [rsp + 0x30]
call fcn.1400021d0
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140009d3f
mov eax, dword [rax]
cmp eax, r15d
jle 0x140009d51
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140004c90
lea rax, str.CREATE_TABLE_ContentsTable__Id_INTEGER_PRIMARY_KEY__NamespaceId_INTEGER__Data_BLOB__
mov qword [rbp + 0x20], 0x54
lea rdx, [rbp + 0x20]
mov qword [rbp + 0x28], rax
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rdx, qword [rsp + 0x40]
lea r8, [rbp + 0x1a0]
lea rcx, [rsp + 0x30]
call fcn.1400021d0
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140009d9c
mov eax, dword [rax]
cmp eax, r15d
jle 0x140009dae
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140004c90
lea rax, str.CREATE_TABLE_ContentsFilterTable__FilterAttributeId_INTEGER__ContentsId_INTEGER__
mov qword [rbp + 0x30], 0x51
lea rdx, [rbp + 0x30]
mov qword [rbp + 0x38], rax
lea rcx, [rbp + 0x188]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rdx, qword [rsp + 0x40]
lea r8, [rbp + 0x188]
lea rcx, [rsp + 0x30]
call fcn.1400021d0
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140009df9
mov eax, dword [rax]
cmp eax, r15d
jle 0x140009e0b
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140004c90
lea rax, str.CREATE_TABLE_FileAttributeSetTable__Id_INTEGER__FilterAttributeId_INTEGER__
mov qword [rbp + 0x40], 0x4b
lea rdx, [rbp + 0x40]
mov qword [rbp + 0x48], rax
lea rcx, [rbp + 0x170]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rdx, qword [rsp + 0x40]
lea r8, [rbp + 0x170]
lea rcx, [rsp + 0x30]
call fcn.1400021d0
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140009e56
mov eax, dword [rax]
cmp eax, r15d
jle 0x140009e68
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140004c90
lea rax, str.CREATE_TABLE_FileDataTable__Id_INTEGER_PRIMARY_KEY__Data_BLOB__
mov qword [rbp + 0x50], 0x3f
lea rdx, [rbp + 0x50]
mov qword [rbp + 0x58], rax
lea rcx, [rbp + 0x158]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rdx, qword [rsp + 0x40]
lea r8, [rbp + 0x158]
lea rcx, [rsp + 0x30]
call fcn.1400021d0
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140009eb3
mov eax, dword [rax]
cmp eax, r15d
jle 0x140009ec5
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140004c90
lea rax, str.CREATE_TABLE_FileFilterTable__FilterAttributeId_INTEGER__FileId_INTEGER__
mov qword [rbp + 0x60], 0x49
lea rdx, [rbp + 0x60]
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x140]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rdx, qword [rsp + 0x40]
lea r8, [rbp + 0x140]
lea rcx, [rsp + 0x30]
call fcn.1400021d0
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140009f10
mov eax, dword [rax]
cmp eax, r15d
jle 0x140009f22
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140004c90
lea rax, str.CREATE_TABLE_FileNameTable__FolderId_INTEGER__Name_TEXT__FileId_INTEGER__Title_TEXT__
mov qword [rbp + 0x70], 0x55
lea rdx, [rbp + 0x70]
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x128]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rdx, qword [rsp + 0x40]
lea r8, [rbp + 0x128]
lea rcx, [rsp + 0x30]
call fcn.1400021d0
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140009f6d
mov eax, dword [rax]
cmp eax, r15d
jle 0x140009f7f
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140004c90
lea rax, str.CREATE_TABLE_FolderTable_Id_INTEGER_PRIMARY_KEY__Name_Text__NamespaceID_INTEGER__
mov qword [rbp + 0x80], 0x51
lea rdx, [rbp + 0x80]
mov qword [rbp + 0x88], rax
lea rcx, [rbp + 0x110]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rdx, qword [rsp + 0x40]
lea r8, [rbp + 0x110]
lea rcx, [rsp + 0x30]
call fcn.1400021d0
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140009fd3
mov eax, dword [rax]
cmp eax, r15d
jle 0x140009fe5
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140004c90
lea rax, str.CREATE_TABLE_MetaDataTable_Name_Text__Value_BLOB__
mov qword [rbp + 0x90], 0x32
lea rdx, [rbp + 0x90]
mov qword [rbp + 0x98], rax
lea rcx, [rbp + 0xf8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
mov rdx, qword [rsp + 0x40]
lea r8, [rbp + 0xf8]
lea rcx, [rsp + 0x30]
call fcn.1400021d0
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14000a039
mov eax, dword [rax]
cmp eax, r15d
jle 0x14000a04b
xor r9d, r9d
lea rcx, [rsp + 0x30]
xor r8d, r8d
xor edx, edx
call fcn.140004c90
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
test r14, r14
je 0x14000a064
lock xadd dword [r14], r15d
lea rcx, [rbp + 0xf8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x110]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x128]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x140]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x158]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x170]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x188]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp + 0x1e8]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x80]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rbp - 0x68]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rcx, qword [rsp + 0x30]
mov r15d, 0xffffffff
test rcx, rcx
je 0x14000a16b
mov eax, r15d
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14000a16b
mov rbx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
lea rcx, [rax + rax*2]
lea rsi, [rbx + rcx*8]
cmp rbx, rsi
je 0x14000a157
mov rcx, rbx
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
add rbx, 0x18
cmp rbx, rsi
jne 0x14000a145
mov rcx, qword [rsp + 0x30]
mov edx, 0x18
lea r8d, [rdx - 0x10]
call qword [sym.imp.Qt6Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__long_long___int64___long_long___int64__]
lea rax, [r12 + r12*2]
mov rbx, rdi
mov r12, qword [rsp + 0x3a8]
lea rsi, [rdi + rax*8]
cmp rdi, rsi
je 0x14000a1a1
mov rcx, qword [r13 + 0x28]
mov rdx, rbx
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::exec_class_QString_const____ptr64____ptr64]
test al, al
je 0x14000a268
add rbx, 0x18
cmp rbx, rsi
jne 0x14000a183
mov rbx, qword [r13 + 0x28]
lea rax, str.INSERT_INTO_MetaDataTable_VALUES_qchVersion__1.0_
lea rdx, [rbp + 0xa0]
mov qword [rbp + 0xa8], rax
lea rcx, [rbp + 0x218]
mov qword [rbp + 0xa0], 0x35
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp + 0x218]
mov rcx, rbx
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::exec_class_QString_const____ptr64____ptr64]
lea rcx, [rbp + 0x218]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov bl, 1
test r14, r14
je 0x14000a22a
lock xadd dword [r14], r15d
cmp r15d, 1
jne 0x14000a22a
cmp rdi, rsi
je 0x14000a218
mov rcx, rdi
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
add rdi, 0x18
cmp rdi, rsi
jne 0x14000a206
mov edx, 0x18
mov rcx, r14
lea r8d, [rdx - 0x10]
call qword [sym.imp.Qt6Core.dll_public:_static_void___cdecl_QArrayData::deallocate_struct_QArrayData____ptr64__long_long___int64___long_long___int64__]
mov r14, qword [rsp + 0x368]
movzx eax, bl
mov rdi, qword [rsp + 0x3a0]
mov rsi, qword [rsp + 0x398]
mov r15, qword [rsp + 0x360]
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.14001e950
add rsp, 0x370
pop r13
pop rbx
pop rbp
ret
xor r9d, r9d
mov dword [rsp + 0x20], r15d
lea r8, str.Cannot_create_tables.
lea rdx, [rbp + 0x200]
lea rcx, [0x140021210]
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
lea rcx, [r13 + 0x10]
lea rdx, [rbp + 0x200]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp + 0x200]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor bl, bl
jmp 0x14000a1f1