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

Disassembly:
jmp 0x140030330
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, [0x140083b33]
call fcn.14001df69
mov dword [rbp + 4], 0
mov qword [rbp + 0x48], 0
mov edx, 0x20a
lea rcx, [rbp + 0x70]
call fcn.14001dad2
mov r8d, 0x104
lea rdx, [rbp + 0x70]
lea rcx, str._temp_
call fcn.14001d5b4
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
je 0x1400303ad
cmp dword [rbp + 0x24], 0x104
jbe 0x1400303bf
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140030687
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.14001d019
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.14001d019
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.14001d019
lea rax, str.kernelmoduleunloader.exe
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x70]
lea r8, [0x140061390]
mov edx, 0x208
lea rcx, [rbp + 0x2a0]
call fcn.14001da14
lea rcx, [rbp + 0x2a0]
call fcn.14001e0c7
mov qword [rbp + 0x6c8], rax
mov qword [rbp + 0x6e8], 0
cmp qword [rbp + 0x6c8], 0
je 0x1400304a9
mov rcx, qword [rbp + 0x6c8]
call fcn.14001d48d
mov qword [rbp + 0x6e8], rax
mov rcx, qword [rbp + 0x6c8]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x1400304be
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140030620
mov edx, 0x68
lea rcx, [rbp + 0x710]
call fcn.14001dad2
mov edx, 0x18
lea rcx, [rbp + 0x798]
call fcn.14001dad2
mov dword [rbp + 0x710], 0x68
lea rcx, [rbp + 0x710]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
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 0x140030620
mov qword [rbp + 0x7c8], 0
lea rax, [rbp + 0x7c8]
mov qword [rsp + 0x20], rax
mov r9d, 0xbf
lea r8, [0x140077280]
mov rdx, qword [rbp + 0x6e8]
mov rcx, qword [rbp + 0x798]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400305c0
mov rax, qword [rbp + 0xb00]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14001dac3]
lea rcx, [0x14001db2c]
call fcn.14001d78a
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp qword [rbp + 0x48], 0
je 0x1400305d9
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x798]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp + 0x7a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x798]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0xb00]
cmp qword [rax + 0x28], 0
je 0x14003060d
mov dword [rbp + 0xad4], 1
jmp 0x140030617
mov dword [rbp + 0xad4], 0
mov eax, dword [rbp + 0xad4]
mov dword [rbp + 4], eax
cmp qword [rbp + 0x48], 0
je 0x140030630
mov rcx, qword [rbp + 0x48]
call fcn.14001d23a
mov dword [rsp + 0x20], 1
lea r9, str.kernelmoduleunloader.exe
lea r8, [rbp + 0x70]
xor edx, edx
xor ecx, ecx
call fcn.14001d019
mov dword [rsp + 0x20], 1
lea r9, str.kernelmoduleunloader.exe.sig
lea r8, [rbp + 0x70]
xor edx, edx
xor ecx, ecx
call fcn.14001d019
mov dword [rsp + 0x20], 1
lea r9, str.u.dll
lea r8, [rbp + 0x70]
xor edx, edx
xor ecx, ecx
call fcn.14001d019
mov eax, dword [rbp + 4]
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x140060c28]
call fcn.14001dcb2
mov rax, rdi
lea rsp, [rbp + 0xae8]
pop rdi
pop rbp
ret