Function at 0x4aff50
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538ec8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x58d00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0x560600
push 1
push 0
push 0x560620
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x4affae
mov ecx, str.CoCreateInstance_for_NetFwRule_failed
jmp 0x4b013b
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x10]
cmp dword [edi + 0x14], 8
jb 0x4affbe
mov eax, dword [edi]
jmp 0x4affc0
mov eax, edi
push eax
lea ecx, [ebp + 8]
call fcn.004aeea0
mov byte [ebp - 4], 1
mov ecx, dword [eax]
test ecx, ecx
je 0x4affd7
mov ecx, dword [ecx]
jmp 0x4affd9
xor ecx, ecx
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x20]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004aef50
test esi, esi
js 0x4b0136
cmp dword [edi + 0x2c], 8
lea eax, [edi + 0x18]
mov esi, dword [ebp - 0x10]
jb 0x4b0004
mov eax, dword [eax]
push eax
lea ecx, [ebp + 8]
call fcn.004aeea0
mov byte [ebp - 4], 2
mov ecx, dword [eax]
test ecx, ecx
je 0x4b001b
mov ecx, dword [ecx]
jmp 0x4b001d
xor ecx, ecx
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x28]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004aef50
test esi, esi
js 0x4b0136
cmp dword [edi + 0x44], 8
lea eax, [edi + 0x30]
mov esi, dword [ebp - 0x10]
jb 0x4b0048
mov eax, dword [eax]
push eax
lea ecx, [ebp + 8]
call fcn.004aeea0
mov byte [ebp - 4], 3
mov ecx, dword [eax]
test ecx, ecx
je 0x4b005f
mov ecx, dword [ecx]
jmp 0x4b0061
xor ecx, ecx
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x30]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004aef50
test esi, esi
js 0x4b0136
mov eax, dword [ebp - 0x10]
push dword [edi + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov esi, eax
test esi, esi
js 0x4b0136
mov eax, dword [ebp - 0x10]
push dword [edi + 0x68]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov esi, eax
test esi, esi
js 0x4b0136
mov eax, dword [ebp - 0x10]
push dword [edi + 0x64]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov esi, eax
test esi, esi
js 0x4b0136
mov eax, dword [ebp - 0x10]
movzx ecx, byte [edi + 0x6c]
neg ecx
mov edx, dword [eax]
sbb ecx, ecx
push ecx
push eax
call dword [edx + 0x88]
mov esi, eax
test esi, esi
js 0x4b0136
mov esi, dword [ebp - 0x10]
add edi, 0x48
cmp dword [edi + 0x14], 8
jb 0x4b00e8
mov edi, dword [edi]
push edi
lea ecx, [ebp + 8]
call fcn.004aeea0
mov byte [ebp - 4], 4
mov ecx, dword [eax]
test ecx, ecx
je 0x4b00ff
mov ecx, dword [ecx]
jmp 0x4b0101
xor ecx, ecx
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x90]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004aef50
test esi, esi
js 0x4b0136
mov eax, dword [ebx + 8]
push dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov esi, eax
test esi, esi
jns 0x4b0142
mov ecx, str.INetFwRules::Add_failed
jmp 0x4b013b
mov ecx, str.INetFwRules::put__failed
mov edx, esi
call fcn.004af570
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4b0156
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4