Function at 0x7ff762654be0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rsi, rcx
xor r14d, r14d
mov dword [rbp + 0x230], 0x105
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x30]
call qword [sym.imp.advapi32.dll_GetUserNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x7ff762654c40
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x70]
call fcn.7ff762652750
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
jne 0x7ff762654cb8
cmp qword [rbp - 0x78], 7
jb 0x7ff762654c96
lea rbx, [rsp + 0x70]
cmova rbx, qword [rsp + 0x70]
mov qword [rbp - 0x80], 7
lea r8d, [rcx + 0xe]
lea rdx, [0x7ff762723490]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + 0xe], r14w
jmp 0x7ff762654cb4
lea r9, [0x7ff762723490]
movzx r8d, byte [rbp + 0x228]
mov edx, 7
lea rcx, [rsp + 0x70]
call fcn.7ff762652bd0
mov rcx, qword [rbp - 0x80]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov r12, r14
mov qword [rsp + 0x40], r14
mov r10d, 0xf
mov qword [rsp + 0x48], r10
mov byte [rsp + 0x30], r12b
mov edi, r14d
mov dword [rbp + 0x228], r14d
test rcx, rcx
je 0x7ff762654f16
mov r13, r14
movzx ebx, byte [rbp + 0x228]
cmp rcx, r13
jbe 0x7ff762655140
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rax, qword [rsp + 0x70]
movzx r8d, word [rax + r13*2]
lea r9, [rbp - 0x33]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x7ff762654d20
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lea rax, [rbp - 0x33]
cmp r9, rax
jne 0x7ff762654d74
mov qword [rbp - 0x60], r14
mov esi, 0xf
mov qword [rbp - 0x58], rsi
mov byte [rbp - 0x70], dl
jmp 0x7ff762654d99
lea r8, [rbp - 0x33]
sub r8, r9
mov rdx, r9
lea rcx, [rbp - 0x70]
call fcn.7ff762652640
mov r10, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rbp - 0x58]
mov r14, qword [rbp - 0x60]
lea r9, [rbp - 0x70]
mov r15, qword [rbp - 0x70]
cmp rsi, 0xf
cmova r9, r15
mov rax, r10
sub rax, r12
cmp r14, rax
ja 0x7ff762654dec
lea rax, [r12 + r14]
mov qword [rsp + 0x40], rax
lea rdi, [rsp + 0x30]
cmp r10, 0xf
cmova rdi, qword [rsp + 0x30]
lea rcx, [rdi + r12]
mov r8, r14
mov rdx, r9
call sub.VCRUNTIME140.dll_memcpy
lea rax, [r14 + rdi]
mov byte [rax + r12], 0
mov edi, dword [rbp + 0x228]
jmp 0x7ff762654e0a
mov qword [rsp + 0x20], r14
movzx r8d, bl
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.7ff762652d50
mov rsi, qword [rbp - 0x58]
mov r15, qword [rbp - 0x70]
cmp rsi, 0xf
jbe 0x7ff762654e41
lea rdx, [rsi + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x7ff762654e39
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff762654edb
mov rcx, r15
call fcn.7ff7626de408
inc edi
mov dword [rbp + 0x228], edi
inc r13
movsxd rax, edi
mov rcx, qword [rbp - 0x80]
mov r12, qword [rsp + 0x40]
cmp rax, rcx
jae 0x7ff762654e6a
mov r10, qword [rsp + 0x48]
xor r14d, r14d
jmp 0x7ff762654cf5
cmp r12, 0xa
jbe 0x7ff762654f90
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov r8d, 0xa
cmovb r8, r12
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.7ff762652640
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x7ff762654ee7
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff762654ee2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff762654ee2
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7626de408
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rbp - 0x60]
movups xmmword [rsp + 0x40], xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r10, xmm0
movq r12, xmm1
mov rsi, qword [rbp + 0x220]
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x7ff762723500]
movdqu xmmword [rsp + 0x60], xmm1
mov eax, dword [0x7ff7627234a0]
mov dword [rsp + 0x50], eax
movzx eax, byte [0x7ff7627234a4]
mov byte [rsp + 0x54], al
mov byte [rsp + 0x55], 0
lea rbx, [rsp + 0x30]
cmp r10, 0xf
cmova rbx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
cmp r12, 0xa
ja 0x7ff762654ff0
lea rax, [r12 + 5]
mov qword [rsp + 0x60], rax
lea rax, [rbx + r12]
cmp rax, rcx
jbe 0x7ff762654fa4
lea rax, [rsp + 0x55]
cmp rbx, rax
ja 0x7ff762654fa4
lea rax, [rsp + 0x50]
cmp rax, rbx
ja 0x7ff762654f9a
mov rdi, r14
jmp 0x7ff762654fa7
mov r10, qword [rsp + 0x48]
jmp 0x7ff762654f0c
lea rdi, [rsp + 0x50]
sub rdi, rbx
jmp 0x7ff762654fa7
mov rdi, r12
lea rcx, [rsp + 0x50]
add rcx, r12
mov r8d, 6
lea rdx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy_1
mov r8, r12
sub r8, rdi
lea rdx, [r12 + rdi]
add rdx, rbx
lea rcx, [rsp + 0x50]
add rcx, rdi
call sub.VCRUNTIME140.dll_memcpy_1
lea rax, [rsp + 0x50]
jmp 0x7ff76265500d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rbx
xor r9d, r9d
movzx r8d, byte [rbp + 0x228]
mov rdx, r12
call fcn.7ff762653070
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x7ff762655078
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff762655073
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff762655073
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7626de408
movdqa xmm0, xmmword [0x7ff7627234e0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x7ff7626550cb
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7626550c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7626550c6
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7626de408
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x7ff762655122
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff76265511d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76265511d
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff7626de408
mov rax, rsi
mov rbx, qword [rsp + 0x338]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.7ff7626558c0
nop
int3