Function at 0x1400548f0
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 - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x140075040]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov r12, rcx
mov qword [rbp + 0x10], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x30], 1
lea rax, [rbp + 0x70]
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
xorps xmm1, xmm1
movups xmmword [rsp + 0x38], xmm0
movdqu xmmword [rsp + 0x48], xmm1
test eax, eax
js 0x1400549a1
lea rax, [rbp + 0x70]
mov r8, r13
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140054990
lea rdx, [rbp + 0x70]
jmp 0x1400549ab
xor r8d, r8d
lea rdx, [0x140069f38]
lea rcx, [rsp + 0x38]
call fcn.1400524e0
mov edi, 0x10001
mov dword [rsp + 0x30], edi
mov r8d, 0xc
lea rdx, str.Robloxlogs
lea rcx, [rsp + 0x38]
call fcn.1400554d0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r14
mov qword [rbp + 0x58], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
bts edi, 0x11
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140054a50
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054a4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054a4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059bf4
movdqa xmm0, xmmword [0x14006a2b0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova rdx, qword [rbp + 0x40]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov r8, qword [rbp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400524e0
or edi, 0xc0000
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x30]
call fcn.1400555a0
test eax, eax
jne 0x140055184
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140054afc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054af7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054af7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059bf4
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140054b18
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x38]
mov edi, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x20], xmm0
test rcx, rcx
je 0x140054b32
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x38]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
test rcx, rcx
je 0x140054b73
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140054b6f
mov rbx, qword [rbp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140054b6f
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov r15, qword [rbp + 0x20]
lea rbx, str..log
test r15, r15
je 0x140055082
lea rdx, [rbp - 0x50]
mov rcx, r15
call fcn.140054230
mov rax, qword [rbp - 0x50]
mov edx, dword [rbp - 0x48]
test edx, edx
je 0x140054bad
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14005516b
cmp eax, 2
jne 0x140054e22
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], 4
call fcn.140058fc0
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.14004bf70
or edi, 0x60
or edi, 2
mov dword [rsp + 0x30], edi
lea r14, [r15 + 0x20]
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140054bfc
mov rcx, qword [r14]
lea rsi, [r14 + 0x10]
mov rax, qword [rsi]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.140053aa0
cmp rax, rdx
je 0x140054c4d
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140054c23
cmp cx, 0x2f
jne 0x140054c2c
add rax, 2
cmp rax, rdx
jne 0x140054c14
cmp rax, rdx
je 0x140054c4d
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x140054c4d
cmp cx, 0x2f
je 0x140054c4d
mov rbx, r8
cmp rax, r8
jne 0x140054c31
mov r8d, 0x3a
mov rcx, rbx
call fcn.140059990
cmp rbx, rax
je 0x140054c9f
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x140054c9f
cmp word [rdx], 0x2e
jne 0x140054c80
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x140054ca2
cmp word [rcx], 0x2e
jne 0x140054ca2
jmp 0x140054c9f
sub rdx, 2
cmp rbx, rdx
je 0x140054c9f
nop dword [rax]
cmp word [rdx], 0x2e
je 0x140054ca2
sub rdx, 2
cmp rbx, rdx
jne 0x140054c90
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xor ecx, ecx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x78], rcx
mov r8, rax
lea rcx, [rsp + 0x70]
call fcn.1400524e0
or edi, 0x380
or edi, 4
mov dword [rsp + 0x30], edi
lea rax, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rax, qword [rbp - 0x40]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x30]
mov qword [rbp - 8], rax
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.140053de0
test eax, eax
jne 0x140054e1f
cmp qword [r14 + 0x18], 7
jbe 0x140054d19
mov r14, qword [r14]
mov rax, qword [rsi]
lea rsi, [r14 + rax*2]
mov rbx, rsi
mov rdx, rsi
mov rcx, r14
call fcn.140053aa0
cmp rax, rsi
je 0x140054d6b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140054d42
cmp cx, 0x2f
jne 0x140054d4b
add rax, 2
cmp rax, rsi
jne 0x140054d33
cmp rax, rsi
je 0x140054d6b
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140054d6b
cmp cx, 0x2f
je 0x140054d6b
mov rbx, rdx
cmp rax, rdx
jne 0x140054d50
sub rsi, rbx
sar rsi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1400524e0
or edi, 0xe000
or edi, 8
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rax, qword [rsp + 0x38]
mov qword [rbp], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 8], rax
call fcn.140058fc0
movaps xmm0, xmmword [rbp]
movdqa xmmword [rsp + 0x60], xmm0
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.1400538a0
or edi, 0x1c10
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x70]
mov rbx, qword [rbp - 0x58]
cmp rbx, 0xf
cmova rcx, qword [rbp - 0x70]
mov qword [rsp + 0x20], 6
lea r9, str.Player
mov rdx, qword [rbp - 0x60]
call fcn.140052610
cmp rax, 0xffffffffffffffff
je 0x140054e26
mov sil, 1
jmp 0x140054e29
xor r14d, r14d
mov rbx, qword [rbp - 0x58]
xor sil, sil
test dil, 0x10
je 0x140054e7e
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
cmp rbx, 0xf
jbe 0x140054e6e
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054e69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055066
call fcn.140059bf4
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
test dil, 8
je 0x140054ee1
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140054ecd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054ec8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005506d
call fcn.140059bf4
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r14w
test dil, 4
je 0x140054f41
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x140054f2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054f2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140055074
call fcn.140059bf4
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
test dil, 2
je 0x140054f8e
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140054f8e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054f89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005507b
call fcn.140059bf4
test sil, sil
je 0x140054fc1
lea r8, [r15 + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x140054fb6
mov rdx, r8
mov rcx, rax
call fcn.140050f70
add qword [r12 + 8], 0x20
jmp 0x140054fc1
mov rdx, rax
mov rcx, r12
call fcn.140055fb0
lea rdx, [rbp + 0x70]
mov rcx, qword [r15 + 0x40]
call fcn.140059220
cmp eax, 0x12
je 0x14005500f
test eax, eax
jne 0x14005517c
cmp word [rbp + 0x9c], 0x2e
jne 0x140055001
movzx eax, word [rbp + 0x9e]
test ax, ax
je 0x140054fc1
cmp ax, 0x2e
jne 0x140055001
cmp word [rbp + 0xa0], 0
je 0x140054fc1
lea rdx, [rbp + 0x70]
mov rcx, r15
call fcn.140054610
jmp 0x140055056
mov r15, r14
mov qword [rbp + 0x20], r14
mov rbx, qword [rbp + 0x28]
mov qword [rbp + 0x28], r14
test rbx, rbx
je 0x140055056
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14005504e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005504e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov r15, qword [rbp + 0x20]
mov eax, r14d
test eax, eax
jne 0x14005517c
jmp 0x140054b77
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 + 0x28]
test rcx, rcx
je 0x1400550bc
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400550bc
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 0x1400550bc
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400550f5
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400550f5
mov rbx, qword [rbp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x1400550f5
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x140055138
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140055133
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140055133
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140059bf4
mov rax, r12
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140059a70
lea r11, [rsp + 0x3d0]
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.14004c8a0
int3
mov edx, eax
call fcn.1400541d0
nop
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14004c8a0
int3