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, cl
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov ecx, 0x30
call fcn.1400025a0
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 [0x140004498]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400044a8]
movsd qword [rax + 0x20], xmm0
movzx eax, word [0x1400044b0]
mov word [rcx + 0x28], ax
mov byte [rcx + 0x2a], 0
mov qword [rbp - 0x20], 0x2e
mov eax, dword [0x14000457c]
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 0x1400015ab
cmp rax, 0xf
jb 0x14000153b
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 0x140001559
mov qword [rsp + 0x20], 0xf
lea r9, str.__new_enableno
mov edx, 0xf
lea rcx, [rbp - 0x30]
call fcn.140002370
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 0x14000159f
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.140002160
mov rcx, rax
lea rdx, [0x14000457c]
call fcn.140002160
lea rdx, str.__disabled_successfully.
jmp 0x14000166e
lea rdx, str.Failed_to_enable_firewall_rule__
jmp 0x14000164c
cmp rax, 0x10
jb 0x1400015e4
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 0x140001602
mov qword [rsp + 0x20], 0x10
lea r9, str.__new_enableyes
mov edx, 0x10
lea rcx, [rbp - 0x30]
call fcn.140002370
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 0x140001645
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.140002160
mov rcx, rax
lea rdx, [0x14000457c]
call fcn.140002160
lea rdx, str.__enabled_successfully.
jmp 0x14000166e
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.140002160
lea rdx, [0x14000457c]
mov rcx, rax
call fcn.140002160
lea rdx, [0x1400044f8]
mov rcx, rax
call fcn.140002160
lea rdx, [0x140002330]
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 0x1400016c5
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400025e4
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140002580
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret