Function at 0x140001450
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp - 0x10], rax
movzx ebx, byte [0x140006035]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov ecx, 0x30
call fcn.1400023e0
mov rcx, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x20], 0x2a
mov qword [rbp - 0x18], 0x2f
movups xmm0, xmmword [str.netsh_advfirewall_firewall_set_rule_name_]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140004480]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x140004490]
movsd qword [rax + 0x20], xmm0
movzx eax, word [0x140004498]
mov word [rcx + 0x28], ax
mov byte [rcx + 0x2a], 0
mov qword [rbp - 0x20], 0x2e
mov eax, dword [0x140004564]
mov dword [rcx + 0x2a], eax
mov byte [rcx + 0x2e], 0
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov rax, rdx
sub rax, rcx
test bl, bl
je 0x1400015af
cmp rax, 0xf
jb 0x14000153f
lea rax, [rcx + 0xf]
mov qword [rbp - 0x20], rax
lea rbx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x30]
add rbx, rcx
mov r8d, 0xf
lea rdx, str.__new_enableno
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xf], 0
jmp 0x14000155d
mov qword [rsp + 0x20], 0xf
lea r9, str.__new_enableno
mov edx, 0xf
lea rcx, [rbp - 0x30]
call fcn.1400021b0
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]
test eax, eax
jne 0x1400015a3
lea rdx, str.Firewall_rule__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001fa0
mov rcx, rax
lea rdx, [0x140004564]
call fcn.140001fa0
lea rdx, str.__disabled_successfully.
jmp 0x140001672
lea rdx, str.Failed_to_enable_firewall_rule__
jmp 0x140001650
cmp rax, 0x10
jb 0x1400015e8
lea rax, [rcx + 0x10]
mov qword [rbp - 0x20], rax
lea rbx, [rbp - 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x30]
add rbx, rcx
mov r8d, 0x10
lea rdx, str.__new_enableyes
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x10], 0
jmp 0x140001606
mov qword [rsp + 0x20], 0x10
lea r9, str.__new_enableyes
mov edx, 0x10
lea rcx, [rbp - 0x30]
call fcn.1400021b0
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]
test eax, eax
jne 0x140001649
lea rdx, str.Firewall_rule__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001fa0
mov rcx, rax
lea rdx, [0x140004564]
call fcn.140001fa0
lea rdx, str.__enabled_successfully.
jmp 0x140001672
lea rdx, str.Failed_to_change_firewall_rule__
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001fa0
lea rdx, [0x140004564]
mov rcx, rax
call fcn.140001fa0
lea rdx, [0x1400044e0]
mov rcx, rax
call fcn.140001fa0
lea rdx, [0x140002170]
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 - 0x18]
cmp rdx, 0x10
jb 0x1400016c9
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002424
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400023c0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret