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

Disassembly:
push 0xffffffffffffffff
push 0x42244b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x42e070]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42e070]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
xor edi, edi
push edi
mov dword [esp + 0x34], edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x28]
push eax
push 0x42bb38
push 1
push edi
push 0x42bb28
mov dword [esp + 0x3c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jl 0x40a395
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
jl 0x40a385
lea ecx, [esp + 0x3c]
push ecx
xor ebp, ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [esp + 0x260], edi
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
lea ecx, [esp + 0x24]
push ecx
push eax
call edx
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x40a17b
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push 0x42bb48
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
mov eax, dword [esp + 0x24]
cmp esi, edi
jl 0x40a23d
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
lea esp, [esp]
cmp esi, 1
je 0x40a239
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x40]
push ecx
push 1
push eax
call edx
mov esi, eax
cmp esi, 1
je 0x40a231
cmp esi, edi
jl 0x40a239
push 9
push edi
lea eax, [esp + 0x44]
push eax
mov ecx, eax
push ecx
call ebx
cmp eax, edi
jl 0x40a239
mov eax, dword [esp + 0x44]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x20]
push ecx
push 0x42bb58
push eax
call edx
mov esi, eax
cmp esi, edi
jl 0x40a239
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
jl 0x40a221
mov ecx, dword [esp + 0x34]
push str.Net_Protector_Admin_Console
push ecx
call fcn.0040f49b
add esp, 8
test eax, eax
jne 0x40a221
lea ebp, [eax + 1]
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x40a231
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp esi, edi
jge 0x40a190
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x40a249
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], edi
cmp ebp, edi
jne 0x40a35f
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push str.Net_Protector_Admin_Console
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
jge 0x40a34f
lea ecx, [esp + 0x18]
push ecx
push 0x42bb58
push 1
push edi
push 0x42bb68
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x40a35f
push 0x206
lea eax, [esp + 0x52]
xor edx, edx
push edi
push eax
mov word [esp + 0x58], dx
call fcn.00410d60
add esp, 0xc
push 0x104
lea ecx, [esp + 0x50]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push str.Net_Protector_Admin_Console
push eax
mov eax, dword [edx + 0x20]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push str.Allow_inbound_connections_for_ACCLNTSRV_for_TCP_Ports
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x4c]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 1
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x70]
push 1
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push pe_nt_image_headers32
push eax
call edx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
jl 0x40a34f
mov dword [esp + 0x30], 1
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x40a35f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x40a36f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x264], 0xffffffff
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x40a395
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.0040e6d9
add esp, 0x250
ret