Function at 0x14014ac0e
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x318
mov rdi, r9
mov rbp, r8
mov r12, rdx
mov rbx, rcx
mov r15, qword [rsp + 0x3b0]
mov r14, qword [rsp + 0x3a0]
mov esi, dword [rsp + 0x390]
mov rax, qword [0x1401ee6a8]
xor rax, rsp
mov qword [rsp + 0x310], rax
call fcn.1400525f0
test al, al
je 0x14014accc
call fcn.140061230
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14008c224
test al, al
je 0x14014accc
mov rax, qword [rsp + 0x398]
mov ecx, dword [rsp + 0x388]
mov r9, qword [rsp + 0x380]
mov qword [rsp + 0x48], r15
mov rdx, qword [rsp + 0x3a8]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ecx
mov rcx, r12
mov rdx, rbp
mov r8, rdi
call rbx
mov edi, 1
test eax, eax
jne 0x14014aef9
call fcn.140061230
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14008c214
xor edi, edi
test al, al
je 0x14014aef9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov edx, 0x18
mov rcx, r15
mov r8d, 1
call fcn.1400f8a8e
test al, al
je 0x14014aeef
call fcn.1400f89c4
test rax, rax
je 0x14014aeef
mov r13, rax
test rbp, rbp
je 0x14014ad3a
mov rcx, rbp
call fcn.1400f9151
mov rbx, rax
test rax, rax
jne 0x14014ad3c
jmp 0x14014aeef
xor ebx, ebx
test r12, r12
je 0x14014ad56
mov rcx, r12
call fcn.1400f9151
mov rdi, rax
test rax, rax
jne 0x14014ad58
mov rcx, rbx
jmp 0x14014ad7a
xor edi, edi
test r14, r14
je 0x14014ad86
mov rcx, r14
call fcn.1400f9151
mov r14, rax
test rax, rax
jne 0x14014ad89
mov rcx, rbx
xor edx, edx
call fcn.1400f91ff
mov rcx, rdi
xor edx, edx
call fcn.1400f91ff
jmp 0x14014aeef
xor r14d, r14d
test rbx, rbx
je 0x14014ad94
mov rax, qword [rbx + 8]
jmp 0x14014ad96
xor eax, eax
mov qword [rsp + 0x98], rax
test rdi, rdi
je 0x14014ada9
mov rax, qword [rdi + 8]
jmp 0x14014adab
xor eax, eax
mov qword [rsp + 0x90], rax
test r14, r14
je 0x14014adbe
mov rax, qword [r14 + 8]
jmp 0x14014adc0
xor eax, eax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x80], 0
lea rbp, [rsp + 0x100]
mov ecx, 0x104
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x102
ja 0x14014adfb
mov qword [rsp + 0x80], rbp
lea r12, [rsp + 0x70]
mov rcx, r12
mov rdx, r13
call fcn.1400f996a
xorps xmm0, xmm0
lea rax, [rsp + 0xa0]
movaps xmmword [rax + 0x40], xmm0
movaps xmmword [rax + 0x30], xmm0
movaps xmmword [rax + 0x20], xmm0
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax], xmm0
mov qword [rax + 0x50], 0
lea rcx, [rsp + 0x60]
mov dword [rcx], 0x18
mov qword [rcx + 8], r15
mov rdx, qword [rsp + 0x3a8]
mov edx, dword [rdx + 0x3c]
lea rbp, [rsp + 0x5c]
mov dword [rbp], edx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x390]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x90]
lea r9, [rsp + 0x98]
mov rcx, r12
mov edx, 0xd
call fcn.14014a999
mov ebp, eax
mov rcx, rbx
xor edx, edx
call fcn.1400f91ff
mov rcx, rdi
xor edx, edx
call fcn.1400f91ff
mov rcx, r14
xor edx, edx
call fcn.1400f91ff
test ebp, ebp
je 0x14014aece
mov al, 1
jmp 0x14014aeeb
mov ecx, dword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
cmp dword [rsp + 0xa8], 0
sete dil
xor eax, eax
test al, al
je 0x14014aef9
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.140163e00
mov eax, edi
add rsp, 0x318
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret