Function at 0x140001300
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140007010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
lea r13, [rcx + 0x10]
mov r14, qword [r13]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r14
cmp rax, 0x36
jb 0x140001614
mov r12, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140001362
mov r12, qword [rdi]
xor edx, edx
mov qword [rbp - 0x50], rdx
mov qword [rbp - 0x40], rdx
mov qword [rbp - 0x38], rdx
lea r15, [r14 + 0x36]
mov esi, 0xf
lea rbx, [rbp - 0x50]
cmp r15, rsi
jbe 0x1400013ff
mov rsi, r15
or rsi, 0xf
cmp rsi, rcx
jbe 0x140001393
mov rsi, rcx
jmp 0x14000139f
mov eax, 0x16
cmp rsi, rax
cmovb rsi, rax
mov rcx, rsi
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x1400013e9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000160e
mov rcx, rax
call fcn.140002c10
test rax, rax
je 0x1400013e2
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400013fb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400013f8
call fcn.140002c10
mov rbx, rax
jmp 0x1400013fb
mov rbx, rdx
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], rsi
movups xmm0, xmmword [str.powershell__Command__Add_MpPreference__ExclusionPath_]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x140004518]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [0x140004528]
movups xmmword [rbx + 0x20], xmm0
mov eax, dword [0x140004538]
mov dword [rbx + 0x30], eax
movzx eax, word [0x14000453c]
mov word [rbx + 0x34], ax
lea rcx, [rbx + 0x36]
mov r8, r14
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r15], 0
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov rax, rdx
sub rax, rcx
cmp rax, 0xd
jb 0x14000149a
lea rax, [rcx + 0xd]
mov qword [rbp - 0x40], rax
lea rbx, [rbp - 0x50]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x50]
add rbx, rcx
mov r8d, 0xd
lea rdx, str.____NUL_2_1
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], 0
lea rax, [rbp - 0x50]
jmp 0x1400014b1
mov qword [rsp + 0x20], 0xd
mov edx, 0xd
lea rcx, [rbp - 0x50]
call fcn.1400027f0
xor ebx, ebx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x14000151a
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001515
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001515
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c4c
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ebx, eax
test eax, eax
je 0x14000159e
lea rdx, str.Failed_to_add_exclusion_for
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400020c0
cmp qword [rdi + 0x18], 0x10
jb 0x140001561
mov rdi, qword [rdi]
mov r8, qword [r13]
mov rdx, rdi
mov rcx, rax
call fcn.1400029e0
lea rdx, str._with_error_code:
mov rcx, rax
call fcn.1400020c0
mov rcx, rax
mov edx, ebx
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___int____ptr64]
mov rcx, rax
lea rdx, [0x140002290]
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]
xor bl, bl
jmp 0x1400015a0
mov bl, 1
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400015de
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400015d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400015d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002c4c
movzx eax, bl
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140002bf0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001180
int3
call fcn.140001220
int3