Function at 0x418df0
Capabilities:
Access firewall policy via inetfwpolicy2
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7df0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
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
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
push 0x4dfb40
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jne 0x418f86
mov byte [edi + 0x10], 1
lea esi, [edi + 0xc]
mov dword [esi], ebx
push esi
push 0x4e0e68
push 1
push ebx
push 0x4e0e58
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
call ebx
test eax, eax
jl 0x418e73
cmp dword [esi], 0
jne 0x418e85
push str.Init_INetFwPolicy2_failed
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
push 0x4e0e88
push 1
push 0
push 0x4e0e78
call ebx
xor ebx, ebx
cmp eax, ebx
jl 0x419007
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x419007
mov edx, dword [ecx]
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, dword [edx + 0x1c]
call ecx
cmp eax, ebx
jl 0x418fe3
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x418fe3
lea esi, [edi + 8]
mov edx, dword [ecx]
push esi
push ecx
mov eax, dword [edx + 0x1c]
call eax
cmp eax, ebx
jl 0x418fbd
cmp dword [esi], ebx
je 0x418fbd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push edi
push ebx
push eax
mov edx, dword [ecx + 0x20]
call edx
cmp eax, ebx
jl 0x418efe
cmp dword [edi], ebx
jne 0x418f13
mov dword [edi], ebx
push eax
push str._Firewall__Get_Domain_Profile_failed:_0x_08lx
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
lea esi, [edi + 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push esi
push 1
push eax
mov edx, dword [ecx + 0x20]
call edx
cmp eax, ebx
jl 0x418f2c
cmp dword [esi], ebx
jne 0x418f41
mov dword [esi], ebx
push eax
push str._Firewall__Get_Standard_Profile_failed:_0x_08lx
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x418f5e
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x418f6d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x80010106
je 0x418e4f
cmp eax, ebx
jge 0x418e4f
push eax
push str._Firewall__CoInitializeEx_failed:_0x_08lx
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 0x1c], ebx
push 0x5043bc
lea eax, [ebp - 0x1c]
push eax
call fcn.004abd6e
mov dword [esi], ebx
push eax
push str._Firewall__get_CurrentProfile__Current_Profile__failed:_0x_08lx
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 0x20], ebx
push 0x5043bc
lea eax, [ebp - 0x20]
push eax
call fcn.004abd6e
push eax
push str._Firewall__get_LocalPolicy__Local_Firewall_Policy__failed:_0x_08lx
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 0x24], ebx
push 0x5043bc
lea ecx, [ebp - 0x24]
push ecx
call fcn.004abd6e
push eax
push str._Firewall__CoCreateInstance__Firewall_Manager__failed:_0x_08lx
mov ecx, 0x527b30
call fcn.00449000
add esp, 8
mov dword [ebp - 0x28], ebx
push 0x5043bc
lea edx, [ebp - 0x28]
push edx
call fcn.004abd6e
mov dword [ebp - 4], 0xffffffff
mov eax, 0x419038
ret