Function at 0x140020f20
Capabilities:
Register network filter via wfp api

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1f8
mov rax, qword [0x1400358b0]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x210]
add rax, 8
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
mov rax, qword [rsp + 0x210]
cmp dword [rax], 0xb1
je 0x140020f94
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
mov dword [rsp + 0x20], 0xc0000184
mov eax, dword [rsp + 0x20]
jmp 0x1400213a7
mov rax, qword [rsp + 0x210]
mov eax, dword [rax + 0xc8]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x218]
imul rax, rax, 0x10
lea rcx, [rsp + 0x1c0]
mov rdx, qword [rsp + 0x210]
mov rdi, rcx
lea rsi, [rdx + rax + 0xd0]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x218]
imul rax, rax, 0x10
lea rcx, [rsp + 0x1d0]
mov rdx, qword [rsp + 0x210]
mov rdi, rcx
lea rsi, [rdx + rax + 0x190]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x210]
mov rax, qword [rax + 0x280]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
mov eax, dword [rsp + 0x34]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0x1c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x78], rax
lea rax, [0x140011fc0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x58
rep stosb byte [rdi], al
lea rax, [rsp + 0x90]
lea rcx, [rsp + 0x1c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x30]
lea rcx, [rsp + 0xd0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xf0]
mov rdi, rax
xor eax, eax
mov ecx, 0xc8
rep stosb byte [rdi], al
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0x1d0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x30]
lea rcx, [rsp + 0x130]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x108], rax
mov dword [rsp + 0x170], 0x4005
lea rax, [rsp + 0x174]
lea rcx, [rsp + 0x1c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 0x38]
lea rcx, [rsp + 0x140]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x150], 4
lea rax, [rsp + 0x58]
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x188], rax
mov rcx, qword [rsp + 0x50]
call fcn.140012810
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, rax
call sub.fwpkclnt.sys_FwpsCalloutRegister0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x14002122d
mov eax, dword [rsp + 0x20]
jmp 0x1400213a7
cmp qword [rsp + 0x228], 0
je 0x14002126b
mov rax, qword [rsp + 0x210]
add rax, 8
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
mov rax, qword [rsp + 0x228]
mov ecx, dword [rsp + 0x30]
mov dword [rax], ecx
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.fwpkclnt.sys_FwpmTransactionBegin0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140021298
lea rcx, [rsp + 0x1c0]
call sub.fwpkclnt.sys_FwpsCalloutUnregisterByKey0
mov eax, dword [rsp + 0x20]
jmp 0x1400213a7
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
call sub.fwpkclnt.sys_FwpmCalloutAdd0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1400212c0
jmp 0x14002138c
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x28]
call sub.fwpkclnt.sys_FwpmFilterAdd0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x1400212e8
jmp 0x14002138c
mov rcx, qword [rsp + 0x28]
call sub.fwpkclnt.sys_FwpmTransactionCommit0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140021313
lea rcx, [rsp + 0x1c0]
call sub.fwpkclnt.sys_FwpsCalloutUnregisterByKey0
mov eax, dword [rsp + 0x20]
jmp 0x1400213a7
mov rax, qword [rsp + 0x210]
add rax, 8
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_KeAcquireInStackQueuedSpinLock]
mov rax, qword [rsp + 0x210]
cmp dword [rax], 0xb1
je 0x140021363
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
lea rcx, [rsp + 0x1c0]
call sub.fwpkclnt.sys_FwpsCalloutUnregisterByKey0
mov dword [rsp + 0x20], 0xc0000184
mov eax, dword [rsp + 0x20]
jmp 0x1400213a7
mov eax, dword [rsp + 0x218]
mov rcx, qword [rsp + 0x210]
mov dword [rcx + rax*4 + 0x250], 1
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeReleaseInStackQueuedSpinLock]
xor eax, eax
jmp 0x1400213a7
mov rcx, qword [rsp + 0x28]
call sub.fwpkclnt.sys_FwpmTransactionAbort0
lea rcx, [rsp + 0x1c0]
call sub.fwpkclnt.sys_FwpsCalloutUnregisterByKey0
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.14002cd90
add rsp, 0x1f8
pop rdi
pop rsi
ret