Function at 0x7ff627a2e280
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov rax, qword [0x7ff627aa8040]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r12, rcx
mov qword [rbp + 0x50], rcx
xor esi, esi
mov dword [rsp + 0x30], 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 + 0x30], 1
mov dword [rbp + 0xa0], 0x200
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.advapi32.dll_GetUserNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp + 0xf0]
mov r13, 0xffffffffffffffff
mov r8, r13
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x7ff627a2e320
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x40]
call fcn.7ff627a11a10
mov edi, 0x401
mov dword [rsp + 0x30], edi
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, r8
mov r15d, 9
cmp rax, r15
jb 0x7ff627a2e3fb
lea rax, [r8 + 9]
mov qword [rsp + 0x50], rax
lea r14, [rsp + 0x40]
cmp rcx, 7
cmova r14, qword [rsp + 0x40]
lea rax, [0x7ff627a967aa]
lea rcx, [0x7ff627a96798]
cmp rax, r14
jbe 0x7ff627a2e3a8
lea rax, [r14 + r8*2]
cmp rcx, rax
ja 0x7ff627a2e3a8
cmp r14, rcx
jbe 0x7ff627a2e3ab
mov rsi, r14
sub rsi, rcx
sar rsi, 1
jmp 0x7ff627a2e3ab
mov rsi, r15
lea rcx, [r14 + 0x12]
lea r8, [r8*2 + 2]
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy_1
lea rbx, [rsi + rsi]
mov r8, rbx
lea rdx, [0x7ff627a96798]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [0x7ff627a96798]
lea rdx, [rdx + 0x12]
lea rdx, [rdx + rsi*2]
lea rcx, [r14 + rbx]
sub r15, rsi
lea r8, [r15 + r15]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x40]
jmp 0x7ff627a2e40d
mov qword [rsp + 0x28], r15
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.7ff627a2fc10
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
bts edi, 0xb
mov dword [rsp + 0x30], edi
lea r8d, [r15 + 0x1a]
lea rdx, [0x7ff627a96760]
lea rcx, [rbp - 0x80]
call fcn.7ff627a2ee60
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r15
mov qword [rbp + 0xd8], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
bts edi, 0xc
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x7ff627a2e4e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a2e4dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a2e4dd
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627a83324
movdqa xmm0, xmmword [0x7ff627a98780]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x7ff627a2e539
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a2e534
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a2e534
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627a83324
movdqa xmm0, xmmword [0x7ff627a98780]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 7
cmova rdx, qword [rbp + 0xc0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
mov r8, qword [rbp + 0xd0]
lea rcx, [rbp - 0x60]
call fcn.7ff627a11a10
or edi, 0x6000
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x90], xmm0
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x90]
call fcn.7ff627a2ef30
test eax, eax
jne 0x7ff627a2eb1b
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x7ff627a2e5f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a2e5ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a2e5ee
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627a83324
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov rsi, qword [rbp + 0x98]
test rsi, rsi
je 0x7ff627a2e618
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x98]
mov edi, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0xb0], xmm0
test rsi, rsi
je 0x7ff627a2e63b
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x98]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
test rsi, rsi
je 0x7ff627a2e691
mov eax, r13d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x7ff627a2e686
mov rbx, qword [rbp + 0x98]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x7ff627a2e686
mov rsi, qword [rbp + 0x98]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
jmp 0x7ff627a2e68d
mov rsi, qword [rbp + 0x98]
mov edi, dword [rsp + 0x30]
cmp qword [rbp + 0x90], 0
je 0x7ff627a2e9ee
mov r14, qword [rbp + 0xb0]
lea rbx, [0x7ff627a967ac]
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.7ff627a2dbf0
mov rax, qword [rbp - 0x40]
mov edx, dword [rbp - 0x38]
test edx, edx
je 0x7ff627a2e6d3
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x7ff627a2eb0a
cmp eax, 2
jne 0x7ff627a2e838
call fcn.7ff627a82748
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], 4
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rbp - 0x30]
call fcn.7ff627a02700
or edi, 0x60
or edi, 2
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x30]
lea rcx, [r14 + 0x20]
call fcn.7ff627a2d890
mov rcx, rax
or edi, 4
mov dword [rsp + 0x30], edi
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rax, qword [rbp - 0x30]
mov qword [rbp], rax
mov rax, qword [rbp - 0x20]
mov qword [rbp + 8], rax
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp + 0x60], xmm0
lea rdx, [rbp + 0x60]
call fcn.7ff627a2d680
test eax, eax
jne 0x7ff627a2e838
lea rcx, [r14 + 0x20]
cmp qword [r14 + 0x38], 7
jbe 0x7ff627a2e760
mov rcx, qword [r14 + 0x20]
mov rax, qword [r14 + 0x30]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.7ff627a2d320
cmp rax, r11
je 0x7ff627a2e7bb
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x7ff627a2e78f
cmp cx, 0x2f
jne 0x7ff627a2e798
add rax, 2
cmp rax, r11
jne 0x7ff627a2e780
cmp rax, r11
je 0x7ff627a2e7bb
nop dword [rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x7ff627a2e7bb
cmp cx, 0x2f
je 0x7ff627a2e7bb
mov r10, rdx
cmp rax, rdx
jne 0x7ff627a2e7a0
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov r8, r11
mov rdx, r10
lea rcx, [rsp + 0x60]
call fcn.7ff627a11a10
or edi, 0x380
or edi, 8
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x60]
call fcn.7ff627a09170
or edi, 0x10
mov dword [rsp + 0x30], edi
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x7ff627a2e813
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, [0x7ff627a967b4]
xor r8d, r8d
mov rcx, rax
call fcn.7ff627a06680
cmp rax, 0xffffffffffffffff
je 0x7ff627a2e838
mov bl, 1
jmp 0x7ff627a2e83a
xor bl, bl
test dil, 0x10
je 0x7ff627a2e892
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x7ff627a2e882
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a2e87d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff627a2eab6
call fcn.7ff627a83324
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
test dil, 8
je 0x7ff627a2e8f5
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x7ff627a2e8e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a2e8dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff627a2eabd
call fcn.7ff627a83324
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
test dil, 4
je 0x7ff627a2e953
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x7ff627a2e942
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a2e93d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff627a2eac4
call fcn.7ff627a83324
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r15w
test dil, 2
je 0x7ff627a2e9a0
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x7ff627a2e9a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a2e99b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff627a2eacb
call fcn.7ff627a83324
test bl, bl
je 0x7ff627a2e9d2
lea r8, [r14 + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x7ff627a2e9c7
mov rdx, r8
mov rcx, rax
call fcn.7ff627a03710
add qword [r12 + 8], 0x20
jmp 0x7ff627a2e9d2
mov rdx, rax
mov rcx, r12
call fcn.7ff627a2f930
lea rcx, [rbp + 0xb0]
call fcn.7ff627a2e180
mov r14, qword [rbp + 0xb0]
test r14, r14
jne 0x7ff627a2e6a6
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x7ff627a2ea37
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff627a2ea30
mov rbx, qword [rbp + 0xb8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x7ff627a2ea30
mov rcx, qword [rbp + 0xb8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rsi, qword [rbp + 0x98]
test rsi, rsi
je 0x7ff627a2ea72
mov eax, r13d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x7ff627a2ea72
mov rbx, qword [rbp + 0x98]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x7ff627a2ea72
mov rcx, qword [rbp + 0x98]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, 7
jbe 0x7ff627a2ead7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a2ead2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a2ead2
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.7ff627a83324
mov rax, r12
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.7ff627a832c0
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [r14 + 0x20]
lea rcx, [0x7ff627a966e8]
call fcn.7ff627a03040
nop
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [0x7ff627a96708]
call fcn.7ff627a03040
int3