Function at 0x7ff78712e160
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rsi, rcx
xor r14d, r14d
mov dword [rbp + 0x1d8], 0x105
lea rdx, [rbp + 0x1d8]
lea rcx, [rbp - 0x60]
call qword [sym.imp.advapi32.dll_GetUserNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
lea rax, [rbp - 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x7ff78712e1c0
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.7ff78712b390
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
jne 0x7ff78712e234
cmp qword [rsp + 0x78], 7
jb 0x7ff78712e219
lea rbx, [rsp + 0x60]
cmova rbx, qword [rsp + 0x60]
mov qword [rsp + 0x70], 7
lea r8d, [rcx + 0xe]
lea rdx, [0x7ff787439648]
mov rcx, rbx
call sub.ntdll.dll_RtlCopyMemory
mov word [rbx + 0xe], r14w
jmp 0x7ff78712e22f
lea r9, [0x7ff787439648]
mov edx, 7
lea rcx, [rsp + 0x60]
call fcn.7ff78712fd30
mov rcx, qword [rsp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov r9, r14
mov qword [rsp + 0x50], r14
mov edx, 0xf
mov qword [rsp + 0x58], rdx
mov byte [rsp + 0x40], r9b
mov edi, r14d
test rcx, rcx
je 0x7ff78712e424
mov rbx, r14
cmp rcx, rbx
jbe 0x7ff78712e527
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rax, qword [rsp + 0x60]
movzx ecx, word [rax + rbx*2]
lea r9, [rbp - 0x63]
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r9], cl
mov ecx, edx
test edx, edx
jne 0x7ff78712e290
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x63]
cmp r9, rax
jne 0x7ff78712e2ed
mov r8, r14
mov qword [rsp + 0x30], r14
mov eax, 0xf
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x20], r8b
jmp 0x7ff78712e30b
lea r8, [rbp - 0x63]
sub r8, r9
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.7ff78711dbf0
mov rax, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
lea rdx, [rsp + 0x20]
cmp rax, 0xf
cmova rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.7ff78712fb70
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x7ff78712e362
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff78712e35d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff78712e3f1
call fcn.7ff78718e8e8
inc edi
inc rbx
movsxd rax, edi
mov rcx, qword [rsp + 0x70]
cmp rax, rcx
jb 0x7ff78712e262
mov r9, qword [rsp + 0x50]
cmp r9, 0xa
jbe 0x7ff78712e4d5
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0xa
cmovb r8, r9
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.7ff78711dbf0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x7ff78712e3fd
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff78712e3f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff78712e3f8
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff78718e8e8
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rdx, xmm0
movq r9, xmm1
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x7ff78744d1c0]
movdqu xmmword [rsp + 0x30], xmm1
mov eax, dword [0x7ff787439658]
mov dword [rsp + 0x20], eax
movzx eax, byte [0x7ff78743965c]
mov byte [rsp + 0x24], al
mov byte [rsp + 0x25], 0
lea r8, [rsp + 0x40]
cmp rdx, 0xf
cmova r8, qword [rsp + 0x40]
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.7ff78711df40
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 + 0x38]
cmp rdx, 0xf
jbe 0x7ff78712e4e4
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff78712e4df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff78712e4df
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, qword [rsp + 0x58]
jmp 0x7ff78712e424
call fcn.7ff78718e8e8
movdqa xmm0, xmmword [0x7ff78744d1a0]
movdqu xmmword [rsp + 0x30], xmm0
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call fcn.7ff78711d510
nop
lea rcx, [rsp + 0x60]
call fcn.7ff787129950
mov rax, rsi
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.7ff78711dbd0
nop
int3