Function at 0x1400a4680
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1b0
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rdi, rcx
mov qword [rbp + 0x80], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x88], xmm0
xor r15d, r15d
mov qword [rbp + 0x98], r15
mov dword [rbp + 0x80], r15d
lea rdx, [rbp + 0x80]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov edx, dword [rbp + 0x80]
lea rcx, [rbp + 0x88]
call fcn.140076060
lea rdx, [rbp + 0x80]
mov rcx, qword [rbp + 0x88]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test ebx, ebx
jne 0x1400a48da
movdqa xmm0, xmmword [0x140289e10]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], bl
xor r8d, r8d
lea rbx, [0x140230540]
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.140025820
nop
movdqa xmm0, xmmword [0x140289e10]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], r15b
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140025820
nop
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
movdqa xmm0, xmmword [0x140289e10]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], r15b
lea r8d, [r15 + 0xd]
lea rdx, str.GetUserName__
lea rcx, [rsp + 0x48]
call fcn.140025820
nop
mov dword [rsp + 0x20], WSAStartup
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x48]
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.14006bac0
nop
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
lea r14, vtable.std::exception.0
mov qword [rbp - 0x50], r14
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x70], rbx
mov byte [rbp + 0x78], 1
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x70]
call fcn.14016495c
nop
lea rbx, vtable.RCF::Exception.0
mov qword [rbp - 0x50], rbx
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x38]
call fcn.140016350
nop
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x18]
call fcn.140016350
nop
mov eax, dword [rsp + 0x20]
mov dword [rbp + 8], eax
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x10]
call fcn.14006b2a0
mov dword [rbp + 0x28], esi
mov dword [rbp + 0x2c], 1
mov byte [rbp + 0x30], r15b
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], 0xf
mov byte [rbp + 0x38], r15b
lea rcx, [rsp + 0x28]
call fcn.1400675a0
nop
lea r9, [rbp - 0x50]
lea r8, str.RCF::getMyUserName
lea edx, [r15 + 0x4e]
lea rcx, str.d:jenkinsworkspacemainrel4_dell_12818consumer_sdks_rcf2.2.0.0_src_rcfwin32username.cpp
call fcn.1400a2260
nop
mov qword [rbp - 0x50], rbx
lea rcx, [rbp + 0x38]
call fcn.1400168e0
lea rcx, [rbp + 0x10]
call fcn.1400675a0
lea rcx, [rbp - 0x18]
call fcn.1400168e0
lea rcx, [rbp - 0x38]
call fcn.1400168e0
mov qword [rbp - 0x50], r14
lea rcx, [rbp - 0x48]
call fcn.1401649ec
nop
lea rcx, [rsp + 0x48]
call fcn.1400168e0
nop
lea rcx, [rsp + 0x68]
call fcn.1400168e0
nop
lea rcx, [rbp - 0x78]
call fcn.1400168e0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov rdx, qword [rbp + 0x88]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400a4900
mov rcx, rdi
call fcn.140016750
nop
mov rcx, qword [rbp + 0x88]
test rcx, rcx
je 0x1400a4956
mov rdx, qword [rbp + 0x98]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a4951
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a4985
call fcn.140146bac
mov rax, rdi
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140146480
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14016e380
int3