Function at 0x140004170
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 [0x140010040]
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, [0x14000b640]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x140004ae8
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.140007cd0
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 0x140004250
lea rdx, [rbp + 0x5f0]
lea rcx, [rsp + 0x50]
call fcn.140007cd0
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.140007240
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 0x14000430a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004305
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004305
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400095c0
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.140008f10
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp - 0x20], xmm0
lea r8, [rbp - 0x20]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140002ac0
nop
mov ebx, 0x3a
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x60]
lea rcx, [rbp]
call fcn.140004090
movsd xmm0, qword [rax]
movsd qword [rsp + 0x20], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x40], ecx
lea rax, [0x1400100c8]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xe0], xmm0
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x140004438
cmp eax, 1
setne al
test al, al
je 0x140004440
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.140008f10
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp - 0x10], xmm0
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140002ac0
nop
mov ebx, 0x603e
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.140004090
movsd xmm0, qword [rax]
movsd qword [rsp + 0x20], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x20]
test edx, edx
je 0x14000442e
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x140004b62
cmp ecx, 3
jne 0x140004440
xor dil, dil
jmp 0x140004443
test ecx, ecx
jne 0x140004b74
mov dil, 1
test bl, 4
je 0x1400044a5
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140004493
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000448e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000448e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400095c0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
test bl, 2
je 0x1400044ed
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x1400044ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400044e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400095c0
test dil, dil
je 0x1400045d5
lea rcx, str.Invalid_folder_path.
call fcn.1400011a0
lea rax, [0x14000b9e9]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r14
call fcn.140008f10
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0xe0], xmm0
lea r8, [rbp + 0xe0]
mov edx, eax
mov rcx, r13
call fcn.140002ac0
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0xf
jbe 0x140004575
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004570
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004a7f
call fcn.1400095c0
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x140004b22
inc rdx
mov rcx, qword [rbp + 0xc0]
mov r8, rcx
cmp rdx, 0x1000
jb 0x1400045cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x140004ae1
call fcn.1400095c0
jmp 0x140004b22
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.140008f10
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140002ac0
nop
xorps xmm6, xmm6
movdqa xmmword [rbp + 0x90], xmm6
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x120]
call fcn.140003bf0
nop
cmp byte [rbp + 0x398], 0
je 0x1400046be
mov ecx, 0x58
call fcn.1400096ac
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.140003ef0
nop
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0x98], rsi
movdqa xmm6, xmmword [rbp + 0x90]
jmp 0x1400046cb
xorps xmm0, xmm0
psrldq xmm0, 8
movq rsi, xmm0
mov edi, dword [rbp + 0x39c]
mov rcx, qword [rbp + 0x140]
call fcn.14000906c
mov rdx, qword [rbp + 0x138]
cmp rdx, 7
jbe 0x140004726
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004721
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004721
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400095c0
mov qword [rbp + 0x130], r14
mov qword [rbp + 0x138], 7
mov word [rbp + 0x120], r14w
test edi, edi
jne 0x140004b85
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x14000478b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004786
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004786
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400095c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
test rsi, rsi
je 0x1400047aa
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x98]
movdqa xmm6, xmmword [rbp + 0x90]
movdqa xmmword [rbp + 0x60], xmm6
test rsi, rsi
je 0x1400047bf
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x98]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
test rsi, rsi
je 0x140004806
mov eax, r12d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140004806
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 0x140004806
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 0x1400049b7
lea r14, [r15 + 0x20]
mov rdx, r14
lea rcx, [rbp + 0x20]
call fcn.140004090
movsd xmm0, qword [rax]
movsd qword [rsp + 0x20], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x20]
test edx, edx
je 0x140004850
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x140004b98
cmp ecx, 2
jne 0x140004902
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140004866
mov rcx, qword [r14]
mov r9d, 0xffffffff
mov r8d, 0x21
lea rdx, [rbp + 0x100]
call fcn.140009100
test eax, eax
jne 0x140004ba8
mov rax, qword [rbp + 0x100]
cmp rax, rbx
je 0x140004902
jl 0x140004902
mov rbx, rax
lea rax, [rbp + 0xa0]
cmp rax, r14
je 0x140004902
mov rdx, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 7
jbe 0x1400048b1
mov r14, qword [r14]
mov rax, qword [rbp + 0xb8]
cmp rdx, rax
ja 0x1400048f3
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 0x140004910
mov r9, r14
lea rcx, [rbp + 0xa0]
call fcn.140007980
xor r14d, r14d
nop word [rax + rax]
lea rdx, [rbp + 0x3a0]
mov rcx, qword [r15 + 0x40]
call fcn.14000904c
cmp eax, 0x12
je 0x140004967
test eax, eax
jne 0x140004b5a
cmp word [rbp + 0x3cc], 0x2e
jne 0x140004953
movzx eax, word [rbp + 0x3ce]
test ax, ax
je 0x140004910
cmp ax, 0x2e
jne 0x140004953
cmp word [rbp + 0x3d0], 0
je 0x140004910
lea rdx, [rbp + 0x3a0]
mov rcx, r15
call fcn.140003d80
jmp 0x140004814
mov r15, r14
mov qword [rbp + 0x60], r14
mov rdi, qword [rbp + 0x68]
mov qword [rbp + 0x68], r14
test rdi, rdi
je 0x140004814
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140004810
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140004810
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
jmp 0x140004810
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x1400049f1
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400049f1
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 0x1400049f1
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x140004a32
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140004a32
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 0x140004a32
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 0x140004a8b
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400095c0
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x140004b22
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400045cb
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.
call fcn.1400011a0
lea rax, [0x14000b9e9]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r14
call fcn.140008f10
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x70], xmm0
lea r8, [rbp - 0x70]
mov edx, eax
mov rcx, r13
call fcn.140002ac0
mov rax, r13
mov rcx, qword [rbp + 0x700]
xor rcx, rsp
call fcn.1400095a0
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.140003a30
nop
lea r8, [rsp + 0x70]
lea rcx, str.status
call fcn.140003b20
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0xe0]
call fcn.140003b90
nop
lea r8, [rbp - 0x40]
mov edx, edi
lea rcx, str.directory_iterator::directory_iterator
call fcn.140003b20
nop
mov r8, r14
lea rcx, str.status
call fcn.140003b20
int3
mov r8, r14
mov edx, eax
lea rcx, str.last_write_time
call fcn.140003b20
int3