Function at 0x140031e50
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 [0x1400b6040]
xor rax, rsp
mov qword [rbp + 0x2d0], 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 + 0xc0]
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 + 0xa0], rbx
mov qword [rbp + 0xa8], rbx
movups xmmword [rbp + 0x90], xmm0
test eax, eax
js 0x140031f09
lea rax, [rbp + 0xc0]
mov r8, r13
inc r8
cmp word [rax + r8*2], 0
jne 0x140031ef5
lea rdx, [rbp + 0xc0]
jmp 0x140031f13
xor r8d, r8d
lea rdx, [0x1400a0648]
lea rcx, [rbp + 0x90]
call fcn.140004630
mov dword [rsp + 0x30], 0x401
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov rsi, qword [rbp + 0xa0]
sub rax, rsi
cmp rax, 0xc
jb 0x14003264c
lea r15, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova r15, qword [rbp + 0x90]
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], rbx
lea r14, [rsi + 0xc]
mov ebx, 7
lea rdi, [rbp + 0x70]
cmp r14, rbx
jbe 0x140032019
mov rbx, r14
or rbx, 7
cmp rbx, rcx
jbe 0x140031fa9
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140031fd8
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140032666
add rcx, rcx
cmp rcx, 0x1000
jb 0x140032004
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140032666
mov rcx, rax
call fcn.14008c9c0
test rax, rax
je 0x140032580
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140032015
test rcx, rcx
je 0x140032013
call fcn.14008c9c0
mov rdi, rax
jmp 0x140032015
xor edi, edi
mov qword [rbp + 0x70], rdi
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], 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 [0x1400a0668]
movsd qword [rbx + rdi + 0x10], xmm0
xor r15d, r15d
mov word [rdi + r14*2], r15w
mov dword [rsp + 0x30], 0xc01
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 7
cmova rdx, qword [rbp + 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov r8, qword [rbp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.140004630
mov ebx, 0x3c01
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x50]
call fcn.140032a40
test eax, eax
jne 0x140032652
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140032102
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400320fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400320fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008ca04
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov rsi, qword [rbp + 0x58]
test rsi, rsi
je 0x14003211e
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x58]
mov ebx, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x60], xmm0
test rsi, rsi
je 0x140032138
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x58]
mov ebx, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
test rsi, rsi
je 0x140032185
mov eax, r13d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14003217d
mov rbx, qword [rbp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14003217d
mov rsi, qword [rbp + 0x58]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
jmp 0x140032181
mov rsi, qword [rbp + 0x58]
mov ebx, dword [rsp + 0x30]
cmp qword [rbp + 0x50], 0
je 0x1400324d4
mov r14, qword [rbp + 0x60]
lea rdi, str..log
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.1400317b0
mov rax, qword [rbp - 0x80]
mov edx, dword [rbp - 0x78]
test edx, edx
je 0x1400321c1
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14003263b
cmp eax, 2
jne 0x140032326
call fcn.14008be24
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], 4
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.140002120
or ebx, 0x60
or ebx, 2
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x10]
lea rcx, [r14 + 0x20]
call fcn.1400314d0
mov r8, rax
or ebx, 4
mov dword [rsp + 0x30], 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 [rbp + 0x20], xmm0
lea rdx, [rbp + 0x20]
mov rcx, r8
call fcn.1400312c0
test eax, eax
jne 0x140032326
lea rcx, [r14 + 0x20]
cmp qword [r14 + 0x38], 7
jbe 0x140032251
mov rcx, qword [r14 + 0x20]
mov rax, qword [r14 + 0x30]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.140002270
cmp rax, r11
je 0x1400322ab
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14003227f
cmp cx, 0x2f
jne 0x140032288
add rax, 2
cmp rax, r11
jne 0x140032270
cmp rax, r11
je 0x1400322ab
nop dword [rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x1400322ab
cmp cx, 0x2f
je 0x1400322ab
mov r10, rdx
cmp rax, rdx
jne 0x140032290
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
mov r8, r11
mov rdx, r10
lea rcx, [rsp + 0x40]
call fcn.140004630
or ebx, 0x380
or ebx, 8
mov dword [rsp + 0x30], ebx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x40]
call fcn.1400096e0
or ebx, 0x10
mov dword [rsp + 0x30], ebx
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140032303
mov rax, qword [rax]
mov qword [rsp + 0x20], 6
lea r9, str.Player
mov rcx, rax
call fcn.1400070f0
cmp rax, 0xffffffffffffffff
je 0x140032326
mov dil, 1
jmp 0x140032329
xor dil, dil
test bl, 0x10
je 0x140032380
and ebx, 0xffffffef
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140032370
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003236b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032587
call fcn.14008ca04
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
test bl, 8
je 0x1400323e2
and ebx, 0xfffffff7
mov dword [rsp + 0x30], ebx
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400323ce
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400323c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003258e
call fcn.14008ca04
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r15w
test bl, 4
je 0x14003243f
and ebx, 0xfffffffb
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14003242e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032429
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032595
call fcn.14008ca04
mov qword [rbp], r15
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r15w
test bl, 2
je 0x14003248b
and ebx, 0xfffffffd
mov dword [rsp + 0x30], ebx
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14003248b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032486
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003259c
call fcn.14008ca04
test dil, dil
je 0x1400324be
lea r8, [r14 + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x1400324b3
mov rdx, r8
mov rcx, rax
call fcn.140003820
add qword [r12 + 8], 0x20
jmp 0x1400324be
mov rdx, rax
mov rcx, r12
call fcn.140032f30
lea rcx, [rbp + 0x60]
call fcn.140031d50
mov r14, qword [rbp + 0x60]
test r14, r14
jne 0x140032194
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x140032511
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14003250d
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 0x14003250d
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
mov rsi, qword [rbp + 0x58]
test rsi, rsi
je 0x140032546
mov eax, r13d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x140032546
mov rbx, qword [rbp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x140032546
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 7
jbe 0x1400325a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400325a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400325a3
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.14008ca04
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r15w
mov rdx, qword [rbp + 0xa8]
cmp rdx, 7
jbe 0x140032608
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032603
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032603
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008ca04
mov rax, r12
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.14008c9a0
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, [r14 + 0x20]
lea rcx, str.directory_entry::status
call fcn.1400097d0
nop
call fcn.140001a80
nop
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.1400097d0
nop
call fcn.1400019e0
int3