Function at 0x14000c51c
Capabilities:
Get common file path

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 - 0x368]
sub rsp, 0x440
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14001d040]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov r12, rcx
mov qword [rbp - 0x70], rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rsp + 0x30], 1
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
movups xmmword [rbp - 0x68], xmm0
test eax, eax
js 0x14000c5c8
lea rax, [rbp + 0xa0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r13w
jne 0x14000c5b5
lea rdx, [rbp + 0xa0]
jmp 0x14000c5d2
xor r8d, r8d
lea rdx, [0x140017ad8]
lea rcx, [rbp - 0x68]
call fcn.14000b2dc
mov dword [rsp + 0x30], 0x1001
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rbx, qword [rbp - 0x58]
sub rax, rbx
cmp rax, 0xc
jb 0x14000ced6
lea r14, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova r14, qword [rbp - 0x68]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r13
lea rsi, [rbx + 0xc]
mov eax, 7
mov qword [rsp + 0x38], rax
lea rdi, [rbp]
lea r15d, [rax + 3]
cmp rsi, rax
jbe 0x14000c66a
mov rax, rsi
or rax, 7
cmp rax, rcx
ja 0x14000c64f
mov rcx, rax
cmp rax, r15
cmovb rcx, r15
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x38]
call fcn.1400044e8
mov rdi, rax
mov qword [rbp], rax
mov rax, qword [rsp + 0x38]
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rax
add rbx, rbx
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.Robloxlogs]
movups xmmword [rdi + rbx], xmm0
movsd xmm0, qword [0x140017af0]
movsd qword [rdi + rbx + 0x10], xmm0
mov word [rdi + rsi*2], r13w
mov dword [rsp + 0x30], 0x3001
lea rdx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rdx, qword [rbp]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r13
mov r8, qword [rbp + 0x10]
lea rcx, [rbp - 0x20]
call fcn.14000b2dc
mov edi, 0xf001
mov dword [rsp + 0x30], edi
xorps xmm6, xmm6
movdqa xmmword [rsp + 0x60], xmm6
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xa0]
call fcn.14000bfe0
nop
cmp byte [rbp + 0x318], r13b
je 0x14000c760
mov ecx, 0x58
call fcn.14000e540
mov rsi, rax
mov qword [rbp - 0x40], 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 + 0xa0]
mov rcx, rbx
call fcn.14000c35c
nop
mov edi, 0x1f001
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
movdqa xmm6, xmmword [rsp + 0x60]
jmp 0x14000c76d
xorps xmm0, xmm0
psrldq xmm0, 8
movq rsi, xmm0
mov ebx, dword [rbp + 0x31c]
mov rcx, qword [rbp + 0xc0]
call fcn.14000f740
lea rcx, [rbp + 0xa0]
call fcn.1400031e8
test ebx, ebx
jne 0x14000cedc
lea rcx, [rbp - 0x20]
call fcn.1400031e8
test rsi, rsi
je 0x14000c7b4
lock inc dword [rsi + 8]
mov rsi, qword [rsp + 0x68]
movdqa xmm6, xmmword [rsp + 0x60]
mov edi, dword [rsp + 0x30]
movdqa xmmword [rsp + 0x70], xmm6
test rsi, rsi
je 0x14000c7cc
lock inc dword [rsi + 8]
mov rsi, qword [rsp + 0x68]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
test rsi, rsi
je 0x14000c80f
or eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14000c80b
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000c80b
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x14000ce09
mov dword [rsp + 0x48], r13d
mov ecx, dword [rsi + 0x1c]
mov eax, ecx
and eax, 3
cmp al, 3
jne 0x14000c874
mov ecx, dword [rsi + 0x10]
mov eax, ecx
shr eax, 0xa
test al, 1
je 0x14000c866
cmp dword [rsi + 0x14], 0xa000000c
jne 0x14000c858
mov ecx, 4
mov dword [rsp + 0x48], ecx
jmp 0x14000c8d3
cmp dword [rsi + 0x14], 0xa0000003
jne 0x14000c866
mov ecx, r15d
jmp 0x14000c852
shr ecx, 4
movzx ecx, cl
and ecx, 1
or ecx, 2
jmp 0x14000c852
shr ecx, 1
test cl, 1
je 0x14000c881
mov r9d, dword [rsi + 0x10]
jmp 0x14000c885
or r9d, 0xffffffff
lea rbx, [rsi + 0x20]
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14000c896
mov rcx, qword [rbx]
mov r8d, 3
lea rdx, [rbp - 0x40]
call fcn.14000f804
mov dword [rsp + 0x50], eax
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.1400023e4
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x48]
test edx, edx
je 0x14000c8d3
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x14000ceef
cmp ecx, 2
jne 0x14000cc51
lea rax, str..log
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], 4
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x40], xmm0
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x60]
call fcn.140004630
or edi, 0x20
or edi, 2
mov dword [rsp + 0x30], edi
lea r14, [rsi + 0x20]
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14000c920
mov rcx, qword [r14]
lea rax, [r14 + 0x10]
mov qword [rbp - 0x40], rax
mov rax, qword [rax]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.14000bb10
jmp 0x14000c949
cmp word [rax], 0x5c
je 0x14000c945
cmp word [rax], 0x2f
jne 0x14000c94e
add rax, 2
cmp rax, rdx
jne 0x14000c939
cmp rax, rdx
je 0x14000c96b
lea rcx, [rbx - 2]
cmp word [rcx], 0x5c
je 0x14000c96b
cmp word [rcx], 0x2f
je 0x14000c96b
mov rbx, rcx
cmp rax, rcx
jne 0x14000c953
mov r8d, 0x3a
mov rcx, rbx
call fcn.14000fdc0
cmp rbx, rax
je 0x14000c9ad
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x14000c9ad
cmp word [rdx], 0x2e
jne 0x14000c9a4
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x14000c9b0
cmp word [rcx], 0x2e
jne 0x14000c9b0
jmp 0x14000c9ad
cmp word [rdx], 0x2e
je 0x14000c9b0
sub rdx, 2
cmp rbx, rdx
jne 0x14000c99e
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], r13
mov r8, rax
lea rcx, [rbp + 0x20]
call fcn.14000b2dc
or edi, 0x1c0
or edi, 4
mov dword [rsp + 0x30], edi
lea rbx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rbx, qword [rbp + 0x60]
mov r11, qword [rbp + 0x70]
lea r13, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova r13, qword [rbp + 0x20]
mov rax, qword [rbp + 0x30]
lea r15, [rax*2]
add r15, r13
mov rdx, r15
mov rcx, r13
call fcn.14000bb10
mov qword [rsp + 0x40], rax
lea r11, [rbx + r11*2]
mov rdx, r11
mov rcx, rbx
call fcn.14000bb10
mov r9, rax
mov rdx, rax
sub rdx, rbx
sar rdx, 1
mov rax, qword [rsp + 0x40]
mov r8, rax
sub r8, r13
sar r8, 1
mov rcx, r8
cmp rdx, r8
cmovb rcx, rdx
test rcx, rcx
je 0x14000ca75
sub r13, rbx
movzx eax, word [rbx + r13]
cmp ax, word [rbx]
jne 0x14000cc4e
add rbx, 2
sub rcx, 1
jne 0x14000ca58
mov rax, qword [rsp + 0x40]
cmp r8, rdx
jb 0x14000cc4e
ja 0x14000cc4e
mov rdx, rax
mov bx, 0x5c
cmp rax, r15
je 0x14000caa4
cmp word [rdx], bx
je 0x14000ca9b
cmp word [rdx], 0x2f
jne 0x14000caa4
add rdx, 2
cmp rdx, r15
jne 0x14000ca90
mov r8, r9
cmp r9, r11
je 0x14000cac2
cmp word [r8], bx
je 0x14000cab9
cmp word [r8], 0x2f
jne 0x14000cac2
add r8, 2
cmp r8, r11
jne 0x14000caac
xor r13d, r13d
mov ecx, r13d
cmp rax, rdx
setne cl
mov eax, r13d
cmp r9, r8
setne al
cmp ecx, eax
jne 0x14000cc51
jmp 0x14000cb35
test ecx, ecx
jne 0x14000cc51
cmp word [rdx], bx
je 0x14000caf7
cmp word [rdx], 0x2f
mov r9b, r13b
jne 0x14000cafa
mov r9b, 1
cmp word [r8], bx
je 0x14000cb0a
cmp word [r8], 0x2f
mov ecx, r13d
jne 0x14000cb0f
mov ecx, 1
movzx eax, r9b
cmp ecx, eax
jne 0x14000cc51
test r9b, r9b
jne 0x14000cb83
movzx eax, word [r8]
cmp word [rdx], ax
jne 0x14000cc51
add rdx, 2
add r8, 2
mov ecx, r13d
cmp r8, r11
sete cl
mov eax, r13d
cmp rdx, r15
sete al
sub ecx, eax
cmp rdx, r15
jne 0x14000cae1
test ecx, ecx
jne 0x14000cc51
cmp qword [r14 + 0x18], 7
jbe 0x14000cb60
mov r14, qword [r14]
mov rax, qword [rbp - 0x40]
mov rax, qword [rax]
lea rdx, [r14 + rax*2]
mov r11, rdx
mov rcx, r14
call fcn.14000bb10
jmp 0x14000cbb5
cmp word [rdx], bx
je 0x14000cb83
cmp word [rdx], 0x2f
jne 0x14000cb9b
add rdx, 2
cmp rdx, r15
jne 0x14000cb78
jmp 0x14000cb9b
cmp word [r8], bx
je 0x14000cb9b
cmp word [r8], 0x2f
jne 0x14000cb35
add r8, 2
cmp r8, r11
jne 0x14000cb8e
jmp 0x14000cb35
cmp word [rax], bx
je 0x14000cbb1
cmp word [rax], 0x2f
jne 0x14000cbba
add rax, 2
cmp rax, rdx
jne 0x14000cba6
cmp rax, rdx
je 0x14000cbd6
lea rcx, [r11 - 2]
cmp word [rcx], bx
je 0x14000cbd6
cmp word [rcx], 0x2f
je 0x14000cbd6
mov r11, rcx
cmp rax, rcx
jne 0x14000cbbf
sub rdx, r11
sar rdx, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], r13
mov r8, rdx
mov rdx, r11
lea rcx, [rbp + 0x40]
call fcn.14000b2dc
or edi, 0xe00
or edi, 8
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x40]
call fcn.1400073a4
or edi, 0x10
mov dword [rsp + 0x30], edi
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000cc2c
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
mov rcx, rax
call fcn.140006cac
cmp rax, 0xffffffffffffffff
je 0x14000cc51
mov bl, 1
jmp 0x14000cc54
xor r13d, r13d
mov bl, r13b
test dil, 0x10
je 0x14000ccbb
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x14000cca2
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cc9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ce02
call fcn.14000e584
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], r13b
test dil, 8
je 0x14000ccd2
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x40]
call fcn.1400031e8
nop
test dil, 4
je 0x14000cce9
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x20]
call fcn.1400031e8
nop
test dil, 2
je 0x14000ccff
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x60]
call fcn.1400031e8
test bl, bl
je 0x14000cd31
lea r8, [rsi + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x14000cd26
mov rdx, r8
mov rcx, rax
call fcn.14000324c
add qword [r12 + 8], 0x20
jmp 0x14000cd31
mov rdx, rax
mov rcx, r12
call fcn.14000d8f8
lea rdx, [rbp + 0xa0]
mov rcx, qword [rsi + 0x40]
call fcn.14000f720
cmp eax, 0x12
je 0x14000cd85
test eax, eax
jne 0x14000cece
cmp word [rbp + 0xcc], 0x2e
jne 0x14000cd74
movzx eax, word [rbp + 0xce]
test ax, ax
je 0x14000cd31
cmp ax, 0x2e
jne 0x14000cd74
cmp word [rbp + 0xd0], r13w
je 0x14000cd31
lea rdx, [rbp + 0xa0]
mov rcx, rsi
call fcn.14000c1dc
jmp 0x14000cdee
mov rsi, r13
mov qword [rsp + 0x70], r13
mov rbx, qword [rsp + 0x38]
mov rcx, r13
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x78], rcx
test rbx, rbx
je 0x14000cdee
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000cddb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000cddb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x38], rcx
jmp 0x14000cde5
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov edi, dword [rsp + 0x30]
mov rsi, qword [rsp + 0x70]
mov eax, r13d
test eax, eax
jne 0x14000cece
lea r15d, [r13 + 0xa]
jmp 0x14000c81e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000ce46
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000ce46
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000ce46
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000ce83
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000ce83
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000ce83
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
lea rcx, [rbp]
call fcn.1400031e8
nop
lea rcx, [rbp - 0x68]
call fcn.1400031e8
mov rax, r12
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.14000e520
lea r11, [rsp + 0x440]
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.14000bf24
nop
call fcn.1400016b0
nop
lea r8, [rbp - 0x20]
mov edx, ebx
lea rcx, str.directory_iterator::directory_iterator
call fcn.14000bf80
nop
mov r8, rbx
lea rcx, str.directory_entry::status
call fcn.14000bf80
int3