Function at 0x14008c8e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x1401c6780]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r15, rdx
mov qword [rbp + 0x50], rdx
xor r13d, r13d
mov esi, r13d
mov dword [rsp + 0x30], r13d
mov qword [rbp + 0x50], r13
lea r9, [rbp + 0x50]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x140124530]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x14008d089
mov r8d, 0x104
mov rdx, qword [rbp + 0x50]
lea rcx, [rbp + 0x120]
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], r13
mov qword [rbp + 0xd8], r13
lea r8d, [r13 + 0xc]
lea rdx, str.Robloxlogs
lea rcx, [rbp + 0xc0]
call fcn.140003610
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rax, [rbp + 0x120]
mov r12, 0xffffffffffffffff
mov r8, r12
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14008c9c0
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x60]
call fcn.140003610
nop
lea rdx, [rbp + 0xc0]
cmp qword [rbp + 0xd8], 0xf
cmova rdx, qword [rbp + 0xc0]
mov r8, qword [rbp + 0xd0]
lea rcx, [rsp + 0x60]
call fcn.140002e80
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or esi, 0x20
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14008ca74
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ca6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008ca6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3d24
movdqa xmm0, xmmword [0x1401ae5a0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rdi, qword [rbp + 0x68]
lea rbx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova rbx, qword [rbp + 0x58]
call fcn.1400f3308
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rdi
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140061e00
or esi, 0xc0
or esi, 2
mov dword [rsp + 0x30], esi
lea rdx, [rbp - 0x60]
lea rcx, [rbp]
call fcn.14008c610
movsd xmm0, qword [rax]
movsd qword [rsp + 0x20], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x30], ecx
lea rax, [0x1401c6818]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0xe0], xmm0
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x14008cb7a
cmp eax, 1
je 0x14008cb82
mov rdi, qword [rbp + 0x68]
lea rbx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova rbx, qword [rbp + 0x58]
call fcn.1400f3308
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140061e00
or esi, 0x3000
or esi, 4
mov dword [rsp + 0x30], esi
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x10]
call fcn.14008c610
movsd xmm0, qword [rax]
movsd qword [rsp + 0x20], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x20]
test edx, edx
je 0x14008cb71
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x14008d106
cmp ecx, 3
jne 0x14008cb82
xor bl, bl
jmp 0x14008cb84
test ecx, ecx
jne 0x14008d117
mov bl, 1
test sil, 4
je 0x14008cbe6
and esi, 0xfffffffb
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14008cbd4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008cbcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008cbcf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3d24
movdqa xmm0, xmmword [0x1401ae590]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r13w
test sil, 2
je 0x14008cc41
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14008cc2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008cc2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008cc2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3d24
movdqa xmm0, xmmword [0x1401ae590]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r13w
test bl, bl
je 0x14008cd17
lea rdx, str.Invalid_Folder_Path_n
mov rcx, qword [0x140218d40]
call fcn.1400554c0
call fcn.1400f3308
lea rcx, [0x14012482f]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r13
lea r8, [rsp + 0x40]
mov edx, eax
mov rcx, r15
call fcn.140061e00
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x14008ccbd
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008ccb8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008d026
call fcn.1400f3d24
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x14008d0c1
inc rdx
mov rcx, qword [rbp + 0xc0]
mov r8, rcx
cmp rdx, 0x1000
jb 0x14008cd0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x14008d082
call fcn.1400f3d24
jmp 0x14008d0c1
mov rbx, r13
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r13
mov qword [rbp + 0xb8], 7
mov word [rbp + 0xa0], r13w
mov rsi, qword [rbp + 0x68]
lea rdi, [rbp + 0x58]
cmp qword [rbp + 0x70], 0xf
cmova rdi, qword [rbp + 0x58]
call fcn.1400f3308
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rsi
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.140061e00
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x80]
call fcn.140063530
nop
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x14008cdc4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008cdbf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008cdbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3d24
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov rdi, qword [rbp + 0x88]
test rdi, rdi
je 0x14008cde5
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x88]
movaps xmm0, xmmword [rbp + 0x80]
movdqa xmmword [rbp + 0x90], xmm0
test rdi, rdi
je 0x14008ce04
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x88]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf0], xmm1
test rdi, rdi
je 0x14008ce46
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14008ce3f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14008ce3f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbp + 0x88]
mov rax, qword [rbp + 0x90]
test rax, rax
je 0x14008cf65
nop word [rax + rax]
lea r14, [rax + 0x20]
mov rdx, r14
lea rcx, [rbp + 0x20]
call fcn.14008c610
movsd xmm0, qword [rax]
movsd qword [rsp + 0x20], xmm0
mov edx, dword [rax + 8]
mov ecx, dword [rsp + 0x20]
test edx, edx
je 0x14008ce93
lea eax, [rcx - 1]
test eax, 0xfffffff7
jne 0x14008d12f
cmp ecx, 2
jne 0x14008cf42
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14008cea9
mov rcx, qword [r14]
mov r9d, 0xffffffff
mov r8d, reloc.WLDAP32.dll_Ordinal_33
lea rdx, [rbp + 0x100]
call fcn.1400f364c
test eax, eax
jne 0x14008d0f4
mov rax, qword [rbp + 0x100]
cmp rax, rbx
je 0x14008cf42
jl 0x14008cf42
mov rbx, rax
lea rax, [rbp + 0xa0]
cmp rax, r14
je 0x14008cf42
mov rdx, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 7
jbe 0x14008cef4
mov r14, qword [r14]
mov rax, qword [rbp + 0xb8]
cmp rdx, rax
ja 0x14008cf33
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
mov word [rsi + rdi], r13w
jmp 0x14008cf42
mov r9, r14
lea rcx, [rbp + 0xa0]
call fcn.140067d20
lea rcx, [rbp + 0x90]
call fcn.140063690
mov rax, qword [rbp + 0x90]
test rax, rax
jne 0x14008ce60
mov rdi, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x14008cfae
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008cfa7
mov rbx, qword [rbp + 0x98]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14008cfa7
mov rcx, qword [rbp + 0x98]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbp + 0x88]
test rdi, rdi
je 0x14008cfdd
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14008cfdd
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r12d
cmp r12d, 1
jne 0x14008cfdd
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
movups xmm0, xmmword [rbp + 0xa0]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp + 0xb0]
movups xmmword [r15 + 0x10], xmm1
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x14008d032
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008d02d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008d02d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f3d24
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0x58], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0xf
jbe 0x14008d0c1
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008cd0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008cd0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.Failed_To_Get_AppData_Path_n
mov rcx, qword [0x140218d40]
call fcn.1400554c0
call fcn.1400f3308
lea rcx, [0x14012482f]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], r13
lea r8, [rsp + 0x50]
mov edx, eax
mov rcx, r15
call fcn.140061e00
mov rax, r15
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400f3cc0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r8, r14
mov edx, eax
lea rcx, str.last_write_time
call fcn.140062ee0
nop
lea r8, [rbp - 0x80]
lea rcx, str.status
call fcn.140062ee0
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0xe0]
lea rcx, str.exists
call fcn.140089930
nop
mov r8, r14
lea rcx, str.status
call fcn.140062ee0
int3