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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x1400fa8e0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15d, dword [rdx]
lea r11, [0x140000000]
mov r12d, dword [rcx]
lea rax, [0x140073188]
xor ebx, ebx
mov qword [rbp - 0x49], rax
add r15, r11
mov qword [rbp - 0x51], rbx
add r12, r11
mov qword [rbp - 9], r15
mov r10d, 0x3fffffff
mov qword [rbp - 0x11], r12
mov ecx, ebx
mov dword [rbp - 0x59], ebx
mov r13, qword [r15]
mov r8d, ebx
mov edx, dword [r12]
mov r9, r13
shr r9, 0x3f
mov qword [rbp - 1], r13
mov qword [rbp - 0x19], r9
test r10d, edx
jbe 0x1400040bc
mov eax, r8d
xor r14d, r14d
mov qword [rbp - 0x3d], rbx
mov dil, bl
mov dword [rbp - 0x41], ebx
mov dword [rbp - 0x35], ebx
mov r13, qword [r12 + rax*8 + 8]
mov esi, dword [r12 + rax*8 + 8]
shr r13, 0x21
and esi, 0xfffffff
and r13d, 0xfffffff
mov dword [rbp - 0x29], esi
mov r10d, r13d
add r10, r11
mov dword [rbp - 0x55], r14d
mov qword [rbp - 0x21], r10
test r9d, r9d
je 0x140003f5c
mov r8d, esi
lea rcx, [rbp - 0x41]
mov edx, r13d
call fcn.1400025bc
mov r10d, dword [rbp - 0x2d]
cmp r10d, dword [rbp - 0x41]
jae 0x140003f4a
mov rax, qword [rbp - 0x3d]
mov edx, dword [rax + r10*4]
mov eax, edx
and eax, 0xfffffff
cmp eax, dword [rbp - 0x31]
jae 0x140003f4a
inc r10d
mov dword [rbp - 0x55], edx
mov dword [rbp - 0x2d], r10d
mov r14d, edx
mov dil, 1
jmp 0x140003f4d
mov dil, bl
mov r10, qword [rbp - 0x21]
lea r11, [0x140000000]
mov r8d, dword [rbp - 0x59]
mov r15d, ebx
test esi, esi
je 0x14000407f
mov r12, qword [rbp - 0x19]
test r12d, r12d
je 0x14000403d
test dil, dil
je 0x14000403d
mov eax, r14d
lea ecx, [r15 + r13]
and eax, 0xfffffff
cmp ecx, eax
jne 0x14000403d
mov rcx, qword [0x1400fa910]
mov rdi, rbx
mov r14d, dword [rbp - 0x55]
sub rcx, r11
mov eax, r14d
mov edx, r15d
shr eax, 0x1c
test eax, eax
je 0x140003fda
cmp eax, 3
je 0x140003fce
cmp eax, 0xa
je 0x140003fbf
or rdi, 0xffffffffffffffff
jmp 0x140003fda
add rcx, qword [rdx + r10]
mov edi, 8
mov qword [rbp + 7], rcx
jmp 0x140003fe1
add ecx, dword [rdx + r10]
mov edi, 4
mov dword [rbp + 7], ecx
mov esi, ebx
test rdi, rdi
je 0x14000400a
mov rcx, rbx
mov esi, ebx
mov rax, qword [rbp - 0x49]
lea rdx, [rbp - 0x51]
mov r8b, byte [rbp + rcx + 7]
lea rcx, [rbp - 0x49]
mov rax, qword [rax + 8]
call qword [0x180075220]
push rbp
push r12
push r13
lea rbp, [rsp - 0x11f0]
mov eax, 0x12f0
call fcn.140004a10
sub rsp, rax
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rbp + 0x11c0], rax
mov r12, rcx
mov qword [rsp + 0x1320], rbx
mov qword [rsp + 0x12e0], rdi
adc dh, ch
invalid
add byte [rax], al
lea rcx, [rbp + 0x1c0]
mov rdi, rdx
mov r8d, 0x800
xor edx, edx
call fcn.140005cc0
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 r13d, r13d
in eax, dx
mov bl, 1
test eax, eax
jne 0x140004243
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rdx, str.Major
lea rax, [rsp + 0x30]
mov qword [rsp + 0x12e8], rsi
mov qword [rsp + 0x12d8], r14
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x12d0], r15
mov dword [rsp + 0x30], r13d
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 r15d, r13d
cmove r15d, dword [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
lea rdx, [0x140014400]
test eax, eax
mov dword [rsp + 0x34], 4
lea rax, [rsp + 0x34]
mov esi, r13d
cmove esi, dword [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r13d
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, r13d
cmove r14d, dword [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add byte [rax], al