Function at 0x421c70
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444158
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x467fd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], vtable.SmartCOMPointer_struct_INetFwMgr_.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], vtable.SmartCOMPointer_struct_INetFwPolicy_.0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
push 0x450444
push 1
push 0
push 0x44fdb8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, dword [ebp + 8]
mov esi, eax
test esi, esi
jns 0x421d48
mov dword [ebp - 0x28], 0x44789c
mov dword [ebp - 0x24], 0
push str.Windows_Firewall_Manager
push str.Failed_to_instantiate_COM_object
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push str._s__Message:___s_
push eax
call fcn.0040d0c0
add esp, 0x10
test al, al
je 0x421d2f
push 0
lea ecx, [ebp - 0x28]
call fcn.0040d1e0
push eax
push esi
mov ecx, ebx
call fcn.00405aa0
test al, al
je 0x421d2f
mov bl, 1
jmp 0x421d31
xor bl, bl
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040ca60
test bl, bl
je 0x421e54
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
test ecx, ecx
je 0x421d58
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
jns 0x421dd1
mov dword [ebp - 0x28], 0x44789c
mov dword [ebp - 0x24], 0
push str.Windows_Firewall_Local_Policy
push str.COM_error_occurred
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push str._s__Message:___s_
push eax
call fcn.0040d0c0
add esp, 0x10
test al, al
je 0x421dbb
push 0
lea ecx, [ebp - 0x28]
call fcn.0040d1e0
push eax
push esi
mov ecx, ebx
call fcn.00405aa0
test al, al
je 0x421dbb
mov bl, 1
jmp 0x421dbd
xor bl, bl
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040ca60
test bl, bl
je 0x421e54
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
add esi, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x421de6
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
jns 0x421e58
mov dword [ebp - 0x28], 0x44789c
mov dword [ebp - 0x24], 0
push str.Windows_Firewall_Profile
push str.COM_error_occurred
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push str._s__Message:___s_
push eax
call fcn.0040d0c0
add esp, 0x10
test al, al
je 0x421e46
push 0
lea ecx, [ebp - 0x28]
call fcn.0040d1e0
mov ecx, dword [ebp + 8]
push eax
push esi
call fcn.00405aa0
test al, al
je 0x421e46
mov bl, 1
jmp 0x421e48
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.0040ca60
test bl, bl
jne 0x421e58
xor bl, bl
jmp 0x421e5a
mov bl, 1
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], vtable.SmartCOMPointer_struct_INetFwPolicy_.0
test ecx, ecx
je 0x421e72
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 6
mov dword [ebp - 0x20], vtable.SmartCOMPointer_struct_INetFwMgr_.0
test eax, eax
je 0x421e8d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4