Function at 0x140019b50
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 [0x140075040]
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 0x140019bfc
lea rax, [rbp + 0xa0]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r13w
jne 0x140019be9
lea rdx, [rbp + 0xa0]
jmp 0x140019c06
xor r8d, r8d
lea rdx, [0x140069a6c]
lea rcx, [rbp - 0x68]
call fcn.140005624
mov dword [rsp + 0x30], 0x1001
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rbx, qword [rbp - 0x58]
sub rax, rbx
cmp rax, 0xc
jb 0x14001a50a
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 0x140019c9e
mov rax, rsi
or rax, 7
cmp rax, rcx
ja 0x140019c83
mov rcx, rax
cmp rax, r15
cmovb rcx, r15
mov qword [rsp + 0x38], rcx
lea rdx, [rsp + 0x38]
call fcn.14000635c
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 [0x140069a60]
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.140005624
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.140019614
nop
cmp byte [rbp + 0x318], r13b
je 0x140019d94
mov ecx, 0x58
call fcn.140058570
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.140019990
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 0x140019da1
xorps xmm0, xmm0
psrldq xmm0, 8
movq rsi, xmm0
mov ebx, dword [rbp + 0x31c]
mov rcx, qword [rbp + 0xc0]
call fcn.140059850
lea rcx, [rbp + 0xa0]
call fcn.1400045f0
test ebx, ebx
jne 0x14001a510
lea rcx, [rbp - 0x20]
call fcn.1400045f0
test rsi, rsi
je 0x140019de8
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 0x140019e00
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 0x140019e43
or eax, 0xffffffff
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140019e3f
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 0x140019e3f
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 0x14001a43d
mov dword [rsp + 0x48], r13d
mov ecx, dword [rsi + 0x1c]
mov eax, ecx
and eax, 3
cmp al, 3
jne 0x140019ea8
mov ecx, dword [rsi + 0x10]
mov eax, ecx
shr eax, 0xa
test al, 1
je 0x140019e9a
cmp dword [rsi + 0x14], 0xa000000c
jne 0x140019e8c
mov ecx, 4
mov dword [rsp + 0x48], ecx
jmp 0x140019f07
cmp dword [rsi + 0x14], 0xa0000003
jne 0x140019e9a
mov ecx, r15d
jmp 0x140019e86
shr ecx, 4
movzx ecx, cl
and ecx, 1
or ecx, 2
jmp 0x140019e86
shr ecx, 1
test cl, 1
je 0x140019eb5
mov r9d, dword [rsi + 0x10]
jmp 0x140019eb9
or r9d, 0xffffffff
lea rbx, [rsi + 0x20]
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140019eca
mov rcx, qword [rbx]
mov r8d, 3
lea rdx, [rbp - 0x40]
call fcn.140059914
mov dword [rsp + 0x50], eax
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.140002834
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x48]
test edx, edx
je 0x140019f07
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x14001a523
cmp ecx, 2
jne 0x14001a285
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.140006524
or edi, 0x20
or edi, 2
mov dword [rsp + 0x30], edi
lea r14, [rsi + 0x20]
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140019f54
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.1400191a4
jmp 0x140019f7d
cmp word [rax], 0x5c
je 0x140019f79
cmp word [rax], 0x2f
jne 0x140019f82
add rax, 2
cmp rax, rdx
jne 0x140019f6d
cmp rax, rdx
je 0x140019f9f
lea rcx, [rbx - 2]
cmp word [rcx], 0x5c
je 0x140019f9f
cmp word [rcx], 0x2f
je 0x140019f9f
mov rbx, rcx
cmp rax, rcx
jne 0x140019f87
mov r8d, 0x3a
mov rcx, rbx
call fcn.14005a0c0
cmp rbx, rax
je 0x140019fe1
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x140019fe1
cmp word [rdx], 0x2e
jne 0x140019fd8
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x140019fe4
cmp word [rcx], 0x2e
jne 0x140019fe4
jmp 0x140019fe1
cmp word [rdx], 0x2e
je 0x140019fe4
sub rdx, 2
cmp rbx, rdx
jne 0x140019fd2
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.140005624
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.1400191a4
mov qword [rsp + 0x40], rax
lea r11, [rbx + r11*2]
mov rdx, r11
mov rcx, rbx
call fcn.1400191a4
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 0x14001a0a9
sub r13, rbx
movzx eax, word [rbx + r13]
cmp ax, word [rbx]
jne 0x14001a282
add rbx, 2
sub rcx, 1
jne 0x14001a08c
mov rax, qword [rsp + 0x40]
cmp r8, rdx
jb 0x14001a282
ja 0x14001a282
mov rdx, rax
mov bx, 0x5c
cmp rax, r15
je 0x14001a0d8
cmp word [rdx], bx
je 0x14001a0cf
cmp word [rdx], 0x2f
jne 0x14001a0d8
add rdx, 2
cmp rdx, r15
jne 0x14001a0c4
mov r8, r9
cmp r9, r11
je 0x14001a0f6
cmp word [r8], bx
je 0x14001a0ed
cmp word [r8], 0x2f
jne 0x14001a0f6
add r8, 2
cmp r8, r11
jne 0x14001a0e0
xor r13d, r13d
mov ecx, r13d
cmp rax, rdx
setne cl
mov eax, r13d
cmp r9, r8
setne al
cmp ecx, eax
jne 0x14001a285
jmp 0x14001a169
test ecx, ecx
jne 0x14001a285
cmp word [rdx], bx
je 0x14001a12b
cmp word [rdx], 0x2f
mov r9b, r13b
jne 0x14001a12e
mov r9b, 1
cmp word [r8], bx
je 0x14001a13e
cmp word [r8], 0x2f
mov ecx, r13d
jne 0x14001a143
mov ecx, 1
movzx eax, r9b
cmp ecx, eax
jne 0x14001a285
test r9b, r9b
jne 0x14001a1b7
movzx eax, word [r8]
cmp word [rdx], ax
jne 0x14001a285
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 0x14001a115
test ecx, ecx
jne 0x14001a285
cmp qword [r14 + 0x18], 7
jbe 0x14001a194
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.1400191a4
jmp 0x14001a1e9
cmp word [rdx], bx
je 0x14001a1b7
cmp word [rdx], 0x2f
jne 0x14001a1cf
add rdx, 2
cmp rdx, r15
jne 0x14001a1ac
jmp 0x14001a1cf
cmp word [r8], bx
je 0x14001a1cf
cmp word [r8], 0x2f
jne 0x14001a169
add r8, 2
cmp r8, r11
jne 0x14001a1c2
jmp 0x14001a169
cmp word [rax], bx
je 0x14001a1e5
cmp word [rax], 0x2f
jne 0x14001a1ee
add rax, 2
cmp rax, rdx
jne 0x14001a1da
cmp rax, rdx
je 0x14001a20a
lea rcx, [r11 - 2]
cmp word [rcx], bx
je 0x14001a20a
cmp word [rcx], 0x2f
je 0x14001a20a
mov r11, rcx
cmp rax, rcx
jne 0x14001a1f3
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.140005624
or edi, 0xe00
or edi, 8
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x40]
call fcn.14000aeb4
or edi, 0x10
mov dword [rsp + 0x30], edi
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14001a260
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
mov rcx, rax
call fcn.140008d54
cmp rax, 0xffffffffffffffff
je 0x14001a285
mov bl, 1
jmp 0x14001a288
xor r13d, r13d
mov bl, r13b
test dil, 0x10
je 0x14001a2ef
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x14001a2d6
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a2d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001a436
call fcn.140058880
mov qword [rbp + 0x90], r13
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], r13b
test dil, 8
je 0x14001a306
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x40]
call fcn.1400045f0
nop
test dil, 4
je 0x14001a31d
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x20]
call fcn.1400045f0
nop
test dil, 2
je 0x14001a333
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x60]
call fcn.1400045f0
test bl, bl
je 0x14001a365
lea r8, [rsi + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x14001a35a
mov rdx, r8
mov rcx, rax
call fcn.140004654
add qword [r12 + 8], 0x20
jmp 0x14001a365
mov rdx, rax
mov rcx, r12
call fcn.14001aee8
lea rdx, [rbp + 0xa0]
mov rcx, qword [rsi + 0x40]
call fcn.140059830
cmp eax, 0x12
je 0x14001a3b9
test eax, eax
jne 0x14001a502
cmp word [rbp + 0xcc], 0x2e
jne 0x14001a3a8
movzx eax, word [rbp + 0xce]
test ax, ax
je 0x14001a365
cmp ax, 0x2e
jne 0x14001a3a8
cmp word [rbp + 0xd0], r13w
je 0x14001a365
lea rdx, [rbp + 0xa0]
mov rcx, rsi
call fcn.140019810
jmp 0x14001a422
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 0x14001a422
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14001a40f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001a40f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x38], rcx
jmp 0x14001a419
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 0x14001a502
lea r15d, [r13 + 0xa]
jmp 0x140019e52
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 0x14001a47a
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001a47a
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 0x14001a47a
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001a4b7
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001a4b7
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 0x14001a4b7
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
lea rcx, [rbp]
call fcn.1400045f0
nop
lea rcx, [rbp - 0x68]
call fcn.1400045f0
mov rax, r12
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.140058550
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.1400195b8
nop
call fcn.140001a40
nop
lea r8, [rbp - 0x20]
mov edx, ebx
lea rcx, str.directory_iterator::directory_iterator
call fcn.140002780
nop
mov r8, rbx
lea rcx, str.directory_entry::status
call fcn.140002780
int3