Function at 0x14009f2b0
Capabilities:
Get common file path
Get startup folder

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 [0x1400c4040]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov r12, rcx
mov qword [rbp + 0x10], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov dword [rsp + 0x30], 1
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
mov r8d, 0xc
lea rdx, str.Robloxlogs
lea rcx, [rbp + 0x30]
call fcn.1400097e0
nop
lea r8, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r8, qword [rbp + 0x30]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
mov r9d, dword [rbp + 0x40]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r8, rbx
lea rcx, [rsp + 0x58]
call fcn.14009fdd0
mov dword [rsp + 0x30], 0x2001
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rax, qword [rsp + 0x58]
lea r8, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova r8, qword [rbp + 0x30]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0x40]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r13, 0xffffffffffffffff
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x38], xmm0
movdqu xmmword [rsp + 0x48], xmm1
test eax, eax
js 0x14009f415
lea rax, [rbp + 0x80]
mov r8, r13
inc r8
cmp word [rax + r8*2], 0
jne 0x14009f401
lea rdx, [rbp + 0x80]
jmp 0x14009f41f
xor r8d, r8d
lea rdx, [0x1400b2a70]
lea rcx, [rsp + 0x38]
call fcn.140009330
mov dword [rsp + 0x30], 0x6001
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
lea rcx, [rbp + 0x60]
call fcn.14009ff90
mov dword [rsp + 0x30], 0xe001
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14009f492
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f48c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009f48c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a29d4
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14009f4d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f4d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009f4d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a29d4
movdqa xmm0, xmmword [0x1400b2d10]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], di
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14009f528
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f523
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009f523
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a29d4
movdqa xmm0, xmmword [0x1400b2d30]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rdx, qword [rbp + 0x60]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rdi
mov r8, qword [rbp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.140009330
mov ebx, 0x3e001
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x20]
call fcn.140008bf0
test eax, eax
jne 0x14009faff
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14009f5d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f5ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009f5ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a29d4
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov r14, qword [rbp + 0x28]
test r14, r14
je 0x14009f5f0
lock inc dword [r14 + 8]
mov r14, qword [rbp + 0x28]
mov ebx, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x50], xmm0
test r14, r14
je 0x14009f60b
lock inc dword [r14 + 8]
mov r14, qword [rbp + 0x28]
mov ebx, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
test r14, r14
je 0x14009f656
mov eax, r13d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14009f64e
mov rbx, qword [rbp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14009f64e
mov r14, qword [rbp + 0x28]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
jmp 0x14009f652
mov r14, qword [rbp + 0x28]
mov ebx, dword [rsp + 0x30]
cmp qword [rbp + 0x20], 0
je 0x14009f9e9
mov r15, qword [rbp + 0x50]
lea rdi, str..log
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.14009f140
mov rax, qword [rbp - 0x70]
mov edx, dword [rbp - 0x68]
test edx, edx
je 0x14009f692
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14009faee
cmp eax, 2
jne 0x14009f831
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 4
call fcn.1400a1d54
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140001a50
or ebx, 0x60
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x10]
lea rcx, [r15 + 0x20]
call fcn.140001f40
mov rcx, rax
or ebx, 4
mov dword [rsp + 0x30], ebx
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rax, qword [rbp - 0x60]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x80], xmm0
lea rdx, [rbp - 0x80]
call fcn.14009ef40
test eax, eax
jne 0x14009f831
lea rcx, [r15 + 0x20]
cmp qword [r15 + 0x38], 7
jbe 0x14009f728
mov rcx, qword [r15 + 0x20]
mov rax, qword [r15 + 0x30]
lea rsi, [rcx + rax*2]
mov rdi, rsi
mov rdx, rsi
call fcn.140001bc0
cmp rax, rsi
je 0x14009f77b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14009f74f
cmp cx, 0x2f
jne 0x14009f758
add rax, 2
cmp rax, rsi
jne 0x14009f740
cmp rax, rsi
je 0x14009f77b
nop dword [rax]
lea rdx, [rdi - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14009f77b
cmp cx, 0x2f
je 0x14009f77b
mov rdi, rdx
cmp rax, rdx
jne 0x14009f760
sub rsi, rdi
sar rsi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140009330
or ebx, 0x380
or ebx, 8
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rax, qword [rsp + 0x58]
mov qword [rbp - 0x20], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x18], rax
call fcn.1400a1d54
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x80], xmm0
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x38]
call fcn.14000a2e0
or ebx, 0x1c10
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x38]
mov rdi, qword [rsp + 0x50]
cmp rdi, 0xf
cmova rcx, qword [rsp + 0x38]
mov qword [rsp + 0x20], 6
lea r9, str.Player
mov rdx, qword [rsp + 0x48]
call fcn.140009460
cmp rax, 0xffffffffffffffff
je 0x14009f836
mov sil, 1
jmp 0x14009f839
mov rdi, qword [rsp + 0x50]
xor sil, sil
test bl, 0x10
je 0x14009f895
and ebx, 0xffffffef
mov dword [rsp + 0x30], ebx
cmp rdi, 0xf
jbe 0x14009f87e
lea rdx, [rdi + 1]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f879
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009fa9a
call fcn.1400a29d4
xor edi, edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], dil
jmp 0x14009f897
xor edi, edi
test bl, 8
je 0x14009f8f8
and ebx, 0xfffffff7
mov dword [rsp + 0x30], ebx
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14009f8e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f8e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009faa1
call fcn.1400a29d4
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], di
test bl, 4
je 0x14009f954
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14009f944
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f93f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009faa8
call fcn.1400a29d4
mov qword [rbp], rdi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], di
test bl, 2
je 0x14009f9a0
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14009f9a0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f99b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009faaf
call fcn.1400a29d4
test sil, sil
je 0x14009f9d3
lea r8, [r15 + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x14009f9c8
mov rdx, r8
mov rcx, rax
call fcn.1400080e0
add qword [r12 + 8], 0x20
jmp 0x14009f9d3
mov rdx, rax
mov rcx, r12
call fcn.1400a0410
lea rcx, [rbp + 0x50]
call fcn.140002f80
mov r15, qword [rbp + 0x50]
test r15, r15
jne 0x14009f665
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14009fa26
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14009fa22
mov rbx, qword [rbp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14009fa22
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx]
call qword [rax + 8]
mov r14, qword [rbp + 0x28]
test r14, r14
je 0x14009fa5c
mov eax, r13d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14009fa5c
mov rbx, qword [rbp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x14009fa5c
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x14009fabb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009fab6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009fab6
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400a29d4
mov rax, r12
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1400a2610
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.140002a80
nop
lea r8, [rsp + 0x38]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140002a80
int3