Function at 0x140004fec
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x270
mov rax, qword [0x140059010]
xor rax, rsp
mov qword [rbp + 0x160], rax
lea r12, [rcx + 0xcdc]
mov rdi, rcx
mov rcx, r12
lea rdx, [0x140049aa0]
call fcn.1400299c4
lea r13, [rdi + 0xc58]
mov dword [rsp + 0x34], 0x41
mov rcx, r13
lea rdx, [rsp + 0x34]
call qword [0x14003d0f0]
lea rcx, [rsp + 0x40]
call qword [0x14003d0f8]
movzx eax, word [rsp + 0x46]
lea rcx, [rdi + 0xd0e]
movzx r9d, word [rsp + 0x42]
lea rdx, str._04i_02i_02i
movzx r8d, word [rsp + 0x40]
mov dword [rsp + 0x20], eax
call fcn.1400037d0
movzx r9d, word [rsp + 0x4a]
lea rcx, [rdi + 0xd20]
movzx r8d, word [rsp + 0x48]
lea rdx, str._02i_02i
call fcn.1400037d0
cmp dword [rdi + 0xc54], 0
je 0x1400050c3
lea rdx, str.120___R
mov rcx, rdi
call fcn.1400042bc
lea rsi, [rdi + 0xd2a]
mov ebx, 0x1e
mov r8d, ebx
lea rcx, str._USERNAME_
mov rdx, rsi
call qword [0x14003d100]
mov rdx, rsi
lea rcx, str._USERNAME_
call fcn.140029ee8
test eax, eax
jne 0x140005107
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x38], ebx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp dword [rdi + 0xc54], 0
je 0x14000511f
lea rdx, str.121___R
mov rcx, rdi
call fcn.1400042bc
xor r9d, r9d
lea r14, [rdi + 0xd68]
mov rdx, r14
lea r15, [rdi + 0x840]
lea r8d, [r9 + 0x15]
call fcn.140006234
test eax, eax
jne 0x14000518b
lea rdx, [rdi + 0x18]
lea rcx, [rsp + 0x50]
call fcn.1400299c4
lea rdx, str.WDUPDATE.NET
lea rcx, [rsp + 0x50]
call fcn.1400299e0
lea rax, [rsp + 0x50]
mov r9, r14
mov qword [rsp + 0x28], rax
lea r8, [0x140048dc8]
lea rdx, str.VERSION
mov dword [rsp + 0x20], 0x14
mov rcx, r15
call qword [0x14003d0c8]
lea rbx, [rdi + 0xd92]
mov rdx, r15
mov rcx, rbx
call fcn.1400299c4
mov rcx, qword [rdi + 0x11c8]
lea rdx, [rsp + 0x30]
xor r9d, r9d
mov word [rsp + 0x30], 0xfeff
mov rax, qword [rcx]
lea r8d, [r9 + 2]
call qword [rax + 0x28]
mov rcx, qword [rdi + 0x11c8]
lea rdx, str._LOCK__r_n
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, qword [rdi + 0x11c8]
lea rdx, str.MACHINE_s_r_n
mov r8, r13
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, qword [rdi + 0x11c8]
lea rdx, str.IP_s_r_n
mov r8, r12
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, qword [rdi + 0x11c8]
lea r8, [rdi + 0xd0e]
lea rdx, str.DATECONNECT_s_r_n
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, qword [rdi + 0x11c8]
lea r8, [rdi + 0xd20]
lea rdx, str.HEURECONNECT_s_r_n
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, qword [rdi + 0x11c8]
lea rdx, str.LOGIN_s_r_n
mov r8, rsi
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, qword [rdi + 0x11c8]
lea rdx, str.VERSION_s_r_n
mov r8, r14
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, qword [rdi + 0x11c8]
lea rdx, str.APPLICATION_s_r_n
mov r8, rbx
mov rax, qword [rcx]
call qword [rax + 0x78]
mov eax, 1
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140021c40
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret