Function at 0x1800011d0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rsi, rcx
mov qword [rsp + 0x48], rcx
xor r15d, r15d
mov dword [rsp + 0x48], 0x101
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1800014da
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x180001250
movabs r14, 0x7ffffffffffffffe
cmp rbx, r14
ja 0x180001546
movabs r12, 0x7fffffffffffffff
cmp rbx, 7
ja 0x1800012ab
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x28], r15w
jmp 0x180001345
mov rax, rbx
or rax, 7
cmp rax, r14
jbe 0x1800012f0
lea rcx, [r12 + r12]
cmp rcx, 0x1000
jb 0x180001316
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18000153a
mov rcx, rax
call fcn.180002d64
test rax, rax
je 0x1800014c9
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x18000131e
mov r14, rax
mov ecx, 0xa
cmp rax, rcx
cmovb r14, rcx
lea rcx, [r14 + 1]
cmp rcx, r12
ja 0x18000153a
add rcx, rcx
jne 0x1800012bb
mov rdi, r15
jmp 0x18000131e
call fcn.180002d64
mov rdi, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], r14
add rbx, rbx
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rbx], r15w
lea rcx, [rsp + 0x28]
mov r8, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
cmova rcx, r8
mov rax, qword [rsp + 0x38]
lea r14, [rcx + rax*2]
lea rdi, [rsp + 0x28]
cmova rdi, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov ebx, 0xf
mov qword [rsp + 0x68], rbx
cmp rdi, r14
jne 0x180001394
mov qword [rsp + 0x60], r15
mov byte [rsp + 0x50], 0
jmp 0x180001489
sub r14, rdi
sar r14, 1
cmp r14, r12
ja 0x18000154c
cmp r14, rbx
jbe 0x180001445
mov rbx, r14
or rbx, 0xf
cmp rbx, r12
jbe 0x1800013f1
mov rbx, r12
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.180002d64
mov rcx, rax
test rax, rax
je 0x18000142d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rbx
jmp 0x18000144a
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x180001415
mov rax, r15
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rbx
jmp 0x18000144a
cmp rcx, 0x1000
jb 0x180001434
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180001540
jmp 0x1800013c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180002d64
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rbx
jmp 0x18000144a
mov rax, qword [rsp + 0x50]
lea r8, [rsp + 0x50]
cmp rbx, 0xf
cmova r8, rax
mov rcx, r8
mov rdx, r14
test r14, r14
je 0x180001475
movzx eax, byte [rdi]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rdi, [rdi + 2]
sub rdx, 1
jne 0x180001462
mov qword [rsp + 0x60], r14
mov byte [r8 + r14], 0
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x28]
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x10], xmm1
cmp rdx, 7
jbe 0x18000150c
lea rdx, [rdx*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x1800014d0
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800014d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.180002d30
jmp 0x18000150c
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.180002900
mov rcx, rax
lea rdx, [0x180002ac0]
call qword [sym.imp.MSVCP140.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]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov ebx, 0xf
mov qword [rsi + 0x18], rbx
mov byte [rsi], r15b
mov rax, rsi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.180002d10
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.180001110
nop
call fcn.180001110
nop
call fcn.1800011b0
nop
call fcn.1800011b0
int3