Function at 0x401360
Capabilities:
Access firewall rule properties via inetfwrule
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor ebx, ebx
mov esi, eax
mov dword [ebp - 8], ebx
call edi
push str.EEventManager_Application
mov dword [ebp - 4], eax
call edi
push str.EEventManager.exe___Push_Scan_Discovery
mov dword [ebp + 8], eax
call edi
mov edi, eax
xor eax, eax
cmp dword [ebp - 4], eax
je 0x4014fa
cmp dword [ebp + 8], eax
je 0x4014f1
cmp edi, eax
je 0x4014f1
push esi
push 0x41eb14
push 1
push eax
push 0x41eb04
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
jge 0x4013d0
push str.CoCreateInstance_for_INetFwRule_failed_n
jmp 0x4014d1
mov eax, dword [esi]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov ebx, eax
test ebx, ebx
jge 0x4013eb
push str.Failed_INetFwRule::put_Name_failed_with_error_n
jmp 0x4014d1
mov eax, dword [esi]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x90]
mov ebx, eax
test ebx, ebx
jge 0x401407
push str.Failed_INetFwRule::put_Grouping_failed_with_error_n
jmp 0x4014d1
mov eax, dword [esi]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x70]
mov ebx, eax
test ebx, ebx
jge 0x401421
push str.Failed_INetFwRule::put_Direction_failed_with_error_n
jmp 0x4014d1
mov eax, dword [esi]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xa8]
mov ebx, eax
test ebx, ebx
jge 0x40143e
push str.Failed_INetFwRule::put_Action_failed_with_error_n
jmp 0x4014d1
mov eax, dword [esi]
push dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov ebx, eax
test ebx, ebx
jge 0x401456
push str.Failed_INetFwRule::put_ApplicationName_failed_with_error_n
jmp 0x4014d1
mov eax, dword [esi]
mov ecx, dword [eax]
push 7
push eax
call dword [ecx + 0x98]
mov ebx, eax
test ebx, ebx
jge 0x401470
push str.Failed_INetFwRule::put_Profiles_failed_with_error_n
jmp 0x4014d1
mov eax, dword [esi]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x88]
mov ebx, eax
test ebx, ebx
jge 0x40148a
push str.Failed_INetFwRule::put_Enabled_failed_with_error_n
jmp 0x4014d1
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x41eb24
push eax
call dword [ecx]
test eax, eax
jl 0x4014b9
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0xb0]
mov ebx, eax
test ebx, ebx
jge 0x4014d9
push str.Failed_INetFwRule::put_EdgeTraversalOptions_failed_with_error._n
jmp 0x4014d1
mov eax, dword [esi]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa0]
mov ebx, eax
test ebx, ebx
jge 0x4014d9
push str.Failed_INetFwRule::put_EdgeTraversal_failed_with_error_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4014f1
mov eax, dword [esi]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov esi, dword [esi]
mov eax, dword [esi]
push str.2968
push esi
call dword [eax + 0x48]
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp + 8], 0
je 0x401509
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x401514
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
test eax, eax
je 0x401521
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8