Function at 0x1400a7d00
Capabilities:
Create process on windows
Query or enumerate registry value
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x1402e1040]
xor rax, rsp
mov qword [rbp + 0x200], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
movdqa xmm1, xmmword [0x1402bb730]
movdqu xmmword [rbp + 0x38], xmm1
mov byte [rbp + 0x28], 0
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftVisualStudio14.0VCRuntimesx64
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor ebx, ebx
test eax, eax
jne 0x1400a7e05
mov dword [rbp + 4], 0x100
mov dword [rbp + 8], ebx
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 8]
xor r8d, r8d
lea rdx, [0x140272700]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400a7dfb
cmp dword [rbp + 8], 1
jne 0x1400a7dfb
mov r8d, dword [rbp + 4]
dec r8d
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x28]
call fcn.140063da0
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, str.Redistributable_Version_is_
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 0x1d
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x10], xmm0
lea r8, [rbp + 0x28]
lea rdx, [rbp + 0x10]
call fcn.1400a8340
jmp 0x1400a7e2a
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, str.Redistributable_Version_is_unkown
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 0x21
movaps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp + 0x10], xmm0
lea rdx, [rbp + 0x10]
call fcn.140066c00
mov dword [rbp + 0x20], ebx
mov dword [rbp + 0x24], ebx
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftVisualStudio14.0VCRuntimesx64
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400a8181
mov dword [rbp + 8], 4
mov dword [rbp + 4], ebx
lea rax, [rbp + 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 4]
xor r8d, r8d
lea rdx, str.Major
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400a8176
cmp dword [rbp + 4], 4
jne 0x1400a8176
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftVisualStudio14.0VCRuntimesx64
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400a8181
mov dword [rbp + 8], 4
mov dword [rbp + 4], ebx
lea rax, [rbp + 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x24]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 4]
xor r8d, r8d
lea rdx, str.Minor
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400a8176
cmp dword [rbp + 4], 4
jne 0x1400a8176
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp + 0x20], 0xe
ja 0x1400a8181
jne 0x1400a7f42
cmp dword [rbp + 0x24], 0x28
jae 0x1400a8181
lea rcx, [rbp - 0x68]
call fcn.1400a8470
nop
lea rdx, str.Cache
lea rcx, [rbp - 0x20]
call fcn.140066e40
nop
lea rdx, [rsp + 0x50]
lea rcx, [0x1402e10c8]
call fcn.1400904c0
nop
lea r8, [rbp - 0x20]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140049110
nop
lea r8, [rbp - 0x68]
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140049110
nop
lea rcx, [rsp + 0x70]
call fcn.140049320
nop
lea rcx, [rsp + 0x50]
call fcn.140049320
nop
lea rcx, [rbp - 0x20]
call fcn.140049320
nop
lea rcx, [rbp - 0x68]
call fcn.140049320
lea rcx, [rbp - 0x48]
call fcn.1400a84c0
nop
lea r8, [rbp - 0x48]
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x68]
call fcn.140049110
nop
lea rcx, [rbp - 0x48]
call fcn.140049320
lea rdx, [rbp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140049330
mov rdx, rax
call fcn.14008f640
mov byte [rbp], 0
lea r8, [rbp]
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x70]
call fcn.1400a8310
nop
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400a8510
nop
lea rcx, [rsp + 0x70]
call fcn.140049320
mov r9d, 0x31
lea r8, str.Outdated_VC_Redistributables
lea rdx, str.Please_update_your_Visual_Studio_C_Redistributables_in_order_to_use_Cherax._The_installer_should_be_launched_automatically._If_not_press_on_cancel_and_install_it_manually.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x1400a812e
lea rcx, [rbp + 0x10]
call fcn.1400488f0
cmp byte [rbp], 0
jne 0x1400a8079
mov r9d, 0x30
lea r8, str.Failed_To_Update
lea rdx, str.Auto_update_failed._Please_update_your_Visual_Studio_C_Redistributables_manually_in_order_to_use_Cherax.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400a8133
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x94], xmm0
movups xmmword [rbp + 0xa4], xmm0
movups xmmword [rbp + 0xb4], xmm0
movups xmmword [rbp + 0xc4], xmm0
movups xmmword [rbp + 0xd4], xmm0
movups xmmword [rbp + 0xe4], xmm0
mov dword [rbp + 0xf4], eax
mov dword [rbp + 0x90], WSAGetLastError
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x68]
call fcn.140048e20
mov rcx, rax
call fcn.140061fa0
mov rcx, rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
lea rcx, [rsp + 0x50]
call fcn.140049db0
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400a8154
cmp eax, 2
jne 0x1400a8154
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, str.https:__aka.ms_vs_17_release_vc_redist.x64.exe
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, [rbp + 0x10]
call fcn.1400488e0
test al, al
je 0x1400a816a
lea rcx, [rbp + 0x10]
call fcn.140048960
mov ecx, 0x539
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rbp + 0x28]
call fcn.140063ba0
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.140171bd0
mov rbx, qword [rsp + 0x320]
add rsp, 0x310
pop rbp
ret