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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7d60
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x51c080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0xc], ebx
jne 0x4197ff
push str.Firewall_Policy_2_is_invalid__
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
push ecx
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
call esi
mov edi, eax
mov dword [ebp - 0x1c], edi
mov edx, dword [ebp + 0xc]
push edx
call esi
mov esi, eax
mov dword [ebp - 0x20], esi
cmp edi, ebx
jne 0x419846
cmp esi, ebx
jne 0x419846
push str.SysAllocString_fail__
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov dword [ebp - 0x28], ebx
push 0x5043bc
lea eax, [ebp - 0x28]
push eax
call fcn.004abd6e
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov edx, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
push eax
mov edx, dword [edx + 0x48]
call edx
cmp eax, ebx
jge 0x41987f
push str.retrieve_firewall_rules_collection_fail__
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov dword [ebp - 0x2c], ebx
push 0x5043bc
lea eax, [ebp - 0x2c]
push eax
call fcn.004abd6e
lea ecx, [ebp - 0x18]
push ecx
push 0x4e0ec8
push 1
push ebx
push 0x4e0eb8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x4198bd
push str.CoCreateInstance_for_INetFwRule_failed
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov dword [ebp - 0x30], ebx
push 0x5043bc
lea edx, [ebp - 0x30]
push edx
call fcn.004abd6e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push edi
push eax
mov edx, dword [ecx + 0x20]
call edx
cmp eax, ebx
jge 0x4198f0
push str.Failed_INetFwRule::put_Name_failed
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov dword [ebp - 0x34], ebx
push 0x5043bc
lea eax, [ebp - 0x34]
push eax
call fcn.004abd6e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push edi
push eax
mov edx, dword [ecx + 0x90]
call edx
cmp eax, ebx
jge 0x419915
push str.Failed_INetFwRule::put_Grouping_failed
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push edi
push eax
mov edx, dword [ecx + 0x28]
call edx
cmp eax, ebx
jge 0x419937
push str.Failed_INetFwRule::put_Description_failed
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push 1
push eax
mov edx, dword [ecx + 0x70]
call edx
cmp eax, ebx
jge 0x41995a
push str.Failed_INetFwRule::put_Direction_failed
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push 1
push eax
mov edx, dword [ecx + 0xa8]
call edx
cmp eax, ebx
jge 0x419991
push str.Failed_INetFwRule::put_Action_failed
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov dword [ebp - 0x38], ebx
push 0x5043bc
lea eax, [ebp - 0x38]
push eax
call fcn.004abd6e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push esi
push eax
mov edx, dword [ecx + 0x30]
call edx
cmp eax, ebx
jge 0x4199c4
push str.Failed_INetFwRule::put_ApplicationName_failed
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov dword [ebp - 0x3c], ebx
push 0x5043bc
lea eax, [ebp - 0x3c]
push eax
call fcn.004abd6e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push bind
push eax
mov edx, dword [ecx + 0x98]
call edx
cmp eax, ebx
jge 0x4199fe
push str.Failed_INetFwRule::put_Profiles_failed
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov dword [ebp - 0x40], ebx
push 0x5043bc
lea eax, [ebp - 0x40]
push eax
call fcn.004abd6e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov edx, dword [ecx + 0x88]
call edx
cmp eax, ebx
jge 0x419a24
push str.Failed_INetFwRule::put_Enabled_failed
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp eax, ebx
jge 0x419a52
push str.Failed_to_add_firewall_rule_to_the_firewall_rules_collection
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x419aa9
mov byte [ebp - 0x11], 1
mov ecx, dword [ebp + 0x10]
push ecx
push str.Success_to_add_firewall_rule_to_the_firewall_rules_collection_:___s_
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 4], 0xffffffff
jmp 0x419aa9
mov dword [ebp - 4], 2
cmp edi, ebx
je 0x419abb
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
je 0x419ac6
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x419ad5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x419ae4
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc