Function at 0x140001300
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x13d0]
mov eax, 0x14d0
call fcn.140002270
sub rsp, rax
mov rax, qword [0x14001e018]
xor rax, rsp
mov qword [rbp + 0x13c0], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rbp + 0x3c0]
mov r8d, 0x800
call fcn.1400035e0
lea rcx, str.MSVCP140.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x140001380
lea r8, str.MSVCP140.DLL
mov rdx, rbx
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x1400013b5
lea rcx, str.ucrtbase.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x1400013cd
lea r8, str.ucrtbase.dll
mov rdx, rbx
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x1400013cd
lea r8, str.Microsoft_Visual_C_2015_Runtime_n
mov edx, 0x400
lea rcx, [rbp + 0x3c0]
call fcn.1400041a8
lea rcx, str.XINPUT1_3.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x14000141a
lea r8, str.XINPUT1_3.DLL
mov rdx, rbx
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x14000141a
lea r8, str.DirectX_Runtime_n
mov edx, 0x400
lea rcx, [rbp + 0x3c0]
call fcn.1400041a8
cmp word [rbp + 0x3c0], 0
je 0x140001555
lea r8, [rbp + 0x3c0]
lea rdx, str.The_following_component_s__are_required_to_run_this_program:_n_n_s
lea rcx, [rbp + 0xbc0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, str.EngineExtrasRedisten_usUE4PrereqSetup_x64.exe
mov rdx, rdi
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000148e
mov r9d, 0x30
lea rdx, [rbp + 0xbc0]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 0x2ee1
jmp 0x140001557
lea r8, str._nWould_you_like_to_install_them_now_
mov edx, 0x400
lea rcx, [rbp + 0xbc0]
call fcn.1400041a8
mov r9d, 4
lea rdx, [rbp + 0xbc0]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x1400014cd
mov eax, 0x2ee2
jmp 0x140001557
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x70]
call fcn.1400035e0
lea rax, [rbp + 0x1b0]
mov dword [rsp + 0x30], 0x70
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x34], 0x40
mov dword [rsp + 0x60], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140001517
mov eax, 0x2ee3
jmp 0x140001557
mov rcx, qword [rbp - 0x68]
mov edx, 0xffffffff
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x68]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x20], 0
je 0x140001555
mov eax, 0x2ee4
jmp 0x140001557
xor eax, eax
mov rcx, qword [rbp + 0x13c0]
xor rcx, rsp
call fcn.1400022e0
lea r11, [rsp + 0x14d0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret