Function at 0x14005f860
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 - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x1400e0040]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov r12, rcx
mov qword [rbp - 0x10], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov dword [rsp + 0x30], 1
mov dword [rbp + 0x20], 0x200
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x90]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea rax, [rbp + 0x90]
mov r13, 0xffffffffffffffff
mov r8, r13
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14005f900
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.140052970
mov edi, 0x2001
mov dword [rsp + 0x30], edi
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
sub rax, r8
mov r15d, 9
cmp rax, r15
jb 0x14005f9e0
lea rax, [r8 + 9]
mov qword [rsp + 0x68], rax
lea rsi, [rsp + 0x58]
cmp rcx, 7
cmova rsi, qword [rsp + 0x58]
lea rax, [0x1400c8802]
lea rcx, str.C:Users_
cmp rax, rsi
jbe 0x14005f98d
lea rax, [rsi + r8*2]
cmp rcx, rax
ja 0x14005f98d
cmp rsi, rcx
ja 0x14005f982
mov r14, rbx
jmp 0x14005f990
mov r14, rsi
sub r14, rcx
sar r14, 1
jmp 0x14005f990
mov r14, r15
lea rcx, [rsi + 0x12]
lea r8, [r8*2 + 2]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [r14 + r14]
mov r8, rbx
lea rdx, str.C:Users_
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, str.C:Users_
lea rdx, [rdx + 0x12]
lea rdx, [rdx + r14*2]
lea rcx, [rsi + rbx]
sub r15, r14
lea r8, [r15 + r15]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x58]
jmp 0x14005f9f2
mov qword [rsp + 0x28], r15
mov rdx, r15
lea rcx, [rsp + 0x58]
call fcn.140060d90
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x18], 7
xor r15d, r15d
mov qword [rax + 0x10], r15
mov word [rax], r15w
bts edi, 0xe
mov dword [rsp + 0x30], edi
mov r8d, 0x1a
lea rdx, str.AppDataLocalRobloxlogs
lea rcx, [rsp + 0x38]
call fcn.1400602d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
bts edi, 0xf
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x38]
call fcn.14004ac20
nop
lea rcx, [rsp + 0x58]
call fcn.14004ac20
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rdx, qword [rbp + 0x70]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r15
mov r8, qword [rbp + 0x80]
lea rcx, [rbp + 0x50]
call fcn.140052970
or edi, 0x30000
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x40]
call fcn.14005f690
nop
lea rcx, [rbp + 0x50]
call fcn.14004ac20
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x14005fb07
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x48]
mov edi, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x30], xmm0
test rbx, rbx
je 0x14005fb21
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x48]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
test rbx, rbx
je 0x14005fb5d
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14005fb59
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005fb59
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov r14, qword [rbp + 0x30]
lea rbx, str..log
test r14, r14
je 0x14005ff1b
lea rdx, [rsp + 0x78]
mov rcx, r14
call fcn.14005f0c0
mov rax, qword [rsp + 0x78]
mov edx, dword [rbp - 0x80]
test edx, edx
je 0x14005fb99
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14005ffc5
cmp eax, 2
jne 0x14005fdd6
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], 4
call fcn.1400b1fcc
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0x20], xmm0
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.14004d410
or edi, 0x60
or edi, 2
mov dword [rsp + 0x30], edi
lea r15, [r14 + 0x20]
mov rcx, r15
cmp qword [r15 + 0x18], 7
jbe 0x14005fbe7
mov rcx, qword [r15]
lea rsi, [r15 + 0x10]
mov rax, qword [rsi]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.14005ea00
cmp rax, rdx
je 0x14005fc3c
nop
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14005fc0f
cmp cx, 0x2f
jne 0x14005fc18
add rax, 2
cmp rax, rdx
jne 0x14005fc00
cmp rax, rdx
je 0x14005fc3c
nop dword [rax]
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14005fc3c
cmp cx, 0x2f
je 0x14005fc3c
mov rbx, r8
cmp rax, r8
jne 0x14005fc20
mov r8d, 0x3a
mov rcx, rbx
call fcn.1400b2ac0
cmp rbx, rax
je 0x14005fc87
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x14005fc87
cmp word [rdx], 0x2e
jne 0x14005fc6f
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x14005fc8a
cmp word [rcx], 0x2e
jne 0x14005fc8a
jmp 0x14005fc87
sub rdx, 2
cmp rbx, rdx
je 0x14005fc87
cmp word [rdx], 0x2e
je 0x14005fc8a
sub rdx, 2
cmp rbx, rdx
jne 0x14005fc78
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xor ebx, ebx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov r8, rax
lea rcx, [rbp - 0x58]
call fcn.140052970
or edi, 0x380
or edi, 4
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rax, qword [rsp + 0x38]
mov qword [rbp - 0x20], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x18], rax
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x58]
call fcn.14005ed40
test eax, eax
jne 0x14005fdd3
cmp qword [r15 + 0x18], 7
jbe 0x14005fd00
mov r15, qword [r15]
mov rax, qword [rsi]
lea rsi, [r15 + rax*2]
mov rbx, rsi
mov rdx, rsi
mov rcx, r15
call fcn.14005ea00
cmp rax, rsi
je 0x14005fd5b
nop word [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14005fd2f
cmp cx, 0x2f
jne 0x14005fd38
add rax, 2
cmp rax, rsi
jne 0x14005fd20
cmp rax, rsi
je 0x14005fd5b
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14005fd5b
cmp cx, 0x2f
je 0x14005fd5b
mov rbx, rdx
cmp rax, rdx
jne 0x14005fd40
sub rsi, rbx
sar rsi, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xor r15d, r15d
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.140052970
or edi, 0x1c00
or edi, 8
mov dword [rsp + 0x30], edi
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x78]
call fcn.14004d580
or edi, 0x10
mov dword [rsp + 0x30], edi
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14005fdb1
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
mov rcx, rax
call fcn.140005ce0
cmp rax, 0xffffffffffffffff
je 0x14005fdd6
mov bl, 1
jmp 0x14005fdd8
xor r15d, r15d
xor bl, bl
test dil, 0x10
je 0x14005fdef
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 8]
call fcn.1400051e0
nop
test dil, 8
je 0x14005fe06
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x78]
call fcn.14004ac20
nop
test dil, 4
je 0x14005fe1d
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x58]
call fcn.14004ac20
nop
test dil, 2
je 0x14005fe34
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x38]
call fcn.14004ac20
test bl, bl
je 0x14005fe70
lea r8, [r14 + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x14005fe5b
mov rdx, r8
mov rcx, rax
call fcn.140051ef0
add qword [r12 + 8], 0x20
jmp 0x14005fe70
mov rdx, rax
mov rcx, r12
call fcn.140060ac0
nop word [rax + rax]
lea rdx, [rbp + 0x90]
mov rcx, qword [r14 + 0x40]
call fcn.1400b222c
cmp eax, 0x12
je 0x14005fec4
test eax, eax
jne 0x14005ffd6
cmp word [rbp + 0xbc], 0x2e
jne 0x14005feb3
movzx eax, word [rbp + 0xbe]
test ax, ax
je 0x14005fe70
cmp ax, 0x2e
jne 0x14005feb3
cmp word [rbp + 0xc0], 0
je 0x14005fe70
lea rdx, [rbp + 0x90]
mov rcx, r14
call fcn.14005f430
jmp 0x14005ff0b
mov r14, r15
mov qword [rbp + 0x30], r15
mov rbx, qword [rbp + 0x38]
mov qword [rbp + 0x38], r15
test rbx, rbx
je 0x14005ff0b
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14005ff03
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005ff03
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov r14, qword [rbp + 0x30]
mov eax, r15d
test eax, eax
jne 0x14005ffd6
jmp 0x14005fb61
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14005ff55
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14005ff55
mov rbx, qword [rbp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005ff55
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x14005ff89
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14005ff89
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x14005ff89
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
nop
lea rcx, [rbp + 0x70]
call fcn.14004ac20
mov rax, r12
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.1400b2b10
lea r11, [rsp + 0x3f0]
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, str.directory_entry::status
call fcn.14004da90
int3
mov edx, eax
call fcn.14005f060
int3