Function at 0x1400171f0
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 [0x1401661c0]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov r15, rcx
mov qword [rbp + 0x20], rcx
xor esi, esi
mov dword [rsp + 0x40], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x40], 1
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r12, [rsi - 1]
xorps xmm0, xmm0
mov qword [rbp + 0x90], rsi
mov qword [rbp + 0x98], rsi
movups xmmword [rbp + 0x80], xmm0
test eax, eax
js 0x1400172a9
lea rax, [rbp + 0xd0]
mov r8, r12
inc r8
cmp word [rax + r8*2], 0
jne 0x140017295
lea rdx, [rbp + 0xd0]
jmp 0x1400172b3
xor r8d, r8d
lea rdx, [0x140121258]
lea rcx, [rbp + 0x80]
call fcn.14000b710
mov dword [rsp + 0x40], 0x401
movabs rax, 0x7ffffffffffffffe
mov rcx, qword [rbp + 0x90]
sub rax, rcx
cmp rax, 0xc
jb 0x14001798b
lea r9, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova r9, qword [rbp + 0x80]
mov qword [rsp + 0x30], ntohs
lea rax, str.Robloxlogs
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0xa0]
call fcn.140018a20
mov dword [rsp + 0x40], 0xc01
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 7
cmova rdx, qword [rbp + 0xa0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov r8, qword [rbp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.14000b710
mov ebx, 0x3c01
mov dword [rsp + 0x40], ebx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x60]
call fcn.140017f80
test eax, eax
jne 0x140017991
mov rdx, qword [rbp - 0x78]
cmp rdx, 7
jbe 0x1400173cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400173c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400173c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140106df4
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov r14, qword [rbp + 0x68]
test r14, r14
je 0x1400173ea
lock inc dword [r14 + 8]
mov r14, qword [rbp + 0x68]
mov ebx, dword [rsp + 0x40]
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x70], xmm0
test r14, r14
je 0x140017405
lock inc dword [r14 + 8]
mov r14, qword [rbp + 0x68]
mov ebx, dword [rsp + 0x40]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
test r14, r14
je 0x140017453
mov eax, r12d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x14001744b
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14001744b
mov r14, qword [rbp + 0x68]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14001744f
mov r14, qword [rbp + 0x68]
mov ebx, dword [rsp + 0x40]
cmp qword [rbp + 0x60], 0
je 0x14001780d
mov r13, qword [rbp + 0x70]
lea rdi, str..log
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.1400169f0
mov rax, qword [rbp - 0x70]
mov edx, dword [rbp - 0x68]
test edx, edx
je 0x14001748f
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14001797a
cmp eax, 2
jne 0x140017650
call fcn.14010665c
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 4
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140015710
or ebx, 0x60
or ebx, 2
mov dword [rsp + 0x40], ebx
lea rdx, [rbp]
lea rcx, [r13 + 0x20]
call fcn.140015f30
mov r8, rax
or ebx, 4
mov dword [rsp + 0x40], ebx
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
mov qword [rbp - 0x30], rcx
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0x30], xmm0
lea rdx, [rbp + 0x30]
mov rcx, r8
call fcn.140015d20
test eax, eax
jne 0x140017650
lea rcx, [r13 + 0x20]
cmp qword [r13 + 0x38], 7
jbe 0x14001751f
mov rcx, qword [r13 + 0x20]
mov rax, qword [r13 + 0x30]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.140015870
cmp rax, r11
je 0x14001757b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140017546
cmp cx, 0x2f
jne 0x14001754f
add rax, 2
cmp rax, r11
jne 0x140017537
cmp rax, r11
je 0x14001757b
nop dword [rax]
nop dword [rax + rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14001757b
cmp cx, 0x2f
je 0x14001757b
mov r10, rdx
cmp rax, rdx
jne 0x140017560
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov r8, r11
mov rdx, r10
lea rcx, [rsp + 0x50]
call fcn.14000b710
or ebx, 0x380
or ebx, 8
mov dword [rsp + 0x40], ebx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x50]
call fcn.140015c20
mov rdi, rax
or ebx, 0x10
mov dword [rsp + 0x40], ebx
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400175d6
mov rdi, qword [rax]
cmp rcx, 6
jb 0x140017650
lea rsi, [rcx + rdi]
lea r8, [rsi - 5]
sub r8, rdi
mov edx, 0x50
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov r9, rax
test rax, rax
je 0x140017650
nop dword [rax]
xor eax, eax
lea rdx, str.Player
nop dword [rax]
movzx ecx, byte [r9 + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x140017628
cmp rax, 6
jne 0x140017610
xor eax, eax
jmp 0x14001762d
sbb eax, eax
or eax, 1
test eax, eax
je 0x1400176ae
inc r9
lea r8, [rsi - 5]
sub r8, r9
mov edx, 0x50
mov rcx, r9
call sub.VCRUNTIME140.dll_memchr
mov r9, rax
test rax, rax
jne 0x140017600
xor dil, dil
test bl, 0x10
je 0x1400176bc
and ebx, 0xffffffef
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x14001769a
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017695
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400178c4
call fcn.140106df4
xor esi, esi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], sil
jmp 0x1400176be
sub r9, rdi
cmp r9, 0xffffffffffffffff
je 0x140017650
mov dil, 1
jmp 0x140017653
xor esi, esi
test bl, 8
je 0x14001771f
and ebx, 0xfffffff7
mov dword [rsp + 0x40], ebx
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14001770c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017707
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400178cb
call fcn.140106df4
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], si
test bl, 4
je 0x14001777b
and ebx, 0xfffffffb
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x14001776b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017766
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400178d2
call fcn.140106df4
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], 7
mov word [rbp], si
test bl, 2
je 0x1400177c7
and ebx, 0xfffffffd
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x1400177c7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400177c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400178d9
call fcn.140106df4
test dil, dil
je 0x1400177f7
lea r8, [r13 + 0x20]
mov rax, qword [r15 + 8]
cmp rax, qword [r15 + 0x10]
je 0x1400177ec
mov rdx, r8
mov rcx, rax
call fcn.140017d10
add qword [r15 + 8], 0x20
jmp 0x1400177f7
mov rdx, rax
mov rcx, r15
call fcn.140018dd0
lea rcx, [rbp + 0x70]
call fcn.140016fe0
mov r13, qword [rbp + 0x70]
test r13, r13
jne 0x140017462
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x14001784a
mov eax, r12d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140017846
mov rbx, qword [rbp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140017846
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r14, qword [rbp + 0x68]
test r14, r14
je 0x140017880
mov eax, r12d
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x140017880
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r12d
cmp r12d, 1
jne 0x140017880
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rbp + 0xb8]
cmp rdx, 7
jbe 0x1400178e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400178e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400178e0
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140106df4
mov qword [rbp + 0xb0], rsi
mov qword [rbp + 0xb8], 7
mov word [rbp + 0xa0], si
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140017947
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017942
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017942
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140106df4
mov rax, r15
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140106d90
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, [r13 + 0x20]
lea rcx, str.directory_entry::status
call fcn.140016980
nop
call fcn.1400035e0
nop
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140016980
int3