Function at 0x49aba6
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 0x49af30
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [esp + 0x18]
push eax
push 0x6bb2d8
push 0x17
push esi
push 0x6bb348
call ebx
test eax, eax
js 0x49af30
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 0x49af30
lea eax, [esp + 0x10]
push eax
push 0x6bb318
push 0x17
push esi
push 0x6bb338
call ebx
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push 0x6baea8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push 0x11
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push 0x6baee4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x49af30
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 0x49af30
mov eax, dword [esp + 0x10]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa0]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x14]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49af30
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 0x6bb318
push 0x17
push esi
push 0x6bb338
call ebx
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push 0x6baf68
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push 0x11
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push 0x6bafa0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x49af30
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 0x49af30
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa0]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x14]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49af30
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 0x6bb318
push 0x17
push esi
push 0x6bb338
call ebx
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push 0x6bafac
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push 6
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push str.16990
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x49af30
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 0x49af30
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x14]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49af30
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 0x6bb318
push 0x17
push esi
push 0x6bb338
call ebx
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push 0x6bb100
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push 6
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x10]
push str.16991
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
js 0x49af30
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 0x49af30
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x49af30
mov eax, dword [esp + 0x14]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x49af30
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 0x49af34
mov ecx, dword [esp + 0x10]
test edi, edi
je 0x49af43
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x49af4d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x49af5b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x49af69
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
jne 0x49af74
mov edx, ebp
call fcn.0049aa51
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret