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.140001800
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.140002ab0
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.1400036d8
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.1400036d8
cmp word [rbp + 0x1b0], 0
je 0x14000125d
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 0x14000125f
lea r8, str._nWould_you_like_to_install_them_now_
mov edx, 0x400
lea rcx, [rbp + 0x9b0]
call fcn.1400036d8
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 0x14000125f
xorps xmm0, xmm0
lea rax, [rbp - 0x60]
movups xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x70
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x34], 0x40
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x48], rax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x14000121f
mov eax, 0x232b
jmp 0x14000125f
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 0x14000125d
mov eax, 0x232c
jmp 0x14000125f
xor eax, eax
mov rcx, qword [rbp + 0x11b0]
xor rcx, rsp
call fcn.140001870
lea r11, [rsp + 0x12c0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret