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

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor esi, esi
push ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
push edi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x49f2a4
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [esp + 0x18]
push eax
push 0x6c0328
push 0x17
push esi
push 0x6c0398
call ebx
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x49f2a4
lea eax, [esp + 0x10]
push eax
push 0x6c0368
push 0x17
push esi
push 0x6c0388
call ebx
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 0x6bfef8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 0x11
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 0x6bff34
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push str.Meshcentral_agent_UDP_port_for_local_peer_to_peer_traffic.
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa0]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x14]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
push 0x6c0368
push 0x17
push esi
push 0x6c0388
call ebx
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 0x6bffb8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 0x11
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 0x6bfff0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push str.Meshcentral_agent_UDP_port_for_internet_WebRTC_management_traffic.
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa0]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x14]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
push 0x6c0368
push 0x17
push esi
push 0x6c0388
call ebx
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 0x6bfffc
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 6
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push str.16990
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push str.Meshcentral_agent_TCP_port_for_local_peer_to_peer_traffic.
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x14]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
push 0x6c0368
push 0x17
push esi
push 0x6c0388
call ebx
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 0x6c0150
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 6
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push str.16991
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push str.Meshcentral_agent_TCP_port_for_management_traffic.
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x14]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49f2a4
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, esi
inc esi
mov dword [esp + 0x10], ecx
jmp 0x49f2a8
mov ecx, dword [esp + 0x10]
test edi, edi
je 0x49f2b7
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x49f2c1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x49f2cf
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x49f2dd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
jne 0x49f2e8
mov edx, ebp
call fcn.0049edc5
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret