Function at 0x140070160
Capabilities:
Get session user name

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x818]
sub rsp, 0x8f0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov r15, rcx
mov qword [rbp + 0x30], rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rsp + 0x30], 1
mov dword [rbp + 0xc0], 0x200
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x5d0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea rax, [rbp + 0x5d0]
mov r12, 0xffffffffffffffff
mov r8, r12
inc r8
cmp word [rax + r8*2], 0
jne 0x140070204
lea rdx, [rbp + 0x5d0]
lea rcx, [rsp + 0x40]
call fcn.140051cb0
mov dword [rsp + 0x30], 0x2001
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
sub rax, r8
mov r14d, 9
cmp rax, r14
jb 0x1400702da
lea rax, [r8 + 9]
mov qword [rsp + 0x50], rax
lea rdi, [rsp + 0x40]
cmp rcx, 7
cmova rdi, qword [rsp + 0x40]
lea rax, [0x1400dd222]
lea r13, str.C:Users_
cmp rax, rdi
jbe 0x14007028f
lea rax, [rdi + r8*2]
cmp r13, rax
ja 0x14007028f
cmp rdi, r13
ja 0x140070284
xor esi, esi
jmp 0x140070292
mov rsi, rdi
sub rsi, r13
sar rsi, 1
jmp 0x140070292
mov rsi, r14
lea rcx, [rdi + 0x12]
lea r8, [r8*2 + 2]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [r13 + 0x12]
lea rdx, [rdx + rsi*2]
lea rcx, [rdi + rbx]
sub r14, rsi
lea r8, [r14 + r14]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x40]
xor r13d, r13d
jmp 0x1400702ec
mov qword [rsp + 0x28], r14
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140071800
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov dword [rsp + 0x30], 0x6001
mov r8d, 0x1a
lea rdx, str.AppDataLocalRobloxlogs
lea rcx, [rbp - 0x70]
call fcn.140070cf0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], r13
mov qword [rbp + 0xe0], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov dword [rsp + 0x30], 0xe001
lea rcx, [rbp - 0x70]
call fcn.140049ca0
nop
lea rcx, [rsp + 0x40]
call fcn.140049ca0
lea rdx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 7
cmova rdx, qword [rbp + 0xc8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov r8, qword [rbp + 0xd8]
lea rcx, [rsp + 0x70]
call fcn.140051cb0
mov edi, 0x3e001
mov dword [rsp + 0x30], edi
xorps xmm6, xmm6
movdqa xmmword [rbp + 0xa0], xmm6
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x100]
call fcn.14006fda0
nop
cmp byte [rbp + 0x378], 0
je 0x140070460
mov ecx, 0x58
call fcn.1400c47c8
mov rsi, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_std::filesystem::_Dir_enum_impl_.0
mov qword [rsi], rax
lea rbx, [rsi + 0x10]
lea rdx, [rbp + 0x100]
mov rcx, rbx
call fcn.140070040
nop
mov edi, 0x7e001
mov dword [rsp + 0x30], edi
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xa8], rsi
movdqa xmm6, xmmword [rbp + 0xa0]
jmp 0x14007046d
xorps xmm0, xmm0
psrldq xmm0, 8
movq rsi, xmm0
mov ebx, dword [rbp + 0x37c]
mov rcx, qword [rbp + 0x120]
call fcn.1400c3e00
lea rcx, [rbp + 0x100]
call fcn.140049ca0
test ebx, ebx
jne 0x1400709cc
lea rcx, [rsp + 0x70]
call fcn.140049ca0
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
test rsi, rsi
je 0x1400704c3
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0xa8]
movdqa xmm6, xmmword [rbp + 0xa0]
mov edi, dword [rsp + 0x30]
movdqa xmmword [rbp + 0xb0], xmm6
test rsi, rsi
je 0x1400704df
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0xa8]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe8], xmm1
test rsi, rsi
je 0x140070529
mov eax, r12d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140070525
mov rbx, qword [rbp + 0xa8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140070525
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rcx]
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov r14, qword [rbp + 0xb0]
lea rbx, str..log
test r14, r14
je 0x1400708fb
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.14006fc30
mov rax, qword [rsp + 0x60]
mov edx, dword [rsp + 0x68]
test edx, edx
je 0x140070569
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x1400709e0
cmp eax, 2
jne 0x1400707a3
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], 4
call fcn.1400c3b80
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x40], xmm0
lea r8, [rbp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.14004caa0
or edi, 0x60
or edi, 2
mov dword [rsp + 0x30], edi
lea rcx, [r14 + 0x20]
cmp qword [r14 + 0x38], 7
jbe 0x1400705b4
mov rcx, qword [r14 + 0x20]
mov rax, qword [r14 + 0x30]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.14006f540
cmp rax, rdx
je 0x14007060c
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x1400705df
cmp cx, 0x2f
jne 0x1400705e8
add rax, 2
cmp rax, rdx
jne 0x1400705d0
cmp rax, rdx
je 0x14007060c
nop dword [rax]
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14007060c
cmp cx, 0x2f
je 0x14007060c
mov rbx, r8
cmp rax, r8
jne 0x1400705f0
mov r8d, 0x3a
mov rcx, rbx
call fcn.1400c4590
cmp rbx, rax
je 0x140070657
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x140070657
cmp word [rdx], 0x2e
jne 0x14007063f
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x14007065a
cmp word [rcx], 0x2e
jne 0x14007065a
jmp 0x140070657
sub rdx, 2
cmp rbx, rdx
je 0x140070657
cmp word [rdx], 0x2e
je 0x14007065a
sub rdx, 2
cmp rbx, rdx
jne 0x140070648
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
mov r8, rax
lea rcx, [rbp - 0x30]
call fcn.140051cb0
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 + 0x50], xmm0
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.14006f8a0
test eax, eax
jne 0x1400707a3
lea rcx, [r14 + 0x20]
cmp qword [r14 + 0x38], 7
jbe 0x1400706cf
mov rcx, qword [r14 + 0x20]
mov rax, qword [r14 + 0x30]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.14006f540
cmp rax, r11
je 0x14007072b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x1400706f6
cmp cx, 0x2f
jne 0x1400706ff
add rax, 2
cmp rax, r11
jne 0x1400706e7
cmp rax, r11
je 0x14007072b
nop dword [rax]
nop dword [rax + rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14007072b
cmp cx, 0x2f
je 0x14007072b
mov r10, rdx
cmp rax, rdx
jne 0x140070710
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
mov r8, r11
mov rdx, r10
lea rcx, [rbp - 0x50]
call fcn.140051cb0
or edi, 0x1c00
or edi, 8
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x50]
call fcn.14004cbf0
or edi, 0x10
mov dword [rsp + 0x30], edi
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140070781
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
mov rcx, rax
call fcn.140005d70
cmp rax, 0xffffffffffffffff
je 0x1400707a3
mov bl, 1
jmp 0x1400707a5
xor bl, bl
test dil, 0x10
je 0x1400707bf
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x80]
call fcn.140005240
nop
test dil, 8
je 0x1400707d6
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x50]
call fcn.140049ca0
nop
test dil, 4
je 0x1400707ed
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x30]
call fcn.140049ca0
nop
test dil, 2
je 0x140070803
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x10]
call fcn.140049ca0
test bl, bl
je 0x140070840
lea r8, [r14 + 0x20]
mov rax, qword [r15 + 8]
cmp rax, qword [r15 + 0x10]
je 0x140070827
mov rdx, r8
mov rcx, rax
call fcn.140051000
add qword [r15 + 8], 0x20
jmp 0x140070840
mov rdx, rax
mov rcx, r15
call fcn.140071520
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp + 0x380]
mov rcx, qword [r14 + 0x40]
call fcn.1400c3de0
cmp eax, 0x12
je 0x140070897
test eax, eax
jne 0x1400709c4
cmp word [rbp + 0x3ac], 0x2e
jne 0x140070883
movzx eax, word [rbp + 0x3ae]
test ax, ax
je 0x140070840
cmp ax, 0x2e
jne 0x140070883
cmp word [rbp + 0x3b0], 0
je 0x140070840
lea rdx, [rbp + 0x380]
mov rcx, r14
call fcn.14006ff00
jmp 0x140070530
mov r14, r13
mov qword [rbp + 0xb0], r13
mov rbx, qword [rbp + 0xb8]
mov qword [rbp + 0xb8], r13
test rbx, rbx
je 0x140070530
mov eax, r12d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400708e0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
je 0x1400708e9
nop word [rax + rax]
mov edi, dword [rsp + 0x30]
jmp 0x140070529
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
jmp 0x140070529
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x14007093e
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007093e
mov rbx, qword [rbp + 0xb8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14007093e
mov rcx, qword [rbp + 0xb8]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x140070980
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140070980
mov rbx, qword [rbp + 0xa8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x140070980
mov rcx, qword [rbp + 0xa8]
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
lea rcx, [rbp + 0xc8]
call fcn.140049ca0
mov rax, r15
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1400c4680
lea r11, [rsp + 0x8f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, eax
call fcn.14006fbd0
nop
lea r8, [rsp + 0x70]
mov edx, ebx
lea rcx, str.directory_iterator::directory_iterator
call fcn.14004d100
nop
lea r8, [r14 + 0x20]
lea rcx, str.directory_entry::status
call fcn.14004d100
int3