Function at 0x140079790
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 - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x1401fa010]
xor rax, rsp
mov qword [rbp + 0x2d0], 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 + 0xc0]
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 0x140079844
lea rax, [rbp + 0xc0]
mov r8, r13
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140079830
lea rdx, [rbp + 0xc0]
jmp 0x14007984e
xor r8d, r8d
lea rdx, [0x1401e7e00]
lea rcx, [rbp]
call fcn.14000c5a0
mov dword [rsp + 0x30], 0x401
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rsi, qword [rbp + 0x10]
sub rax, rsi
cmp rax, 0xc
jb 0x140079f5a
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 0x14007993f
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x1400798cf
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400798fe
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140079f60
add rcx, rcx
cmp rcx, 0x1000
jb 0x14007992a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140079f60
mov rcx, rax
call fcn.140097a70
test rax, rax
je 0x140079e9a
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14007993b
test rcx, rcx
je 0x140079939
call fcn.140097a70
mov rdi, rax
jmp 0x14007993b
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 [rbx + rdi], xmm0
movsd xmm0, qword [0x1401e7e20]
movsd qword [rbx + rdi + 0x10], xmm0
xor r15d, r15d
mov word [rdi + r14*2], r15w
mov dword [rsp + 0x30], 0xc01
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], r15
mov r8, qword [rbp - 0x10]
lea rcx, [rbp + 0x40]
call fcn.14000c5a0
mov ebx, 0x3c01
mov dword [rsp + 0x30], ebx
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140079480
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x140079a07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079a02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140079a02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097ab4
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x140079a1e
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 0x140079a3b
lock inc dword [rdi + 8]
mov rdi, qword [rsp + 0x48]
mov ebx, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
test rdi, rdi
je 0x140079a7c
mov eax, r13d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140079a73
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r13d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x140079a73
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov ebx, dword [rsp + 0x30]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x140079df2
lea r14, str..log
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140078db0
mov rax, qword [rsp + 0x60]
mov edx, dword [rsp + 0x68]
test edx, edx
je 0x140079aba
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140079f49
cmp eax, 2
jne 0x140079c24
call fcn.140096ee4
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 4
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.1400045c0
or ebx, 0x60
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rdx, [rbp + 0xa0]
lea rcx, [rsi + 0x20]
call fcn.140078a60
mov r8, rax
or ebx, 4
mov dword [rsp + 0x30], ebx
lea rcx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rcx, qword [rbp + 0x60]
mov qword [rbp - 0x80], rcx
mov rax, qword [rbp + 0x70]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
mov rcx, r8
call fcn.140078860
test eax, eax
jne 0x140079c24
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 8
jb 0x140079b50
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.1400784c0
cmp rax, r11
je 0x140079bab
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140079b7f
cmp cx, 0x2f
jne 0x140079b88
add rax, 2
cmp rax, r11
jne 0x140079b70
cmp rax, r11
je 0x140079bab
nop dword [rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140079bab
cmp cx, 0x2f
je 0x140079bab
mov r10, rdx
cmp rax, rdx
jne 0x140079b90
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r15
mov r8, r11
mov rdx, r10
lea rcx, [rbp + 0x20]
call fcn.14000c5a0
or ebx, 0x380
or ebx, 8
mov dword [rsp + 0x30], ebx
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x20]
call fcn.140004720
or ebx, 0x10
mov dword [rsp + 0x30], ebx
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x140079c01
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
mov rcx, rax
call fcn.14000c6d0
cmp rax, 0xffffffffffffffff
je 0x140079c24
mov dil, 1
jmp 0x140079c27
xor dil, dil
test bl, 0x10
je 0x140079c8d
and ebx, 0xffffffef
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x140079c74
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079c6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140079ea1
call fcn.140097ab4
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], 0
test bl, 8
je 0x140079cea
and ebx, 0xfffffff7
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x140079cd9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079cd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140079ea8
call fcn.140097ab4
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r15w
test bl, 4
je 0x140079d56
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp + 0xb8]
cmp rdx, 8
jb 0x140079d3c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079d37
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140079eaf
call fcn.140097ab4
mov qword [rbp + 0xb0], r15
mov qword [rbp + 0xb8], 7
mov word [rbp + 0xa0], r15w
test bl, 2
je 0x140079da2
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x140079da2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079d9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140079eb6
call fcn.140097ab4
test dil, dil
je 0x140079dd5
lea r8, [rsi + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x140079dca
mov rdx, r8
mov rcx, rax
call fcn.14000a9a0
add qword [r12 + 8], 0x20
jmp 0x140079dd5
mov rdx, rax
mov rcx, r12
call fcn.14007aae0
lea rcx, [rsp + 0x50]
call fcn.1400795e0
mov rsi, qword [rsp + 0x50]
test rsi, rsi
jne 0x140079a91
mov rdi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140079e33
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140079e2e
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140079e2e
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x140079e63
mov eax, r13d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140079e63
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r13d
cmp r13d, 1
jne 0x140079e63
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140079ec2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079ebd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140079ebd
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140097ab4
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140079f16
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140079f11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140079f11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140097ab4
mov rax, r12
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140097a50
lea r11, [rsp + 0x3e0]
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
lea r8, [rsi + 0x20]
lea rcx, str.directory_entry::status
call fcn.140005000
nop
call fcn.1400018e0
int3
call fcn.140001820
int3