Function at 0x140044380
Capabilities:
Create process on windows
Get common file path
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11f0]
mov eax, 0x12f0
call fcn.140064980
sub rsp, rax
mov rax, qword [0x1400c24b8]
xor rax, rsp
mov qword [rbp + 0x11e0], rax
xor r13d, r13d
mov dword [rsp + 0x58], r13d
mov qword [rsp + 0x60], r13
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftNet_Framework_SetupNDP_v4Full
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140044441
mov dword [rsp + 0x6c], r13d
mov dword [rsp + 0x68], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea rdx, str.Release
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], r13
cmp dword [rsp + 0x58], 0x5c615
jae 0x1400444ec
xor r8d, r8d
mov edx, 0x405
lea rcx, [rbp + 0x7d0]
call fcn.140050de0
mov rbx, rax
xor r8d, r8d
mov edx, 0x403
lea rcx, [rbp - 0x30]
call fcn.140050de0
mov rdx, rax
mov r9d, 0x40014
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x1400444b1
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, str.https:__www.microsoft.com_en_us_download_details.aspx_id30653
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.14004e890
mov rcx, rax
lea rax, str.Microsoft_.NET_Framework_version_4.5_not_found
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x468
lea r9, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewAPI_api.cpp
lea r8, str.nViewNextPrerequisites
mov edx, 1
call fcn.14004f020
xor al, al
jmp 0x140044949
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r13w
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
mov r8d, 0xd
lea rdx, str.concrt140.dll
lea rcx, [rsp + 0x70]
call fcn.14000a2d0
nop
lea r8, [rsp + 0x70]
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.14001a8b0
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140044563
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
call fcn.14000c080
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
mov r8d, 0xc
lea rdx, str.msvcp140.dll
lea rcx, [rsp + 0x70]
call fcn.14000a2d0
nop
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
cmp rdi, rsi
je 0x1400445c2
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rdi + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x70], r13w
add rdi, 0x20
mov qword [rsp + 0x48], rdi
jmp 0x1400445e2
lea r8, [rsp + 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14001a8b0
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400445fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
call fcn.14000c080
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
mov r8d, 0xc
lea rdx, str.ucrtbase.dll
lea rcx, [rsp + 0x70]
call fcn.14000a2d0
nop
cmp rdi, rsi
je 0x14004464f
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rdi + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x70], r13w
add rdi, 0x20
mov qword [rsp + 0x48], rdi
jmp 0x14004466f
lea r8, [rsp + 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14001a8b0
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140044687
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
call fcn.14000c080
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r13w
mov r8d, 0x10
lea rdx, str.vcruntime140.dll
lea rcx, [rsp + 0x70]
call fcn.14000a2d0
nop
cmp rdi, rsi
je 0x1400446dc
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [rdi + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x70], r13w
add rdi, 0x20
mov qword [rsp + 0x48], rdi
jmp 0x1400446fc
lea r8, [rsp + 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.14001a8b0
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140044714
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
call fcn.14000c080
mov r8d, 0x58
lea rdx, str.https:__support.microsoft.com_en_us_help_2977003_the_latest_supported_visual_c_downloads
lea rcx, [rbp - 0x50]
call fcn.14000a2d0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xfd0]
call fcn.140067170
mov edx, 0x104
lea rcx, [rbp + 0xfd0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov qword [rbp - 0x60], r13
mov edx, 7
mov qword [rbp - 0x58], rdx
mov word [rbp - 0x70], r13w
mov r14d, r13d
mov r15, rdi
mov r12, qword [rsp + 0x40]
sub r15, r12
sar r15, 5
test r15d, r15d
jle 0x1400448d9
mov rbx, r12
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.140067170
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14004479e
mov r9, qword [rbx]
lea r8, [rbp + 0xfd0]
lea rdx, str._s_s
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rbp + 0x7d0]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x140044802
cmp qword [rbp - 0x60], 0
je 0x1400447e8
lea r8d, [rax + 3]
lea rdx, [0x140097028]
lea rcx, [rbp - 0x70]
call fcn.14000baf0
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400447f5
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp - 0x70]
call fcn.14000baf0
inc r14d
add rbx, 0x20
cmp r14d, r15d
jl 0x140044780
cmp qword [rbp - 0x60], 0
je 0x1400448d5
xor r8d, r8d
mov edx, 0x405
lea rcx, [rbp + 0x7d0]
call fcn.140050de0
mov rbx, rax
xor r8d, r8d
mov edx, 0x404
lea rcx, [rbp - 0x30]
call fcn.140050de0
mov rdx, rax
mov r9d, 0x40014
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x140044886
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r8, qword [rbp - 0x50]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rbx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rbx, qword [rbp - 0x70]
call fcn.14004e890
mov rcx, rax
mov qword [rsp + 0x30], rbx
lea rax, str.Visual_Studio_runtime_files_not_found._Missing_files:__s
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x4b1
lea r9, str.D:uworkspace_nViewBranchBuilder_sw_nview_v200_nViewAPI_api.cpp
lea r8, str.nViewNextPrerequisites
mov edx, 1
call fcn.14004f020
xor bl, bl
mov rdx, qword [rbp - 0x58]
jmp 0x1400448db
mov rdx, qword [rbp - 0x58]
mov bl, 1
cmp rdx, 8
jb 0x1400448f2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
call fcn.14000c080
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r13w
test r12, r12
je 0x14004492b
lea r8, [rsp + 0x40]
mov rdx, rdi
mov rcx, r12
call fcn.140019c10
sub rsi, r12
and rsi, 0xffffffffffffffe0
mov rdx, rsi
mov rcx, r12
call fcn.14000c080
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140044946
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
call fcn.14000c080
movzx eax, bl
mov rcx, qword [rbp + 0x11e0]
xor rcx, rsp
call fcn.140064920
lea r11, [rsp + 0x12f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret