Function at 0x140066c30
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x530]
sub rsp, 0x630
mov rax, qword [0x1401cf010]
xor rax, rsp
mov qword [rbp + 0x520], rax
mov r12, rcx
mov qword [rbp - 0x70], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov dword [rsp + 0x30], 1
lea rax, [rbp + 0x310]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r13, [rbx - 1]
xorps xmm0, xmm0
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
movups xmmword [rbp], xmm0
test eax, eax
js 0x140066ce4
lea rax, [rbp + 0x310]
mov r8, r13
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140066cd0
lea rdx, [rbp + 0x310]
jmp 0x140066cee
xor r8d, r8d
lea rdx, [0x1401bee7c]
lea rcx, [rbp]
call fcn.14000c8b0
mov dword [rsp + 0x30], 0x2001
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rsi, qword [rbp + 0x10]
sub rax, rsi
cmp rax, 0xc
jb 0x1400675bf
lea r15, [rbp]
cmp qword [rbp + 0x18], 8
cmovae r15, qword [rbp]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rbx
lea r14, [rsi + 0xc]
mov ebx, 7
lea rdi, [rbp - 0x20]
cmp r14, rbx
jbe 0x140066ddf
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x140066d6f
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140066d9e
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400675c5
add rcx, rcx
cmp rcx, 0x1000
jb 0x140066dca
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400675c5
mov rcx, rax
call fcn.14007fe00
test rax, rax
je 0x140067524
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140066ddb
test rcx, rcx
je 0x140066dd9
call fcn.14007fe00
mov rdi, rax
jmp 0x140066ddb
xor edi, edi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], rbx
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.Robloxlogs]
movups xmmword [rdi + rbx], xmm0
movsd xmm0, qword [0x1401bee70]
movsd qword [rdi + rbx + 0x10], xmm0
xor eax, eax
mov word [rdi + r14*2], ax
mov dword [rsp + 0x30], 0x6001
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
xor r14d, r14d
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], r14
mov r8, qword [rbp - 0x10]
lea rcx, [rbp + 0x60]
call fcn.14000c8b0
mov edi, 0x1e001
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.140066a80
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x140066ea9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066ea4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140066ea4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007fe44
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x140066ec0
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
test rbx, rbx
je 0x140066edd
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x58]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
test rbx, rbx
je 0x140066f19
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140066f15
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140066f15
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov r15, qword [rsp + 0x40]
nop
lea rbx, str..log
test r15, r15
je 0x14006747b
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.1400663b0
mov rax, qword [rsp + 0x60]
mov edx, dword [rsp + 0x68]
test edx, edx
je 0x140066f59
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x1400675cb
cmp eax, 2
jne 0x140067203
call fcn.14007f2f0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 4
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp + 0x80]
call fcn.1400048b0
or edi, 0x60
or edi, 2
mov dword [rsp + 0x30], edi
lea rsi, [r15 + 0x20]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140066fa3
mov rcx, qword [rsi]
lea r14, [rsi + 0x10]
mov rax, qword [r14]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.140065bc0
cmp rax, rdx
je 0x140066ffc
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140066fcf
cmp cx, 0x2f
jne 0x140066fd8
add rax, 2
cmp rax, rdx
jne 0x140066fc0
cmp rax, rdx
je 0x140066ffc
nop dword [rax]
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x140066ffc
cmp cx, 0x2f
je 0x140066ffc
mov rbx, r8
cmp rax, r8
jne 0x140066fe0
mov r8d, 0x3a
mov rcx, rbx
call fcn.14007fcd0
cmp rbx, rax
je 0x140067047
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x140067047
cmp word [rdx], 0x2e
jne 0x14006702f
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x14006704a
cmp word [rcx], 0x2e
jne 0x14006704a
jmp 0x140067047
sub rdx, 2
cmp rbx, rdx
je 0x140067047
cmp word [rdx], 0x2e
je 0x14006704a
sub rdx, 2
cmp rbx, rdx
jne 0x140067038
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xor ecx, ecx
mov qword [rbp + 0x50], rcx
mov qword [rbp + 0x58], rcx
mov r8, rax
lea rcx, [rbp + 0x40]
call fcn.14000c8b0
or edi, 0x380
or edi, 4
mov dword [rsp + 0x30], edi
lea rax, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rax, qword [rbp + 0x80]
mov qword [rbp - 0x80], rax
mov rax, qword [rbp + 0x90]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x40]
call fcn.140065f60
test eax, eax
jne 0x140067200
cmp qword [rsi + 0x18], 8
jb 0x1400670c8
mov rsi, qword [rsi]
mov rax, qword [r14]
lea r11, [rsi + rax*2]
mov r10, r11
mov rdx, r11
mov rcx, rsi
call fcn.140065bc0
cmp rax, r11
je 0x14006711b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x1400670f1
cmp cx, 0x2f
jne 0x1400670fa
add rax, 2
cmp rax, r11
jne 0x1400670e2
cmp rax, r11
je 0x14006711b
nop
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14006711b
cmp cx, 0x2f
je 0x14006711b
mov r10, rdx
cmp rax, rdx
jne 0x140067100
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xor r14d, r14d
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], r14
mov r8, r11
mov rdx, r10
lea rcx, [rbp + 0x20]
call fcn.14000c8b0
or edi, 0x1c00
or edi, 8
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x20]
call fcn.140004a10
mov rbx, rax
or edi, 0x10
mov dword [rsp + 0x30], edi
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140067177
mov rbx, qword [rax]
cmp rcx, 6
jb 0x140067203
lea rsi, [rcx + rbx]
lea r8, [rsi - 5]
sub r8, rbx
mov edx, 0x50
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
mov r9, rax
test rax, rax
je 0x140067203
mov rax, r14
lea rdx, str.Player
nop dword [rax + rax]
movzx ecx, byte [r9 + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x1400671c9
cmp rax, 6
jne 0x1400671b0
mov eax, r14d
jmp 0x1400671ce
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400671f3
inc r9
lea r8, [rsi - 5]
sub r8, r9
mov edx, 0x50
mov rcx, r9
call sub.VCRUNTIME140.dll_memchr
mov r9, rax
test rax, rax
jne 0x1400671a1
jmp 0x140067203
sub r9, rbx
cmp r9, 0xffffffffffffffff
je 0x140067203
mov bl, 1
jmp 0x140067205
xor r14d, r14d
xor bl, bl
test dil, 0x10
je 0x14006726c
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x140067253
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006724e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006745f
call fcn.14007fe44
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], 0xf
mov byte [rbp + 0xa0], 0
test dil, 8
je 0x1400672ca
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1400672b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400672b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140067466
call fcn.14007fe44
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r14w
test dil, 4
je 0x140067328
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x140067317
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067312
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006746d
call fcn.14007fe44
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], r14w
test dil, 2
je 0x14006737b
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x14006737b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067376
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140067474
call fcn.14007fe44
test bl, bl
je 0x1400673b0
lea r8, [r15 + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x1400673a2
mov rdx, r8
mov rcx, rax
call fcn.14000af70
add qword [r12 + 8], 0x20
jmp 0x1400673b0
mov rdx, rax
mov rcx, r12
call fcn.140068120
nop dword [rax]
lea rdx, [rbp + 0xc0]
mov rcx, qword [r15 + 0x40]
call fcn.14007f550
cmp eax, 0x12
je 0x140067407
test eax, eax
jne 0x1400675b7
cmp word [rbp + 0xec], 0x2e
jne 0x1400673f3
movzx eax, word [rbp + 0xee]
test ax, ax
je 0x1400673b0
cmp ax, 0x2e
jne 0x1400673f3
cmp word [rbp + 0xf0], 0
je 0x1400673b0
lea rdx, [rbp + 0xc0]
mov rcx, r15
call fcn.1400666e0
jmp 0x140066f20
mov r15, r14
mov qword [rsp + 0x40], r14
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x48], r14
test rbx, rbx
je 0x140066f20
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140067444
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
je 0x14006744d
mov edi, dword [rsp + 0x30]
jmp 0x140066f19
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
jmp 0x140066f19
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400674b8
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400674b8
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400674b8
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400674ed
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400674ed
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x1400674ed
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140067530
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006752b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006752b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007fe44
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r14w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140067584
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006757f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006757f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007fe44
mov rax, r12
mov rcx, qword [rbp + 0x520]
xor rcx, rsp
call fcn.14007fde0
lea r11, [rsp + 0x630]
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
mov edx, eax
call fcn.140066350
nop
call fcn.140001b50
int3
call fcn.140001a90
nop
lea r8, [r15 + 0x20]
lea rcx, str.directory_entry::status
call fcn.1400052f0
int3