Function at 0x14001b380
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 - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x1400c0040]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov r15, rcx
mov qword [rbp + 0x10], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x40], 1
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r12, 0xffffffffffffffff
xorps xmm0, xmm0
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], rsi
movups xmmword [rbp + 0x40], xmm0
test eax, eax
js 0x14001b435
lea rax, [rbp + 0x90]
mov r8, r12
inc r8
cmp word [rax + r8*2], 0
jne 0x14001b421
lea rdx, [rbp + 0x90]
jmp 0x14001b43f
xor r8d, r8d
lea rdx, [0x14009802c]
lea rcx, [rbp + 0x40]
call fcn.140007d20
mov dword [rsp + 0x40], 0x401
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x50]
sub rax, rcx
cmp rax, 0xc
jb 0x14001bac2
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova r9, qword [rbp + 0x40]
mov qword [rsp + 0x30], 0xc
lea rax, str.Robloxlogs
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x60]
call fcn.140008230
mov dword [rsp + 0x40], 0xc01
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rdx, qword [rbp + 0x60]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
mov r8, qword [rbp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140007d20
mov ebx, 0x3c01
mov dword [rsp + 0x40], ebx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x20]
call fcn.14001c0a0
test eax, eax
jne 0x14001bac8
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14001b53e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b539
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001b539
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140090ab4
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov r14, qword [rbp + 0x28]
test r14, r14
je 0x14001b55b
lock inc dword [r14 + 8]
mov r14, qword [rbp + 0x28]
mov ebx, dword [rsp + 0x40]
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x30], xmm0
test r14, r14
je 0x14001b576
lock inc dword [r14 + 8]
mov r14, qword [rbp + 0x28]
mov ebx, dword [rsp + 0x40]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
test r14, r14
je 0x14001b5c4
mov eax, r12d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14001b5bc
mov rbx, qword [rbp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001b5bc
mov r14, qword [rbp + 0x28]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
jmp 0x14001b5c0
mov r14, qword [rbp + 0x28]
mov ebx, dword [rsp + 0x40]
cmp qword [rbp + 0x20], 0
je 0x14001b959
mov r13, qword [rbp + 0x30]
lea rdi, str..log
lea rdx, [rbp - 0x80]
mov rcx, r13
call fcn.14001aa40
mov rax, qword [rbp - 0x80]
mov edx, dword [rbp - 0x78]
test edx, edx
je 0x14001b600
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14001bab1
cmp eax, 2
jne 0x14001b79c
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 4
call fcn.140091dd4
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140019740
or ebx, 0x60
or ebx, 2
mov dword [rsp + 0x40], ebx
lea rdx, [rbp - 0x10]
lea rcx, [r13 + 0x20]
call fcn.140019f00
mov r8, rax
or ebx, 4
mov dword [rsp + 0x40], ebx
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rcx, qword [rbp - 0x70]
mov qword [rbp - 0x40], rcx
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x70]
mov rcx, r8
call fcn.140019d00
test eax, eax
jne 0x14001b79c
lea rcx, [r13 + 0x20]
cmp qword [r13 + 0x38], 7
jbe 0x14001b69d
mov rcx, qword [r13 + 0x20]
mov rax, qword [r13 + 0x30]
lea rsi, [rcx + rax*2]
mov rdi, rsi
mov rdx, rsi
call fcn.140019890
cmp rax, rsi
je 0x14001b6ed
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14001b6c4
cmp cx, 0x2f
jne 0x14001b6cd
add rax, 2
cmp rax, rsi
jne 0x14001b6b5
cmp rax, rsi
je 0x14001b6ed
lea rdx, [rdi - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14001b6ed
cmp cx, 0x2f
je 0x14001b6ed
mov rdi, rdx
cmp rax, rdx
jne 0x14001b6d2
sub rsi, rdi
sar rsi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140007d20
or ebx, 0x380
or ebx, 8
mov dword [rsp + 0x40], ebx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x48]
call fcn.140019c10
mov rdi, rax
or ebx, 0x10
mov dword [rsp + 0x40], ebx
mov rax, qword [rax + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14001b74a
mov rdi, qword [rdi]
cmp rax, 6
jb 0x14001b79c
lea rsi, [rdi + rax]
lea r8, [rsi - 5]
sub r8, rdi
mov edx, 0x50
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14001b79c
nop dword [rax]
cmp dword [rax], 0x79616c50
jne 0x14001b780
cmp word [rax + 4], 0x7265
je 0x14001b7fa
inc rax
lea r8, [rsi - 5]
sub r8, rax
mov edx, 0x50
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x14001b770
xor dil, dil
test bl, 0x10
je 0x14001b808
and ebx, 0xffffffef
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14001b7e6
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b7e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ba0a
call fcn.140090ab4
xor esi, esi
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], sil
jmp 0x14001b80a
sub rax, rdi
cmp rax, 0xffffffffffffffff
je 0x14001b79c
mov dil, 1
jmp 0x14001b79f
xor esi, esi
test bl, 8
je 0x14001b86b
and ebx, 0xfffffff7
mov dword [rsp + 0x40], ebx
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14001b858
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b853
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ba11
call fcn.140090ab4
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], si
test bl, 4
je 0x14001b8c7
and ebx, 0xfffffffb
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14001b8b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b8b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ba18
call fcn.140090ab4
mov qword [rbp], rsi
mov qword [rbp + 8], 7
mov word [rbp - 0x10], si
test bl, 2
je 0x14001b913
and ebx, 0xfffffffd
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14001b913
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b90e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001ba1f
call fcn.140090ab4
test dil, dil
je 0x14001b943
lea r8, [r13 + 0x20]
mov rax, qword [r15 + 8]
cmp rax, qword [r15 + 0x10]
je 0x14001b938
mov rdx, r8
mov rcx, rax
call fcn.14001be40
add qword [r15 + 8], 0x20
jmp 0x14001b943
mov rdx, rax
mov rcx, r15
call fcn.14001cdc0
lea rcx, [rbp + 0x30]
call fcn.14001b090
mov r13, qword [rbp + 0x30]
test r13, r13
jne 0x14001b5d3
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14001b996
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14001b992
mov rbx, qword [rbp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001b992
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
mov r14, qword [rbp + 0x28]
test r14, r14
je 0x14001b9cc
mov eax, r12d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14001b9cc
mov rbx, qword [rbp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x14001b9cc
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x14001ba2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ba26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ba26
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.140090ab4
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], si
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x14001ba7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ba79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ba79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140090ab4
mov rax, r15
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.140090a50
lea r11, [rsp + 0x3b0]
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, [r13 + 0x20]
lea rcx, str.directory_entry::status
call fcn.14001a9d0
nop
call fcn.1400021d0
nop
lea r8, [rsp + 0x48]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14001a9d0
int3