Function at 0x140001000
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 - 0x11c0]
mov eax, 0x12c0
call fcn.1400017b0
sub rsp, rax
mov rax, qword [0x14001c008]
xor rax, rsp
mov qword [rbp + 0x11b0], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rbp + 0x1b0]
mov r8d, 0x800
call fcn.140002ad0
lea rcx, str.MSVCP140.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x140001080
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 0x1400010b5
lea rcx, str.ucrtbase.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x1400010cd
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 0x1400010cd
lea r8, str.Microsoft_Visual_C_2015_Runtime_n
mov edx, 0x400
lea rcx, [rbp + 0x1b0]
call fcn.140003698
lea rcx, str.XINPUT1_3.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x14000111a
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 0x14000111a
lea r8, str.DirectX_Runtime_n
mov edx, 0x400
lea rcx, [rbp + 0x1b0]
call fcn.140003698
cmp word [rbp + 0x1b0], 0
je 0x140001249
lea r8, [rbp + 0x1b0]
lea rdx, str.The_following_component_s__are_required_to_run_this_program:_n_n_s
lea rcx, [rbp + 0x9b0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, str.EngineExtrasRedisten_usUE4PrereqSetup_x64.exe
mov rdx, rdi
lea rcx, [rbp - 0x60]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140001185
xor r9d, r9d
lea rdx, [rbp + 0x9b0]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 0x2329
jmp 0x14000124b
lea r8, str._nWould_you_like_to_install_them_now_
mov edx, 0x400
lea rcx, [rbp + 0x9b0]
call fcn.140003698
mov r9d, 4
lea rdx, [rbp + 0x9b0]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x1400011c4
mov eax, 0x232a
jmp 0x14000124b
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x70]
call fcn.140002ad0
lea rax, [rbp - 0x60]
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 0x14000120b
mov eax, 0x232b
jmp 0x14000124b
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 0x140001249
mov eax, 0x232c
jmp 0x14000124b
xor eax, eax
mov rcx, qword [rbp + 0x11b0]
xor rcx, rsp
call fcn.140001820
lea r11, [rsp + 0x12c0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret