Function at 0x14003018c
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 - 0x2e8]
sub rsp, 0x3c0
mov rax, qword [0x140124040]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rsi, rcx
mov qword [rbp - 0x80], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rsp + 0x30], 1
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
or r13, 0xffffffffffffffff
xorps xmm0, xmm0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
movups xmmword [rbp - 0x48], xmm0
test eax, eax
js 0x140030238
lea rax, [rbp + 0xa0]
mov r8, r13
inc r8
cmp word [rax + r8*2], r12w
jne 0x140030225
lea rdx, [rbp + 0xa0]
jmp 0x140030242
xor r8d, r8d
lea rdx, [0x14010e8f8]
lea rcx, [rbp - 0x48]
call fcn.140003eb0
mov dword [rsp + 0x30], 0x201
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rbx, qword [rbp - 0x38]
sub rax, rbx
cmp rax, 0xc
jb 0x1400306f6
lea r15, [rbp - 0x48]
mov edx, 7
cmp qword [rbp - 0x30], rdx
cmova r15, qword [rbp - 0x48]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
lea r14, [rbx + 0xc]
mov eax, edx
mov qword [rsp + 0x58], rdx
lea rdi, [rbp - 0x28]
cmp r14, rdx
jbe 0x1400302db
mov rax, r14
or rax, rdx
cmp rax, rcx
ja 0x1400302c0
mov rcx, rax
mov edx, 0xa
cmp rax, rdx
cmovb rcx, rdx
mov qword [rsp + 0x58], rcx
lea rdx, [rsp + 0x58]
call fcn.1400047a8
mov rdi, rax
mov qword [rbp - 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rax
add rbx, rbx
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.Robloxlogs]
movups xmmword [rbx + rdi], xmm0
movsd xmm0, qword [0x14010e918]
movsd qword [rbx + rdi + 0x10], xmm0
mov word [rdi + r14*2], r12w
mov dword [rsp + 0x30], 0x601
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rdx, qword [rbp - 0x28]
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
mov r8, qword [rbp - 0x18]
lea rcx, [rbp - 8]
call fcn.140003eb0
mov edi, 0x1e01
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x40]
call fcn.14000f0d4
test eax, eax
jne 0x1400306e3
lea rcx, [rbp - 8]
call fcn.140003a6c
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x14003038c
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
mov edi, dword [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
test rbx, rbx
je 0x1400303a9
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
test rbx, rbx
je 0x1400303f6
mov eax, r13d
lock xadd dword [rbx + 8], eax
add eax, r13d
jne 0x1400303ed
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x1400303ed
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x1400303f2
mov rbx, qword [rsp + 0x48]
mov edi, dword [rsp + 0x30]
cmp qword [rsp + 0x40], r12
je 0x14003061d
mov r15, qword [rsp + 0x60]
mov rcx, r15
call fcn.1400300a0
test al, al
je 0x140030536
lea rax, str..log
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 4
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x58]
call fcn.140004880
or edi, 0x20
or edi, 2
mov dword [rsp + 0x30], edi
lea r14, [r15 + 0x20]
lea rdx, [rbp + 0x78]
mov rcx, r14
call fcn.14002fe0c
nop
or edi, 4
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x58]
mov rcx, rax
call fcn.14002fee4
test al, al
je 0x140030536
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14003047c
mov rcx, qword [r14]
mov rax, qword [r14 + 0x10]
lea rdx, [rcx + rax*2]
mov r11, rdx
call fcn.1400089f0
jmp 0x14003049e
cmp word [rax], 0x5c
je 0x14003049a
cmp word [rax], 0x2f
jne 0x1400304a3
add rax, 2
cmp rax, rdx
jne 0x14003048e
cmp rax, rdx
je 0x1400304c0
lea rcx, [r11 - 2]
cmp word [rcx], 0x5c
je 0x1400304c0
cmp word [rcx], 0x2f
je 0x1400304c0
mov r11, rcx
cmp rax, rcx
jne 0x1400304a8
sub rdx, r11
sar rdx, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
mov r8, rdx
mov rdx, r11
lea rcx, [rbp + 0x18]
call fcn.140003eb0
or edi, 0x1c0
or edi, 8
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x18]
call fcn.140008d2c
or edi, 0x10
mov dword [rsp + 0x30], edi
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140030513
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
xor r8d, r8d
mov rcx, rax
call fcn.140006598
cmp rax, r13
mov r14b, 1
jne 0x140030539
mov r14b, r12b
test dil, 0x10
je 0x140030591
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x140030581
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003057c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400306dc
call fcn.1400dc284
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], 0xf
mov byte [rbp + 0x38], r12b
test dil, 8
je 0x1400305a8
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x18]
call fcn.140003a6c
nop
test dil, 4
je 0x1400305bf
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x78]
call fcn.140003a6c
nop
test dil, 2
je 0x1400305d5
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x58]
call fcn.140003a6c
test r14b, r14b
je 0x140030605
lea r8, [r15 + 0x20]
mov rax, qword [rsi + 8]
cmp rax, qword [rsi + 0x10]
je 0x1400305fa
mov rdx, r8
mov rcx, rax
call fcn.140003ad0
add qword [rsi + 8], 0x20
jmp 0x140030605
mov rdx, rax
mov rcx, rsi
call fcn.140030d34
lea rcx, [rsp + 0x60]
call fcn.140009208
mov r15, qword [rsp + 0x60]
test r15, r15
jne 0x140030406
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14003065e
mov eax, r13d
lock xadd dword [rcx + 8], eax
add eax, r13d
jne 0x140030659
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x140030659
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x140030696
mov eax, r13d
lock xadd dword [rbx + 8], eax
add eax, r13d
jne 0x140030696
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
add eax, r13d
jne 0x140030696
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
lea rcx, [rbp - 0x28]
call fcn.140003a6c
nop
lea rcx, [rbp - 0x48]
call fcn.140003a6c
mov rax, rsi
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.1400dbf10
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rbp - 8]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14000364c
nop
call fcn.1400020d0
int3