Function at 0x41dc60
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
sub esp, 0xa8
mov eax, dword [0x45ce14]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
mov ebp, dword [esp + 0xb8]
lea eax, [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0xbc]
push eax
push 0x44a0f4
push 1
push 0
push 0x449e3c
mov dword [esp + 0x4c], edi
mov dword [esp + 0x34], vtable.SmartCOMPointer_struct_INetFwPolicy2_.0
mov dword [esp + 0x38], 0
mov dword [esp + 0x2c], vtable.SmartCOMPointer_struct_INetFwRules_.0
mov dword [esp + 0x30], 0
mov dword [esp + 0x50], vtable.SmartCOMPointer_struct_INetFwRule_.0
mov dword [esp + 0x54], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x41dd34
push str.New_Authorized_Application
push str.Failed_to_instantiate_COM_object
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x441710
push str._s__Message:___s_
push eax
mov dword [esp + 0x24], 0
call fcn.0040baa0
add esp, 0x10
test al, al
je 0x41dd25
push 0
lea ecx, [esp + 0x14]
call fcn.0040bbb0
push eax
push esi
mov ecx, ebp
call fcn.00404f10
test al, al
je 0x41dd25
mov bl, 1
jmp 0x41dd27
xor bl, bl
lea ecx, [esp + 0x10]
call fcn.0040b470
test bl, bl
je 0x41ddb2
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x24]
test ecx, ecx
je 0x41dd46
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [eax + 0x48]
mov esi, eax
test esi, esi
jns 0x41ddc0
push str.Get_Firewall_Rules
push str.COM_error_occurred
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x441710
push str._s__Message:___s_
push eax
mov dword [esp + 0x24], 0
call fcn.0040baa0
add esp, 0x10
test al, al
je 0x41dda3
push 0
lea ecx, [esp + 0x14]
call fcn.0040bbb0
push eax
push esi
mov ecx, ebp
call fcn.00404f10
test al, al
je 0x41dda3
mov bl, 1
jmp 0x41dda5
xor bl, bl
lea ecx, [esp + 0x10]
call fcn.0040b470
test bl, bl
jne 0x41ddc0
xor bl, bl
jmp 0x41df34
push ebp
lea eax, [esp + 0x40]
push eax
push 0
push 0
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0041d490
mov esi, dword [esp + 0x58]
mov bl, al
add esp, 0x18
test bl, bl
je 0x41df2a
test esi, esi
je 0x41df34
push 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], 0
call fcn.004062f0
push 0
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x4c]
push 0x10
push eax
call fcn.0040aa00
add esp, 0x10
test eax, eax
je 0x41df13
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x14]
call fcn.004090c0
test al, al
je 0x41df13
push dword [esp + 0x10]
mov eax, dword [esi]
push esi
call dword [eax + 0x20]
mov edi, eax
test edi, edi
jns 0x41dea0
push str.Rename_existing_rule
push str.COM_error_occurred
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x441710
push str._s__Message:___s_
push eax
mov dword [esp + 0x3c], 0
call fcn.0040baa0
add esp, 0x10
test al, al
je 0x41de91
push 0
lea ecx, [esp + 0x2c]
call fcn.0040bbb0
push eax
push edi
mov ecx, ebp
call fcn.00404f10
test al, al
je 0x41de91
mov bl, 1
jmp 0x41de93
xor bl, bl
lea ecx, [esp + 0x28]
call fcn.0040b470
test bl, bl
je 0x41df13
mov eax, dword [esp + 0x1c]
push dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edi, eax
test edi, edi
jns 0x41df0f
push str.Remove_existing_rule
push str.COM_error_occurred
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x441710
push str._s__Message:___s_
push eax
mov dword [esp + 0x44], 0
call fcn.0040baa0
add esp, 0x10
test al, al
je 0x41df00
push 0
lea ecx, [esp + 0x34]
call fcn.0040bbb0
push eax
push edi
mov ecx, ebp
call fcn.00404f10
test al, al
je 0x41df00
mov bl, 1
jmp 0x41df02
xor bl, bl
lea ecx, [esp + 0x30]
call fcn.0040b470
test bl, bl
je 0x41df13
mov bl, 1
jmp 0x41df15
xor bl, bl
lea ecx, [esp + 0x10]
call fcn.004081c0
mov edi, dword [esp + 0x38]
test bl, bl
jne 0x41ddc0
test esi, esi
je 0x41df34
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.SmartCOMPointer_struct_INetFwRules_.0
test ecx, ecx
je 0x41df4a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], vtable.SmartCOMPointer_struct_INetFwPolicy2_.0
test ecx, ecx
je 0x41df60
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0xb4]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041e282
add esp, 0xa8
ret