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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452ef2
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 0x454760
push 1
push 0
push 0x472494
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4119ad
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edx
test edx, edx
jne 0x4117f6
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 0x4119ad
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 0x4119ad
cmp word [ebp - 0x18], 0
je 0x4119ad
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 0x41183a
xor bl, bl
jmp 0x41199a
mov dword [ebp - 0x1c], 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00401800
mov byte [ebp - 4], 8
mov eax, dword [eax]
test eax, eax
je 0x41185c
mov edx, dword [eax]
jmp 0x41185e
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.004018b0
test bh, bh
jne 0x4118dd
lea eax, [ebp - 0x1c]
push eax
push 0x454750
push 1
push 0
push 0x472484
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x411987
push esi
lea ecx, [ebp - 0x28]
call fcn.00401800
mov byte [ebp - 4], 0xc
mov edx, dword [eax]
test edx, edx
je 0x4118b8
mov edx, dword [edx]
jmp 0x4118ba
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.004018b0
test bl, bl
jne 0x411987
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 0x411987
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.00401800
mov byte [ebp - 4], 0x13
mov edx, dword [eax]
test edx, edx
je 0x411918
mov edx, dword [edx]
jmp 0x41191a
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.004018b0
test bl, bl
jne 0x411987
mov eax, dword [ebp - 0x1c]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
test eax, eax
js 0x411987
mov eax, dword [ebp - 0x1c]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x411987
mov eax, dword [ebp - 0x1c]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
test eax, eax
js 0x411987
test bh, bh
je 0x411974
mov bl, 1
jmp 0x411989
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 0x411989
xor bl, bl
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41199a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4119af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4119af
xor bl, bl
mov dword [ebp - 4], 0x23
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4119c3
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.0042520b
mov esp, ebp
pop ebp
ret 0x14