Function at 0x140007aa0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x14019d3c0]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
call fcn.140007850
nop
mov r8, qword [rax]
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x140007b21
mov rdx, r8
mov rcx, rax
call fcn.140008fa0
add qword [rbx + 8], 0x20
jmp 0x140007b2d
mov rdx, rax
mov rcx, rbx
call fcn.140012f40
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140007b7f
mov rdx, qword [rsp + 0x38]
call fcn.1400107c0
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007b7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007b7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140157d3c
mov dword [rsp + 0x50], 0x101
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x360]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov rdi, 0xffffffffffffffff
test eax, eax
je 0x140007cc4
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp + 0x360]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x140007bc3
lea rdx, [rbp + 0x360]
lea rcx, [rsp + 0x30]
call fcn.14000dec0
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x30]
cmova rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.14000c9c0
nop
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x140007c2e
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.140008fa0
add qword [rbx + 8], 0x20
jmp 0x140007c3f
lea r8, [rsp + 0x78]
mov rdx, rax
mov rcx, rbx
call fcn.140012f40
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140007c7f
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007c79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007c79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140157d3c
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140007cc4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007cbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007cbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140157d3c
lea rcx, [rbp + 0x2f0]
call fcn.140007600
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp + 0x2f0]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140007cf0
lea rdx, [rbp + 0x2f0]
lea rcx, [rsp + 0x30]
call fcn.140001270
nop
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x140007d2a
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140008fa0
add qword [rbx + 8], 0x20
jmp 0x140007d3a
lea r8, [rsp + 0x30]
mov rdx, rax
mov rcx, rbx
call fcn.140012f40
mov dword [rbp - 0x60], 0x348
mov word [rbp - 0x5c], si
xor edx, edx
mov r8d, 0x342
lea rcx, [rbp - 0x5a]
call fcn.1401585e8
mov r9d, 1
lea r8, [rbp - 0x60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayDevicesW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp - 0x1c]
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140007d80
mov r8, rdi
lea rdx, [rbp - 0x1c]
lea rcx, [rsp + 0x58]
call fcn.14000dec0
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x68]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x58]
cmova rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14000c9c0
nop
mov rax, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
je 0x140007dea
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.140008fa0
add qword [rbx + 8], 0x20
jmp 0x140007dfb
lea r8, [rsp + 0x78]
mov rdx, rax
mov rcx, rbx
call fcn.140012f40
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140007e3b
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007e35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007e35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140157d3c
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140007e80
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007e7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007e7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140157d3c
movdqa xmm0, xmmword [0x1401805c0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], si
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140007ed3
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007ece
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007ece
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140157d3c
mov rax, rbx
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.140157800
lea r11, [rsp + 0x680]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret