Function at 0x180009070
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1a8]
sub rsp, 0x2a0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x180103990]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, rcx
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x34], 0
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_void____ptr64]
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x30], 0x100
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x180009143
or r8d, 0xffffffff
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const____ptr64__int_]
nop
lea rdx, [0x1800a8ce4]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QString::operator_char_const____ptr64_const___ptr64]
test al, al
je 0x180009129
lea rcx, [rsp + 0x28]
call fcn.180009300
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
jmp 0x180009138
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [reloc.Qt5Core.dll___4QString__QEAAAEAV0_AEBV0__Z]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::trimmed_void____ptr64]
mov rcx, qword [rax]
cmp dword [rcx + 4], 0
sete bl
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
test bl, bl
je 0x18000917a
lea rdx, [0x1800a8ce4]
mov rcx, rdi
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_char_const____ptr64____ptr64]
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QCoreApplication::applicationDirPath_void_]
nop
lea r8, str._comnctt.xdt
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.180005110
nop
xor r9d, r9d
lea r8d, [r9 + 1]
mov rdx, rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QSettings::constructor_class_QString_const____ptr64__enum_QSettings::Format__class_QObject____ptr64____ptr64]
nop
lea rcx, [rsp + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov edx, 1
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
nop
xor edx, edx
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
nop
mov edx, 0x23
lea rcx, str.config_getusername_include_computer
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_class_QVariant___cdecl_QSettings::value_class_QString_const____ptr64__class_QVariant_const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QVariant::cmp_class_QVariant_const____ptr64_const___ptr64]
movzx ebx, al
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
test bl, bl
je 0x1800092be
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Network.dll_public:_static_class_QString___cdecl_QHostInfo::localHostName_void_]
nop
lea r8, [0x1800a8d14]
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.180005110
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180005940
mov rdx, rax
mov rcx, rdi
call qword [reloc.Qt5Core.dll___4QString__QEAAAEAV0_AEBV0__Z]
lea rcx, [rsp + 0x20]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public_virtual:_void___cdecl_QSettings::destructor_void____ptr64]
mov rax, rdi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.18008b810
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret