Function at 0x140019730
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 - 0x550]
sub rsp, 0x650
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rbp + 0x540], 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 + 0xb0], 0x200
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x340]
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 + 0x340]
mov r13, 0xffffffffffffffff
mov r8, r13
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400197d0
lea rdx, [rbp + 0x340]
lea rcx, [rsp + 0x40]
call fcn.14000cca0
mov edi, 0x2001
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 0x1400198ab
lea rax, [r8 + 9]
mov qword [rsp + 0x50], rax
lea r14, [rsp + 0x40]
cmp rcx, 7
cmova r14, qword [rsp + 0x40]
lea rax, [0x14006f702]
lea rcx, str.C:Users_
cmp rax, r14
jbe 0x140019858
lea rax, [r14 + r8*2]
cmp rcx, rax
ja 0x140019858
cmp r14, rcx
jbe 0x14001985b
mov rsi, r14
sub rsi, rcx
sar rsi, 1
jmp 0x14001985b
mov rsi, r15
lea rcx, [r14 + 0x12]
lea r8, [r8*2 + 2]
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rsi + rsi]
mov r8, rbx
lea rdx, str.C:Users_
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
lea rdx, str.C:Users_
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 0x1400198bd
mov qword [rsp + 0x28], r15
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.14001b2b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], 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
lea r8d, [r15 + 0x1a]
lea rdx, str.AppDataLocalRobloxlogs
lea rcx, [rbp - 0x60]
call fcn.14001a480
xorps xmm0, xmm0
movups xmmword [rbp + 0xb8], xmm0
mov qword [rbp + 0xc8], r15
mov qword [rbp + 0xd0], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
bts edi, 0xf
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140019992
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001998d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001998d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400602b4
movdqa xmm0, xmmword [0x140071150]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r15w
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400199e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400199e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400199e4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400602b4
movdqa xmm0, xmmword [0x140071150]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r15w
lea rdx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 7
cmova rdx, qword [rbp + 0xb8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
mov r8, qword [rbp + 0xc8]
lea rcx, [rbp - 0x40]
call fcn.14000cca0
or edi, 0x30000
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xa0], xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xa0]
call fcn.14001a550
test eax, eax
jne 0x14001a120
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140019aa3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019a9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140019a9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400602b4
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x140019ac8
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0xa8]
mov edi, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0x90], xmm0
test rcx, rcx
je 0x140019aeb
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0xa8]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
test rcx, rcx
je 0x140019b35
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140019b31
mov rbx, qword [rbp + 0xa8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140019b31
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rcx]
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov r14, qword [rbp + 0x90]
nop dword [rax]
lea rbx, str..log
test r14, r14
je 0x14001a017
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.140019140
mov rax, qword [rbp - 0x20]
mov edx, dword [rbp - 0x18]
test edx, edx
je 0x140019b76
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14001a133
cmp eax, 2
jne 0x140019da5
call fcn.14005f74c
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], 4
lea r8, [rbp + 0x10]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.1400069a0
or edi, 0x60
or edi, 2
mov dword [rsp + 0x30], edi
lea rcx, [r14 + 0x20]
cmp qword [r14 + 0x38], 7
jbe 0x140019bb8
mov rcx, qword [r14 + 0x20]
mov rax, qword [r14 + 0x30]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.140018980
cmp rax, rdx
je 0x140019c0c
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140019bdf
cmp cx, 0x2f
jne 0x140019be8
add rax, 2
cmp rax, rdx
jne 0x140019bd0
cmp rax, rdx
je 0x140019c0c
nop dword [rax]
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x140019c0c
cmp cx, 0x2f
je 0x140019c0c
mov rbx, r8
cmp rax, r8
jne 0x140019bf0
mov r8d, 0x3a
mov rcx, rbx
call fcn.140060140
cmp rbx, rax
je 0x140019c57
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x140019c57
cmp word [rdx], 0x2e
jne 0x140019c3f
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x140019c5a
cmp word [rcx], 0x2e
jne 0x140019c5a
jmp 0x140019c57
sub rdx, 2
cmp rbx, rdx
je 0x140019c57
cmp word [rdx], 0x2e
je 0x140019c5a
sub rdx, 2
cmp rbx, rdx
jne 0x140019c48
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov r8, rax
lea rcx, [rbp - 0x80]
call fcn.14000cca0
or edi, 0x380
or edi, 4
mov dword [rsp + 0x30], edi
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rax, qword [rbp - 0x10]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x60], xmm0
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140018ce0
test eax, eax
jne 0x140019da5
lea rcx, [r14 + 0x20]
cmp qword [r14 + 0x38], 7
jbe 0x140019ccf
mov rcx, qword [r14 + 0x20]
mov rax, qword [r14 + 0x30]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.140018980
cmp rax, r11
je 0x140019d2b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140019cf6
cmp cx, 0x2f
jne 0x140019cff
add rax, 2
cmp rax, r11
jne 0x140019ce7
cmp rax, r11
je 0x140019d2b
nop dword [rax]
nop dword [rax + rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140019d2b
cmp cx, 0x2f
je 0x140019d2b
mov r10, rdx
cmp rax, rdx
jne 0x140019d10
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.14000cca0
or edi, 0x1c00
or edi, 8
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140006af0
or edi, 0x10
mov dword [rsp + 0x30], edi
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140019d83
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
mov rcx, rax
call fcn.140004c50
cmp rax, 0xffffffffffffffff
je 0x140019da5
mov bl, 1
jmp 0x140019da7
xor bl, bl
test dil, 0x10
je 0x140019dff
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140019def
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019dea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019ffb
call fcn.1400602b4
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], 0
test dil, 8
je 0x140019e62
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140019e4e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019e49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a002
call fcn.1400602b4
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
test dil, 4
je 0x140019ec0
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140019eaf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019eaa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a009
call fcn.1400602b4
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
test dil, 2
je 0x140019f0d
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x140019f0d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019f08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a010
call fcn.1400602b4
test bl, bl
je 0x140019f40
lea r8, [r14 + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x140019f34
mov rdx, r8
mov rcx, rax
call fcn.14000bfa0
add qword [r12 + 8], 0x20
jmp 0x140019f40
mov rdx, rax
mov rcx, r12
call fcn.14001afd0
nop
lea rdx, [rbp + 0xf0]
mov rcx, qword [r14 + 0x40]
call fcn.14005f9ac
cmp eax, 0x12
je 0x140019f97
test eax, eax
jne 0x14001a118
cmp word [rbp + 0x11c], 0x2e
jne 0x140019f83
movzx eax, word [rbp + 0x11e]
test ax, ax
je 0x140019f40
cmp ax, 0x2e
jne 0x140019f83
cmp word [rbp + 0x120], 0
je 0x140019f40
lea rdx, [rbp + 0xf0]
mov rcx, r14
call fcn.140019450
jmp 0x140019b40
mov r14, r15
mov qword [rbp + 0x90], r15
mov rbx, qword [rbp + 0x98]
mov qword [rbp + 0x98], r15
test rbx, rbx
je 0x140019b40
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140019fe0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
je 0x140019fe9
nop word [rax + rax]
mov edi, dword [rsp + 0x30]
jmp 0x140019b35
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
jmp 0x140019b35
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 + 0x98]
test rcx, rcx
je 0x14001a05a
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001a05a
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 0x14001a05a
mov rcx, qword [rbp + 0x98]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x14001a09c
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001a09c
mov rbx, qword [rbp + 0xa8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x14001a09c
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, 7
jbe 0x14001a0e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a0e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a0e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400602b4
mov rax, r12
mov rcx, qword [rbp + 0x540]
xor rcx, rsp
call fcn.140060250
lea r11, [rsp + 0x650]
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
mov edx, eax
call fcn.1400190e0
nop
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140007360
nop
lea r8, [r14 + 0x20]
lea rcx, str.directory_entry::status
call fcn.140007360
int3