Function at 0x140006ef0
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, 0x37
jb 0x140006fb8
lea rax, [r8 + 0x37]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0xf
jbe 0x140006f4c
mov rdi, qword [rbx]
lea rax, [0x14000b647]
mov r15d, 0x37
lea rsi, str.powershell__Command_Remove_MpPreference__ExclusionPath
cmp rax, rdi
jbe 0x140006f80
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x140006f80
cmp rdi, rsi
ja 0x140006f78
xor r14d, r14d
jmp 0x140006f83
mov r14, rdi
sub r14, rsi
jmp 0x140006f83
mov r14, r15
inc r8
lea rcx, [rdi + 0x37]
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 + 0x37]
add rdx, r14
lea rcx, [rdi + r14]
mov r8, r15
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140006fdd
mov r15d, 0x37
mov qword [rsp + 0x28], r15
lea rsi, str.powershell__Command_Remove_MpPreference__ExclusionPath
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 0x14000704c
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007047
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007047
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 0x14000711e
movdqa xmm0, xmmword [0x14000bcd0]
mov dword [rbp - 0x11], 0x9896d1b0
mov dword [rbp - 0xd], 0xff40f672
mov word [rbp - 9], 0xf1b1
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov edx, 0x8ec
mov eax, dword [rdx + rcx]
mov ebx, 0x8b8
add rbx, rcx
test al, 1
jne 0x14000710e
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 0x1400070ec
lea rcx, [rbp - 0x21]
cmp rax, rcx
jb 0x1400070ec
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 0x140007101
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, [0x14000a010]
call fcn.140007e04
nop
mov rcx, rbx
call fcn.1400079f0
mov rcx, rbx
call fcn.140001010
mov rsi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqa xmm0, xmmword [0x14000bd00]
mov word [rbp - 0x29], 0xb151
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0x88c
mov eax, dword [rcx + rdi]
mov ebx, 0x878
test al, 1
jne 0x140007199
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 0x140007181
lea rdx, [rbp - 0x39]
cmp rax, rdx
jb 0x140007181
movups xmmword [rcx], xmm0
movzx eax, word [rbp - 0x29]
mov word [rcx + 0x10], ax
jmp 0x14000718c
movups xmmword [rcx], xmm0
movzx eax, word [rbp - 0x29]
mov word [rcx + 0x10], ax
lea rcx, [0x140009ff0]
call fcn.140007e04
nop
lea r11, [rbx + rdi]
mov rcx, r11
call fcn.140007870
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 0x1400071ff
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400071fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400071fa
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