Function at 0x14002e540
Capabilities:
Get common file path
Set current directory

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rdx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
movups xmm0, xmmword [0x140236fb0]
movaps xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, qword [rcx]
call fcn.14002f260
test al, al
jne 0x14002e5c4
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
mov dword [rsp + 0x20], 1
jmp 0x14002e7e0
lea rdx, [rbp - 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
nop
call fcn.14000c980
lea rcx, [rax + 0x33210]
cmp qword [rcx + 0x18], 8
jb 0x14002e5ea
mov rcx, qword [rcx]
mov rax, qword [rbx]
mov rsi, qword [rax + 0x58]
mov qword [rsp + 0x40], r14
lea r9, [rsp + 0x40]
lea r8, [0x140236fc0]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
test eax, eax
js 0x14002e61c
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call qword [rax + 0x60]
mov rsi, qword [rbx]
mov dword [rsp + 0x40], r14d
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x14002e810
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x50]
test eax, eax
js 0x14002e65d
mov rcx, qword [rsi + 0x58]
test rcx, rcx
je 0x14002e81b
mov rax, qword [rcx]
mov edx, dword [rsp + 0x40]
or edx, 0x1840
call qword [rax + 0x48]
mov rcx, qword [rbx]
call fcn.140030550
test al, al
je 0x14002e67e
lea rdx, [rsp + 0x60]
mov rcx, qword [rbx]
call fcn.14002f050
nop
mov ebx, 2
jmp 0x14002e6b9
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1401e3030]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x40], r14w
xor r8d, r8d
lea rdx, [0x1401e4278]
lea rcx, [rsp + 0x40]
call fcn.140006d60
lea rax, [rsp + 0x40]
mov ebx, 4
mov dword [rsp + 0x20], ebx
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
or ebx, 1
mov dword [rsp + 0x20], ebx
test bl, 4
je 0x14002e74c
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14002e738
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e733
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e826
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r14w
test bl, 2
je 0x14002e7aa
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14002e796
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e791
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002e80a
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r14w
call fcn.14000c980
mov rbx, rax
cmp dword [rax + 0x3fc], 1
jne 0x14002e7d6
lea rdx, [rbp - 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.1400e9710
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov rax, rdi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14017f700
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1401a10ac
int3
mov ecx, 0x80004003
call fcn.140180a20
int3
mov ecx, 0x80004003
call fcn.140180a20
nop
call fcn.1401a10ac
int3