Function at 0x14002d860
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 [0x14008e3a8]
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.140032e88
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14003bfd4
test al, al
je 0x14002d92d
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 0x14002db08
jmp 0x14002d930
xor r14d, r14d
call fcn.140032e88
mov rcx, rax
mov rdx, qword [rax]
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14003bfcc
test al, al
je 0x14002d99f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x18
mov rcx, r13
mov dword [rsp + 0x50], eax
lea r8d, [rdx - 0x17]
call fcn.140033c14
test al, al
je 0x14002d995
call fcn.1400336dc
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14002d995
mov rdi, r14
mov rsi, r14
test rbx, rbx
je 0x14002d9c4
mov rcx, rbx
call fcn.1400333dc
xor ebx, ebx
mov rdi, rax
test rax, rax
jne 0x14002d9c4
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.140075580
add rsp, 0x328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test r15, r15
je 0x14002d9e5
mov rcx, r15
call fcn.1400333dc
mov rsi, rax
test rax, rax
jne 0x14002d9e5
mov rcx, rdi
xor edx, edx
call fcn.140032f30
jmp 0x14002d995
test r12, r12
je 0x14002da09
mov rcx, r12
call fcn.1400333dc
mov r14, rax
test rax, rax
jne 0x14002da09
xor edx, edx
mov rcx, rdi
call fcn.140032f30
mov rcx, rsi
jmp 0x14002d9dc
test rdi, rdi
je 0x14002da14
mov rax, qword [rdi + 8]
jmp 0x14002da17
mov rax, rbx
mov qword [rsp + 0x78], rax
test rsi, rsi
je 0x14002da27
mov rax, qword [rsi + 8]
jmp 0x14002da2a
mov rax, rbx
mov qword [rbp - 0x80], rax
test r14, r14
je 0x14002da39
mov rax, qword [r14 + 8]
jmp 0x14002da3c
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.1400388c0
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.14002d694
xor edx, edx
mov rcx, rdi
mov ebx, eax
call fcn.140032f30
xor edx, edx
mov rcx, rsi
call fcn.140032f30
xor edx, edx
mov rcx, r14
call fcn.140032f30
xor edi, edi
test ebx, ebx
jne 0x14002d995
mov ecx, dword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [rbp - 0x58], edi
jne 0x14002d99f
mov eax, 1
jmp 0x14002d9a1