Function at 0x140057500
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x7f8]
sub rsp, 0x8d0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140139080]
xor rax, rsp
mov qword [rbp + 0x7b0], rax
mov r12, rcx
mov qword [rbp - 0x10], 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 + 0x5a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r13, [rbx - 1]
xorps xmm0, xmm0
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rbx
movups xmmword [rbp + 0x80], xmm0
test eax, eax
js 0x1400575c4
lea rax, [rbp + 0x5a0]
mov r8, r13
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400575b0
lea rdx, [rbp + 0x5a0]
jmp 0x1400575ce
xor r8d, r8d
lea rdx, [0x14011f94c]
lea rcx, [rbp + 0x80]
call fcn.1400437c0
mov dword [rsp + 0x30], 0x2001
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rsi, qword [rbp + 0x90]
sub rax, rsi
cmp rax, 0xc
jb 0x140057d38
lea r15, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova r15, qword [rbp + 0x80]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], rbx
mov qword [rbp + 0xb8], rbx
lea r14, [rsi + 0xc]
mov ebx, 7
lea rdi, [rbp + 0xa0]
cmp r14, rbx
jbe 0x1400576e0
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x14005766a
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140057699
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140057d3e
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400576c8
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140057d3e
mov rcx, rax
call fcn.1400fd52c
test rax, rax
je 0x1400576c1
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400576d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400576d7
call fcn.1400fd52c
mov rdi, rax
jmp 0x1400576d9
xor edi, edi
mov qword [rbp + 0xa0], rdi
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], 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 [rdi + rbx], xmm0
movsd xmm0, qword [0x14011f940]
movsd qword [rdi + rbx + 0x10], xmm0
xor r15d, r15d
mov word [rdi + r14*2], r15w
mov dword [rsp + 0x30], 0x6001
lea rdx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 7
cmova rdx, qword [rbp + 0xa0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov r8, qword [rbp + 0xb0]
lea rcx, [rsp + 0x50]
call fcn.1400437c0
mov edi, 0x1e001
mov dword [rsp + 0x30], edi
xorps xmm6, xmm6
movdqa xmmword [rbp + 0x60], xmm6
xor r8d, r8d
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xd0]
call fcn.1400570f0
nop
cmp byte [rbp + 0x348], r15b
je 0x1400577ed
lea ecx, [r15 + 0x58]
call fcn.1400fd52c
mov rsi, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_std::filesystem::_Dir_enum_impl_.0
mov qword [rsi], rax
lea rbx, [rsi + 0x10]
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call fcn.140057390
nop
mov edi, 0x3e001
mov dword [rsp + 0x30], edi
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], rsi
movdqa xmm6, xmmword [rbp + 0x60]
jmp 0x1400577fa
xorps xmm0, xmm0
psrldq xmm0, 8
movq rsi, xmm0
mov ebx, dword [rbp + 0x34c]
mov rcx, qword [rbp + 0xf0]
call fcn.1400fc9f4
lea rcx, [rbp + 0xd0]
call fcn.140039a00
test ebx, ebx
jne 0x140057d44
lea rcx, [rsp + 0x50]
call fcn.140039a00
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
test rsi, rsi
je 0x140057847
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x68]
movdqa xmm6, xmmword [rbp + 0x60]
mov edi, dword [rsp + 0x30]
movdqa xmmword [rbp + 0x70], xmm6
test rsi, rsi
je 0x14005785d
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x68]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
test rsi, rsi
je 0x1400578a1
mov eax, r13d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14005789d
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14005789d
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov edi, dword [rsp + 0x30]
mov r14, qword [rbp + 0x70]
nop word [rax + rax]
lea rbx, str..log
test r14, r14
je 0x140057c6c
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140056f80
mov rax, qword [rsp + 0x40]
mov edx, dword [rsp + 0x48]
test edx, edx
je 0x1400578e9
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140057d58
cmp eax, 2
jne 0x140057b26
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], 4
call fcn.1400fc774
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp], xmm0
lea r8, [rbp]
mov edx, eax
lea rcx, [rbp - 0x50]
call fcn.1400379b0
or edi, 0x300
or edi, 2
mov dword [rsp + 0x30], edi
lea rcx, [r14 + 0x20]
cmp qword [r14 + 0x38], 7
jbe 0x140057937
mov rcx, qword [r14 + 0x20]
mov rax, qword [r14 + 0x30]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.140056760
cmp rax, rdx
je 0x14005798c
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14005795f
cmp cx, 0x2f
jne 0x140057968
add rax, 2
cmp rax, rdx
jne 0x140057950
cmp rax, rdx
je 0x14005798c
nop dword [rax]
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14005798c
cmp cx, 0x2f
je 0x14005798c
mov rbx, r8
cmp rax, r8
jne 0x140057970
mov r8d, Ordinal_60
mov rcx, rbx
call fcn.1400fd180
cmp rbx, rax
je 0x1400579d7
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x1400579d7
cmp word [rdx], 0x2e
jne 0x1400579bf
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x1400579da
cmp word [rcx], 0x2e
jne 0x1400579da
jmp 0x1400579d7
sub rdx, 2
cmp rbx, rdx
je 0x1400579d7
cmp word [rdx], 0x2e
je 0x1400579da
sub rdx, 2
cmp rbx, rdx
jne 0x1400579c8
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
mov r8, rax
lea rcx, [rbp - 0x70]
call fcn.1400437c0
or edi, 0xe0
or edi, 4
mov dword [rsp + 0x30], edi
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rax, qword [rbp - 0x50]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x18], rax
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp + 0x10], xmm0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x70]
call fcn.140056b10
test eax, eax
jne 0x140057b26
lea rcx, [r14 + 0x20]
cmp qword [r14 + 0x38], 7
jbe 0x140057a4f
mov rcx, qword [r14 + 0x20]
mov rax, qword [r14 + 0x30]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.140056760
cmp rax, r11
je 0x140057aab
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140057a76
cmp cx, 0x2f
jne 0x140057a7f
add rax, 2
cmp rax, r11
jne 0x140057a67
cmp rax, r11
je 0x140057aab
nop dword [rax]
nop dword [rax + rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140057aab
cmp cx, 0x2f
je 0x140057aab
mov r10, rdx
cmp rax, rdx
jne 0x140057a90
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
mov r8, r11
mov rdx, r10
lea rcx, [rsp + 0x70]
call fcn.1400437c0
or edi, 0x1c00
or edi, 8
mov dword [rsp + 0x30], edi
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.14003ef90
or edi, 0x10
mov dword [rsp + 0x30], edi
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140057b01
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
xor r8d, r8d
mov rcx, rax
call fcn.14003d850
cmp rax, 0xffffffffffffffff
je 0x140057b26
mov bl, 1
jmp 0x140057b28
xor bl, bl
test dil, 0x10
je 0x140057b3f
and edi, 0xffffffef
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x40]
call fcn.140039a70
nop
test dil, 8
je 0x140057b57
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x70]
call fcn.140039a00
nop
test dil, 4
je 0x140057b6e
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x70]
call fcn.140039a00
nop
test dil, 2
je 0x140057b84
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x50]
call fcn.140039a00
test bl, bl
je 0x140057bc0
lea r8, [r14 + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x140057bab
mov rdx, r8
mov rcx, rax
call fcn.1400393e0
add qword [r12 + 8], 0x20
jmp 0x140057bc0
mov rdx, rax
mov rcx, r12
call fcn.140058810
nop word [rax + rax]
lea rdx, [rbp + 0x350]
mov rcx, qword [r14 + 0x40]
call fcn.1400fc9d4
cmp eax, 0x12
je 0x140057c17
test eax, eax
jne 0x140057d30
cmp word [rbp + 0x37c], 0x2e
jne 0x140057c03
movzx eax, word [rbp + 0x37e]
test ax, ax
je 0x140057bc0
cmp ax, 0x2e
jne 0x140057c03
cmp word [rbp + 0x380], 0
je 0x140057bc0
lea rdx, [rbp + 0x350]
mov rcx, r14
call fcn.140057250
jmp 0x1400578b0
mov r14, r15
mov qword [rbp + 0x70], r15
mov rbx, qword [rbp + 0x78]
mov qword [rbp + 0x78], r15
test rbx, rbx
je 0x1400578b0
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140057c51
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
je 0x140057c5a
mov edi, dword [rsp + 0x30]
jmp 0x1400578a1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov edi, dword [rsp + 0x30]
jmp 0x1400578a1
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x140057ca6
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140057ca6
mov rbx, qword [rbp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140057ca6
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x140057cdf
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140057cdf
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x140057cdf
mov rcx, qword [rbp + 0x68]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_htonl]
nop
lea rcx, [rbp + 0xa0]
call fcn.140039a00
nop
lea rcx, [rbp + 0x80]
call fcn.140039a00
mov rax, r12
mov rcx, qword [rbp + 0x7b0]
xor rcx, rsp
call fcn.1400fd270
lea r11, [rsp + 0x8d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, eax
call fcn.140056f20
nop
call fcn.140037260
int3
call fcn.1400371c0
nop
lea r8, [rsp + 0x50]
mov edx, ebx
lea rcx, str.directory_iterator::directory_iterator
call fcn.14003f080
nop
lea r8, [r14 + 0x20]
lea rcx, str.directory_entry::status
call fcn.14003f080
int3