Function at 0x140084460
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3d0
mov rax, qword [0x1400df040]
xor rax, rsp
mov qword [rsp + 0x3c8], rax
mov r12, rcx
mov qword [rsp + 0xd0], rcx
xor esi, esi
mov dword [rsp + 0x30], 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 + 0x30], 1
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1c
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x70], xmm0
movdqu xmmword [rsp + 0x80], xmm1
test eax, eax
js 0x14008451f
lea rax, [rsp + 0x170]
mov r13, 0xffffffffffffffff
mov r8, r13
inc r8
cmp word [rax + r8*2], 0
jne 0x140084500
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x70]
call fcn.1400180a0
jmp 0x14008453a
xor r8d, r8d
lea rdx, [0x1400d05e8]
lea rcx, [rsp + 0x70]
call fcn.1400180a0
mov r13, 0xffffffffffffffff
mov r14d, 0x4001
mov dword [rsp + 0x30], r14d
mov r8d, 0xc
lea rdx, str.Robloxlogs
lea rcx, [rsp + 0x70]
call fcn.140016460
xorps xmm0, xmm0
movups xmmword [rsp + 0x140], xmm0
mov qword [rsp + 0x150], rsi
mov qword [rsp + 0x158], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x140], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x150], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
bts r14d, 0xf
mov dword [rsp + 0x30], r14d
mov rdx, qword [rsp + 0x88]
cmp rdx, 7
jbe 0x1400845ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400845ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400845ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089790
movdqa xmm0, xmmword [0x1400d0fc0]
movdqu xmmword [rsp + 0x80], xmm0
mov word [rsp + 0x70], si
lea rdx, [rsp + 0x140]
cmp qword [rsp + 0x158], 7
cmova rdx, qword [rsp + 0x140]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov r8, qword [rsp + 0x150]
lea rcx, [rsp + 0x38]
call fcn.1400180a0
or r14d, 0x30000
mov dword [rsp + 0x30], r14d
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x130], xmm0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x130]
call fcn.140085420
test eax, eax
jne 0x140084e31
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1400846ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400846b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400846b5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089790
xorps xmm0, xmm0
movups xmmword [rsp + 0x120], xmm0
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x1400846db
lock inc dword [rcx + 8]
mov r14d, dword [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x130]
movdqa xmmword [rsp + 0x120], xmm0
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x140084702
lock inc dword [rcx + 8]
mov r14d, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x160], xmm1
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x140084758
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140084753
mov rbx, qword [rsp + 0x138]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140084753
mov rcx, qword [rsp + 0x138]
mov rax, qword [rcx]
call qword [rax + 8]
mov r14d, dword [rsp + 0x30]
mov r15, qword [rsp + 0x120]
cmp r15, qword [rsp + 0x160]
je 0x140084d21
lea rdx, [rsp + 0xb0]
mov rcx, r15
call fcn.140083e20
mov edx, dword [rsp + 0xb8]
mov rax, qword [rsp + 0xb0]
test edx, edx
je 0x1400847a0
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140084e45
cmp eax, 2
jne 0x140084aad
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov r8d, 4
lea rdx, str..log
lea rcx, [rsp + 0x38]
call fcn.1400180a0
or r14d, 0x60
or r14d, 2
mov dword [rsp + 0x30], r14d
lea rsi, [r15 + 0x20]
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x1400847f0
mov rcx, qword [rsi]
lea rdi, [rsi + 0x10]
mov rax, qword [rdi]
lea rdx, [rcx + rax*2]
mov rbx, rdx
call fcn.140012cb0
cmp rax, rdx
je 0x14008484c
nop dword [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14008481f
cmp cx, 0x2f
jne 0x140084828
add rax, 2
cmp rax, rdx
jne 0x140084810
cmp rax, rdx
je 0x14008484c
nop dword [rax]
lea r8, [rbx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14008484c
cmp cx, 0x2f
je 0x14008484c
mov rbx, r8
cmp rax, r8
jne 0x140084830
mov r8d, 0x3a
mov rcx, rbx
call fcn.14008af30
cmp rbx, rax
je 0x140084897
lea rdx, [rax - 2]
cmp rbx, rdx
je 0x140084897
cmp word [rdx], 0x2e
jne 0x14008487f
lea rcx, [rdx - 2]
cmp rbx, rcx
jne 0x14008489a
cmp word [rcx], 0x2e
jne 0x14008489a
jmp 0x140084897
sub rdx, 2
cmp rbx, rdx
je 0x140084897
cmp word [rdx], 0x2e
je 0x14008489a
sub rdx, 2
cmp rbx, rdx
jne 0x140084888
mov rdx, rax
sub rax, rdx
sar rax, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
xor ecx, ecx
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rcx
mov r8, rax
lea rcx, [rsp + 0x90]
call fcn.1400180a0
or r14d, 0x380
or r14d, 4
mov dword [rsp + 0x30], r14d
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 7
cmova rax, qword [rsp + 0x38]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xc8], rax
movaps xmm0, xmmword [rsp + 0xc0]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.140083960
test eax, eax
jne 0x140084aab
cmp qword [rsi + 0x18], 7
jbe 0x140084935
mov rsi, qword [rsi]
mov rax, qword [rdi]
lea rdi, [rsi + rax*2]
mov rbx, rdi
mov rdx, rdi
mov rcx, rsi
call fcn.140012cb0
cmp rax, rdi
je 0x14008498b
nop
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14008495f
cmp cx, 0x2f
jne 0x140084968
add rax, 2
cmp rax, rdi
jne 0x140084950
cmp rax, rdi
je 0x14008498b
nop dword [rax]
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14008498b
cmp cx, 0x2f
je 0x14008498b
mov rbx, rdx
cmp rax, rdx
jne 0x140084970
sub rdi, rbx
sar rdi, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0xf8], xmm0
xor esi, esi
mov qword [rsp + 0x108], rsi
mov qword [rsp + 0x110], rsi
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0xf8]
call fcn.1400180a0
or r14d, 0x3800
or r14d, 8
mov dword [rsp + 0x30], r14d
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0xd8]
call fcn.1400164e0
or r14d, 0x410
mov dword [rsp + 0x30], r14d
lea r10, [rsp + 0xd8]
mov r11, qword [rsp + 0xf0]
cmp r11, 7
cmova r10, qword [rsp + 0xd8]
mov rax, qword [rsp + 0xe8]
cmp rax, 6
jb 0x140084ab5
add rax, 0xfffffffffffffffb
lea rbx, [r10 + rax*2]
mov rax, r10
lea rdi, str.Player
nop dword [rax]
nop word [rax + rax]
mov rcx, rbx
sub rcx, rax
sar rcx, 1
mov rdx, rsi
je 0x140084a6a
cmp word [rax], 0x50
je 0x140084a67
cmp rcx, 1
je 0x140084a6a
dec rcx
add rax, 2
cmp word [rax], 0x50
jne 0x140084a54
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140084ab5
mov r8d, 6
mov rdx, rdi
mov r9, rax
sub r9, rdi
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x140084aa5
add rdx, 2
sub r8, 1
jne 0x140084a81
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140084ab5
mov bl, 1
jmp 0x140084ab7
add rax, 2
jmp 0x140084a40
xor esi, esi
mov r11, qword [rsp + 0xf0]
xor bl, bl
test r14b, 0x10
je 0x140084b0a
and r14d, 0xffffffef
mov dword [rsp + 0x30], r14d
cmp r11, 7
jbe 0x140084b0a
lea rdx, [r11*2 + 2]
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084b04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084b04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089790
nop
test r14b, 8
je 0x140084b65
and r14d, 0xfffffff7
mov dword [rsp + 0x30], r14d
mov rdx, qword [rsp + 0x110]
cmp rdx, 7
jbe 0x140084b65
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084b5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084b5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089790
nop
test r14b, 4
je 0x140084bdb
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
mov rdx, qword [rsp + 0xa8]
cmp rdx, 7
jbe 0x140084bbf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084bba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084bba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089790
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], 7
mov word [rsp + 0x90], si
test r14b, 2
je 0x140084c2f
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140084c2f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084c2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084c2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089790
test bl, bl
je 0x140084c61
lea r8, [r15 + 0x20]
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x140084c56
mov rdx, r8
mov rcx, rax
call fcn.1400164e0
add qword [r12 + 8], 0x20
jmp 0x140084c61
mov rdx, rax
mov rcx, r12
call fcn.140085ce0
lea rdx, [rsp + 0x170]
mov rcx, qword [r15 + 0x40]
call fcn.14008aa64
cmp eax, 0x12
je 0x140084cba
test eax, eax
jne 0x140084e55
cmp word [rsp + 0x19c], 0x2e
jne 0x140084ca8
movzx eax, word [rsp + 0x19e]
test ax, ax
je 0x140084c61
cmp ax, 0x2e
jne 0x140084ca8
cmp word [rsp + 0x1a0], 0
je 0x140084c61
lea rdx, [rsp + 0x170]
mov rcx, r15
call fcn.140084180
jmp 0x140084d12
mov r15, rsi
mov qword [rsp + 0x120], rsi
mov rbx, qword [rsp + 0x128]
mov qword [rsp + 0x128], rsi
test rbx, rbx
je 0x140084d12
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140084d05
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140084d05
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov r14d, dword [rsp + 0x30]
mov r15, qword [rsp + 0x120]
mov eax, esi
test eax, eax
jne 0x140084e55
jmp 0x140084760
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x140084d67
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140084d67
mov rbx, qword [rsp + 0x128]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140084d67
mov rcx, qword [rsp + 0x128]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x138]
test rcx, rcx
je 0x140084dac
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140084dac
mov rbx, qword [rsp + 0x138]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x140084dac
mov rcx, qword [rsp + 0x138]
mov rax, qword [rcx]
call qword [rax + 8]
nop
jmp 0x140084db6
mov rdx, qword [rsp + 0x158]
cmp rdx, 7
jbe 0x140084e01
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140084dfc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140084dfc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140089790
mov rax, r12
mov rcx, qword [rsp + 0x3c8]
xor rcx, rsp
call fcn.140089770
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea r8, [rsp + 0x38]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140083db0
nop
lea r8, [r15 + 0x20]
lea rcx, str.directory_entry::status
call fcn.140083db0
mov edx, eax
call fcn.140083d50
int3