Function at 0x10015960
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 0x1001addc
xor edi, edi
mov ebx, 1
push ebx
push edi
push 0x1001ae1c
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 0x10015bfb
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 0x100159f5
mov esi, 0x100197a8
mov eax, dword [esi]
test dword [esp + 0x28], eax
je 0x100159e4
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 0x100159f1
cmp word [esp + 0x24], di
jne 0x100159f1
mov dword [esp + 0x24], ebx
add esi, 4
cmp esi, str._w__d
jl 0x100159b7
jmp 0x100159f5
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 0x10015be2
mov ecx, dword [esp + 0x34]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push ecx
call ebx
mov ebp, eax
cmp ebp, edi
je 0x10015bd6
mov edx, dword [esp + 0x38]
push edx
call ebx
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x10015bcd
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 0x10015ae5
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 0x10015abf
test esi, esi
jne 0x10015ab7
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 0x10015ab7
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 0x10015c05
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 0x10015bc6
lea eax, [esp + 0x10]
push eax
push 0x1001adcc
push 1
push esi
push 0x1001adfc
mov dword [esp + 0x24], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10015bc6
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10015b20
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 0x10015b4b
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 pe_nt_image_headers32
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 0x10015baf
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 0x10015bc6
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 0x10015bff
mov eax, dword [esp + 0x18]
pop edi
pop ebx
add esp, 0x1c
ret
test esi, esi
je 0x10015bc6
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push edi
push eax
call edx
jmp 0x10015bc6