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

Disassembly:
sub esp, 0x1c
push ebx
push edi
lea eax, [esp + 0x14]
push eax
push 0x1000fc28
xor edi, edi
mov ebx, 1
push ebx
push edi
push 0x1000fc68
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10007dab
mov eax, dword [esp + 0x14]
push ebp
push esi
lea edx, [esp + 0x28]
mov dword [esp + 0x28], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
test eax, eax
js 0x10007ba5
mov esi, 0x1000e740
mov eax, dword [esi]
test dword [esp + 0x28], eax
je 0x10007b94
mov ecx, dword [esp + 0x1c]
lea ebp, [esp + 0x24]
push ebp
mov dword [esp + 0x28], edi
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x20]
push ecx
call eax
test eax, eax
js 0x10007ba1
cmp word [esp + 0x24], di
jne 0x10007ba1
mov dword [esp + 0x24], ebx
add esi, 4
cmp esi, str._w__d
jl 0x10007b67
jmp 0x10007ba5
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], edi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
js 0x10007d92
mov ecx, dword [esp + 0x34]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push ecx
call ebx
mov ebp, eax
cmp ebp, edi
je 0x10007d86
mov edx, dword [esp + 0x38]
push edx
call ebx
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x10007d7d
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], esi
mov ecx, dword [eax]
push edi
push eax
mov eax, dword [ecx + 0x28]
call eax
test eax, eax
js 0x10007c95
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], esi
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov ecx, dword [esp + 0x10]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov esi, dword [esp + 0x40]
test eax, eax
jne 0x10007c6f
test esi, esi
jne 0x10007c67
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
mov edx, dword [eax]
mov edx, dword [edx + 0x84]
push ecx
push eax
call edx
cmp word [esp + 0x20], si
jne 0x10007c67
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x20], 0
jne 0x10007db5
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push edi
push eax
call edx
xor esi, esi
cmp dword [esp + 0x30], esi
je 0x10007d76
lea eax, [esp + 0x10]
push eax
push 0x1000fc18
push 1
push esi
push 0x1000fc48
mov dword [esp + 0x24], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10007d76
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10007cd0
push eax
call ebx
mov esi, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push ebp
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push edi
push eax
call edx
test esi, esi
je 0x10007cfb
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push esi
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push 0x100
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x98]
push closesocket
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 1
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
test eax, eax
js 0x10007d5f
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
je 0x10007d76
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebp
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop esi
pop ebp
mov eax, 1
cmp dword [esp + 0x1c], edi
jne 0x10007daf
mov eax, dword [esp + 0x18]
pop edi
pop ebx
add esp, 0x1c
ret
test esi, esi
je 0x10007d76
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push edi
push eax
call edx
jmp 0x10007d76