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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3018
call fcn.005e0fd0
mov eax, dword [0x6e8da0]
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 0x55d088
mov eax, 0x80004001
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dbda3
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 str.Infestation:_Survivor_Stories
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 0x55d0cf
push str.SysAllocString_failed_n
call fcn.005b6a10
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 0x55d109
push str.SysAllocString_failed_n
call fcn.005b6a10
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 0x55d143
push str.SysAllocString_failed_n
call fcn.005b6a10
add esp, 4
lea eax, [ebp - 0x3010]
mov dword [ebp - 0x3008], 0
push eax
push ecx
mov ecx, ebx
call fcn.0055cf60
mov esi, eax
test esi, esi
jns 0x55d185
push esi
push str.IsAppEnabled_failed:_0x_08lx_n
call fcn.005b6df0
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dbda3
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp - 0x3010], 0
je 0x55d1a3
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005dbda3
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x3008]
push eax
push 0x6a68e0
push 1
push 0
push 0x6a68d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x55d1da
push edi
push str.CoCreateInstance_NetFwRule_failed:_0x_08lx_n
call fcn.005b6df0
mov esi, dword [ebp - 0x3014]
jmp 0x55d275
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 0x55d278
push edi
push str.Firewall_Rule_Add_failed:_0x_08lx_n
call fcn.005b6df0
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 0x55d2a1
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.005dbda3
mov esp, ebp
pop ebp
ret 0xc