Function at 0x140080178
Capabilities:
Access firewall policy via inetfwpolicy2
Access firewall settings via inetfwmgr

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor r13d, r13d
mov r15, rcx
mov ebx, r13d
mov qword [rbp - 0x10], r13
lea rcx, str.Mesh_Agent_peer_to_peer__UDP_
mov dword [rbp + 0x48], ebx
mov qword [rbp - 0x18], r13
mov r14d, r13d
mov qword [rbp - 0x20], r13
mov esi, r13d
mov qword [rbp + 0x50], r13
mov edi, r13d
mov qword [rbp - 8], r13
mov qword [rbp + 0x58], r13
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r12, rax
test rax, rax
je 0x140080350
lea rcx, str.Mesh_Agent_management__UDP_
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r14, rax
test rax, rax
je 0x140080350
lea rcx, str.Mesh_Agent_peer_to_peer__TCP_
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
test rax, rax
je 0x140080350
lea rcx, str.Mesh_Agent_management__TCP_
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
test rax, rax
je 0x140080350
lea rax, [rbp - 0x10]
xor edx, edx
lea r9, [0x1401e3838]
mov qword [rsp + 0x20], rax
lea r8d, [r13 + 1]
lea rcx, [0x1401e3818]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140080350
mov rcx, qword [rbp - 0x10]
lea rdx, [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_getservbyport]
test eax, eax
js 0x140080350
mov rcx, qword [rbp - 0x18]
lea rdx, [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_getservbyport]
test eax, eax
js 0x140080350
mov rcx, qword [rbp - 0x20]
lea rdx, [rbp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0xa0]
test eax, eax
js 0x140080350
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r15, rax
test rax, rax
je 0x140080350
mov r13d, 4
mov rcx, qword [rbp + 0x58]
mov rdx, r15
mov r8, qword [rcx]
call qword [r8 + 0x48]
test eax, eax
js 0x140080344
inc ebx
cmp ebx, r13d
jl 0x1400802ab
xor edx, edx
lea rax, [rbp - 8]
lea r9, [0x1401e3808]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401e3878]
lea r8d, [rdx + 0x17]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140080344
mov rcx, qword [rbp - 8]
lea rdx, [rbp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x90]
test eax, eax
js 0x140080344
mov rcx, qword [rbp + 0x50]
mov rdx, r12
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x50]
mov rdx, r14
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x50]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x50]
mov rdx, rdi
mov rax, qword [rcx]
call qword [rax + 0x48]
sub r13, 1
jne 0x140080304
lea ebx, [r13 + 1]
jmp 0x140080347
mov ebx, dword [rbp + 0x48]
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14008035f
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14008036e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14008037d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14008038c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14008039b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400803aa
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test r12, r12
je 0x1400803b8
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r14, r14
je 0x1400803c6
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rsi, rsi
je 0x1400803d4
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test rdi, rdi
je 0x1400803e2
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret