Function at 0x140007220
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.1400051e0
mov rbx, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x3c
jb 0x1400072e8
lea rax, [r8 + 0x3c]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0xf
jbe 0x14000727c
mov rdi, qword [rbx]
lea rax, [0x14000b68c]
mov r15d, 0x3c
lea rsi, str.powershell__Command_Remove_MpPreference__ExclusionExtension
cmp rax, rdi
jbe 0x1400072b0
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x1400072b0
cmp rdi, rsi
ja 0x1400072a8
xor r14d, r14d
jmp 0x1400072b3
mov r14, rdi
sub r14, rsi
jmp 0x1400072b3
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 0x14000730d
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.140007b70
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 0x14000737c
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007377
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007377
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007ee4
movdqa xmm0, xmmword [0x14000b6e0]
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 0x140007468
mov rdi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
movdqa xmm0, xmmword [0x14000bb60]
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, 0x870
mov eax, dword [rdx + rcx]
mov ebx, 0x898
add rbx, rcx
test al, 1
jne 0x140007445
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 0x140007423
lea rcx, [rbp - 0x21]
cmp rax, rcx
jb 0x140007423
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 0x140007438
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, [0x14000a060]
call fcn.140007e04
nop
mov rcx, rbx
call fcn.1400076f0
mov rdx, rbx
mov rcx, rdi
call fcn.140005610
lea rdx, [0x1400057f0]
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 [0x14000bcc0]
mov word [rbp - 0x29], 0xb58b
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0x890
mov eax, dword [rcx + rdi]
mov ebx, 0x8d8
test al, 1
jne 0x1400074e3
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 0x1400074cb
lea rdx, [rbp - 0x39]
cmp rax, rdx
jb 0x1400074cb
movups xmmword [rcx], xmm0
movzx eax, word [rbp - 0x29]
mov word [rcx + 0x10], ax
jmp 0x1400074d6
movups xmmword [rcx], xmm0
movzx eax, word [rbp - 0x29]
mov word [rcx + 0x10], ax
lea rcx, [0x14000a040]
call fcn.140007e04
nop
lea r11, [rbx + rdi]
mov rcx, r11
call fcn.140007570
mov rdx, r11
mov rcx, rsi
call fcn.140005610
lea rdx, [0x1400057f0]
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 0x140007549
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007544
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007544
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007ee4
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