Function at 0x14005ea50
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.140065970
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14006e4a0
test al, al
je 0x14005eb09
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 0x14005ed34
lea rcx, str.CreateProcessA
mov rdx, r15
call fcn.14001e1c0
call fcn.140065970
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x10]
mov rcx, rax
call fcn.14006e480
xor edi, edi
test al, al
je 0x14005ed34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov edx, 0x18
mov rcx, r12
mov r8d, 1
call fcn.140065d50
test al, al
je 0x14005ed2c
call fcn.140065a90
test rax, rax
je 0x14005ed2c
mov rbp, rax
test rbx, rbx
je 0x14005eb9c
mov rcx, rbx
call fcn.1400664c0
mov rbx, rax
test rax, rax
je 0x14005ed2c
test r15, r15
je 0x14005eba3
mov rcx, r15
call fcn.1400664c0
test rax, rax
jne 0x14005eba5
mov rcx, rbx
jmp 0x14005ebcb
xor ebx, ebx
test r15, r15
jne 0x14005eb8a
xor eax, eax
mov qword [rsp + 0x58], rax
test r14, r14
je 0x14005ebd7
mov rcx, r14
call fcn.1400664c0
test rax, rax
jne 0x14005ebd9
mov rcx, rbx
xor edx, edx
call fcn.1400665e0
mov rcx, qword [rsp + 0x58]
xor edx, edx
call fcn.1400665e0
jmp 0x14005ed2c
xor eax, eax
test rbx, rbx
je 0x14005ebe4
mov rdx, qword [rbx + 8]
jmp 0x14005ebe6
xor edx, edx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0xa8], rdx
test rcx, rcx
je 0x14005ebfe
mov rcx, qword [rcx + 8]
jmp 0x14005ec00
xor ecx, ecx
mov qword [rsp + 0xa0], rcx
test rax, rax
mov qword [rsp + 0x60], rax
je 0x14005ec18
mov rax, qword [rax + 8]
jmp 0x14005ec1a
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 0x14005ec5b
mov qword [rsp + 0x90], r14
lea r14, [rsp + 0x80]
mov rcx, r14
mov rdx, rbp
call fcn.1400699c0
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.14005eda0
mov ebx, eax
xor ebp, ebp
mov rcx, qword [rsp + 0x68]
xor edx, edx
call fcn.1400665e0
mov rcx, qword [rsp + 0x58]
xor edx, edx
call fcn.1400665e0
mov rcx, qword [rsp + 0x60]
xor edx, edx
call fcn.1400665e0
test ebx, ebx
je 0x14005ed5e
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 0x14005ed8d
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 0x14005ed89
lea rcx, str.CreateProcessA
mov rdx, r15
call fcn.14001e420
mov ebp, 1
mov edi, ebp
jmp 0x14005ed34
call fcn.140076380
int3