Function at 0x10008230
Capabilities:
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x10088b2b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x100d4254]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x100d4254]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x27c]
mov ecx, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea eax, [esp + 0x28]
mov dword [esp + 0x274], 0
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x28], 1
push eax
mov dword [esp + 0x30], 0x100
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x10008328
push 0xffffffffffffffff
lea eax, [esp + 0x6c]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
add esp, 0xc
push 0x1009ed7c
lea ecx, [esp + 0x14]
mov dword [esp + 0x278], 1
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QString::operator_char_const__const]
test al, al
je 0x10008309
lea eax, [esp + 0x14]
push eax
call fcn.10008530
add esp, 4
mov ecx, edi
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString__]
lea ecx, [esp + 0x14]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x10008316
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call dword [0x1009d4c4]
lea ecx, [esp + 0x10]
mov byte [esp + 0x274], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x14]
mov ecx, edi
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::trimmed_void_]
lea ecx, [esp + 0x14]
mov eax, dword [eax]
cmp dword [eax + 4], 0
sete bl
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
test bl, bl
je 0x10008359
push 0x1009ed7c
mov ecx, edi
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_char_const__]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QCoreApplication::applicationDirPath_void_]
push str._comnctt.xdt
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x280], 2
push eax
call fcn.10004860
add esp, 0x10
push 0
push 1
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x280], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QSettings::constructor_class_QString_const___enum_QSettings::Format__class_QObject__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x274], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x274], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::constructor_int_]
lea ecx, [esp + 0x38]
push 1
call esi
push 0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x278], 7
call esi
push 0x23
push str.config_getusername_include_computer
mov byte [esp + 0x27c], 8
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esp + 0x10], eax
lea eax, [esp + 0x48]
mov byte [esp + 0x274], 9
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.Qt5Core.dll_public:_class_QVariant___thiscall_QSettings::value_class_QString_const___class_QVariant_const__]
lea ecx, [esp + 0x38]
mov byte [esp + 0x274], 0xa
push ecx
mov ecx, eax
call dword [sym.imp.Qt5Core.dll_public:_bool___thiscall_QVariant::cmp_class_QVariant_const__const]
mov esi, dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QVariant::destructor_void_]
lea ecx, [esp + 0x58]
mov bl, al
mov byte [esp + 0x274], 9
call esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x274], 8
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x274], 7
call esi
lea ecx, [esp + 0x38]
mov byte [esp + 0x274], 6
call esi
test bl, bl
je 0x100084e6
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.Qt5Network.dll_public:_static_class_QString___cdecl_QHostInfo::localHostName_void_]
push 0x1009eda8
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x280], 0xb
push eax
call fcn.10004860
push edi
push eax
lea eax, [esp + 0x28]
mov byte [esp + 0x28c], 0xc
push eax
call fcn.100047f0
add esp, 0x1c
mov ecx, edi
push eax
call dword [0x1009d4c4]
lea ecx, [esp + 0x10]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x274], 0xb
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x274], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x274], 0
call dword [sym.imp.Qt5Core.dll_public_virtual:_void___thiscall_QSettings::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.10086f4e
add esp, 0x268
ret