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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x43b004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x114], ebx
cmp dword [0x43c564], ebx
jne 0x402e4f
call fcn.00401570
mov dword [0x43c564], eax
push 0
push str.SYSTEMCurrentControlSetServices
push 0x80000002
call fcn.00413e50
mov esi, eax
test esi, esi
je 0x40315f
push edi
push 0
push str.K7FWSrvc
push esi
call fcn.00413e50
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x402e8c
push esi
call edi
mov eax, 1
jmp 0x402e8e
xor eax, eax
test eax, eax
je 0x402f48
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x108]
push str.FireWall
push str.Products
push 0x435f14
push 0x4360e8
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x108]
push 0
push eax
push 0x80000002
call fcn.00413e50
mov dword [ebp - 0x110], eax
test eax, eax
je 0x402f05
lea ecx, [ebp - 0x10c]
push ecx
push str.DisableWinFW
push eax
call fcn.00414170
push dword [ebp - 0x110]
mov esi, eax
call edi
cmp esi, 1
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
cmove ebx, dword [ebp - 0x10c]
cmp dword [0x43c3dc], 0
jne 0x402f48
cmp dword [0x43c3e0], 0
jne 0x402f5b
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0
push eax
push 1
push 0
push str.SYSTEMCurrentControlSetServicesTcpip6
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402f5b
push dword [ebp - 0x110]
call edi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041559f
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x402f48
call fcn.00408970
lea ecx, [ebp - 0x114]
call fcn.00408890
mov ebx, dword [ebp - 0x114]
test eax, eax
je 0x402fbc
push str.CommonInfo
push 0x435f14
lea eax, [ebp - 0x108]
push 0x436114
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x108]
push 0
push eax
push 0x80000002
call fcn.004140a0
mov esi, eax
test esi, esi
je 0x402fbc
push ebx
push str.WinFWPreInstState
push esi
call fcn.00414240
push esi
call edi
test ebx, ebx
je 0x403149
cmp dword [0x43c3e0], 0
je 0x403059
push 2
push 0
mov dword [ebp - 0x10c], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
cmp esi, 0x80010106
je 0x402ff3
test esi, esi
js 0x403042
lea eax, [ebp - 0x10c]
push eax
push 0x437618
push 1
push 0
push 0x437648
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x403042
mov eax, dword [ebp - 0x10c]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10c]
push 0
push 2
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x10c]
push 0
push 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x10c]
test ecx, ecx
je 0x403052
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
jmp 0x403141
push 6
push 0
mov dword [ebp - 0x110], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
cmp edi, 0x80010106
je 0x40307f
test edi, edi
js 0x40312f
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push 0x437638
push 1
push 0
push 0x437628
mov dword [ebp - 0x10c], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x4030e2
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x10c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
js 0x4030e2
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x110]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
mov ecx, dword [ebp - 0x10c]
test ecx, ecx
je 0x4030f2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x114]
test ecx, ecx
je 0x403102
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test esi, esi
js 0x40312f
mov esi, dword [ebp - 0x110]
lea ecx, [ebp - 0x10c]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x20]
test eax, eax
js 0x40312f
cmp word [ebp - 0x10c], 0
je 0x40312f
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x110]
test ecx, ecx
je 0x40313f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
test edi, edi
js 0x403149
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041559f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0041559f
mov esp, ebp
pop ebp
ret