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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450002
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x48100c]
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 0x4527e0
push 1
push 0
push 0x46e57c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41301d
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], edx
test edx, edx
jne 0x412e66
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 0x41301d
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 0x41301d
cmp word [ebp - 0x18], 0
je 0x41301d
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 0x412eaa
xor bl, bl
jmp 0x41300a
mov dword [ebp - 0x1c], 0
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00402490
mov byte [ebp - 4], 8
mov eax, dword [eax]
test eax, eax
je 0x412ecc
mov edx, dword [eax]
jmp 0x412ece
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.00402540
test bh, bh
jne 0x412f4d
lea eax, [ebp - 0x1c]
push eax
push 0x4527d0
push 1
push 0
push 0x46e56c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x412ff7
push esi
lea ecx, [ebp - 0x28]
call fcn.00402490
mov byte [ebp - 4], 0xc
mov edx, dword [eax]
test edx, edx
je 0x412f28
mov edx, dword [edx]
jmp 0x412f2a
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.00402540
test bl, bl
jne 0x412ff7
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 0x412ff7
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.00402490
mov byte [ebp - 4], 0x13
mov edx, dword [eax]
test edx, edx
je 0x412f88
mov edx, dword [edx]
jmp 0x412f8a
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.00402540
test bl, bl
jne 0x412ff7
mov eax, dword [ebp - 0x1c]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
test eax, eax
js 0x412ff7
mov eax, dword [ebp - 0x1c]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x412ff7
mov eax, dword [ebp - 0x1c]
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
test eax, eax
js 0x412ff7
test bh, bh
je 0x412fe4
mov bl, 1
jmp 0x412ff9
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 0x412ff9
xor bl, bl
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41300a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41301f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x41301f
xor bl, bl
mov dword [ebp - 4], 0x23
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x413033
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.004310db
mov esp, ebp
pop ebp
ret 0x14