Function at 0x140008b70
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rdx, qword [rdx + 0x10]
lea rcx, [rbp + 0x1f]
call fcn.140005f40
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x3c
jb 0x140008c38
lea rax, [r8 + 0x3c]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0xf
jbe 0x140008bcc
mov rdi, qword [rbx]
lea rax, [0x14000c6cc]
mov r15d, 0x3c
lea rsi, str.powershell__Command_Remove_MpPreference__ExclusionExtension
cmp rax, rdi
jbe 0x140008c00
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x140008c00
cmp rdi, rsi
ja 0x140008bf8
xor r14d, r14d
jmp 0x140008c03
mov r14, rdi
sub r14, rsi
jmp 0x140008c03
mov r14, r15
inc r8
lea rcx, [rdi + 0x3c]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memmove
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
sub r15, r14
lea rdx, [rsi + 0x3c]
add rdx, r14
lea rcx, [rdi + r14]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140008c5d
mov r15d, 0x3c
mov qword [rsp + 0x28], r15
lea rsi, str.powershell__Command_Remove_MpPreference__ExclusionExtension
mov qword [rsp + 0x20], rsi
mov edx, r15d
mov rcx, rbx
call fcn.1400082c0
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 1], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp + 0xf], xmm1
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], send
mov byte [rbx], 0
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x140008ccc
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008cc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008cc7
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 + 0x2f], xmm0
mov byte [rbp + 0x1f], 0
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rcx, qword [rbp - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test eax, eax
je 0x140008db8
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
movdqa xmm0, xmmword [0x14000cc40]
mov dword [rbp - 0x11], 0x4ce67fc
mov dword [rbp - 0xd], 0xa91e1a4e
mov word [rbp - 9], 0x47fd
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, 0xa00
mov eax, dword [rdx + rcx]
mov ebx, 0xa28
add rbx, rcx
test al, 1
jne 0x140008d95
or eax, 1
mov dword [rdx + rcx], eax
mov byte [rbx + 0x1a], 1
lea rax, [rbx + 0x19]
lea rcx, [rbp - 8]
cmp rbx, rcx
ja 0x140008d73
lea rcx, [rbp - 0x21]
cmp rax, rcx
jb 0x140008d73
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp - 0x11]
movsd qword [rbx + 0x10], xmm0
movzx eax, word [rbp - 9]
mov word [rbx + 0x18], ax
jmp 0x140008d88
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp - 0x11]
movsd qword [rbx + 0x10], xmm0
movzx eax, word [rbp - 9]
mov word [rbx + 0x18], ax
lea rcx, [0x14000bb70]
call fcn.14000944c
nop
mov rcx, rbx
call fcn.140009040
mov rdx, rbx
mov rcx, rdi
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]
mov rsi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqa xmm0, xmmword [0x14000cd60]
mov word [rbp - 0x29], 0xb58b
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0xa20
mov eax, dword [rcx + rdi]
mov ebx, 0xa68
test al, 1
jne 0x140008e33
or eax, 1
mov dword [rcx + rdi], eax
lea rcx, [rbx + rdi]
mov byte [rcx + 0x12], 1
lea rax, [rcx + 0x11]
lea rdx, [rbp - 0x28]
cmp rcx, rdx
ja 0x140008e1b
lea rdx, [rbp - 0x39]
cmp rax, rdx
jb 0x140008e1b
movups xmmword [rcx], xmm0
movzx eax, word [rbp - 0x29]
mov word [rcx + 0x10], ax
jmp 0x140008e26
movups xmmword [rcx], xmm0
movzx eax, word [rbp - 0x29]
mov word [rcx + 0x10], ax
lea rcx, [0x14000bb50]
call fcn.14000944c
nop
lea r11, [rbx + rdi]
mov rcx, r11
call fcn.140008ec0
mov rdx, r11
mov rcx, rsi
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 + 0x17]
cmp rdx, 0xf
jbe 0x140008e99
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008e94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008e94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000939c
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret