Function at 0x140003da0
Capabilities:
Get local ipv4 addresses
Register network filter via wfp api

Disassembly:
push rbp
push rdi
sub rsp, 0x38
xor ebp, ebp
mov rdi, rcx
cmp qword [0x1400326e0], rbp
je 0x140003dbe
mov eax, ebp
add rsp, 0x38
pop rdi
pop rbp
ret
mov ecx, dword [0x140030a90]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
call fcn.14000f53c
mov rsi, rax
xor edx, edx
lea rax, [0x140030a90]
mov r9, rsi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea ecx, [rdx + 2]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov ebx, eax
test eax, eax
je 0x140003e17
mov ecx, 1
call fcn.1400098b0
mov rcx, rax
lea rdx, str.could_not_fetch_network_device_list:__d_n
mov r8d, ebx
call fcn.140003d50
jmp 0x140003e72
mov r9, rsi
test rsi, rsi
je 0x140003e51
nop
mov r8, qword [r9 + 0x48]
mov rax, rdi
sub r8, rdi
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140003e44
add rax, 2
test ecx, ecx
jne 0x140003e30
test edx, edx
je 0x140003e80
mov r9, qword [r9 + 8]
test r9, r9
jne 0x140003e20
mov ecx, 2
call fcn.1400098b0
mov rcx, rax
lea rdx, str.could_not_find__s_n
mov r8, rdi
call fcn.140003d00
mov ebx, 0xffffffff
test rsi, rsi
je 0x14000410a
jmp 0x1400040fe
mov qword [rsp + 0x60], r14
mov ecx, 1
mov r14d, dword [r9 + 4]
call fcn.1400098b0
mov rcx, rax
lea rdx, str.found__s_at_index__d_n
mov r9d, r14d
mov r8, rdi
call fcn.140003d00
xorps xmm0, xmm0
lea r9, [0x140032570]
xor eax, eax
xor r8d, r8d
mov qword [0x1400325b0], rax
mov edx, 0xffffffff
lea rax, [0x1400326e0]
xor ecx, ecx
movups xmmword [0x140032590], xmm0
mov qword [rsp + 0x20], rax
movups xmmword [0x140032570], xmm0
mov dword [0x140032590], 1
movups xmmword [0x140032580], xmm0
movups xmmword [0x1400325a0], xmm0
call qword [sym.imp.fwpuclnt.dll_FwpmEngineOpen0]
mov ebx, eax
test eax, eax
je 0x140003f24
mov ecx, 2
call fcn.1400098b0
mov rcx, rax
lea rdx, str.could_not_connect_to_to_filtering_engine:__d_n
mov r8d, ebx
call fcn.140003d50
jmp 0x1400040f9
mov ecx, 1
call fcn.1400098b0
mov rcx, rax
lea rdx, str.connected_to_filtering_engine_n
call fcn.140003d50
xorps xmm0, xmm0
lea rcx, [0x140032690]
xor eax, eax
movups xmmword [0x140032690], xmm0
mov qword [0x1400326d0], rax
movups xmmword [0x1400326a0], xmm0
movups xmmword [0x1400326b0], xmm0
movups xmmword [0x1400326c0], xmm0
call qword [sym.imp.RPCRT4.dll_UuidCreate]
mov rcx, qword [0x1400326e0]
lea rax, str.Smart_DNS_Block
mov qword [0x1400326a0], rax
lea rdx, [0x140032690]
mov eax, 0xffff
xor r8d, r8d
mov word [0x1400326d0], ax
call qword [sym.imp.fwpuclnt.dll_FwpmSubLayerAdd0]
mov ebx, eax
test eax, eax
je 0x140003fca
mov ecx, 2
call fcn.1400098b0
mov rcx, rax
lea rdx, str.could_not_create_filtering_sublayer:__d_n
mov r8d, ebx
call fcn.140003d50
jmp 0x1400040f9
mov ecx, 1
mov qword [rsp + 0x30], r15
call fcn.1400098b0
mov rcx, rax
lea rdx, str.created_filtering_sublayer_n
call fcn.140003d50
movups xmm0, xmmword [0x140021540]
mov eax, 0x11
mov dword [0x140032700], ebp
mov word [0x140032710], ax
lea rcx, [0x1400325c0]
movaps xmmword [0x1400326f0], xmm0
mov eax, 0x35
movups xmm0, xmmword [0x140021550]
xor edx, edx
mov dword [0x140032708], 1
mov r8d, 0xc8
mov dword [0x140032728], ebp
movups xmmword [0x140032718], xmm0
mov dword [0x140032730], 2
mov word [0x140032738], ax
call fcn.14001f350
movups xmm1, xmmword [0x140021530]
lea rax, [0x1400326f0]
mov rcx, qword [0x1400326e0]
movaps xmm0, xmmword [0x140032690]
lea r15, [0x140029a18]
mov qword [0x140032638], rax
lea r9, [0x140032688]
lea rax, [0x140030a88]
mov dword [0x140032630], 2
xor r8d, r8d
mov qword [0x140032628], rax
lea rdx, [0x1400325c0]
mov qword [0x1400325d0], r15
movaps xmmword [0x140032610], xmm0
movaps xmmword [0x140032600], xmm1
mov dword [0x140032640], 0x1001
mov dword [0x140032620], 4
call qword [sym.imp.fwpuclnt.dll_FwpmFilterAdd0]
mov ebx, eax
test eax, eax
je 0x140004122
mov ecx, 2
call fcn.1400098b0
mov rcx, rax
lea rdx, str.could_not_block_port_53:__d_n
mov r8d, ebx
call fcn.140003d50
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x60]
mov rcx, rsi
call fcn.14000f528
test ebp, ebp
jne 0x14000410f
call fcn.140004250
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x38
pop rdi
pop rbp
ret
mov ecx, 1
call fcn.1400098b0
mov r8d, dword [0x140032688]
lea rdx, str.port_53_blocked_with_filter__d
mov rcx, rax
call fcn.140003d50
movups xmm0, xmmword [0x140021560]
xor edx, edx
mov dword [0x1400327b0], ebp
mov r8d, 0xc8
mov dword [0x1400327b8], 3
lea rcx, [0x1400327e0]
mov dword [0x1400327c0], r14d
movups xmmword [0x1400327a0], xmm0
call fcn.14001f350
movups xmm1, xmmword [0x140021530]
lea rax, [0x1400327a0]
mov rcx, qword [0x1400326e0]
movaps xmm0, xmmword [0x140032690]
lea r9, [0x1400326d8]
mov qword [0x140032858], rax
lea rdx, [0x1400327e0]
lea rax, [0x140030a80]
mov dword [0x140032850], 1
xor r8d, r8d
mov qword [0x140032848], rax
mov qword [0x1400327f0], r15
movups xmmword [0x140032830], xmm0
mov dword [0x140032860], 0x1002
movups xmmword [0x140032820], xmm1
mov dword [0x140032840], 4
call qword [sym.imp.fwpuclnt.dll_FwpmFilterAdd0]
mov ebx, eax
test eax, eax
je 0x140004220
mov ecx, 2
call fcn.1400098b0
mov rcx, rax
lea rdx, str.could_not_whitelist_traffic_on__s_:__d_n
mov r9d, ebx
mov r8, rdi
call fcn.140003d00
jmp 0x1400040f4
mov ecx, 1
call fcn.1400098b0
mov r9, qword [0x1400326d8]
lea rdx, str.whitelisted_traffic_on__s_with_filter__d_n
mov rcx, rax
mov r8, rdi
call fcn.140003d00
mov ebp, 1
jmp 0x1400040f4