Function at 0x180020b50
Capabilities:
Reference sql statements

Disassembly:
push rbx
push r13
push r14
sub rsp, 0x80
mov rax, qword [sym.imp.Qt5Core.dll_struct_QMapDataBase_const_QMapDataBase::shared_null]
mov r14, rdx
mov qword [rdx], rax
mov r13, rcx
mov rbx, qword [rcx + 0x20]
test rbx, rbx
je 0x180020db8
mov dword [rsp + 0x30], 0xda
lea rax, str.SELECT_NamespaceTable.Name__ComponentTable.Name_FROM_NamespaceTable__ComponentTable__ComponentMapping_WHERE_NamespaceTable.Id__ComponentMapping.NamespaceId_AND_ComponentMapping.ComponentId__ComponentTable.ComponentId
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0xa0]
movdqa xmmword [rsp + 0x30], xmm0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_class_QString_const____ptr64____ptr64]
lea rcx, [rsp + 0xa0]
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]
test al, al
je 0x180020db8
mov qword [rsp + 0xb8], rbp
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r15
nop dword [rax]
mov rcx, qword [r13 + 0x20]
lea rdx, [rsp + 0x50]
mov r8d, 1
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rsp + 0xb0]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rcx, qword [r13 + 0x20]
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov r12, rax
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
mov rcx, rax
lea rdx, [rsp + 0xa8]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
mov rcx, qword [r14]
mov r15, rax
mov edx, dword [rcx]
cmp edx, 1
jbe 0x180020cb7
call qword [sym.imp.Qt5Core.dll_public:_static_struct_QMapDataBase____ptr64___cdecl_QMapDataBase::createData_void_]
mov rdx, qword [r14]
mov rbx, rax
mov rcx, qword [rdx + 0x10]
test rcx, rcx
je 0x180020c8a
mov rdx, rax
call fcn.180018a70
lea rdx, [rbx + 8]
mov qword [rbx + 0x10], rax
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMapNodeBase::setParent_struct_QMapNodeBase____ptr64____ptr64]
mov rdx, qword [r14]
mov eax, dword [rdx]
test eax, eax
je 0x180020ca3
cmp eax, 0xffffffff
je 0x180020cab
mov eax, 0xffffffff
lock xadd dword [rdx], eax
cmp eax, 1
jne 0x180020cab
mov rcx, qword [r14]
call fcn.18001a8f0
mov rcx, rbx
mov qword [r14], rbx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QMapDataBase::recalcMostLeftNode_void____ptr64]
mov rax, qword [r14]
xor esi, esi
mov dil, 1
mov rbx, qword [rax + 0x10]
lea rbp, [rax + 8]
test rbx, rbx
je 0x180020d21
nop dword [rax]
lea rcx, [rbx + 0x18]
mov rdx, r15
mov rbp, rbx
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
jne 0x180020cf0
mov rsi, rbx
mov dil, 1
mov rbx, qword [rbx + 8]
jmp 0x180020cf7
mov rbx, qword [rbx + 0x10]
xor dil, dil
test rbx, rbx
jne 0x180020cd0
test rsi, rsi
je 0x180020d21
lea rdx, [rsi + 0x18]
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_bool___cdecl_operator__class_QString_const____ptr64__class_QString_const____ptr64_]
test al, al
jne 0x180020d21
lea rcx, [rsi + 0x20]
mov rdx, r12
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString_const____ptr64____ptr64]
jmp 0x180020d58
mov rcx, qword [r14]
mov edx, 0x28
mov r9, rbp
mov byte [rsp + 0x20], dil
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, r15
mov rbx, rax
lea rcx, [rax + 0x18]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea rcx, [rbx + 0x20]
mov rdx, r12
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_class_QString_const____ptr64____ptr64]
lea rcx, [rsp + 0xa8]
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_QVariant::destructor_void____ptr64]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rcx, [rsp + 0x50]
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::next_void____ptr64]
test al, al
jne 0x180020c00
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0xb8]
mov rax, r14
add rsp, 0x80
pop r14
pop r13
pop rbx
ret