Function at 0x140001faa
Capabilities:
Delete network filter via wfp api
Enumerate network filters via wfp api

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp - 0x28], 0
mov dword [rbp - 8], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x50], 0
mov qword [rbp - 0x48], 0
mov dword [rbp - 0x54], 0
mov dword [rbp - 4], 0
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0xffffffff
mov ecx, 0
call sym.FwpmEngineOpen0
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
je 0x140002038
mov eax, dword [rbp - 8]
mov edx, eax
lea rax, [0x140006418]
mov rcx, rax
call dbg.printf
jmp 0x140002215
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x30]
mov r8, rdx
mov edx, 0
mov rcx, rax
call sym.FwpmFilterCreateEnumHandle0
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
je 0x140002072
mov eax, dword [rbp - 8]
mov edx, eax
lea rax, str.____FwpmFilterCreateEnumHandle0_failed_with_error_code:_0x_x._n
mov rcx, rax
call dbg.printf
jmp 0x140002215
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
lea r8, [rbp - 0x38]
lea rcx, [rbp - 0x54]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 1
mov rcx, rax
call sym.FwpmFilterEnum0
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
je 0x1400020d6
mov eax, dword [rbp - 8]
mov edx, eax
lea rax, str.____FwpmFilterEnum0_failed_with_error_code:_0x_x._n
mov rcx, rax
call dbg.printf
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.FwpmFilterDestroyEnumHandle0
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.FwpmEngineClose0
jmp 0x140002215
mov eax, dword [rbp - 0x54]
test eax, eax
je 0x140002184
mov rax, qword [rbp - 0x38]
mov rax, qword [rax]
add rax, 0x10
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov rax, qword [rax]
mov qword [rbp - 0x18], rax
mov rdx, qword [str.Custom_Outbound_Filter]
mov rax, qword [rbp - 0x18]
mov rcx, rax
call sym.wcscmp
test eax, eax
jne 0x140002072
mov dword [rbp - 4], 1
mov rax, qword [rbp - 0x38]
mov rax, qword [rax]
mov rax, qword [rax + 0xb0]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x28]
mov rdx, qword [rbp - 0x20]
mov rcx, rax
call sym.FwpmFilterDeleteById0
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
jne 0x140002163
mov rax, qword [rbp - 0x20]
mov rdx, rax
lea rax, str.Deleted_filter_id:__llu._n
mov rcx, rax
call dbg.printf
jmp 0x140002072
mov edx, dword [rbp - 8]
mov rax, qword [rbp - 0x20]
mov r8d, edx
mov rdx, rax
lea rax, str.____Failed_to_delete_filter_id:__llu_with_error_code:_0x_x._n
mov rcx, rax
call dbg.printf
jmp 0x140002072
nop
mov rax, qword [str.Microsoft_Windows_WFP_Built_in_custom_provider.]
lea rdx, [rbp - 0x50]
mov rcx, rax
call sym.GetProviderGUIDByDescription
test eax, eax
je 0x1400021e3
mov rax, qword [rbp - 0x28]
lea rdx, [rbp - 0x50]
mov rcx, rax
call sym.FwpmProviderDeleteByKey0
mov dword [rbp - 8], eax
cmp dword [rbp - 8], 0
je 0x1400021d4
cmp dword [rbp - 8], 0x8032000a
je 0x1400021e3
mov eax, dword [rbp - 8]
mov edx, eax
lea rax, str.____FwpmProviderDeleteByKey0_failed_with_error_code:_0x_x._n
mov rcx, rax
call dbg.printf
jmp 0x1400021e3
lea rax, str.Deleted_custom_WFP_provider.
mov rcx, rax
call sym.puts
cmp dword [rbp - 4], 0
jne 0x1400021f8
lea rax, str.____Unable_to_find_any_WFP_filter_created_by_this_tool.
mov rcx, rax
call sym.puts
mov rdx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.FwpmFilterDestroyEnumHandle0
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.FwpmEngineClose0
nop
add rsp, 0x90
pop rbp
ret