Function at 0x140069120
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 - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140139080]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov r12, rcx
mov qword [rbp - 0x20], 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 + 0x30], rbx
mov qword [rbp + 0x38], rbx
movups xmmword [rbp + 0x20], xmm0
test eax, eax
js 0x1400691d5
lea rax, [rbp + 0x90]
mov r8, r13
inc r8
cmp word [rax + r8*2], 0
jne 0x1400691c1
lea rdx, [rbp + 0x90]
jmp 0x1400691df
xor r8d, r8d
lea rdx, [0x14011c384]
lea rcx, [rbp + 0x20]
call fcn.14004cb80
mov dword [rsp + 0x30], 0x2001
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rsi, qword [rbp + 0x30]
sub rax, rsi
cmp rax, 0xc
jb 0x140069868
lea r15, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova r15, qword [rbp + 0x20]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], rbx
lea r14, [rsi + 0xc]
mov ebx, 7
lea rdi, [rbp + 0x50]
cmp r14, rbx
jbe 0x1400692ce
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x14006928f
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x1400692c2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14006986e
mov rcx, rax
call fcn.1400f6518
test rax, rax
je 0x1400692bb
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400692ca
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14006986e
add rcx, rcx
jne 0x14006925e
xor edi, edi
jmp 0x1400692ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f6518
mov rdi, rax
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], 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 [rbx + rdi], xmm0
movsd xmm0, qword [0x14011c378]
movsd qword [rbx + rdi + 0x10], xmm0
xor eax, eax
mov word [rdi + r14*2], ax
mov dword [rsp + 0x30], 0x6001
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rdx, qword [rbp + 0x50]
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xor r14d, r14d
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], r14
mov r8, qword [rbp + 0x60]
lea rcx, [rbp + 0x70]
call fcn.14004cb80
mov edi, 0x1e001
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x40]
call fcn.140068f50
nop
lea rcx, [rbp + 0x70]
call fcn.14004c040
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x14006937f
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x48]
mov edi, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x10], xmm0
test rbx, rbx
je 0x140069399
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x48]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x70], xmm1
test rbx, rbx
je 0x1400693d5
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400693d1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400693d1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov edi, dword [rsp + 0x30]
mov r15, qword [rbp + 0x10]
lea rbx, str..log
test r15, r15
je 0x14006979b
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.140068a00
mov rax, qword [rsp + 0x50]
mov edx, dword [rsp + 0x58]
test edx, edx
je 0x140069412
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14006984f
cmp eax, 2
jne 0x14006965e
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 4
call fcn.1400f5810
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140049810
or edi, 0x300
or edi, 2
mov dword [rsp + 0x30], edi
lea r14, [r15 + 0x20]
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x140069464
mov rcx, qword [r14]
lea rsi, [r14 + 0x10]
mov rax, qword [rsi]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.140068210
cmp rax, rdx
je 0x1400694bc
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14006948f
cmp cx, 0x2f
jne 0x140069498
add rax, 2
cmp rax, rdx
jne 0x140069480
cmp rax, rdx
je 0x1400694bc
nop dword [rax]
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x1400694bc
cmp cx, 0x2f
je 0x1400694bc
mov rbx, r8
cmp rax, r8
jne 0x1400694a0
mov r8d, Ordinal_60
mov rcx, rbx
call fcn.1400f63a0
cmp rbx, rax
je 0x140069507
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x140069507
cmp word [rdx], 0x2e
jne 0x1400694ef
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x14006950a
cmp word [rcx], 0x2e
jne 0x14006950a
jmp 0x140069507
sub rdx, 2
cmp rbx, rdx
je 0x140069507
cmp word [rdx], 0x2e
je 0x14006950a
sub rdx, 2
cmp rbx, rdx
jne 0x1400694f8
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xor ecx, ecx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rcx
mov r8, rax
lea rcx, [rbp - 0x80]
call fcn.14004cb80
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, [rbp - 0x80]
call fcn.1400685a0
test eax, eax
jne 0x14006965b
cmp qword [r14 + 0x18], 7
jbe 0x14006957e
mov r14, qword [r14]
mov rax, qword [rsi]
lea rsi, [r14 + rax*2]
mov rbx, rsi
mov rdx, rsi
mov rcx, r14
call fcn.140068210
cmp rax, rsi
je 0x1400695db
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x1400695af
cmp cx, 0x2f
jne 0x1400695b8
add rax, 2
cmp rax, rsi
jne 0x1400695a0
cmp rax, rsi
je 0x1400695db
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x1400695db
cmp cx, 0x2f
je 0x1400695db
mov rbx, rdx
cmp rax, rdx
jne 0x1400695c0
sub rsi, rbx
sar rsi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor r14d, r14d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov r8, rsi
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14004cb80
or edi, 0x1c00
or edi, 8
mov dword [rsp + 0x30], edi
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x60]
call fcn.140051ab0
or edi, 0x10
mov dword [rsp + 0x30], edi
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140069636
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
xor r8d, r8d
mov rcx, rax
call fcn.140006a70
cmp rax, 0xffffffffffffffff
je 0x14006965e
mov bl, 1
jmp 0x140069660
xor r14d, r14d
xor bl, bl
test dil, 0x10
je 0x140069677
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x18]
call fcn.140005f30
nop
test dil, 8
je 0x14006968f
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x60]
call fcn.14004c040
nop
test dil, 4
je 0x1400696a6
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x80]
call fcn.14004c040
nop
test dil, 2
je 0x1400696bc
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x60]
call fcn.14004c040
test bl, bl
je 0x1400696f0
lea r8, [r15 + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x1400696e3
mov rdx, r8
mov rcx, rax
call fcn.14004bba0
add qword [r12 + 8], 0x20
jmp 0x1400696f0
mov rdx, rax
mov rcx, r12
call fcn.14006a2e0
nop
lea rdx, [rbp + 0x90]
mov rcx, qword [r15 + 0x40]
call fcn.1400f5ae8
cmp eax, 0x12
je 0x140069744
test eax, eax
jne 0x140069860
cmp word [rbp + 0xbc], 0x2e
jne 0x140069733
movzx eax, word [rbp + 0xbe]
test ax, ax
je 0x1400696f0
cmp ax, 0x2e
jne 0x140069733
cmp word [rbp + 0xc0], 0
je 0x1400696f0
lea rdx, [rbp + 0x90]
mov rcx, r15
call fcn.140068cf0
jmp 0x14006978b
mov r15, r14
mov qword [rbp + 0x10], r14
mov rbx, qword [rbp + 0x18]
mov qword [rbp + 0x18], r14
test rbx, rbx
je 0x14006978b
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140069783
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140069783
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov edi, dword [rsp + 0x30]
mov r15, qword [rbp + 0x10]
mov eax, r14d
test eax, eax
jne 0x140069860
jmp 0x1400693d9
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1400697d5
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400697d5
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 0x1400697d5
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x140069809
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140069809
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x140069809
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0x50]
call fcn.14004c040
nop
lea rcx, [rbp + 0x20]
call fcn.14004c040
mov rax, r12
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.1400f63d0
lea r11, [rsp + 0x3f0]
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.140049e90
int3
mov edx, eax
call fcn.1400689a0
nop
call fcn.140002830
int3
call fcn.140002790
int3