Function at 0x140113a05
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 rbx, r9
mov rsi, r8
mov r13, rdx
mov rdi, rcx
mov r15, qword [rsp + 0x3b0]
mov r14, qword [rsp + 0x3a0]
mov rax, qword [0x1401ac698]
xor rax, rsp
mov qword [rsp + 0x310], rax
call fcn.140054d08
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140096fc4
test al, al
je 0x140113aba
mov rax, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0x398]
mov edx, dword [rsp + 0x390]
mov ebp, dword [rsp + 0x388]
mov r9, qword [rsp + 0x380]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ebp
mov rcx, r13
mov rdx, rsi
mov r8, rbx
call rdi
mov edi, 1
test eax, eax
jne 0x140113d04
call fcn.140054d08
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.140096fb4
xor edi, edi
test al, al
je 0x140113d04
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov edx, 0x18
mov rcx, r15
mov r8d, 1
call fcn.1400cdaaa
test al, al
je 0x140113cfa
call fcn.1400cd9e0
test rax, rax
je 0x140113cfa
mov r12, rax
test rsi, rsi
je 0x140113b28
mov rcx, rsi
call fcn.1400ce22c
mov rbx, rax
test rax, rax
jne 0x140113b2a
jmp 0x140113cfa
xor ebx, ebx
test r13, r13
je 0x140113b44
mov rcx, r13
call fcn.1400ce22c
mov r13, rax
test rax, rax
jne 0x140113b47
mov rcx, rbx
jmp 0x140113b66
xor r13d, r13d
test r14, r14
je 0x140113b72
mov rcx, r14
call fcn.1400ce22c
test rax, rax
jne 0x140113b74
mov rcx, rbx
xor edx, edx
call fcn.1400ce2e9
mov rcx, r13
xor edx, edx
call fcn.1400ce2e9
jmp 0x140113cfa
xor eax, eax
movabs rdx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rdx
test rbx, rbx
je 0x140113b91
mov rcx, qword [rbx + 8]
jmp 0x140113b93
xor ecx, ecx
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x98], rdx
test r13, r13
je 0x140113bae
mov rcx, qword [r13 + 8]
jmp 0x140113bb0
xor ecx, ecx
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0x90], rdx
test rax, rax
mov qword [rsp + 0x58], rax
je 0x140113bd0
mov rax, qword [rax + 8]
jmp 0x140113bd2
xor eax, eax
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x88], 0
lea rsi, [rsp + 0x100]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.14012fcf0
mov ecx, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x102
ja 0x140113c1d
mov qword [rsp + 0x88], rsi
movaps xmm0, xmmword [section..rdata]
lea r14, [rsp + 0x70]
movaps xmmword [r14], xmm0
mov rcx, r14
mov rdx, r12
call fcn.1400cea86
lea rsi, [0x140178d30]
lea rax, [rsp + 0xa8]
mov ecx, 0xb
mov rdi, rax
rep movsq qword [rdi], qword [rsi]
lea rcx, [rsp + 0x60]
movabs rdx, 0xaaaaaaaaaaaaaaaa
mov qword [rcx], rdx
mov dword [rcx], 0x18
mov qword [rcx + 8], r15
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x98]
lea r9, [rsp + 0xa0]
mov rcx, r14
mov edx, 0xd
call fcn.1401137ff
mov esi, eax
mov rcx, rbx
xor edx, edx
call fcn.1400ce2e9
mov rcx, r13
xor edx, edx
call fcn.1400ce2e9
mov rcx, qword [rsp + 0x58]
xor edx, edx
call fcn.1400ce2e9
test esi, esi
je 0x140113cd9
mov al, 1
jmp 0x140113cf6
mov ecx, dword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
cmp dword [rsp + 0xb0], 0
sete dil
xor eax, eax
test al, al
je 0x140113d04
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.14012cde0
mov eax, edi
add rsp, 0x318
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret