Function at 0x14002b6e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rsi, 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 + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 0x28]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r12, [r13 - 1]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x80], xmm0
movdqu xmmword [rbp - 0x70], xmm1
test eax, eax
je 0x14002b760
xor r8d, r8d
lea rdx, [0x1400f0c68]
jmp 0x14002b77f
lea rax, [rbp + 0x60]
mov r8, r12
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002b770
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140004190
mov ebx, reloc.WLDAP32.dll_Ordinal_33
mov dword [rsp + 0x30], ebx
lea r8d, [rbx - 7]
lea rdx, str.AppDataLocalRobloxlogs
lea rcx, [rbp - 0x80]
call fcn.14002be30
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
or ebx, 0x40
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14002b81d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b818
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002b818
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfda8
movdqa xmm0, xmmword [0x1400f2980]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r13w
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rdx, qword [rbp - 0x60]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
mov r8, qword [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140004190
or ebx, 0x180
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.14002b4b0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14002b8b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b8b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002b8b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cfda8
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x14002b8cc
lock inc dword [rdi + 8]
mov rdi, qword [rsp + 0x48]
mov ebx, dword [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
test rdi, rdi
je 0x14002b8e9
lock inc dword [rdi + 8]
mov rdi, qword [rsp + 0x48]
mov ebx, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
test rdi, rdi
je 0x14002b92a
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14002b921
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14002b921
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov ebx, dword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
test r14, r14
je 0x14002baf3
nop dword [rax + rax]
lea rdx, [rbp - 0x40]
mov rcx, r14
call fcn.14002ae40
mov rax, qword [rbp - 0x40]
mov edx, dword [rbp - 0x38]
test edx, edx
je 0x14002b966
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14002bbd3
cmp eax, 2
jne 0x14002b9f3
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
lea r8d, [rax + 2]
lea rdx, str..log
lea rcx, [rsp + 0x60]
call fcn.140004190
or ebx, 0x18
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rcx, [r14 + 0x20]
lea rdx, [rbp]
call fcn.14002abc0
or ebx, 4
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
cmp rdi, 7
cmova rcx, qword [rsp + 0x60]
mov qword [rbp - 0x10], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rbp - 8], rcx
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0x30], xmm0
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.14002a9c0
test eax, eax
jne 0x14002b9f8
mov r15b, 1
jmp 0x14002b9fb
mov rdi, qword [rsp + 0x78]
xor r15b, r15b
test bl, 4
je 0x14002ba5d
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x14002ba4c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ba42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bba2
call fcn.1400cfda8
mov rdi, qword [rsp + 0x78]
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], 7
mov word [rbp], r13w
test bl, 2
je 0x14002baa6
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
cmp rdi, 7
jbe 0x14002baa6
lea rdx, [rdi*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002baa1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002bba9
call fcn.1400cfda8
test r15b, r15b
je 0x14002bad6
lea r8, [r14 + 0x20]
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x14002bacb
mov rdx, r8
mov rcx, rax
call fcn.140003b00
add qword [rsi + 8], 0x20
jmp 0x14002bad6
mov rdx, rax
mov rcx, rsi
call fcn.14002c750
lea rcx, [rsp + 0x50]
call fcn.14002b600
mov r14, qword [rsp + 0x50]
test r14, r14
jne 0x14002b940
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002bb34
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002bb2f
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002bb2f
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x14002bb64
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14002bb64
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r12d
cmp r12d, 1
jne 0x14002bb64
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14002bbb5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002bbb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002bbb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400cfda8
mov rax, rsi
mov rbx, qword [rsp + 0x3c0]
add rsp, 0x370
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [r14 + 0x20]
lea rcx, str.directory_entry::status
call fcn.140003200
int3