Function at 0x14000b7e0
Capabilities:
Access firewall policy via inetfwpolicy2
Access firewall rule properties via inetfwrule

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x14004c018]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edi, edi
mov r12d, edx
mov r15, rcx
mov qword [rsp + 0x40], rdi
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov rbx, r8
mov qword [rsp + 0x30], rdi
lea edx, [rdi + 2]
mov r14d, edi
mov ebp, edi
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, 0x80000000
mov esi, eax
add eax, ecx
test ecx, eax
jne 0x14000b855
cmp esi, 0x80010106
je 0x14000b855
lea rcx, str.____Error_while_initializing_COM__CoInitializeEx_failed:_0x_08lx__n
mov edx, esi
call fcn.140001010
mov ebx, 0x80004005
jmp 0x14000b9de
xor edx, edx
lea rax, [rsp + 0x40]
lea r9, [0x14003f078]
mov qword [rsp + 0x20], rax
lea rcx, [0x14003f0a8]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
jns 0x14000b897
lea rcx, str.____Error_while_initializing_the_INetFwPolicy2_interface__CoCreateInstance_for_INetFwPolicy2_failed:_0x_08lx__n
mov edx, eax
call fcn.140001010
mov ebx, 0x80004005
jmp 0x14000b9de
mov edx, 0x14
mov rcx, rbx
call fcn.140009780
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, r15
mov r14, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x38]
mov rbp, rax
mov r8, qword [rcx]
call qword [r8 + 0x90]
mov ebx, eax
test eax, eax
jns 0x14000b8f5
mov edx, eax
lea rcx, str.____Could_not_retrieve_current_Firewall_rules__pNetFwPolicy2__get_Rules_failed:_0x_08lx_._n
call fcn.140001010
jmp 0x14000b9de
xor edx, edx
lea rax, [rsp + 0x30]
lea r9, [0x14003f088]
mov qword [rsp + 0x20], rax
lea rcx, [0x14003f098]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x14000b932
mov edx, eax
lea rcx, str.____Error_while_attempting_to_initiate_the_INetFwRule__CoCreateInstance_failed:_0x_08lx_._n
call fcn.140001010
jmp 0x14000b9de
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x30]
mov rdx, r14
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x30]
mov rdx, rbp
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rcx, qword [rsp + 0x30]
mov edx, 0x100
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, qword [rsp + 0x30]
mov edx, r12d
mov rax, qword [rcx]
call qword [rax + 0xe0]
mov rcx, qword [rsp + 0x30]
mov edx, 0x7fffffff
mov rax, qword [rcx]
call qword [rax + 0x130]
mov rcx, qword [rsp + 0x30]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rsp + 0x30]
mov edx, 0xffffffff
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
jns 0x14000b9de
mov r8d, eax
lea rcx, str.____Error_while_adding_the_firewall_blocking_rule_for__s__INetFwRule__Add_failed:_0x_08lx__n
mov rdx, r15
call fcn.140001010
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000b9ee
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000b9fe
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000ba0e
mov rax, qword [rcx]
call qword [rax + 0x10]
test rdi, rdi
je 0x14000ba1c
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r14, r14
je 0x14000ba2a
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rbp, rbp
je 0x14000ba38
mov rcx, rbp
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
js 0x14000ba42
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000cb50
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret