Function at 0x180001378
Capabilities:
Load windows common language runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b8
mov rax, qword [0x180031008]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov r15, qword [rsp + 0x320]
mov ebx, ecx
lea rcx, [0x1800175c0]
mov r13, r9
mov r12, r8
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
jne 0x1800013e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_load_mscoree.dll__Error_code__d_._This_custom_action_requires_the_.NET_Framework_to_be_installed.
mov ecx, ebx
mov r8d, eax
call fcn.180004644
jmp 0x180001555
lea rdx, str.GetRequestedRuntimeInfo
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.CorBindToRuntimeEx
mov rcx, rdi
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov rbp, rax
test r14, r14
je 0x180001535
test rax, rax
je 0x180001535
test rsi, rsi
je 0x180001487
cmp word [rsi], cx
je 0x180001487
lea r9d, [rcx + 0x14]
mov r8, rsi
mov edx, r9d
lea rcx, [rsp + 0x68]
call fcn.180007508
lea r8, [rsp + 0x68]
mov ecx, ebx
lea rdx, str.Binding_to_CLR_version__s
call fcn.180004644
xor edx, edx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [0x180017580]
lea rax, [0x180017590]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r8d, [rdx + 2]
call rbp
test eax, eax
jns 0x1800014f3
lea rdx, str.Failed_to_bind_to_the_CLR._Error_code_0x_X
jmp 0x180001542
mov qword [rsp + 0x50], rcx
lea rax, [rsp + 0x68]
mov dword [rsp + 0x48], reloc.Cabinet.dll_FDICreate
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov r8, r12
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x90]
mov dword [rsp + 0x30], 0x104
xor edx, edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, r13
call r14
test eax, eax
jns 0x18000143a
mov r8d, eax
lea rdx, str.Failed_to_get_requested_CLR_info._Error_code_0x_x
mov ecx, ebx
call fcn.180004644
lea rdx, str.Ensure_that_the_proper_version_of_the_.NET_Framework_is_installed__or_that_there_is_a_matching_supportedRuntime_element_in_CustomAction.config._If_you_are_binding_to_.NET_4_or_greater_add_useLegacyV2RuntimeActivationPolicytrue_to_the__startup__element.
mov ecx, ebx
call fcn.180004644
jmp 0x18000154c
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.msi.dll_MsiInstallMissingComponentW]
test eax, eax
jns 0x180001520
mov r8d, eax
lea rdx, str.Failed_to_start_the_CLR._Error_code_0x_X
mov ecx, ebx
call fcn.180004644
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x18000154c
mov rax, qword [rsp + 0x60]
mov rcx, rdi
mov qword [r15], rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
jmp 0x180001557
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Failed_to_locate_functions_in_mscoree.dll__Error_code__d_._This_custom_action_requires_the_.NET_Framework_to_be_installed.
mov r8d, eax
mov ecx, ebx
call fcn.180004644
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1800051d0
add rsp, 0x2b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret