Function at 0x140008440
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
xor ebx, ebx
mov rdx, qword [rdx + 0x10]
lea rcx, [rbp + 0x17]
call fcn.140005f40
mov rdi, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x27
jb 0x140008508
lea rax, [r8 + 0x27]
mov qword [rdi + 0x10], rax
mov rsi, rdi
cmp rcx, 0xf
jbe 0x14000849c
mov rsi, qword [rdi]
lea rax, [0x14000c647]
mov r12d, 0x27
lea r15, str.powershell__Command_Stop_Process__Name
cmp rax, rsi
jbe 0x1400084d0
lea rax, [rsi + r8]
cmp r15, rax
ja 0x1400084d0
cmp rsi, r15
ja 0x1400084c8
mov r14, rbx
jmp 0x1400084d3
mov r14, rsi
sub r14, r15
jmp 0x1400084d3
mov r14, r12
inc r8
lea rcx, [rsi + 0x27]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
sub r12, r14
lea rdx, [r15 + 0x27]
add rdx, r14
lea rcx, [rsi + r14]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14000852d
mov r12d, 0x27
mov qword [rsp + 0x28], r12
lea r15, str.powershell__Command_Stop_Process__Name
mov qword [rsp + 0x20], r15
mov edx, r12d
mov rcx, rdi
call fcn.1400082c0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 9], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 7], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], send
mov byte [rdi], 0
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140008598
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008593
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008593
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000939c
movdqa xmm0, xmmword [0x14000c720]
movdqu xmmword [rbp + 0x27], xmm0
mov byte [rbp + 0x17], 0
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 0xf
cmova rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test eax, eax
je 0x14000866a
movdqa xmm0, xmmword [0x14000cd70]
mov dword [rbp - 0x19], 0x9896d1b0
mov dword [rbp - 0x15], 0xff40f672
mov word [rbp - 0x11], 0xf1b1
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, 0x9e4
mov eax, dword [rdx + rcx]
mov edi, 0x9c8
add rdi, rcx
test al, 1
jne 0x14000865a
or eax, 1
mov dword [rdx + rcx], eax
mov byte [rdi + 0x1a], 1
lea rax, [rdi + 0x19]
lea rcx, [rbp - 0x10]
cmp rdi, rcx
ja 0x140008638
lea rcx, [rbp - 0x29]
cmp rax, rcx
jb 0x140008638
movups xmmword [rdi], xmm0
movsd xmm0, qword [rbp - 0x19]
movsd qword [rdi + 0x10], xmm0
movzx eax, word [rbp - 0x11]
mov word [rdi + 0x18], ax
jmp 0x14000864d
movups xmmword [rdi], xmm0
movsd xmm0, qword [rbp - 0x19]
movsd qword [rdi + 0x10], xmm0
movzx eax, word [rbp - 0x11]
mov word [rdi + 0x18], ax
lea rcx, [0x14000bad0]
call fcn.14000944c
nop
mov rcx, rdi
call fcn.140008140
mov rcx, rdi
call fcn.140001010
mov r14, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x9e8
mov eax, dword [rcx + rsi]
mov edi, 0x9f0
test al, 1
jne 0x1400086c0
or eax, 1
mov dword [rcx + rsi], eax
mov dword [rsi + rdi + 0xc], 0x1f54f5c
mov dword [rsi + rdi], 0x26c6c365
mov dword [rsi + rdi + 4], 0xa986585c
mov dword [rsi + rdi + 8], 0x29c5d85e
lea rcx, [0x14000baa0]
call fcn.14000944c
nop
lea rdx, [rdi + rsi]
cmp byte [rdx + 0xf], 0
je 0x1400087c0
cmp dword [0x140010018], 5
jl 0x140008796
movdqa xmm3, xmmword [0x14000cad0]
movdqa xmm0, xmmword [0x14000c6d0]
psllq xmm0, 3
vpsrlvq xmm1, xmm3, xmm0
movdqa xmm2, xmmword [0x14000c740]
pshufb xmm1, xmm2
movzx eax, word [rdx]
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [rdx], ax
movdqa xmm0, xmmword [0x14000c6e0]
psllq xmm0, 3
vpsrlvq xmm1, xmm3, xmm0
pshufb xmm1, xmm2
movzx eax, word [rdx + 2]
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [rdx + 2], ax
movdqa xmm0, xmmword [reloc.WS2_32.dll_connect]
psllq xmm0, 3
vpsrlvq xmm1, xmm3, xmm0
pshufb xmm1, xmm2
movzx eax, word [rdx + 4]
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [rdx + 4], ax
movdqa xmm0, xmmword [0x14000c700]
psllq xmm0, 3
vpsrlvq xmm1, xmm3, xmm0
pshufb xmm1, xmm2
movzx eax, word [rdx + 6]
movd xmm0, eax
xorps xmm1, xmm0
movd eax, xmm1
mov word [rdx + 6], ax
mov ebx, 8
movabs r9, 0x89f52b3945a9b135
movzx ecx, bl
and cl, 7
shl cl, 3
mov r8, r9
shr r8, cl
xor byte [rbx + rdx], r8b
inc rbx
cmp rbx, 0xf
jb 0x1400087a0
mov byte [rdx + 0xf], 0
mov rcx, r14
call fcn.140006370
lea rdx, [0x140006550]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140008817
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008812
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008812
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000939c
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret