Function at 0x14005ea70
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x328
mov rdi, r9
mov rbx, r8
mov r15, rdx
mov rbp, rcx
mov r12, qword [rsp + 0x3c0]
mov r14, qword [rsp + 0x3b0]
mov r13, qword [0x1400f7448]
mov rax, qword [r13]
xor rax, rsp
mov qword [rsp + 0x320], rax
call fcn.140065990
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14006e500
test al, al
je 0x14005eb29
mov rax, qword [rsp + 0x3b8]
mov rcx, qword [rsp + 0x3a8]
mov edx, dword [rsp + 0x3a0]
mov esi, dword [rsp + 0x398]
mov r9, qword [rsp + 0x390]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], esi
mov rcx, r15
mov rdx, rbx
mov r8, rdi
call rbp
mov edi, 1
test eax, eax
jne 0x14005ed54
lea rcx, str.CreateProcessA
mov rdx, r15
call fcn.14001e1e0
call fcn.140065990
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14006e4e0
xor edi, edi
test al, al
je 0x14005ed54
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov edx, 0x18
mov rcx, r12
mov r8d, 1
call fcn.140065d70
test al, al
je 0x14005ed4c
call fcn.140065ab0
test rax, rax
je 0x14005ed4c
mov rbp, rax
test rbx, rbx
je 0x14005ebbc
mov rcx, rbx
call fcn.140066520
mov rbx, rax
test rax, rax
je 0x14005ed4c
test r15, r15
je 0x14005ebc3
mov rcx, r15
call fcn.140066520
test rax, rax
jne 0x14005ebc5
mov rcx, rbx
jmp 0x14005ebeb
xor ebx, ebx
test r15, r15
jne 0x14005ebaa
xor eax, eax
mov qword [rsp + 0x58], rax
test r14, r14
je 0x14005ebf7
mov rcx, r14
call fcn.140066520
test rax, rax
jne 0x14005ebf9
mov rcx, rbx
xor edx, edx
call fcn.140066640
mov rcx, qword [rsp + 0x58]
xor edx, edx
call fcn.140066640
jmp 0x14005ed4c
xor eax, eax
test rbx, rbx
je 0x14005ec04
mov rdx, qword [rbx + 8]
jmp 0x14005ec06
xor edx, edx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0xa8], rdx
test rcx, rcx
je 0x14005ec1e
mov rcx, qword [rcx + 8]
jmp 0x14005ec20
xor ecx, ecx
mov qword [rsp + 0xa0], rcx
test rax, rax
mov qword [rsp + 0x60], rax
je 0x14005ec38
mov rax, qword [rax + 8]
jmp 0x14005ec3a
xor eax, eax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x90], 0
lea r14, [rsp + 0x110]
mov ecx, 0x104
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xffffffff
cmp eax, 0x102
ja 0x14005ec7b
mov qword [rsp + 0x90], r14
lea r14, [rsp + 0x80]
mov rcx, r14
mov rdx, rbp
call fcn.140069a20
xorps xmm0, xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0x100], 0
mov dword [rsp + 0x70], 0x18
mov qword [rsp + 0x78], r12
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0xa0]
lea r9, [rsp + 0xa8]
mov rcx, r14
mov edx, 0xd
call fcn.14005edc0
mov ebx, eax
xor ebp, ebp
mov rcx, qword [rsp + 0x68]
xor edx, edx
call fcn.140066640
mov rcx, qword [rsp + 0x58]
xor edx, edx
call fcn.140066640
mov rcx, qword [rsp + 0x60]
xor edx, edx
call fcn.140066640
test ebx, ebx
je 0x14005ed7e
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsp + 0x320]
xor rax, rsp
mov rcx, qword [r13]
cmp rcx, rax
jne 0x14005edad
mov eax, edi
add rsp, 0x328
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, dword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [rsp + 0xb8], 0
jne 0x14005eda9
lea rcx, str.CreateProcessA
mov rdx, r15
call fcn.14001e440
mov ebp, 1
mov edi, ebp
jmp 0x14005ed54
call fcn.1400763e0
int3