Function at 0x14005cdc0
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 - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x1400d7040]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov r14, rcx
mov qword [rbp - 0x30], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
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 word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14005ce60
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.14003b670
mov edi, 0x401
mov dword [rsp + 0x30], edi
mov r8, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
sub rax, r8
mov r12d, 9
cmp rax, r12
jb 0x14005cf3b
lea rax, [r8 + 9]
mov qword [rsp + 0x68], rax
lea rsi, [rsp + 0x58]
cmp rcx, 7
cmova rsi, qword [rsp + 0x58]
lea rax, [0x1400bfe5a]
lea rcx, str.C:Users_
cmp rax, rsi
jbe 0x14005cee8
lea rax, [rsi + r8*2]
cmp rcx, rax
ja 0x14005cee8
cmp rsi, rcx
jbe 0x14005ceeb
mov r15, rsi
sub r15, rcx
sar r15, 1
jmp 0x14005ceeb
mov r15, r12
lea rcx, [rsi + 0x12]
lea r8, [r8*2 + 2]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [r15 + r15]
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 + r15*2]
lea rcx, [rbx + rsi]
sub r12, r15
lea r8, [r12 + r12]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x58]
jmp 0x14005cf4d
mov qword [rsp + 0x28], r12
mov rdx, r12
lea rcx, [rsp + 0x58]
call fcn.14005e180
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 r12d, r12d
mov qword [rax + 0x10], r12
mov word [rax], r12w
bts edi, 0xb
mov dword [rsp + 0x30], edi
mov r8d, 0x1a
lea rdx, str.AppDataLocalRobloxlogs
lea rcx, [rsp + 0x38]
call fcn.14005d6c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
bts edi, 0xc
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x38]
call fcn.14003b360
nop
lea rcx, [rsp + 0x58]
call fcn.14003b360
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], r12
mov qword [rbp + 0x68], r12
mov r8, qword [rbp + 0x80]
lea rcx, [rbp + 0x50]
call fcn.14003b670
or edi, 0x6000
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.14005cb40
nop
lea rcx, [rbp + 0x50]
call fcn.14003b360
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov rbx, qword [rbp + 0x38]
test rbx, rbx
je 0x14005d062
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x38]
mov edi, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x40], xmm0
test rbx, rbx
je 0x14005d07c
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x38]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
test rbx, rbx
je 0x14005d0bc
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14005d0b4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005d0b4
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov rbx, qword [rbp + 0x38]
mov r15, qword [rbp + 0x40]
test r15, r15
je 0x14005d307
lea rbx, str..log
lea rdx, [rsp + 0x78]
mov rcx, r15
call fcn.14005c5e0
mov rax, qword [rsp + 0x78]
mov edx, dword [rbp - 0x80]
test edx, edx
je 0x14005d0f8
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14005d3b0
cmp eax, 2
jne 0x14005d260
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], 4
call fcn.1400a8674
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp + 0x20], xmm0
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.14003a2c0
or edi, 0x60
or edi, 2
mov dword [rsp + 0x30], edi
lea rdx, [rbp - 8]
lea rcx, [r15 + 0x20]
call fcn.14005c350
mov rcx, rax
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 - 0x40], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
call fcn.14005c150
test eax, eax
jne 0x14005d260
lea rcx, [r15 + 0x20]
cmp qword [r15 + 0x38], 7
jbe 0x14005d193
mov rcx, qword [r15 + 0x20]
mov rax, qword [r15 + 0x30]
lea rsi, [rcx + rax*2]
mov rbx, rsi
mov rdx, rsi
call fcn.14005be10
cmp rax, rsi
je 0x14005d1eb
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14005d1bf
cmp cx, 0x2f
jne 0x14005d1c8
add rax, 2
cmp rax, rsi
jne 0x14005d1b0
cmp rax, rsi
je 0x14005d1eb
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14005d1eb
cmp cx, 0x2f
je 0x14005d1eb
mov rbx, rdx
cmp rax, rdx
jne 0x14005d1d0
sub rsi, rbx
sar rsi, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.14003b670
or edi, 0x380
or edi, 8
mov dword [rsp + 0x30], edi
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x78]
call fcn.14003f650
or edi, 0x10
mov dword [rsp + 0x30], edi
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14005d23e
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
mov rcx, rax
call fcn.1400026a0
cmp rax, 0xffffffffffffffff
je 0x14005d260
mov bl, 1
jmp 0x14005d262
xor bl, bl
test dil, 0x10
je 0x14005d279
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x28]
call fcn.140002620
nop
test dil, 8
je 0x14005d290
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x78]
call fcn.14003b360
nop
test dil, 4
je 0x14005d2a7
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 8]
call fcn.14003b360
nop
test dil, 2
je 0x14005d2be
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x38]
call fcn.14003b360
test bl, bl
je 0x14005d2ed
lea r8, [r15 + 0x20]
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x14005d2e2
mov rdx, r8
mov rcx, rax
call fcn.14003b230
add qword [r14 + 8], 0x20
jmp 0x14005d2ed
mov rdx, rax
mov rcx, r14
call fcn.14005deb0
lea rcx, [rbp + 0x40]
call fcn.14005ccc0
mov r15, qword [rbp + 0x40]
test r15, r15
jne 0x14005d0c9
mov rbx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14005d344
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14005d340
mov rbx, qword [rbp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005d340
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0x38]
test rbx, rbx
je 0x14005d374
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14005d374
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x14005d374
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 8]
nop
lea rcx, [rbp + 0x70]
call fcn.14003b360
mov rax, r14
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1400a91c0
lea r11, [rsp + 0x3a0]
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, [r15 + 0x20]
lea rcx, str.directory_entry::status
call fcn.14003a840
int3