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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3018
call fcn.0061e3b0
mov eax, dword [0x79b5e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x300c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3010], eax
cmp dword [ebx + 4], 0
jne 0x58d1e8
mov eax, 0x80004001
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret 0xc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x3004]
push edi
push 0x800
push eax
push 0xffffffffffffffff
push 0x847a70
push 1
push 0
call esi
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea eax, [ebp - 0x3004]
push eax
call edi
mov dword [ebp - 0x3014], eax
test eax, eax
jne 0x58d22f
push str.SysAllocString_failed_n
call fcn.005f1cd0
add esp, 4
push 0x800
lea eax, [ebp - 0x2004]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x300c]
push 1
push 0
call esi
lea eax, [ebp - 0x2004]
push eax
call edi
mov dword [ebp - 0x3018], eax
test eax, eax
jne 0x58d269
push str.SysAllocString_failed_n
call fcn.005f1cd0
add esp, 4
push 0x800
lea eax, [ebp - 0x1004]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x3010]
push 1
push 0
call esi
lea eax, [ebp - 0x1004]
push eax
call edi
mov dword [ebp - 0x300c], eax
test eax, eax
jne 0x58d2a3
push str.SysAllocString_failed_n
call fcn.005f1cd0
add esp, 4
lea eax, [ebp - 0x3010]
mov dword [ebp - 0x3008], 0
push eax
push ecx
mov ecx, ebx
call fcn.0058d0c0
mov esi, eax
test esi, esi
jns 0x58d2e5
push esi
push str.IsAppEnabled_failed:_0x_08lx_n
call fcn.005f20b0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 0x3010], 0
je 0x58d303
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x3008]
push eax
push 0x6e8ce8
push 1
push 0
push 0x6e8cd8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x58d33a
push edi
push str.CoCreateInstance_NetFwRule_failed:_0x_08lx_n
call fcn.005f20b0
mov esi, dword [ebp - 0x3014]
jmp 0x58d3d5
mov eax, dword [ebp - 0x3008]
mov esi, dword [ebp - 0x3014]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x3008]
push dword [ebp - 0x300c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov eax, dword [ebp - 0x3008]
push dword [ebp - 0x3018]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x3008]
push 0x100
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x3008]
push 6
push eax
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [ebp - 0x3008]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa8]
mov eax, dword [ebp - 0x3008]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
mov eax, dword [ebx + 4]
push dword [ebp - 0x3008]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edi, eax
test edi, edi
jns 0x58d3d8
push edi
push str.Firewall_Rule_Add_failed:_0x_08lx_n
call fcn.005f20b0
add esp, 8
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x3018]
call esi
push dword [ebp - 0x300c]
call esi
mov ecx, dword [ebp - 0x3008]
test ecx, ecx
je 0x58d401
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0061b9b8
mov esp, ebp
pop ebp
ret 0xc