Function at 0x140020670
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x10000]
mov eax, 0x10100
call fcn.1400321c0
sub rsp, rax
mov rax, qword [0x140061028]
xor rax, rsp
mov qword [rbp + 0xfff0], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x68], 0x7fff
lea rax, [rsp + 0x20]
mov qword [str.SCOOF_MOMENTO], rax
mov dword [0x140061050], 0x213
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x140020762
lea rax, [rsp + 0x20]
mov qword [str.SCOOF_MOMENTO], rax
cmp dword [0x140061050], 0x213
je 0x14002075b
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rsp + 0x20]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x140020714
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14002075b
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020756
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020756
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov eax, 0x213
jmp 0x140020768
mov eax, dword [0x140061050]
lea rcx, [rsp + 0x20]
mov qword [str.SCOOF_MOMENTO], rcx
cmp eax, 0x213
je 0x1400207e5
mov dword [0x140061050], 0x1dcc497
mov edx, 0x1dcc497
lea rcx, [rsp + 0x20]
call fcn.1400011f0
cmp qword [rax + 0x18], 0x10
jb 0x14002079e
mov rax, qword [rax]
mov qword [str.SCOOF_MOMENTO], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400207e5
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400207e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400207e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov dword [0x140061050], 0x213
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
lea rax, [rbp - 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140020814
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x20]
call fcn.14000fea0
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rax
lea rcx, [rsp + 0x70]
call fcn.140023e00
nop
lea r8, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae r8, qword [rsp + 0x20]
mov r9, r8
cmp word [r8], 0
je 0x14002088b
nop word [rax + rax]
add r9, 2
cmp word [r9], 0
jne 0x140020880
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140024440
nop
lea rcx, [rsp + 0x70]
call fcn.140023d10
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400208e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400208e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400208e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400310b4
mov rax, rbx
mov rcx, qword [rbp + 0xfff0]
xor rcx, rsp
call fcn.140031050
mov rbx, qword [rsp + 0x10118]
add rsp, 0x10100
pop rbp
ret