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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b470
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5a4aa8]
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 0x54086c
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jne 0x420f06
mov byte [edi + 0x10], 1
lea esi, [edi + 0xc]
mov dword [esi], ebx
push esi
push 0x541b18
push 1
push ebx
push 0x541b08
mov ebx, dword [sym.imp.ole32.dll_CoCreateInstance]
call ebx
test eax, eax
jl 0x420df3
cmp dword [esi], 0
jne 0x420e05
push str.Init_INetFwPolicy2_failed
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
push 0x541b38
push 1
push 0
push 0x541b28
call ebx
xor ebx, ebx
cmp eax, ebx
jl 0x420f87
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x420f87
mov edx, dword [ecx]
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, dword [edx + 0x1c]
call ecx
cmp eax, ebx
jl 0x420f63
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
je 0x420f63
lea esi, [edi + 8]
mov edx, dword [ecx]
push esi
push ecx
mov eax, dword [edx + 0x1c]
call eax
cmp eax, ebx
jl 0x420f3d
cmp dword [esi], ebx
je 0x420f3d
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 0x420e7e
cmp dword [edi], ebx
jne 0x420e93
mov dword [edi], ebx
push eax
push str._Firewall__Get_Domain_Profile_failed:_0x_08lx
mov ecx, 0x649e50
call fcn.004918f0
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 0x420eac
cmp dword [esi], ebx
jne 0x420ec1
mov dword [esi], ebx
push eax
push str._Firewall__Get_Standard_Profile_failed:_0x_08lx
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x420ede
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x420eed
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 0x420dcf
cmp eax, ebx
jge 0x420dcf
push eax
push str._Firewall__CoInitializeEx_failed:_0x_08lx
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
mov dword [ebp - 0x1c], ebx
push 0x5815cc
lea eax, [ebp - 0x1c]
push eax
call fcn.004fd5a3
mov dword [esi], ebx
push eax
push str._Firewall__get_CurrentProfile__Current_Profile__failed:_0x_08lx
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
mov dword [ebp - 0x20], ebx
push 0x5815cc
lea eax, [ebp - 0x20]
push eax
call fcn.004fd5a3
push eax
push str._Firewall__get_LocalPolicy__Local_Firewall_Policy__failed:_0x_08lx
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
mov dword [ebp - 0x24], ebx
push 0x5815cc
lea ecx, [ebp - 0x24]
push ecx
call fcn.004fd5a3
push eax
push str._Firewall__CoCreateInstance__Firewall_Manager__failed:_0x_08lx
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
mov dword [ebp - 0x28], ebx
push 0x5815cc
lea edx, [ebp - 0x28]
push edx
call fcn.004fd5a3
mov dword [ebp - 4], 0xffffffff
mov eax, 0x420fb8
ret