Function at 0x1400187b0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x748]
sub rsp, 0x820
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rbp + 0x700], rax
mov r13, rdx
mov qword [rbp + 0x50], rdx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov qword [rbp + 0x50], r14
lea r9, [rbp + 0x50]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x14001e880]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x140019128
mov r8d, 0x104
mov rdx, qword [rbp + 0x50]
lea rcx, [rbp + 0x5f0]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], r14
lea r8d, [r14 + 0xc]
lea rdx, str.Robloxlogs
lea rcx, [rbp + 0xc0]
call fcn.140001950
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
lea rax, [rbp + 0x5f0]
mov r12, 0xffffffffffffffff
mov r8, r12
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140018890
lea rdx, [rbp + 0x5f0]
lea rcx, [rsp + 0x50]
call fcn.140001950
nop
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rdx, qword [rbp + 0xc0]
mov r8, qword [rbp + 0xd0]
lea rcx, [rsp + 0x50]
call fcn.1400034d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14001894a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018945
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018945
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001b7d4
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
lea rax, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rax, qword [rbp + 0x70]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x68], rax
call fcn.14001aa68
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp - 0x20], xmm0
lea r8, [rbp - 0x20]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140006790
nop
mov ebx, 0x3a
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x60]
lea rcx, [rbp]
call fcn.1400186d0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x20], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x40], ecx
lea rax, [0x14004b0a8]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xe0], xmm0
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x140018a78
cmp eax, 1
setne al
test al, al
je 0x140018a80
lea rax, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rax, qword [rbp + 0x70]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x68], rax
call fcn.14001aa68
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140006790
nop
mov ebx, 0x603e
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.1400186d0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x20], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x20]
test edx, edx
je 0x140018a6e
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x1400191a2
cmp ecx, 3
jne 0x140018a80
xor dil, dil
jmp 0x140018a83
test ecx, ecx
jne 0x1400191b4
mov dil, 1
test bl, 4
je 0x140018ae5
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140018ad3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018ace
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018ace
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001b7d4
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
test bl, 2
je 0x140018b2d
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140018b2d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018b28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018b28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001b7d4
test dil, dil
je 0x140018c15
lea rcx, str.Invalid_folder_path._n
call fcn.1400016f0
lea rax, [0x14003bd60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r14
call fcn.14001aa68
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xe0], xmm0
lea r8, [rbp + 0xe0]
mov edx, eax
mov rcx, r13
call fcn.140006790
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140018bb5
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018bb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400190bf
call fcn.14001b7d4
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x140019162
inc rdx
mov rcx, qword [rbp + 0xc0]
mov r8, rcx
cmp rdx, 0x1000
jb 0x140018c0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140019121
call fcn.14001b7d4
jmp 0x140019162
mov rbx, r14
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], 7
mov word [rbp + 0xa0], r14w
lea rax, [rbp + 0x70]
cmp qword [rbp + 0x88], 0xf
cmova rax, qword [rbp + 0x70]
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x68], rax
call fcn.14001aa68
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140006790
nop
xorps xmm6, xmm6
movdqa xmmword [rbp + 0x90], xmm6
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x120]
call fcn.140018210
nop
cmp byte [rbp + 0x398], 0
je 0x140018cfe
mov ecx, 0x58
call fcn.14001b550
mov rsi, rax
mov qword [rsp + 0x20], 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 rdi, [rsi + 0x10]
lea rdx, [rbp + 0x120]
mov rcx, rdi
call fcn.140018530
nop
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0x98], rsi
movdqa xmm6, xmmword [rbp + 0x90]
jmp 0x140018d0b
xorps xmm0, xmm0
psrldq xmm0, 8
movq rsi, xmm0
mov edi, dword [rbp + 0x39c]
mov rcx, qword [rbp + 0x140]
call fcn.14001ace8
mov rdx, qword [rbp + 0x138]
cmp rdx, 7
jbe 0x140018d66
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018d61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018d61
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001b7d4
mov qword [rbp + 0x130], r14
mov qword [rbp + 0x138], 7
mov word [rbp + 0x120], r14w
test edi, edi
jne 0x1400191cc
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140018dcb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018dc6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018dc6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001b7d4
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
test rsi, rsi
je 0x140018dea
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x98]
movdqa xmm6, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x60], xmm6
test rsi, rsi
je 0x140018dff
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x98]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
test rsi, rsi
je 0x140018e46
mov eax, r12d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140018e46
mov rdi, qword [rbp + 0x98]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140018e46
mov rcx, qword [rbp + 0x98]
mov rax, qword [rcx]
call qword [rax + 8]
nop
nop word [rax + rax]
mov r15, qword [rbp + 0x60]
test r15, r15
je 0x140018ff7
lea r14, [r15 + 0x20]
mov rdx, r14
lea rcx, [rbp + 0x20]
call fcn.1400186d0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x20], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x20]
test edx, edx
je 0x140018e90
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x1400191df
cmp ecx, 2
jne 0x140018f42
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140018ea6
mov rcx, qword [r14]
mov r9d, 0xffffffff
mov r8d, 0x21
lea rdx, [rbp + 0x100]
call fcn.14001adac
test eax, eax
jne 0x1400191ef
mov rax, qword [rbp + 0x100]
cmp rax, rbx
je 0x140018f42
jl 0x140018f42
mov rbx, rax
lea rax, [rbp + 0xa0]
cmp rax, r14
je 0x140018f42
mov rdx, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 7
jbe 0x140018ef1
mov r14, qword [r14]
mov rax, qword [rbp + 0xb8]
cmp rdx, rax
ja 0x140018f33
lea rsi, [rbp + 0xa0]
cmp rax, 7
cmova rsi, qword [rbp + 0xa0]
mov qword [rbp + 0xb0], rdx
lea rdi, [rdx + rdx]
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
xor r14d, r14d
mov word [rdi + rsi], r14w
jmp 0x140018f50
mov r9, r14
lea rcx, [rbp + 0xa0]
call fcn.1400193c0
xor r14d, r14d
nop word [rax + rax]
lea rdx, [rbp + 0x3a0]
mov rcx, qword [r15 + 0x40]
call fcn.14001acc8
cmp eax, 0x12
je 0x140018fa7
test eax, eax
jne 0x14001919a
cmp word [rbp + 0x3cc], 0x2e
jne 0x140018f93
movzx eax, word [rbp + 0x3ce]
test ax, ax
je 0x140018f50
cmp ax, 0x2e
jne 0x140018f93
cmp word [rbp + 0x3d0], 0
je 0x140018f50
lea rdx, [rbp + 0x3a0]
mov rcx, r15
call fcn.1400183b0
jmp 0x140018e54
mov r15, r14
mov qword [rbp + 0x60], r14
mov rdi, qword [rbp + 0x68]
mov qword [rbp + 0x68], r14
test rdi, rdi
je 0x140018e54
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140018e50
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140018e50
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
jmp 0x140018e50
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x140019031
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140019031
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140019031
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x140019072
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140019072
mov rbx, qword [rbp + 0x98]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x140019072
mov rcx, qword [rbp + 0x98]
mov rax, qword [rcx]
call qword [rax + 8]
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rbp + 0xb0]
movups xmmword [r13 + 0x10], xmm1
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x1400190cb
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400190c6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400190c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001b7d4
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x140019162
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018c0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140018c0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rcx, str.Failed_to_get_AppData_path._n
call fcn.1400016f0
lea rax, [0x14003bd60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r14
call fcn.14001aa68
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
mov rcx, r13
call fcn.140006790
mov rax, r13
mov rcx, qword [rbp + 0x700]
xor rcx, rsp
call fcn.14001b530
lea r11, [rsp + 0x820]
mov rbx, qword [r11 + 0x30]
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.1400181b0
nop
lea r8, [rsp + 0x70]
lea rcx, str.status
call fcn.140007190
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0xe0]
lea rcx, str.exists
call fcn.140007200
nop
lea r8, [rbp - 0x40]
mov edx, edi
lea rcx, str.directory_iterator::directory_iterator
call fcn.140007190
nop
mov r8, r14
lea rcx, str.status
call fcn.140007190
int3
mov r8, r14
mov edx, eax
lea rcx, str.last_write_time
call fcn.140007190
int3