Function at 0x1400216fe
Capabilities:
Create process on windows
Create process suspended
Resume thread
Use process replacement

Disassembly:
jmp 0x1400387f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xb38
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x1fa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb58]
lea rcx, [0x140098c57]
call fcn.140022068
nop
mov dword [rbp + 4], 0
mov qword [rbp + 0x48], 0
mov edx, 0x20a
lea rcx, [rbp + 0x70]
call fcn.140021b9f
nop
mov r8d, 0x104
lea rdx, [rbp + 0x70]
lea rcx, [0x140073628]
call fcn.14002160e
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x14003886f
cmp dword [rbp + 0x24], 0x104
jbe 0x140038882
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
xor eax, eax
jmp 0x140038b5b
mov dword [rsp + 0x20], 0
lea r9, str.kernelmoduleunloader.exe
lea r8, [rbp + 0x70]
mov edx, 0x3ea
mov rax, qword [rbp + 0xb00]
mov rcx, qword [rax + 0x10]
call fcn.14002101e
nop
mov dword [rsp + 0x20], 0
lea r9, str.kernelmoduleunloader.exe.sig
lea r8, [rbp + 0x70]
mov edx, 0x3eb
mov rax, qword [rbp + 0xb00]
mov rcx, qword [rax + 0x10]
call fcn.14002101e
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [rsp + 0x20], 0
lea r9, str.u.dll
lea r8, [rbp + 0x70]
mov edx, 0x7d0
mov rcx, rax
call fcn.14002101e
nop
lea rax, str.kernelmoduleunloader.exe
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x70]
lea r8, [0x1400736d0]
mov edx, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.140021ac3
nop
lea rcx, [rbp + 0x2a0]
call fcn.1400221e4
mov qword [rbp + 0x6c8], rax
mov qword [rbp + 0x6e8], 0
cmp qword [rbp + 0x6c8], 0
je 0x140038971
mov rcx, qword [rbp + 0x6c8]
call fcn.1400214dd
mov qword [rbp + 0x6e8], rax
mov rcx, qword [rbp + 0x6c8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
jmp 0x140038987
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
jmp 0x140038af0
mov edx, 0x68
lea rcx, [rbp + 0x710]
call fcn.140021b9f
nop
mov edx, 0x18
lea rcx, [rbp + 0x798]
call fcn.140021b9f
nop
mov dword [rbp + 0x710], 0x68
lea rcx, [rbp + 0x710]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
lea rax, [rbp + 0x798]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x710]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x2a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140038af0
mov qword [rbp + 0x7c8], 0
lea rax, [rbp + 0x7c8]
mov qword [rsp + 0x20], rax
mov r9d, 0xbf
lea r8, [0x14008b280]
mov rdx, qword [rbp + 0x6e8]
mov rcx, qword [rbp + 0x798]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140038a8d
mov rax, qword [rbp + 0xb00]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14002135c]
lea rcx, [0x14002112c]
call fcn.140021807
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
cmp qword [rbp + 0x48], 0
je 0x140038aa7
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x798]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rcx, qword [rbp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x798]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0xb00]
cmp qword [rax + 0x28], 0
je 0x140038add
mov dword [rbp + 0xad4], 1
jmp 0x140038ae7
mov dword [rbp + 0xad4], 0
mov eax, dword [rbp + 0xad4]
mov dword [rbp + 4], eax
cmp qword [rbp + 0x48], 0
je 0x140038b01
mov rcx, qword [rbp + 0x48]
call fcn.140021253
nop
mov dword [rsp + 0x20], 1
lea r9, str.kernelmoduleunloader.exe
lea r8, [rbp + 0x70]
xor edx, edx
xor ecx, ecx
call fcn.14002101e
nop
mov dword [rsp + 0x20], 1
lea r9, str.kernelmoduleunloader.exe.sig
lea r8, [rbp + 0x70]
xor edx, edx
xor ecx, ecx
call fcn.14002101e
nop
mov dword [rsp + 0x20], 1
lea r9, str.u.dll
lea r8, [rbp + 0x70]
xor edx, edx
xor ecx, ecx
call fcn.14002101e
nop
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x1400730f0]
call fcn.140021d8e
mov rax, rdi
lea rsp, [rbp + 0xae8]
pop rdi
pop rbp
ret