Function at 0x14004260c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x1402142b0]
xor rax, rsp
mov qword [rbp + 0x280], rax
and qword [rsp + 0x48], 0
lea rax, [rsp + 0x58]
mov rsi, rdx
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov qword [rsp + 0x50], 0x104
mov rcx, rsi
lea rdx, [rsp + 0x40]
mov r15, r9
mov r14, r8
call fcn.14002d000
mov rdi, qword [rsp + 0x48]
cmp rdi, 4
jb 0x1400426a2
mov rcx, qword [rsp + 0x40]
lea rdx, [0x140160e1c]
mov r8d, 4
call fcn.140116c20
test eax, eax
jne 0x1400426a2
lea edx, [rax + 3]
lea rcx, [rsp + 0x40]
call fcn.14003f838
mov rdi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov r8, r14
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rdi
call fcn.14003c44c
cmp dword [rsp + 0x20], 0
je 0x1400426eb
movups xmm0, xmmword [rsp + 0x20]
movdqu xmmword [rbx], xmm0
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
cmp rcx, rax
je 0x14004289e
jmp 0x140042899
xor edx, edx
mov rcx, rsi
call fcn.14003eed8
mov sil, al
test al, al
je 0x140042808
xor ecx, ecx
add rcx, qword [r14 + 8]
mov rdi, qword [rsp + 0x40]
cmp rcx, r15
jb 0x140042880
cmp qword [rsp + 0x48], 4
jb 0x140042739
mov r8d, 4
lea rdx, [0x140160e24]
mov rcx, rdi
call fcn.140116c20
test eax, eax
je 0x140042880
test sil, sil
jne 0x140042758
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14003f3f8
cmp dword [rsp + 0x20], 0
jne 0x1400426ca
mov edi, 3
lea rcx, [rsp + 0x40]
mov edx, edi
call fcn.14003f838
mov r8d, edi
lea rcx, [rsp + 0x40]
mov dl, 1
call fcn.140040798
mov rax, qword [rsp + 0x40]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x28], rax
call fcn.140041c48
and qword [rbp + 0x68], 0
lea rax, [rbp + 0x78]
lea r8, [0x140160e28]
mov qword [rbp + 0x60], rax
lea rdx, [0x140160e24]
mov qword [rbp + 0x70], 0x208
lea rcx, [rbp + 0x60]
call fcn.1400107ec
mov rax, qword [rsp + 0x30]
lea rcx, [rbp + 0x60]
cmp byte [rax + 1], 0x3a
je 0x140042831
lea r8, [0x140160e30]
lea rdx, str.UNC_
call fcn.1400107ec
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp + 0x60]
mov r8, qword [rsp + 0x48]
add r8, rdx
add rdx, 2
call fcn.1400107ec
jmp 0x140042843
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, eax
test eax, eax
jne 0x140042702
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14002c20c
jmp 0x1400426d3
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
add r8, rdx
call fcn.1400107ec
mov rax, qword [rbp + 0x60]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x20], rax
mov r8, r14
mov rax, qword [rbp + 0x68]
mov rcx, rbx
mov qword [rsp + 0x28], rax
call fcn.14003c44c
mov rcx, qword [rbp + 0x60]
lea rax, [rbp + 0x78]
cmp rcx, rax
je 0x1400426d3
call fcn.14011c590
jmp 0x1400426d3
and dword [rbx], 0
call fcn.140004f44
mov qword [rbx + 8], rax
lea rax, [rsp + 0x58]
cmp rdi, rax
je 0x14004289e
mov rcx, rdi
call fcn.14011c590
mov rax, rbx
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140115e10
mov rbx, qword [rsp + 0x3d8]
add rsp, 0x390
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret