Function at 0x402ab0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x18]
push eax
xor ebx, ebx
push 0x41a6fc
push 1
push ebx
push 0x41a6ec
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 2], bl
mov byte [ebp - 1], bl
call esi
test eax, eax
jns 0x402aee
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jne 0x402cb8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jne 0x402cad
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
jne 0x402ca2
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
push edx
push 6
mov dword [ebp - 8], ebx
mov ecx, dword [eax]
push 0xb35
push eax
mov eax, dword [ecx + 0x28]
call eax
cmp eax, ebx
jge 0x402bb5
lea ecx, [ebp - 8]
push ecx
push 0x41a71c
push 1
push ebx
push 0x41a70c
call esi
cmp eax, ebx
jl 0x402bd9
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push str.UPnP_TCP_2869
push eax
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
push 0xb35
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push 6
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push 1
push eax
call edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp eax, ebx
jne 0x402bd9
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push 0xffffffffffffffff
push eax
call edx
test eax, eax
jne 0x402bd9
push str.TCP_2869_enabled
call fcn.00403500
add esp, 4
mov byte [ebp - 2], 1
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x402be8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x11
push 0x76c
push eax
mov eax, dword [ecx + 0x28]
call eax
cmp eax, ebx
jge 0x402c64
lea ecx, [ebp - 8]
push ecx
push 0x41a71c
push 1
push ebx
push 0x41a70c
call esi
cmp eax, ebx
jl 0x402c88
mov eax, dword [ebp - 8]
mov edx, dword [eax]
push str.UPnP_UDP_1900
push eax
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
push 0x76c
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push 0x11
push eax
call edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push 1
push eax
call edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp eax, ebx
jne 0x402c88
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push 0xffffffffffffffff
push eax
call edx
test eax, eax
jne 0x402c88
push str.UDP_1900_enabled
call fcn.00403500
add esp, 4
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x402c97
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
movzx eax, byte [ebp - 1]
movzx ecx, byte [ebp - 2]
pop esi
and eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret