Function at 0x14006f7f0
Capabilities:
Get common file path

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 [0x14013a040]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov r12, rcx
mov qword [rbp], 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
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
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], rbx
movups xmmword [rbp + 0x50], xmm0
test eax, eax
js 0x14006f8a5
lea rax, [rbp + 0x80]
mov r8, r13
inc r8
cmp word [rax + r8*2], 0
jne 0x14006f891
lea rdx, [rbp + 0x80]
jmp 0x14006f8af
xor r8d, r8d
lea rdx, [0x14010603c]
lea rcx, [rbp + 0x50]
call fcn.14000fac0
mov dword [rsp + 0x30], 0x401
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rsi, qword [rbp + 0x60]
sub rax, rsi
cmp rax, 0xc
jb 0x14006ffc3
lea r15, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova r15, qword [rbp + 0x50]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rbx
lea r14, [rsi + 0xc]
mov ebx, 7
lea rdi, [rbp + 0x30]
cmp r14, rbx
jbe 0x14006f99b
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x14006f963
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x14006f98f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14006ffdd
mov rcx, rax
call fcn.1400e4780
test rax, rax
je 0x14006ff04
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14006f997
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14006ffdd
add rcx, rcx
jne 0x14006f92e
xor eax, eax
jmp 0x14006f994
call fcn.1400e4780
mov rdi, rax
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], rbx
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.Robloxlogs]
movups xmmword [rbx + rdi], xmm0
movsd xmm0, qword [0x14011c7d8]
movsd qword [rbx + rdi + 0x10], xmm0
xor esi, esi
mov word [rdi + r14*2], si
mov dword [rsp + 0x30], 0xc01
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rdx, qword [rbp + 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov r8, qword [rbp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.14000fac0
mov ebx, 0x3c01
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x10]
call fcn.140062300
test eax, eax
jne 0x14006ffc9
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14006fa77
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fa72
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006fa72
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e4a04
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov r14, qword [rbp + 0x18]
test r14, r14
je 0x14006fa94
lock inc dword [r14 + 8]
mov r14, qword [rbp + 0x18]
mov ebx, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x20], xmm0
test r14, r14
je 0x14006faaf
lock inc dword [r14 + 8]
mov r14, qword [rbp + 0x18]
mov ebx, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
test r14, r14
je 0x14006fafa
mov eax, r13d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14006faf2
mov rbx, qword [rbp + 0x18]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006faf2
mov r14, qword [rbp + 0x18]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
jmp 0x14006faf6
mov r14, qword [rbp + 0x18]
mov ebx, dword [rsp + 0x30]
cmp qword [rbp + 0x10], 0
je 0x14006fe5a
mov r15, qword [rbp + 0x20]
lea rdi, str..log
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.14006e820
mov rax, qword [rsp + 0x70]
mov edx, dword [rsp + 0x78]
test edx, edx
je 0x14006fb39
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14006ffb2
cmp eax, 2
jne 0x14006fca8
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], 4
call fcn.1400e5920
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140002c00
or ebx, 0x60
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x20]
lea rcx, [r15 + 0x20]
call fcn.140058f80
mov r8, rax
or ebx, 4
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
mov qword [rbp - 0x50], rcx
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
mov rcx, r8
call fcn.14006e620
test eax, eax
jne 0x14006fca8
lea rcx, [r15 + 0x20]
cmp qword [r15 + 0x38], 7
jbe 0x14006fbd6
mov rcx, qword [r15 + 0x20]
mov rax, qword [r15 + 0x30]
lea rsi, [rcx + rax*2]
mov rdi, rsi
mov rdx, rsi
call fcn.140058b10
cmp rax, rsi
je 0x14006fc2b
nop
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14006fbff
cmp cx, 0x2f
jne 0x14006fc08
add rax, 2
cmp rax, rsi
jne 0x14006fbf0
cmp rax, rsi
je 0x14006fc2b
nop dword [rax]
lea rdx, [rdi - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14006fc2b
cmp cx, 0x2f
je 0x14006fc2b
mov rdi, rdx
cmp rax, rdx
jne 0x14006fc10
sub rsi, rdi
sar rsi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.14000fac0
or ebx, 0x380
or ebx, 8
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x38]
call fcn.140058e90
or ebx, 0x10
mov dword [rsp + 0x30], ebx
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14006fc85
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
mov rcx, rax
call fcn.140016860
cmp rax, 0xffffffffffffffff
je 0x14006fca8
mov dil, 1
jmp 0x14006fcab
xor dil, dil
test bl, 0x10
je 0x14006fd06
and ebx, 0xffffffef
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14006fcf2
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fced
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ff0b
call fcn.1400e4a04
xor esi, esi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], sil
jmp 0x14006fd08
xor esi, esi
test bl, 8
je 0x14006fd69
and ebx, 0xfffffff7
mov dword [rsp + 0x30], ebx
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14006fd56
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fd51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ff12
call fcn.1400e4a04
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], si
test bl, 4
je 0x14006fdc5
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x14006fdb5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fdb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ff19
call fcn.1400e4a04
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], 7
mov word [rbp - 0x20], si
test bl, 2
je 0x14006fe11
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14006fe11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006fe0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006ff20
call fcn.1400e4a04
test dil, dil
je 0x14006fe44
lea r8, [r15 + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x14006fe39
mov rdx, r8
mov rcx, rax
call fcn.14000e840
add qword [r12 + 8], 0x20
jmp 0x14006fe44
mov rdx, rax
mov rcx, r12
call fcn.140072590
lea rcx, [rbp + 0x20]
call fcn.140059770
mov r15, qword [rbp + 0x20]
test r15, r15
jne 0x14006fb09
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14006fe97
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006fe93
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 0x14006fe93
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
mov r14, qword [rbp + 0x18]
test r14, r14
je 0x14006fecd
mov eax, r13d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14006fecd
mov rbx, qword [rbp + 0x18]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x14006fecd
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x14006ff2c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ff27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ff27
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.1400e4a04
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], si
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x14006ff7f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ff7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ff7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e4a04
mov rax, r12
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.1400e4640
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.140003550
nop
call fcn.140002050
nop
lea r8, [rsp + 0x38]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140003550
nop
call fcn.140001fb0
int3