Function at 0x14000c010
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0xd0
mov rax, qword [0x14002c200]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, r8
mov qword [0x14002fbf8], rcx
call qword [0x140024090]
mov r12d, 1
xor edx, edx
xor ecx, ecx
mov r8d, r12d
xor esi, esi
call qword [0x140024578]
mov rbx, rax
call qword [0x1400241e8]
mov ecx, eax
call qword [0x140024580]
mov rbp, rax
test rax, rax
je 0x14000c0a5
lea rax, [rsp + 0x34]
lea r8, [0x14002fc30]
lea edx, [rsi + 2]
mov r9d, 0x104
mov rcx, rbp
mov dword [rsp + 0x34], esi
mov qword [rsp + 0x20], rax
call qword [0x1400245a8]
mov rcx, rbp
call qword [0x1400245b0]
lea rdx, [rsp + 0x30]
lea rcx, [0x14002fe40]
mov dword [rsp + 0x30], 0x104
call qword [0x140024080]
xor ecx, ecx
call qword [0x1400241e0]
call fcn.140013200
call fcn.140013480
lea rdx, str._Invitation
mov rcx, rdi
mov dword [0x14002fc04], eax
call fcn.140014c6c
lea rdx, str._Permission
mov ebp, esi
test rax, rax
mov rcx, rdi
cmovne ebp, r12d
call fcn.140014c6c
test rax, rax
jne 0x14000c386
test ebp, ebp
jne 0x14000c386
lea rdx, str._SettingsAsApplication
mov rcx, rdi
call qword [0x1400241f8]
test eax, eax
jne 0x14000c139
xor edx, edx
xor ecx, ecx
call fcn.140012fa0
test eax, eax
setne sil
mov eax, esi
jmp 0x14000c403
lea rdx, str._Settings
mov rcx, rdi
call qword [0x1400241f8]
test eax, eax
jne 0x14000c152
mov edx, r12d
jmp 0x14000c125
lea rdx, str._ConsoleLock
mov rcx, rdi
call qword [0x1400241f8]
test eax, eax
jne 0x14000c190
test rbx, rbx
je 0x14000c174
mov rcx, rbx
call qword [0x140024558]
call fcn.14000bdd0
mov edi, eax
test rbx, rbx
je 0x14000c189
mov rcx, rbx
call qword [0x1400245b0]
mov eax, edi
jmp 0x14000c403
lea rdx, str._Logoff
mov rcx, rdi
call qword [0x1400241f8]
test eax, eax
jne 0x14000c1be
test rbx, rbx
je 0x14000c1b2
mov rcx, rbx
call qword [0x140024558]
xor ecx, ecx
call fcn.14000afa0
jmp 0x14000c403
lea rdx, str._LogoffForce
mov rcx, rdi
call qword [0x1400241f8]
test eax, eax
jne 0x14000c1ed
test rbx, rbx
je 0x14000c1e0
mov rcx, rbx
call qword [0x140024558]
mov ecx, r12d
call fcn.14000afa0
jmp 0x14000c403
lea rdx, str._LockWorkstation
mov rcx, rdi
call qword [0x1400241f8]
test eax, eax
jne 0x14000c219
test rbx, rbx
je 0x14000c20f
mov rcx, rbx
call qword [0x140024558]
call fcn.14000afc0
jmp 0x14000c403
lea rdx, [0x1400250e8]
lea rcx, [0x14002fe40]
call qword [0x1400241f0]
test eax, eax
jne 0x14000c23b
mov eax, 0xffffffce
jmp 0x14000c403
call fcn.14000bb20
test eax, eax
jne 0x14000c24e
mov eax, 0xffffffc8
jmp 0x14000c403
mov rcx, rdi
or ebx, 0xffffffff
call qword [0x1400243c0]
test eax, eax
je 0x14000c268
mov rcx, rdi
call fcn.140014be4
mov ebx, eax
mov ecx, ebx
call fcn.140012350
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
mov ebx, eax
call qword [0x140024160]
mov ecx, 0x9ca0
mov qword [0x14002fbf0], rax
call fcn.140014640
test rax, rax
je 0x14000c37c
mov edx, ebx
mov rcx, rax
call fcn.14000e6f0
mov rbx, rax
test rax, rax
je 0x14000c37c
lea rcx, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [0x140024560]
test eax, eax
je 0x14000c302
nop dword [rax]
cmp eax, 0xffffffff
je 0x14000c2eb
lea rcx, [rsp + 0x38]
call qword [0x140024568]
lea rcx, [rsp + 0x38]
call qword [0x140024570]
lea rcx, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [0x140024560]
test eax, eax
jne 0x14000c2d0
mov rcx, qword [0x14002fbf0]
test rcx, rcx
je 0x14000c32f
call qword [0x140024150]
xor ecx, ecx
call qword [0x140024148]
mov ecx, 0x1f4
call qword [0x140024148]
xor ecx, ecx
call qword [0x140024148]
mov rcx, rbx
call fcn.14000d500
mov rcx, rbx
call fcn.140014638
mov rcx, qword [0x14002fc10]
test rcx, rcx
je 0x14000c358
call qword [0x140024130]
mov qword [0x14002fc10], rsi
mov rcx, qword [0x14002fbf0]
test rcx, rcx
je 0x14000c371
call qword [0x140024130]
mov qword [0x14002fbf0], rsi
mov eax, dword [0x14002fc00]
jmp 0x14000c403
mov eax, 0xfffffff2
jmp 0x14000c403
lea rdx, [0x1400250e4]
mov rcx, rdi
call fcn.140014c6c
mov rdi, rax
test rax, rax
je 0x14000c401
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x50]
call fcn.140013bd0
movzx ecx, word [rdi + 2]
add rdi, 2
lea r11, [rsp + 0x70]
cmp cx, 0x20
je 0x14000c3da
test cx, cx
je 0x14000c3da
add rdi, 2
mov word [r11], cx
add r11, 2
mov cx, word [rdi]
cmp cx, 0x20
jne 0x14000c3c0
lea rcx, [rsp + 0x70]
call fcn.140014be4
lea rcx, [rdi + 2]
mov ebx, eax
call fcn.140014be4
mov ecx, ebx
mov edx, eax
call fcn.140005420
test eax, eax
je 0x14000c401
mov eax, r12d
jmp 0x14000c403
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140013ba0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret