Function at 0x140017088
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1e8]
sub rsp, 0x2e0
mov rax, qword [0x14002f010]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r14, qword [0x140034940]
lea rcx, [0x140034950]
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::empty_void_const___ptr64]
xor ebx, ebx
test al, al
jne 0x14001740e
call qword [sym.imp.cmmbiz.dll_enum_PROCESS_TYPE___cdecl_Cmm::GetProcessType_void_]
mov edi, eax
call qword [sym.imp.Cmmlib.dll_public:_static_class_Cmm::CommandLine____ptr64___cdecl_Cmm::CommandLine::ForCurrentProcess_void_]
mov rsi, rax
test rax, rax
je 0x140017246
cmp edi, 2
je 0x14001740e
cmp edi, 8
je 0x14001740e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], bl
lea r8d, [rbx + 7]
lea rdx, str.multipt
lea rcx, [rsp + 0x50]
call fcn.140008dc0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [sym.imp.Cmmlib.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Cmm::CommandLine::GetSwitchValueASCII_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
mov rcx, rax
cmp qword [rax + 0x18], 0x10
jb 0x140017152
mov rcx, qword [rax]
mov r8d, 4
cmp qword [rax + 0x10], r8
jne 0x140017171
lea rdx, str.TRUE
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov sil, 1
je 0x140017174
mov sil, bl
mov rax, qword [rsp + 0x40]
cmp rax, 0x10
jb 0x1400171b5
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400171b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400171b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140019b0c
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140017207
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017202
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017202
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140019b0c
test sil, sil
jne 0x14001740e
cmp edi, 7
je 0x14001740e
call fcn.14000ba18
test eax, eax
je 0x140017239
lea eax, [rdi - 0x11]
test eax, 0xfffffffc
jne 0x14001740e
cmp edi, 0x12
je 0x14001740e
call fcn.14000bbb0
test eax, eax
jne 0x14001740e
lea rcx, [rsp + 0x78]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::constructor_void____ptr64]
nop
xor edx, edx
lea rcx, [rsp + 0x78]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CFileName::GetModuleFileNameW_struct_HINSTANCE______ptr64____ptr64]
lea rcx, [rsp + 0x78]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CFileName::GetName_void_const___ptr64]
mov rdx, rax
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [0x140034950]
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public:_bool___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64_const___ptr64]
test al, al
je 0x1400173d6
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_void____ptr64]
nop
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0xff
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1400172d8
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call qword [reloc.Cmmlib.dll___4__CStringT__W_Cmm__QEAAAEAV01_PEB_W_Z]
lea rdx, str.Global_
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_void___cdecl_Cmm::CStringT_wchar_t_::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public:_int___cdecl_Cmm::CStringT_wchar_t_::IsEmpty_void_const___ptr64]
lea rsi, [0x14001e598]
test eax, eax
jne 0x14001731f
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
mov rdx, rsi
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rdx, [0x140034950]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_class_Cmm::CStringT_wchar_t__const____ptr64____ptr64]
sub edi, 0xb
je 0x14001736e
sub edi, 8
je 0x140017357
cmp edi, 1
jne 0x14001738e
mov rdx, rsi
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rdx, str.uploadFeedback
jmp 0x140017383
mov rdx, rsi
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rdx, str.uploadCrashDump
jmp 0x140017383
mov rdx, rsi
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rdx, str.ZoomMedia
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_class_Cmm::CStringT_wchar_t_____ptr64___cdecl_Cmm::CStringT_wchar_t_::operator_wchar_t_const____ptr64____ptr64]
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public:_wchar_t_const____ptr64___cdecl_Cmm::CStringT_wchar_t_::c_str_void_const___ptr64]
mov r9, rax
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14], rax
test rax, rax
je 0x1400173f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400173f5
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
mov ebx, 1
lea rcx, [rbp - 0x60]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CFileName::destructor_void____ptr64]
mov eax, ebx
jmp 0x140017413
lea rcx, [rsp + 0x28]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.Cmmlib.dll_public_virtual:_void___cdecl_Cmm::CStringT_wchar_t_::destructor_void____ptr64]
jmp 0x1400173db
mov eax, 1
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140019ab0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret