Function at 0x14013a2f0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rsi
push rdi
sub rsp, 0x1c8
mov qword [rsp + 0x98], 0x4000000
lea rcx, [rsp + 0x180]
call fcn.140239f50
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xb0]
lea rcx, [rsp + 0xa0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov edx, 0x4000000
lea rcx, [rsp + 0xb0]
call fcn.140239440
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x50], 0
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x68], rax
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x1e8]
mov edx, 0x3ffffff
mov rcx, qword [rsp + 0x58]
call fcn.14001c460
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x110], 0x68
lea rax, [rsp + 0x118]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov dword [rsp + 0x14c], 0x101
mov eax, 5
mov word [rsp + 0x150], ax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x160], rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x168], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x170], rax
movzx eax, byte [0x1402f94bb]
test eax, eax
je 0x14013a487
mov rdx, qword [rsp + 0x1e0]
lea rcx, str._SYSTEM_CALL___s_n
call fcn.14001c300
mov rax, qword [rsp + 0x60]
dec rax
mov r8, qword [rsp + 0x58]
mov edx, eax
lea rcx, str._.s_n_n
call fcn.14001c300
nop
mov rax, qword [rsp + 0x60]
dec rax
mov r8, rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x190]
call fcn.140023ab0
lea rcx, [rsp + 0xc0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x1a0]
call fcn.140023660
lea rcx, [rsp + 0xd0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0xc0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0xd0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x1b0]
call fcn.140025ba0
lea rcx, [rsp + 0x100]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x88]
lea rcx, [rsp + 0x100]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x110]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14013a5f0
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x14013a609
mov rdx, qword [rsp + 0x58]
lea rcx, str.Failed_to_execute_command:_n_t_s_n
call fcn.14001c300
mov dword [rsp + 0x50], 0xffffffff
cmp dword [rsp + 0x50], 0
je 0x14013a61b
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.ucrtbased.dll_exit]
nop
mov eax, dword [rsp + 0x50]
add rsp, 0x1c8
pop rdi
pop rsi
ret