Function at 0x14003cfa0
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 [0x14012a080]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
mov r14, rcx
mov qword [rbp - 0x40], 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 + 0x90]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, Ordinal_30
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r13, 0xffffffffffffffff
xorps xmm0, xmm0
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rbx
movups xmmword [rbp + 0x30], xmm0
test eax, eax
js 0x14003d055
lea rax, [rbp + 0x90]
mov r8, r13
inc r8
cmp word [rax + r8*2], 0
jne 0x14003d041
lea rdx, [rbp + 0x90]
jmp 0x14003d05f
xor r8d, r8d
lea rdx, [0x14010fe60]
lea rcx, [rbp + 0x30]
call fcn.14000a180
mov dword [rsp + 0x30], 0x401
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rsi, qword [rbp + 0x40]
sub rax, rsi
cmp rax, 0xc
jb 0x14003d578
lea r12, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova r12, qword [rbp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], rbx
lea r15, [rsi + 0xc]
mov ebx, 7
lea rdi, [rbp + 0x50]
cmp r15, rbx
jbe 0x14003d14e
mov rbx, r15
or rbx, 7
cmp rbx, rcx
jbe 0x14003d10f
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x14003d142
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003d561
mov rcx, rax
call fcn.1400eacb0
test rax, rax
je 0x14003d13b
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14003d14a
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14003d561
add rcx, rcx
jne 0x14003d0de
xor edi, edi
jmp 0x14003d14a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400eacb0
mov rdi, rax
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], rbx
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, r12
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.Robloxlogs]
movups xmmword [rdi + rbx], xmm0
movsd xmm0, qword [0x14010fe80]
movsd qword [rdi + rbx + 0x10], xmm0
xor r12d, r12d
mov word [rdi + r15*2], r12w
mov dword [rsp + 0x30], 0xc01
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rdx, qword [rbp + 0x50]
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], r12
mov r8, qword [rbp + 0x60]
lea rcx, [rbp + 0x70]
call fcn.14000a180
mov ebx, 0x3c01
mov dword [rsp + 0x30], ebx
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.14003cc60
nop
lea rcx, [rbp + 0x70]
call fcn.140008a00
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov rdi, qword [rbp + 0x18]
test rdi, rdi
je 0x14003d1fd
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x18]
mov ebx, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x20], xmm0
test rdi, rdi
je 0x14003d217
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x18]
mov ebx, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
test rdi, rdi
je 0x14003d257
mov eax, r13d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14003d24f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r13d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14003d24f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov ebx, dword [rsp + 0x30]
mov rdi, qword [rbp + 0x18]
mov r15, qword [rbp + 0x20]
test r15, r15
je 0x14003d4ae
lea rdi, str..log
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.14003c700
mov rax, qword [rsp + 0x50]
mov edx, dword [rsp + 0x58]
test edx, edx
je 0x14003d294
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14003d567
cmp eax, 2
jne 0x14003d409
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], 4
call fcn.1400ec060
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140002c90
or ebx, 0x60
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x18]
lea rcx, [r15 + 0x20]
call fcn.14003c390
mov r8, rax
or ebx, 4
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
mov qword [rbp - 0x50], rcx
mov rax, qword [rbp - 0x70]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, r8
call fcn.14003c190
test eax, eax
jne 0x14003d409
lea rcx, [r15 + 0x20]
cmp qword [r15 + 0x38], 7
jbe 0x14003d331
mov rcx, qword [r15 + 0x20]
mov rax, qword [r15 + 0x30]
lea rsi, [rcx + rax*2]
mov rdi, rsi
mov rdx, rsi
call fcn.14003be00
cmp rax, rsi
je 0x14003d38b
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14003d35f
cmp cx, 0x2f
jne 0x14003d368
add rax, 2
cmp rax, rsi
jne 0x14003d350
cmp rax, rsi
je 0x14003d38b
nop dword [rax]
lea rdx, [rdi - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14003d38b
cmp cx, 0x2f
je 0x14003d38b
mov rdi, rdx
cmp rax, rdx
jne 0x14003d370
sub rsi, rdi
sar rsi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14000a180
or ebx, 0x380
or ebx, 8
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x60]
call fcn.140019c50
or ebx, 0x10
mov dword [rsp + 0x30], ebx
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14003d3e3
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
xor r8d, r8d
mov rcx, rax
call fcn.1400179e0
cmp rax, 0xffffffffffffffff
je 0x14003d409
mov dil, 1
jmp 0x14003d40c
xor dil, dil
test bl, 0x10
je 0x14003d422
and ebx, 0xffffffef
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x38]
call fcn.140008a70
nop
test bl, 8
je 0x14003d439
and ebx, 0xfffffff7
mov dword [rsp + 0x30], ebx
lea rcx, [rsp + 0x60]
call fcn.140008a00
nop
test bl, 4
je 0x14003d44f
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x18]
call fcn.140008a00
nop
test bl, 2
je 0x14003d464
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
lea rcx, [rbp - 0x80]
call fcn.140008a00
test dil, dil
je 0x14003d494
lea r8, [r15 + 0x20]
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x14003d489
mov rdx, r8
mov rcx, rax
call fcn.140006e70
add qword [r14 + 8], 0x20
jmp 0x14003d494
mov rdx, rax
mov rcx, r14
call fcn.14003dfc0
lea rcx, [rbp + 0x20]
call fcn.14003cde0
mov r15, qword [rbp + 0x20]
test r15, r15
jne 0x14003d264
mov rdi, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14003d4eb
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14003d4e7
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 0x14003d4e7
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbp + 0x18]
test rdi, rdi
je 0x14003d51b
mov eax, r13d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14003d51b
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r13d
cmp r13d, 1
jne 0x14003d51b
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0x50]
call fcn.140008a00
nop
lea rcx, [rbp + 0x30]
call fcn.140008a00
mov rax, r14
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1400eac90
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
call fcn.140002440
nop
lea r8, [r15 + 0x20]
lea rcx, str.directory_entry::status
call fcn.1400032f0
nop
call fcn.1400024e0
int3