Function at 0x140076350
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 [0x14014d080]
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 0x1400763f4
lea rdx, [rbp + 0x5d0]
lea rcx, [rsp + 0x40]
call fcn.1400505c0
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 0x1400764ca
lea rax, [r8 + 9]
mov qword [rsp + 0x50], rax
lea rdi, [rsp + 0x40]
cmp rcx, 7
cmova rdi, qword [rsp + 0x40]
lea rax, [0x14012df32]
lea r13, str.C:Users_
cmp rax, rdi
jbe 0x14007647f
lea rax, [rdi + r8*2]
cmp r13, rax
ja 0x14007647f
cmp rdi, r13
ja 0x140076474
xor esi, esi
jmp 0x140076482
mov rsi, rdi
sub rsi, r13
sar rsi, 1
jmp 0x140076482
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 0x1400764dc
mov qword [rsp + 0x28], r14
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140077a00
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, reloc.WLDAP32.dll_Ordinal_26
lea rdx, str.AppDataLocalRobloxlogs
lea rcx, [rbp - 0x70]
call fcn.140076ee0
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.14004f090
nop
lea rcx, [rsp + 0x40]
call fcn.14004f090
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.1400505c0
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.140075f90
nop
cmp byte [rbp + 0x378], 0
je 0x140076650
mov ecx, 0x58
call fcn.140107258
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.140076230
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 0x14007665d
xorps xmm0, xmm0
psrldq xmm0, 8
movq rsi, xmm0
mov ebx, dword [rbp + 0x37c]
mov rcx, qword [rbp + 0x120]
call fcn.140106888
lea rcx, [rbp + 0x100]
call fcn.14004f090
test ebx, ebx
jne 0x140076bbc
lea rcx, [rsp + 0x70]
call fcn.14004f090
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
test rsi, rsi
je 0x1400766b3
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 0x1400766cf
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 0x140076719
mov eax, r12d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140076715
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 0x140076715
mov rcx, qword [rbp + 0xa8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov edi, dword [rsp + 0x30]
mov r14, qword [rbp + 0xb0]
lea rbx, str..log
test r14, r14
je 0x140076aeb
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140075e20
mov rax, qword [rsp + 0x60]
mov edx, dword [rsp + 0x68]
test edx, edx
je 0x140076759
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140076bd0
cmp eax, 2
jne 0x140076996
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], 4
call fcn.140106590
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x40], xmm0
lea r8, [rbp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.140048f80
or edi, 0x60
or edi, 2
mov dword [rsp + 0x30], edi
lea rcx, [r14 + 0x20]
cmp qword [r14 + 0x38], 7
jbe 0x1400767a4
mov rcx, qword [r14 + 0x20]
mov rax, qword [r14 + 0x30]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.140075650
cmp rax, rdx
je 0x1400767fc
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x1400767cf
cmp cx, 0x2f
jne 0x1400767d8
add rax, 2
cmp rax, rdx
jne 0x1400767c0
cmp rax, rdx
je 0x1400767fc
nop dword [rax]
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x1400767fc
cmp cx, 0x2f
je 0x1400767fc
mov rbx, r8
cmp rax, r8
jne 0x1400767e0
mov r8d, Ordinal_60
mov rcx, rbx
call fcn.140106ff0
cmp rbx, rax
je 0x140076847
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x140076847
cmp word [rdx], 0x2e
jne 0x14007682f
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x14007684a
cmp word [rcx], 0x2e
jne 0x14007684a
jmp 0x140076847
sub rdx, 2
cmp rbx, rdx
je 0x140076847
cmp word [rdx], 0x2e
je 0x14007684a
sub rdx, 2
cmp rbx, rdx
jne 0x140076838
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.1400505c0
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.1400759b0
test eax, eax
jne 0x140076996
lea rcx, [r14 + 0x20]
cmp qword [r14 + 0x38], 7
jbe 0x1400768bf
mov rcx, qword [r14 + 0x20]
mov rax, qword [r14 + 0x30]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.140075650
cmp rax, r11
je 0x14007691b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x1400768e6
cmp cx, 0x2f
jne 0x1400768ef
add rax, 2
cmp rax, r11
jne 0x1400768d7
cmp rax, r11
je 0x14007691b
nop dword [rax]
nop dword [rax + rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14007691b
cmp cx, 0x2f
je 0x14007691b
mov r10, rdx
cmp rax, rdx
jne 0x140076900
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.1400505c0
or edi, 0x1c00
or edi, 8
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x50]
call fcn.14005e860
or edi, 0x10
mov dword [rsp + 0x30], edi
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140076971
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
xor r8d, r8d
mov rcx, rax
call fcn.140006980
cmp rax, 0xffffffffffffffff
je 0x140076996
mov bl, 1
jmp 0x140076998
xor bl, bl
test dil, 0x10
je 0x1400769b2
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x80]
call fcn.140005e10
nop
test dil, 8
je 0x1400769c9
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x50]
call fcn.14004f090
nop
test dil, 4
je 0x1400769e0
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x30]
call fcn.14004f090
nop
test dil, 2
je 0x1400769f6
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x10]
call fcn.14004f090
test bl, bl
je 0x140076a30
lea r8, [r14 + 0x20]
mov rax, qword [r15 + 8]
cmp rax, qword [r15 + 0x10]
je 0x140076a1a
mov rdx, r8
mov rcx, rax
call fcn.14004d7e0
add qword [r15 + 8], 0x20
jmp 0x140076a30
mov rdx, rax
mov rcx, r15
call fcn.140077720
nop word [rax + rax]
lea rdx, [rbp + 0x380]
mov rcx, qword [r14 + 0x40]
call fcn.140106868
cmp eax, 0x12
je 0x140076a87
test eax, eax
jne 0x140076bb4
cmp word [rbp + 0x3ac], 0x2e
jne 0x140076a73
movzx eax, word [rbp + 0x3ae]
test ax, ax
je 0x140076a30
cmp ax, 0x2e
jne 0x140076a73
cmp word [rbp + 0x3b0], 0
je 0x140076a30
lea rdx, [rbp + 0x380]
mov rcx, r14
call fcn.1400760f0
jmp 0x140076720
mov r14, r13
mov qword [rbp + 0xb0], r13
mov rbx, qword [rbp + 0xb8]
mov qword [rbp + 0xb8], r13
test rbx, rbx
je 0x140076720
mov eax, r12d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140076ad0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
je 0x140076ad9
nop word [rax + rax]
mov edi, dword [rsp + 0x30]
jmp 0x140076719
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov edi, dword [rsp + 0x30]
jmp 0x140076719
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x140076b2e
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140076b2e
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 0x140076b2e
mov rcx, qword [rbp + 0xb8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x140076b70
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140076b70
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 0x140076b70
mov rcx, qword [rbp + 0xa8]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0xc8]
call fcn.14004f090
mov rax, r15
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.140107110
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.140075dc0
nop
lea r8, [rsp + 0x70]
mov edx, ebx
lea rcx, str.directory_iterator::directory_iterator
call fcn.1400495e0
nop
lea r8, [r14 + 0x20]
lea rcx, str.directory_entry::status
call fcn.1400495e0
int3