Function at 0x14008d570
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 - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1401be080]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov r14, rcx
mov qword [rbp - 0x30], rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rsp + 0x40], 1
lea rax, [rbp + 0xa0]
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 r12, 0xffffffffffffffff
xorps xmm0, xmm0
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], r13
movups xmmword [rbp + 0x40], xmm0
test eax, eax
js 0x14008d627
lea rax, [rbp + 0xa0]
mov r8, r12
inc r8
cmp word [rax + r8*2], 0
jne 0x14008d613
lea rdx, [rbp + 0xa0]
jmp 0x14008d631
xor r8d, r8d
lea rdx, [0x14018c670]
lea rcx, [rbp + 0x40]
call fcn.14000edd0
mov dword [rsp + 0x40], 0x401
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x50]
sub rax, rcx
cmp rax, 0xc
jb 0x14008da72
lea r9, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova r9, qword [rbp + 0x40]
mov qword [rsp + 0x30], recvfrom
lea rax, str.Robloxlogs
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x80]
call fcn.14001efb0
mov dword [rsp + 0x40], 0xc01
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova rdx, qword [rbp + 0x80]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], r13
mov r8, qword [rbp + 0x90]
lea rcx, [rbp + 0x60]
call fcn.14000edd0
mov ebx, 0x3c01
mov dword [rsp + 0x40], ebx
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.14008d240
nop
lea rcx, [rbp + 0x60]
call fcn.14000ded0
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov rdi, qword [rbp + 0x28]
test rdi, rdi
je 0x14008d70b
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x28]
mov ebx, dword [rsp + 0x40]
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x30], xmm0
test rdi, rdi
je 0x14008d725
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0x28]
mov ebx, dword [rsp + 0x40]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
test rdi, rdi
je 0x14008d765
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14008d75d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, r12d
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14008d75d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov ebx, dword [rsp + 0x40]
mov rdi, qword [rbp + 0x28]
mov r15, qword [rbp + 0x30]
test r15, r15
je 0x14008d9bc
lea rdi, str..log
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.14008cce0
mov rax, qword [rsp + 0x60]
mov edx, dword [rsp + 0x68]
test edx, edx
je 0x14008d7a2
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14008da78
cmp eax, 2
jne 0x14008d917
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 4
call fcn.14015820c
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140009ad0
or ebx, 0x60
or ebx, 2
mov dword [rsp + 0x40], ebx
lea rdx, [rbp - 8]
lea rcx, [r15 + 0x20]
call fcn.14008caf0
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 + 0x50], xmm0
lea rdx, [rsp + 0x50]
mov rcx, r8
call fcn.14008c8f0
test eax, eax
jne 0x14008d917
lea rcx, [r15 + 0x20]
cmp qword [r15 + 0x38], 7
jbe 0x14008d83f
mov rcx, qword [r15 + 0x20]
mov rax, qword [r15 + 0x30]
lea rsi, [rcx + rax*2]
mov rdi, rsi
mov rdx, rsi
call fcn.140068010
cmp rax, rsi
je 0x14008d89b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14008d866
cmp cx, 0x2f
jne 0x14008d86f
add rax, 2
cmp rax, rsi
jne 0x14008d857
cmp rax, rsi
je 0x14008d89b
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rdi - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14008d89b
cmp cx, 0x2f
je 0x14008d89b
mov rdi, rdx
cmp rax, rdx
jne 0x14008d880
sub rsi, rdi
sar rsi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.14000edd0
or ebx, 0x380
or ebx, 8
mov dword [rsp + 0x40], ebx
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x70]
call fcn.140068120
or ebx, 0x10
mov dword [rsp + 0x40], ebx
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14008d8f1
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
xor r8d, r8d
mov rcx, rax
call fcn.14000ef00
cmp rax, 0xffffffffffffffff
je 0x14008d917
mov dil, 1
jmp 0x14008d91a
xor dil, dil
test bl, 0x10
je 0x14008d930
and ebx, 0xffffffef
mov dword [rsp + 0x40], ebx
lea rcx, [rbp - 0x28]
call fcn.140002d10
nop
test bl, 8
je 0x14008d947
and ebx, 0xfffffff7
mov dword [rsp + 0x40], ebx
lea rcx, [rsp + 0x70]
call fcn.14000ded0
nop
test bl, 4
je 0x14008d95d
and ebx, 0xfffffffb
mov dword [rsp + 0x40], ebx
lea rcx, [rbp - 8]
call fcn.14000ded0
nop
test bl, 2
je 0x14008d972
and ebx, 0xfffffffd
mov dword [rsp + 0x40], ebx
lea rcx, [rbp - 0x70]
call fcn.14000ded0
test dil, dil
je 0x14008d9a2
lea r8, [r15 + 0x20]
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x14008d997
mov rdx, r8
mov rcx, rax
call fcn.14000d170
add qword [r14 + 8], 0x20
jmp 0x14008d9a2
mov rdx, rax
mov rcx, r14
call fcn.14008e4d0
lea rcx, [rbp + 0x30]
call fcn.14008d3c0
mov r15, qword [rbp + 0x30]
test r15, r15
jne 0x14008d772
mov rdi, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x14008d9f9
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008d9f5
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 0x14008d9f5
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdi, qword [rbp + 0x28]
test rdi, rdi
je 0x14008da29
mov eax, r12d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14008da29
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], r12d
cmp r12d, 1
jne 0x14008da29
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0x80]
call fcn.14000ded0
nop
lea rcx, [rbp + 0x40]
call fcn.14000ded0
mov rax, r14
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140158b30
lea r11, [rsp + 0x3c0]
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.1400027c0
nop
lea r8, [r15 + 0x20]
lea rcx, str.directory_entry::status
call fcn.14000a2b0
int3