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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4526d2
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x47d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
push 0x454750
push 1
push 0
push 0x47228c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41189d
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edx
test edx, edx
jne 0x4116e6
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x41189d
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
lea ebx, [ebp - 0x18]
push ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
js 0x41189d
cmp word [ebp - 0x18], 0
je 0x41189d
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
test eax, eax
jns 0x41172a
xor bl, bl
jmp 0x41188a
mov dword [ebp - 0x1c], 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00401890
mov byte [ebp - 4], 8
mov eax, dword [eax]
test eax, eax
je 0x41174c
mov edx, dword [eax]
jmp 0x41174e
xor edx, edx
mov eax, dword [ebp - 0x24]
lea ebx, [ebp - 0x1c]
push ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
setns bh
call fcn.00401940
test bh, bh
jne 0x4117cd
lea eax, [ebp - 0x1c]
push eax
push 0x454740
push 1
push 0
push 0x47227c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x411877
push esi
lea ecx, [ebp - 0x28]
call fcn.00401890
mov byte [ebp - 4], 0xc
mov edx, dword [eax]
test edx, edx
je 0x4117a8
mov edx, dword [edx]
jmp 0x4117aa
xor edx, edx
mov eax, dword [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
sets bl
call fcn.00401940
test bl, bl
jne 0x411877
mov eax, dword [ebp - 0x1c]
push 6
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
test eax, eax
js 0x411877
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.00401890
mov byte [ebp - 4], 0x13
mov edx, dword [eax]
test edx, edx
je 0x411808
mov edx, dword [edx]
jmp 0x41180a
xor edx, edx
mov eax, dword [ebp - 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
sets bl
call fcn.00401940
test bl, bl
jne 0x411877
mov eax, dword [ebp - 0x1c]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
test eax, eax
js 0x411877
mov eax, dword [ebp - 0x1c]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x411877
mov eax, dword [ebp - 0x1c]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
test eax, eax
js 0x411877
test bh, bh
je 0x411864
mov bl, 1
jmp 0x411879
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
setns bl
jmp 0x411879
xor bl, bl
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41188a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41189f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41189f
xor bl, bl
mov dword [ebp - 4], 0x23
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4118b3
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424a0b
mov esp, ebp
pop ebp
ret 0x14