Function at 0x404f80
Capabilities:
Access firewall policy via inetfwpolicy2
Access firewall rule properties via inetfwrule

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x446044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x7fe
mov esi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x806]
xor eax, eax
push ebx
push ecx
mov edi, edx
mov word [ebp - 0x808], ax
call fcn.00426670
add esp, 0xc
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x814], ebx
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 0x810], 1
call esi
push edi
mov ebx, eax
call esi
push 2
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x81c], eax
cmp eax, 0x80010106
je 0x405032
test eax, eax
jns 0x405032
push eax
push 0x438d70
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
call fcn.00403960
mov dword [ebp - 0x810], 0
jmp 0x405188
mov edi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea ecx, [ebp - 0x818]
push ecx
push 0x43b348
push 1
push 0
push 0x43b338
call edi
test eax, eax
jns 0x40505b
push eax
push 0x438dd0
jmp 0x405007
mov eax, dword [ebp - 0x818]
mov ecx, dword [eax]
lea edx, [ebp - 0x814]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
jns 0x4050a5
push eax
lea ecx, [ebp - 0x808]
push 0x438e38
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x808]
push edx
call fcn.00403960
mov dword [ebp - 0x810], 0
jmp 0x405188
lea eax, [ebp - 0x80c]
push eax
push 0x43b368
push 1
push 0
push 0x43b358
call edi
xor edi, edi
cmp eax, edi
jge 0x4050cd
push eax
push 0x438e90
jmp 0x405166
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push ebx
push eax
call edx
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x70]
push 1
push eax
call edx
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 1
push eax
call edx
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x98]
push SysReAllocString
push eax
call edx
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push esi
push eax
call edx
mov eax, dword [ebp - 0x80c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push 6
push eax
call edx
mov eax, dword [ebp - 0x814]
mov edx, dword [ebp - 0x80c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
cmp eax, edi
jge 0x40518b
push eax
push 0x438f18
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x808]
push edx
call fcn.00403960
mov dword [ebp - 0x810], edi
add esp, 4
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call ebx
push esi
call ebx
mov eax, dword [ebp - 0x80c]
test eax, eax
je 0x4051a9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x4051bb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x818]
test eax, eax
je 0x4051cd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [ebp - 0x81c], 0
jl 0x4051dc
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x810]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e7be
mov esp, ebp
pop ebp
ret