Function at 0x14007c460
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 [0x1401c0080]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov r12, rcx
mov qword [rbp], 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 + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, Ordinal_32
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r13, 0xffffffffffffffff
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x50], xmm0
movdqu xmmword [rbp + 0x60], xmm1
test eax, eax
js 0x14007c517
lea rax, [rbp + 0x80]
mov r8, r13
inc r8
cmp word [rax + r8*2], 0
jne 0x14007c503
lea rdx, [rbp + 0x80]
jmp 0x14007c521
xor r8d, r8d
lea rdx, [0x140184f60]
lea rcx, [rbp + 0x50]
call fcn.140015ac0
mov dword [rsp + 0x30], 0x2001
lea r8, str.Robloxlogs
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.1400154c0
nop
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova rdx, qword [rbp + 0x30]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov r8, qword [rbp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.140015ac0
mov edi, 0xe001
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x20]
call fcn.14007eae0
test eax, eax
jne 0x14007cc9d
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14007c5e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007c5dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007c5dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140154404
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14007c5fd
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 0x14007c617
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 0x14007c658
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007c654
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 0x14007c654
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
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 0x14007cb47
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.14007b190
mov rax, qword [rbp - 0x70]
mov edx, dword [rbp - 0x68]
test edx, edx
je 0x14007c692
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14007cc84
cmp eax, 2
jne 0x14007c8d9
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 4
call fcn.140155410
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140002e50
or edi, 0x300
or edi, 2
mov dword [rsp + 0x30], edi
lea r14, [r15 + 0x20]
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x14007c6e4
mov rcx, qword [r14]
lea rsi, [r14 + 0x10]
mov rax, qword [rsi]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.14007a8c0
cmp rax, rdx
je 0x14007c73c
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14007c70f
cmp cx, 0x2f
jne 0x14007c718
add rax, 2
cmp rax, rdx
jne 0x14007c700
cmp rax, rdx
je 0x14007c73c
nop dword [rax]
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14007c73c
cmp cx, 0x2f
je 0x14007c73c
mov rbx, r8
cmp rax, r8
jne 0x14007c720
mov r8d, Ordinal_60
mov rcx, rbx
call fcn.140155c80
cmp rbx, rax
je 0x14007c787
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x14007c787
cmp word [rdx], 0x2e
jne 0x14007c76f
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x14007c78a
cmp word [rcx], 0x2e
jne 0x14007c78a
jmp 0x14007c787
sub rdx, 2
cmp rbx, rdx
je 0x14007c787
cmp word [rdx], 0x2e
je 0x14007c78a
sub rdx, 2
cmp rbx, rdx
jne 0x14007c778
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.140015ac0
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.14007ad40
test eax, eax
jne 0x14007c8d6
cmp qword [r14 + 0x18], 7
jbe 0x14007c803
mov r14, qword [r14]
mov rax, qword [rsi]
lea rsi, [r14 + rax*2]
mov rbx, rsi
mov rdx, rsi
mov rcx, r14
call fcn.14007a8c0
cmp rax, rsi
je 0x14007c85b
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14007c82f
cmp cx, 0x2f
jne 0x14007c838
add rax, 2
cmp rax, rsi
jne 0x14007c820
cmp rax, rsi
je 0x14007c85b
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14007c85b
cmp cx, 0x2f
je 0x14007c85b
mov rbx, rdx
cmp rax, rdx
jne 0x14007c840
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.140015ac0
or edi, 0x1c00
or edi, 8
mov dword [rsp + 0x30], edi
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x70]
call fcn.14007ac50
or edi, 0x10
mov dword [rsp + 0x30], edi
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14007c8b4
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
mov rcx, rax
call fcn.140079da0
cmp rax, 0xffffffffffffffff
je 0x14007c8d9
mov bl, 1
jmp 0x14007c8db
xor r14d, r14d
xor bl, bl
test dil, 0x10
je 0x14007c933
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14007c923
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007c91e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007cb2b
call fcn.140154404
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
test dil, 8
je 0x14007c993
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x14007c981
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007c97c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007cb32
call fcn.140154404
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
test dil, 4
je 0x14007c9f6
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14007c9e2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007c9dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007cb39
call fcn.140154404
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
test dil, 2
je 0x14007ca43
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14007ca43
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007ca3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007cb40
call fcn.140154404
test bl, bl
je 0x14007ca80
lea r8, [r15 + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x14007ca6a
mov rdx, r8
mov rcx, rax
call fcn.1400125e0
add qword [r12 + 8], 0x20
jmp 0x14007ca80
mov rdx, rax
mov rcx, r12
call fcn.14007fb70
nop word [rax + rax]
lea rdx, [rbp + 0x80]
mov rcx, qword [r15 + 0x40]
call fcn.1401556e8
cmp eax, 0x12
je 0x14007cad4
test eax, eax
jne 0x14007cc95
cmp word [rbp + 0xac], 0x2e
jne 0x14007cac3
movzx eax, word [rbp + 0xae]
test ax, ax
je 0x14007ca80
cmp ax, 0x2e
jne 0x14007cac3
cmp word [rbp + 0xb0], 0
je 0x14007ca80
lea rdx, [rbp + 0x80]
mov rcx, r15
call fcn.14007b4f0
jmp 0x14007cb1b
mov r15, r14
mov qword [rbp + 0x10], r14
mov rbx, qword [rbp + 0x18]
mov qword [rbp + 0x18], r14
test rbx, rbx
je 0x14007cb1b
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14007cb13
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14007cb13
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 0x14007cc95
jmp 0x14007c65c
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 0x14007cb81
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007cb81
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 0x14007cb81
mov rcx, qword [rbp + 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x14007cbba
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007cbba
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 0x14007cbba
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x14007cbfd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007cbf8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007cbf8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140154404
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r14w
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x14007cc51
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007cc4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007cc4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140154404
mov rax, r12
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.140154040
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.140003900
int3
mov edx, eax
call fcn.14007b130
nop
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140003900
int3