Function at 0x140001000
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Query or enumerate registry value

Disassembly:
push rbp
push r12
push r15
lea rbp, [rsp - 0x11e0]
mov eax, 0x12e0
call fcn.140001a00
sub rsp, rax
mov rax, qword [0x14001c008]
xor rax, rsp
mov qword [rbp + 0x11c0], rax
mov qword [rsp + 0x1310], rbx
mov r15, rcx
mov qword [rsp + 0x1318], rsi
lea rcx, [rbp + 0x1c0]
mov rbx, rdx
mov qword [rsp + 0x12d8], rdi
xor edx, edx
mov qword [rsp + 0x12d0], r14
mov r8d, 0x800
call fcn.140002f40
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftVisualStudio14.0VCRuntimesx64
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r12d, r12d
test eax, eax
jne 0x140001223
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, str.Major
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r12d
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x34], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
lea rdx, str.Minor
test eax, eax
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov r14d, r12d
cmove r14d, dword [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
lea rdx, [0x140011410]
test eax, eax
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov edi, r12d
cmove edi, dword [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
lea rdx, str.Rbld
test eax, eax
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov esi, r12d
cmove esi, dword [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ecx, r12d
cmove ecx, dword [rsp + 0x30]
cmp r14d, 0xe
ja 0x1400011c3
jne 0x140001218
cmp edi, 0x18
ja 0x1400011c3
jne 0x140001218
cmp esi, 0x6ddf
ja 0x1400011c3
jne 0x140001218
cmp ecx, 4
jb 0x140001218
lea rcx, str.msvcp140_2.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x1400011f8
lea r8, str.msvcp140_2.dll
mov rdx, rbx
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140001218
lea rdx, str.vcruntime140_1.dll
mov rcx, rbx
call fcn.1400014d0
test al, al
je 0x140001218
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000123b
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, str.Microsoft_Visual_C_Runtime_n
mov edx, 0x400
lea rcx, [rbp + 0x1c0]
call fcn.140003b58
lea rcx, str.XINPUT1_3.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r14, qword [rsp + 0x12d0]
mov rdi, qword [rsp + 0x12d8]
mov rsi, qword [rsp + 0x1318]
test rax, rax
jne 0x1400012a0
lea r8, str.XINPUT1_3.DLL
mov rdx, rbx
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x1400012a0
lea r8, str.DirectX_Runtime_n
mov edx, 0x400
lea rcx, [rbp + 0x1c0]
call fcn.140003b58
mov rbx, qword [rsp + 0x1310]
cmp word [rbp + 0x1c0], r12w
je 0x1400013e7
lea r8, [rbp + 0x1c0]
lea rdx, str.The_following_component_s__are_required_to_run_this_program:_n_n_s
lea rcx, [rbp + 0x9c0]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, str.EngineExtrasRedisten_usUE4PrereqSetup_x64.exe
mov rdx, r15
lea rcx, [rbp - 0x50]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140001313
xor r9d, r9d
lea rdx, [rbp + 0x9c0]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 0x2329
jmp 0x1400013e9
lea r8, str._nWould_you_like_to_install_them_now_
mov edx, 0x400
lea rcx, [rbp + 0x9c0]
call fcn.140003b58
mov r9d, 4
lea rdx, [rbp + 0x9c0]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x140001352
mov eax, 0x232a
jmp 0x1400013e9
xorps xmm0, xmm0
lea rax, [rbp - 0x50]
movups xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x70
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x44], 0x40
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x70], 1
mov qword [rsp + 0x58], rax
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x1400013ac
mov eax, 0x232b
jmp 0x1400013e9
mov rcx, qword [rbp - 0x58]
mov edx, 0xffffffff
mov dword [rsp + 0x30], r12d
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x58]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x30], r12d
je 0x1400013e7
mov eax, 0x232c
jmp 0x1400013e9
xor eax, eax
mov rcx, qword [rbp + 0x11c0]
xor rcx, rsp
call fcn.140001a60
add rsp, 0x12e0
pop r15
pop r12
pop rbp
ret