Function at 0x1400012c0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
sub rsp, 0x380
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov dword [rbp + 0x38], 0x101
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x120]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor r14d, r14d
mov qword [rbp + 0x10], r14
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], r14
lea rax, [rbp + 0x120]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x140001321
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x1400017df
lea rax, [rbp + 8]
mov qword [rbp + 0x48], rax
mov ecx, 0x10
call fcn.140004740
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x10]
mov qword [rax], rcx
mov qword [rax + 8], r14
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x30], 7
cmp rbx, 7
ja 0x140001395
mov qword [rbp + 0x28], rbx
lea r8, [rbx + rbx]
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x18]
call sub.VCRUNTIME140D.dll_memcpy
mov word [rbp + rbx*2 + 0x18], r14w
jmp 0x1400013e0
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x1400014d6
movabs rcx, 0x7fffffffffffffff
add rcx, rcx
call fcn.140004200
mov rdi, rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x120]
mov rcx, rax
call sub.VCRUNTIME140D.dll_memcpy
mov word [rbx + rdi], r14w
mov qword [rbp + 0x40], r14
movabs rax, 0x6092468b0a77bc63
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rbx, 0xcfc56a922d4ba9ee
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rdi, 0x6092468b0a3abc35
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0xc0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0xc8], rax
movdqa xmm0, xmmword [rbp + 0x50]
xorps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp + 0x50], xmm0
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.1400034c0
cmp rax, 0xffffffffffffffff
jne 0x140001501
movabs rax, 0x60f346fc0a77bc63
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0xcfc56a922d2ea99c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0xd0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0xd8], rax
movdqa xmm0, xmmword [rbp + 0x60]
xorps xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0x60], xmm0
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400034c0
cmp rax, 0xffffffffffffffff
jne 0x140001501
xor sil, sil
jmp 0x1400016d6
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400017e5
jmp 0x1400013af
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movabs rax, 0x40fe27fe7e48d563
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x80], rax
movabs rax, 0xa2ab05e0443dc78b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x88], rax
movabs rax, 0xf1fc8355057f132
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movabs rax, 0x30c15120ff45e38b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x98], rax
movabs rax, 0xd57740f19518cd2c
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa0], rax
movabs rax, 0x469fd135ac5beae2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xa8], rax
movabs rax, 0x569ce39c717c635e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb0], rax
movabs rax, 0xc8f0f2a48940c8c2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xb8], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0xe0], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0xe8], rax
movabs rax, 0x6a6bad5170239f57
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf0], rax
movabs rax, 0x10af38009b2097e8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0xf8], rax
movabs rax, 0xb01a219fe77dbe59
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x100], rax
movabs rax, 0x66b1ba56c93389c2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x108], rax
movabs rax, 0x78fb8df505151b1b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x110], rax
movabs rax, 0xc8f0f2a48940e6ec
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x118], rax
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0xe0]
vmovdqa ymmword [rbp + 0x80], ymm1
vmovdqu ymm0, ymmword [rbp + 0xa0]
vpxor ymm1, ymm0, ymmword [rbp + 0x100]
vmovdqa ymmword [rbp + 0xa0], ymm1
lea rdx, [rbp + 0x80]
vzeroupper
call fcn.140003a30
lea rdx, [0x140003c00]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov sil, 1
mov edx, 3
lea rcx, [rbp + 0x3c]
call qword [sym.imp.MSVCP140D.dll_public:_void___cdecl_std::_Lockit::constructor_int____ptr64]
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14000170c
mov rax, qword [rcx + 8]
mov qword [rcx + 8], r14
test rax, rax
je 0x14000170c
nop dword [rax + rax]
mov qword [rax], r14
mov rax, qword [rax + 8]
test rax, rax
jne 0x140001700
lea rcx, [rbp + 0x3c]
call qword [sym.imp.MSVCP140D.dll_public:_void___cdecl_std::_Lockit::destructor_void____ptr64]
mov rax, qword [rbp + 0x30]
cmp rax, 7
jbe 0x14000179b
mov rdi, qword [rbp + 0x18]
lea rbx, [rax + 1]
test rdi, rdi
jne 0x14000178f
test rbx, rbx
je 0x14000178f
lea rax, str.null_pointer_cannot_point_to_a_block_of_non_zero_size
mov qword [rsp + 0x28], rax
lea rax, [0x14000755c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x3cb
lea rdx, [0x140007560]
lea ecx, [rdi + 2]
call qword [sym.imp.ucrtbased.dll__CrtDbgReport]
cmp eax, 1
jne 0x140001769
int3
mov qword [rsp + 0x20], r14
mov r9d, 0x3cb
lea r8, str.E:Visual_stVCToolsMSVC14.38.33130includexmemory
lea rdx, [0x140007610]
lea rcx, str._null_pointer_cannot_point_to_a_block_of_non_zero_size_
call qword [sym.imp.ucrtbased.dll__invalid_parameter]
lea rdx, [rbx + rbx]
mov rcx, rdi
call fcn.140003ee0
mov qword [rbp + 0x28], r14
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r14w
mov rcx, qword [rbp + 0x10]
mov qword [rbp + 0x10], r14
mov edx, 0x10
call fcn.1400047b0
movzx eax, sil
lea r11, [rsp + 0x380]
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
call fcn.1400011e0
nop
call fcn.140001140
nop
int3