Function at 0x14004ef90
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 - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x1400b9040]
xor rax, rsp
mov qword [rbp + 0x2d0], 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 + 0x80]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
lea rax, [rbp + 0x80]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14004f030
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x68]
call fcn.14003ecf0
mov edi, 0x20001
mov dword [rsp + 0x30], edi
mov r8, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
sub rax, r8
mov r15d, 9
cmp rax, r15
jb 0x14004f105
lea rax, [r8 + 9]
mov qword [rbp - 0x58], rax
lea rsi, [rbp - 0x68]
cmp rcx, 7
cmova rsi, qword [rbp - 0x68]
lea rax, [0x1400a54e2]
lea r13, str.C:Users_
cmp rax, rsi
jbe 0x14004f0b7
lea rax, [rsi + r8*2]
cmp r13, rax
ja 0x14004f0b7
cmp rsi, r13
ja 0x14004f0ac
mov r14, rbx
jmp 0x14004f0ba
mov r14, rsi
sub r14, r13
sar r14, 1
jmp 0x14004f0ba
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
mov rdx, r13
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [r13 + 0x12]
lea rdx, [rdx + r14*2]
lea rcx, [rbx + rsi]
sub r15, r14
lea r8, [r15 + r15]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x68]
mov rsi, 0xffffffffffffffff
jmp 0x14004f116
mov qword [rsp + 0x28], r15
mov rdx, r15
lea rcx, [rbp - 0x68]
call fcn.140050b30
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x18], 7
xor r15d, r15d
mov qword [rax + 0x10], r15
mov word [rax], r15w
bts edi, 0x12
mov dword [rsp + 0x30], edi
mov r8d, 0x1a
lea rdx, str.AppDataLocalRobloxlogs
lea rcx, [rsp + 0x58]
call fcn.14004fd70
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
bts edi, 0x13
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14004f1e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f1e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f1e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008dbb4
movdqa xmm0, xmmword [0x1400a88a0]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r15w
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x14004f244
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f237
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f237
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008dbb4
movdqa xmm0, xmmword [0x1400a88a0]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r15w
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rdx, qword [rbp + 0x50]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov r8, qword [rbp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.14003ecf0
or edi, 0x300000
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x40]
call fcn.14004fe40
test eax, eax
jne 0x14004fa05
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14004f2e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f2e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f2e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008dbb4
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14004f305
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x48]
mov edi, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x30], xmm0
test rcx, rcx
je 0x14004f31f
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x48]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
test rcx, rcx
je 0x14004f35e
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14004f35a
mov rbx, qword [rbp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14004f35a
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov r13, qword [rbp + 0x30]
lea rbx, str..log
test r13, r13
je 0x14004f90c
lea rdx, [rbp - 0x48]
mov rcx, r13
call fcn.14004e950
mov rax, qword [rbp - 0x48]
mov edx, dword [rbp - 0x40]
test edx, edx
je 0x14004f398
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14004fa19
cmp eax, 2
jne 0x14004f68a
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], 4
call fcn.14008d018
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0x20], xmm0
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x38]
call fcn.14003b000
or edi, 0x60
or edi, 2
mov dword [rsp + 0x30], edi
lea r14, [r13 + 0x20]
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14004f3e5
mov rcx, qword [r14]
lea rsi, [r14 + 0x10]
mov rax, qword [rsi]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.14004e1c0
cmp rax, rdx
je 0x14004f43c
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14004f40f
cmp cx, 0x2f
jne 0x14004f418
add rax, 2
cmp rax, rdx
jne 0x14004f400
cmp rax, rdx
je 0x14004f43c
nop dword [rax]
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14004f43c
cmp cx, 0x2f
je 0x14004f43c
mov rbx, r8
cmp rax, r8
jne 0x14004f420
mov r8d, 0x3a
mov rcx, rbx
call fcn.14008d880
cmp rbx, rax
je 0x14004f487
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x14004f487
cmp word [rdx], 0x2e
jne 0x14004f46f
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x14004f48a
cmp word [rcx], 0x2e
jne 0x14004f48a
jmp 0x14004f487
sub rdx, 2
cmp rbx, rdx
je 0x14004f487
cmp word [rdx], 0x2e
je 0x14004f48a
sub rdx, 2
cmp rbx, rdx
jne 0x14004f478
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov r8, rax
lea rcx, [rsp + 0x58]
call fcn.14003ecf0
or edi, 0x380
or edi, 4
mov dword [rsp + 0x30], edi
lea rax, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rax, qword [rbp - 0x38]
mov qword [rbp], rax
mov rax, qword [rbp - 0x28]
mov qword [rbp + 8], rax
movaps xmm0, xmmword [rbp]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.14004e500
test eax, eax
jne 0x14004f68a
cmp qword [r14 + 0x18], 7
jbe 0x14004f4ff
mov r14, qword [r14]
mov rax, qword [rsi]
lea rsi, [r14 + rax*2]
mov rbx, rsi
mov rdx, rsi
mov rcx, r14
call fcn.14004e1c0
cmp rax, rsi
je 0x14004f55b
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14004f52f
cmp cx, 0x2f
jne 0x14004f538
add rax, 2
cmp rax, rsi
jne 0x14004f520
cmp rax, rsi
je 0x14004f55b
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14004f55b
cmp cx, 0x2f
je 0x14004f55b
mov rbx, rdx
cmp rax, rdx
jne 0x14004f540
sub rsi, rbx
sar rsi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14003ecf0
or edi, 0x1c00
or edi, 8
lea r14, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova r14, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
call fcn.14008d018
mov r15d, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xor edx, edx
mov qword [rbp - 0x78], rdx
mov ebx, 0xf
mov qword [rbp - 0x70], rbx
mov byte [rsp + 0x78], dl
bts edi, 0x10
mov dword [rsp + 0x30], edi
test rsi, rsi
je 0x14004f64d
cmp rsi, 0x7fffffff
ja 0x14004f9f7
mov dword [rsp + 0x20], edx
xor r9d, r9d
mov r8d, esi
mov rdx, r14
mov ecx, eax
call fcn.14008d088
mov rbx, rax
mov qword [rbp + 0x20], rax
shr rax, 0x20
test eax, eax
jne 0x14004fa33
movsxd rdx, ebx
lea rcx, [rsp + 0x78]
call fcn.14003e6c0
lea r9, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
cmova r9, qword [rsp + 0x78]
mov dword [rsp + 0x20], ebx
mov r8d, esi
mov rdx, r14
mov ecx, r15d
call fcn.14008d088
mov qword [rbp + 0x20], rax
shr rax, 0x20
test eax, eax
jne 0x14004fa2a
mov rbx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
btr edi, 0x10
or edi, 0xe010
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x78]
cmp rbx, 0xf
cmova rcx, qword [rsp + 0x78]
mov qword [rsp + 0x20], 6
lea r9, str.Player
call fcn.140002180
cmp rax, 0xffffffffffffffff
je 0x14004f68e
mov sil, 1
jmp 0x14004f691
mov rbx, qword [rbp - 0x70]
xor sil, sil
test dil, 0x10
je 0x14004f6ed
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
cmp rbx, 0xf
jbe 0x14004f6d7
lea rdx, [rbx + 1]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f6d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f8f0
call fcn.14008dbb4
xor r15d, r15d
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], r15b
jmp 0x14004f6f0
xor r15d, r15d
test dil, 8
je 0x14004f753
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14004f73f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f73a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f8f7
call fcn.14008dbb4
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
test dil, 4
je 0x14004f7b6
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14004f7a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f79d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f8fe
call fcn.14008dbb4
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r15w
test dil, 2
je 0x14004f803
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x14004f803
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f7fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f905
call fcn.14008dbb4
test sil, sil
je 0x14004f840
lea r8, [r13 + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x14004f82b
mov rdx, r8
mov rcx, rax
call fcn.14003e0b0
add qword [r12 + 8], 0x20
jmp 0x14004f840
mov rdx, rax
mov rcx, r12
call fcn.140050850
nop word [rax + rax]
lea rdx, [rbp + 0x80]
mov rcx, qword [r13 + 0x40]
call fcn.14008d2f0
cmp eax, 0x12
je 0x14004f894
test eax, eax
jne 0x14004f9fd
cmp word [rbp + 0xac], 0x2e
jne 0x14004f883
movzx eax, word [rbp + 0xae]
test ax, ax
je 0x14004f840
cmp ax, 0x2e
jne 0x14004f883
cmp word [rbp + 0xb0], 0
je 0x14004f840
lea rdx, [rbp + 0x80]
mov rcx, r13
call fcn.14004ecb0
jmp 0x14004f8e0
mov r13, r15
mov qword [rbp + 0x30], r15
mov rbx, qword [rbp + 0x38]
mov qword [rbp + 0x38], r15
test rbx, rbx
je 0x14004f8e0
mov rdi, 0xffffffffffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14004f8d8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14004f8d8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov r13, qword [rbp + 0x30]
mov eax, r15d
test eax, eax
jne 0x14004f9fd
jmp 0x14004f362
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0x38]
mov rsi, 0xffffffffffffffff
test rcx, rcx
je 0x14004f94b
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14004f94b
mov rbx, qword [rbp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14004f94b
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x14004f981
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14004f981
mov rbx, qword [rbp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14004f981
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x14004f9c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f9bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f9bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008dbb4
mov rax, r12
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.14008d8b0
lea r11, [rsp + 0x3e0]
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
call fcn.14003ac20
nop
mov edx, eax
call fcn.14004e8f0
nop
lea r8, [rsp + 0x38]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14003b950
nop
lea r8, [r13 + 0x20]
lea rcx, str.directory_entry::status
call fcn.14003b950
nop
mov ecx, dword [rbp + 0x24]
call fcn.14003af00
int3
mov ecx, dword [rbp + 0x24]
call fcn.14003af00
int3