Function at 0x14005d230
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r13
push r14
sub rsp, 0x470
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400f10c0]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov rsi, rcx
mov qword [rbp], rcx
xor r13d, r13d
mov r8d, 0x104
lea rdx, [rbp + 0x310]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], r13
mov qword [rbp + 0x80], r13
lea rax, [rbp + 0x310]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], r13b
jne 0x14005d2a7
lea rdx, [rbp + 0x310]
lea rcx, [rbp + 0x68]
call fcn.140006100
nop
mov r14, qword [rbp + 0x78]
lea rdi, [rbp + 0x68]
cmp qword [rbp + 0x80], 0xf
cmova rdi, qword [rbp + 0x68]
test r14, r14
je 0x14005d36a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], rax
mov dword [rbp + 0x108], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp + 0x10d]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0x10c], 1
lea rcx, [r14 - 1]
mov rax, rbx
cmp rcx, rbx
cmovb rax, rcx
add rax, rdi
movzx ecx, byte [rax]
cmp byte [rbp + rcx + 0xb0], 0
jne 0x14005d365
nop dword [rax]
cmp rax, rdi
je 0x14005d36a
dec rax
movzx ecx, byte [rax]
cmp byte [rbp + rcx + 0xb0], 0
je 0x14005d350
sub rax, rdi
jmp 0x14005d36d
mov rax, rbx
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rbp + 0x88], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x98], xmm1
cmp r14, rcx
jb 0x14005d681
mov rax, r14
sub rax, rcx
cmp rax, r14
cmovb r14, rax
lea rdx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0xf
cmova rdx, qword [rbp + 0x68]
add rdx, rcx
mov r8, r14
lea rcx, [rbp + 0x88]
call fcn.140006100
nop
mov dword [rbp + 0x60], 0x101
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x200]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x14005d595
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
movabs rax, 0xa70c37c38477803e
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0xe2d463ffc1b1a793
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs rax, 0xfd3c465ecb963af8
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x30], rax
movabs rax, 0xd2d6fb53eca150f2
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x38], rax
movabs rax, 0x368ceef074331eee
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x7a8a4ec33a99b862
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0x6dc565c722e1617a
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
movabs rdx, 0xe7fa2106a139bc64
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
movabs rax, 0xc261568df012c765
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1c0], rax
movabs rax, 0xb08626a4e19c87ce
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1c8], rax
movabs rax, 0x924e341bebcb68b7
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1d0], rax
movabs rax, 0xf2b3973a84d67080
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1d8], rax
movabs rax, 0x16eb809900477b89
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1e0], rax
movabs rax, 0x14f82bb04fb9db12
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1e8], rax
movabs rax, 0x6dc565c70c840c1b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x1f0], rax
mov qword [rbp], rdx
mov rax, qword [rbp]
mov qword [rbp + 0x1f8], rax
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x1c0]
vmovdqa ymmword [rbp + 0x20], ymm1
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x1e0]
vmovdqa ymmword [rbp + 0x40], ymm1
lea rdx, [rbp + 0x20]
vzeroupper
call fcn.140005c50
lea rdx, [0x140005e20]
mov rcx, rax
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], r13
mov qword [rsi + 0x18], r13
lea rax, [rbp + 0x200]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005d5b0
mov r8, rbx
lea rdx, [rbp + 0x200]
mov rcx, rsi
call fcn.140006100
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 0xf
jbe 0x14005d611
inc rdx
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d60b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d60b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c4d8c
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0xf
jbe 0x14005d652
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005d64d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005d64d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c4d8c
mov rax, rsi
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.1400c4af0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
call fcn.140005a20
nop
int3