Function at 0x4fd650
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5798a8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [esp + 0x34]
push eax
xor esi, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 2
mov dword [esp + 0x54], ebx
push ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1f], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
cmp edi, 0x80010106
mov dword [esp + 0x2c], edi
je 0x4fd6c7
cmp edi, ebx
jl 0x4fd827
lea ecx, [esp + 0x28]
push ecx
push 0x5a77ec
push 1
push ebx
push 0x5a77dc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jge 0x4fd700
push esi
push str.CoCreateInstance_for_INetFwPolicy2_failed:_0x_x
mov ecx, 0x6180b8
call fcn.00435a30
add esp, 8
cmp esi, ebx
jl 0x4fd827
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov edx, dword [edx + 0x48]
lea ecx, [esp + 0x24]
push ecx
push eax
call edx
mov esi, eax
cmp esi, ebx
jl 0x4fd827
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4fd747
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push 0x591624
push eax
mov eax, dword [ecx]
call eax
mov esi, eax
cmp dword [esp + 0x20], ebx
je 0x4fd827
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
push 1
push eax
call edx
mov esi, eax
cmp esi, 1
je 0x4fd815
mov edi, dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
lea ecx, [ecx]
cmp dword [esp + 0x18], 1
jne 0x4fd80b
push 9
push ebx
lea eax, [esp + 0x3c]
push eax
mov ecx, eax
push ecx
call edi
cmp eax, ebx
jl 0x4fd7d9
mov eax, dword [esp + 0x3c]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [esp + 0x1c]
push ecx
push 0x5a780c
push eax
call edx
cmp eax, ebx
jl 0x4fd7d9
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x4fd7d9
mov eax, dword [ebp + 8]
call fcn.004fd430
test al, al
je 0x4fd7d9
mov byte [esp + 0x17], bl
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
cmp esi, 1
jne 0x4fd790
cmp byte [esp + 0x17], bl
mov edi, dword [esp + 0x2c]
je 0x4fd827
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x24]
push ecx
call fcn.004fd300
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4fd837
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4fd847
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4fd857
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebx
jl 0x4fd861
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret