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.1400019d0
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.140002f10
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 0x1400011f0
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 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]
mov rcx, qword [rsp + 0x38]
lea rdx, [0x140011420]
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 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]
cmp esi, 0xe
ja 0x1400011b2
jne 0x1400011e5
cmp edi, 0x1f
ja 0x1400011b2
jne 0x1400011e5
cmp r14d, 0x797f
jb 0x1400011e5
lea rdx, str.msvcp140_2.dll
mov rcx, rbx
call fcn.1400014a0
test al, al
je 0x1400011e5
lea rdx, str.vcruntime140_1.dll
mov rcx, rbx
call fcn.1400014a0
test al, al
je 0x1400011e5
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140001208
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.140003d28
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 0x14000126d
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 0x14000126d
lea r8, str.DirectX_Runtime_n
mov edx, 0x400
lea rcx, [rbp + 0x1c0]
call fcn.140003d28
mov rbx, qword [rsp + 0x1310]
cmp word [rbp + 0x1c0], r12w
je 0x1400013b5
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_usUEPrereqSetup_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 0x1400012e0
xor r9d, r9d
lea rdx, [rbp + 0x9c0]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 0x2329
jmp 0x1400013b7
lea r8, str._nWould_you_like_to_install_them_now_
mov edx, 0x400
lea rcx, [rbp + 0x9c0]
call fcn.140003d28
mov r9d, 4
lea rdx, [rbp + 0x9c0]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x14000131f
mov eax, 0x232a
jmp 0x1400013b7
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 0x140001379
mov eax, 0x232b
jmp 0x1400013b7
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]
mov eax, dword [rsp + 0x30]
neg eax
sbb eax, eax
and eax, 0x232c
jmp 0x1400013b7
xor eax, eax
mov rcx, qword [rbp + 0x11c0]
xor rcx, rsp
call fcn.140001a30
add rsp, 0x12e0
pop r15
pop r12
pop rbp
ret