Function at 0x14005e480
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 [0x140111040]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov r12, rcx
mov qword [rbp], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov dword [rsp + 0x30], 1
lea rax, [rbp + 0x80]
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 r13, 0xffffffffffffffff
xorps xmm0, xmm0
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], rbx
movups xmmword [rbp + 0x50], xmm0
test eax, eax
js 0x14005e535
lea rax, [rbp + 0x80]
mov r8, r13
inc r8
cmp word [rax + r8*2], 0
jne 0x14005e521
lea rdx, [rbp + 0x80]
jmp 0x14005e53f
xor r8d, r8d
lea rdx, [0x1400edeec]
lea rcx, [rbp + 0x50]
call fcn.140004e40
mov dword [rsp + 0x30], 0x2001
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rsi, qword [rbp + 0x60]
sub rax, rsi
cmp rax, 0xc
jb 0x14005edfd
lea r15, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova r15, qword [rbp + 0x50]
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rbx
lea r14, [rsi + 0xc]
mov ebx, 7
lea rdi, [rbp + 0x30]
cmp r14, rbx
jbe 0x14005e62b
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x14005e5f3
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x14005e61f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005ee17
mov rcx, rax
call fcn.1400cd8e0
test rax, rax
je 0x14005ed51
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14005e627
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14005ee17
add rcx, rcx
jne 0x14005e5be
xor edi, edi
jmp 0x14005e627
call fcn.1400cd8e0
mov rdi, rax
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], 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 [0x1400f5958]
movsd qword [rdi + rbx + 0x10], xmm0
xor eax, eax
mov word [rdi + r14*2], ax
mov dword [rsp + 0x30], 0x6001
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rdx, qword [rbp + 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov r8, qword [rbp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140004e40
mov edi, 0x1e001
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.140062a60
test eax, eax
jne 0x14005ee03
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14005e70a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005e705
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e705
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cdb64
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14005e726
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x28]
mov edi, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x10], xmm0
test rcx, rcx
je 0x14005e740
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x28]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
test rcx, rcx
je 0x14005e781
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14005e77d
mov rbx, qword [rbp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005e77d
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov r15, qword [rbp + 0x10]
lea rbx, str..log
test r15, r15
je 0x14005eca7
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.14005c930
mov rax, qword [rbp - 0x70]
mov edx, dword [rbp - 0x68]
test edx, edx
je 0x14005e7bb
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14005ede4
cmp eax, 2
jne 0x14005ea3e
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 4
call fcn.1400cea70
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140002840
or edi, 0x300
or edi, 2
mov dword [rsp + 0x30], edi
lea r14, [r15 + 0x20]
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14005e80d
mov rcx, qword [r14]
lea rsi, [r14 + 0x10]
mov rax, qword [rsi]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.14005c000
cmp rax, rdx
je 0x14005e85e
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14005e834
cmp cx, 0x2f
jne 0x14005e83d
add rax, 2
cmp rax, rdx
jne 0x14005e825
cmp rax, rdx
je 0x14005e85e
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14005e85e
cmp cx, 0x2f
je 0x14005e85e
mov rbx, r8
cmp rax, r8
jne 0x14005e842
mov r8d, 0x3a
mov rcx, rbx
call fcn.1400cf340
cmp rbx, rax
je 0x14005e8af
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x14005e8af
cmp word [rdx], 0x2e
jne 0x14005e891
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x14005e8b2
cmp word [rcx], 0x2e
jne 0x14005e8b2
jmp 0x14005e8af
sub rdx, 2
cmp rbx, rdx
je 0x14005e8af
nop word [rax + rax]
cmp word [rdx], 0x2e
je 0x14005e8b2
sub rdx, 2
cmp rbx, rdx
jne 0x14005e8a0
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xor ecx, ecx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rcx
mov r8, rax
lea rcx, [rsp + 0x50]
call fcn.140004e40
or edi, 0xe0
or edi, 4
mov dword [rsp + 0x30], edi
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rax, qword [rbp - 0x60]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14005c470
test eax, eax
jne 0x14005ea3b
cmp qword [r14 + 0x18], 7
jbe 0x14005e92b
mov r14, qword [r14]
mov rax, qword [rsi]
lea rsi, [r14 + rax*2]
mov rbx, rsi
mov rdx, rsi
mov rcx, r14
call fcn.14005c000
cmp rax, rsi
je 0x14005e97d
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14005e954
cmp cx, 0x2f
jne 0x14005e95d
add rax, 2
cmp rax, rsi
jne 0x14005e945
cmp rax, rsi
je 0x14005e97d
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14005e97d
cmp cx, 0x2f
je 0x14005e97d
mov rbx, rdx
cmp rax, rdx
jne 0x14005e962
sub rsi, rbx
sar rsi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xor r14d, r14d
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140004e40
or edi, 0x1c00
or edi, 8
mov dword [rsp + 0x30], edi
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.14005c380
mov rbx, rax
or edi, 0x10
mov dword [rsp + 0x30], edi
mov rax, qword [rax + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14005e9d9
mov rbx, qword [rbx]
cmp rax, 6
jb 0x14005ea3e
lea rsi, [rax + rbx]
lea r8, [rsi - 5]
sub r8, rbx
mov edx, 0x50
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14005ea3e
nop dword [rax]
cmp dword [rax], 0x79616c50
jne 0x14005ea10
cmp word [rax + 4], 0x7265
je 0x14005ea2e
inc rax
lea r8, [rsi - 5]
sub r8, rax
mov edx, 0x50
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x14005ea00
jmp 0x14005ea3e
sub rax, rbx
cmp rax, 0xffffffffffffffff
je 0x14005ea3e
mov bl, 1
jmp 0x14005ea40
xor r14d, r14d
xor bl, bl
test dil, 0x10
je 0x14005ea98
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14005ea88
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ea83
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ec8b
call fcn.1400cdb64
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
test dil, 8
je 0x14005eaf8
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14005eae6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005eae1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ec92
call fcn.1400cdb64
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
test dil, 4
je 0x14005eb5b
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14005eb47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005eb42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ec99
call fcn.1400cdb64
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
test dil, 2
je 0x14005eba8
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14005eba8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005eba3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005eca0
call fcn.1400cdb64
test bl, bl
je 0x14005ebe0
lea r8, [r15 + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x14005ebcf
mov rdx, r8
mov rcx, rax
call fcn.140002a20
add qword [r12 + 8], 0x20
jmp 0x14005ebe0
mov rdx, rax
mov rcx, r12
call fcn.140063a60
nop word [rax + rax]
lea rdx, [rbp + 0x80]
mov rcx, qword [r15 + 0x40]
call fcn.1400cecd0
cmp eax, 0x12
je 0x14005ec34
test eax, eax
jne 0x14005edf5
cmp word [rbp + 0xac], 0x2e
jne 0x14005ec23
movzx eax, word [rbp + 0xae]
test ax, ax
je 0x14005ebe0
cmp ax, 0x2e
jne 0x14005ec23
cmp word [rbp + 0xb0], 0
je 0x14005ebe0
lea rdx, [rbp + 0x80]
mov rcx, r15
call fcn.14005cc90
jmp 0x14005ec7b
mov r15, r14
mov qword [rbp + 0x10], r14
mov rbx, qword [rbp + 0x18]
mov qword [rbp + 0x18], r14
test rbx, rbx
je 0x14005ec7b
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14005ec73
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005ec73
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov r15, qword [rbp + 0x10]
mov eax, r14d
test eax, eax
jne 0x14005edf5
jmp 0x14005e785
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 [rbp + 0x18]
test rcx, rcx
je 0x14005ece1
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14005ece1
mov rbx, qword [rbp + 0x18]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005ece1
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14005ed1a
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14005ed1a
mov rbx, qword [rbp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x14005ed1a
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x14005ed5d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ed58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ed58
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cdb64
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r14w
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x14005edb1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005edac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005edac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400cdb64
mov rax, r12
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.1400cd7a0
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, [r15 + 0x20]
lea rcx, str.directory_entry::status
call fcn.14005c8c0
int3
mov edx, eax
call fcn.14005c860
nop
call fcn.140001ea0
nop
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14005c8c0
nop
call fcn.140001e00
int3