Function at 0x14002fa60
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x228]
sub rsp, 0x328
mov rax, qword [0x14009cb48]
xor rax, rsp
mov qword [rbp + 0x210], rax
mov rax, qword [rbp + 0x2a8]
mov rsi, r9
mov r14, qword [rbp + 0x290]
mov rbx, r8
mov r12, qword [rbp + 0x2b0]
mov r15, rdx
mov r13, qword [rbp + 0x2c0]
mov rdi, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rbp + 0x2b8]
mov qword [rsp + 0x50], rax
call fcn.140035180
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14003eda0
test al, al
je 0x14002fb2d
mov rax, qword [rsp + 0x50]
mov r9, r14
mov qword [rsp + 0x48], r13
mov r8, rsi
mov qword [rsp + 0x40], rax
mov rdx, rbx
mov rax, qword [rsp + 0x58]
mov rcx, r15
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
mov eax, dword [rbp + 0x2a0]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0x298]
mov dword [rsp + 0x20], eax
call rdi
xor r14d, r14d
test eax, eax
jne 0x14002fd08
jmp 0x14002fb30
xor r14d, r14d
call fcn.140035180
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14003ed90
test al, al
je 0x14002fb9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x18
mov rcx, r13
mov dword [rsp + 0x50], eax
lea r8d, [rdx - 0x17]
call fcn.140035f90
test al, al
je 0x14002fb95
call fcn.140035a10
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14002fb95
mov rdi, r14
mov rsi, r14
test rbx, rbx
je 0x14002fbc4
mov rcx, rbx
call fcn.140035700
xor ebx, ebx
mov rdi, rax
test rax, rax
jne 0x14002fbc4
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400801e0
add rsp, 0x328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test r15, r15
je 0x14002fbe5
mov rcx, r15
call fcn.140035700
mov rsi, rax
test rax, rax
jne 0x14002fbe5
mov rcx, rdi
xor edx, edx
call fcn.140035240
jmp 0x14002fb95
test r12, r12
je 0x14002fc09
mov rcx, r12
call fcn.140035700
mov r14, rax
test rax, rax
jne 0x14002fc09
xor edx, edx
mov rcx, rdi
call fcn.140035240
mov rcx, rsi
jmp 0x14002fbdc
test rdi, rdi
je 0x14002fc14
mov rax, qword [rdi + 8]
jmp 0x14002fc17
mov rax, rbx
mov qword [rsp + 0x78], rax
test rsi, rsi
je 0x14002fc27
mov rax, qword [rsi + 8]
jmp 0x14002fc2a
mov rax, rbx
mov qword [rbp - 0x80], rax
test r14, r14
je 0x14002fc39
mov rax, qword [r14 + 8]
jmp 0x14002fc3c
mov rax, rbx
lea rdx, [rbp]
mov qword [rsp + 0x68], rax
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rdx, qword [rsp + 0x58]
lea rcx, [rbp]
dec eax
cmp eax, 0x102
cmova rcx, rbx
mov qword [rsp + 0x70], rcx
lea rcx, [rbp - 0x78]
call fcn.14003afa0
xor edx, edx
lea rcx, [rbp - 0x60]
lea r8d, [rdx + 0x58]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x60]
mov dword [rsp + 0x58], 0x18
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x78]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x30], rax
lea r8, [rbp - 0x80]
lea rax, [rsp + 0x68]
mov edx, 0xd
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x78]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.14002f890
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140035240
xor edx, edx
mov rcx, rsi
call fcn.140035240
xor edx, edx
mov rcx, r14
call fcn.140035240
xor edi, edi
test ebx, ebx
jne 0x14002fb95
mov ecx, dword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [rbp - 0x58], edi
jne 0x14002fb9f
mov eax, 1
jmp 0x14002fba1