Function at 0x10004b00
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 0x10003038
xor edi, edi
mov ebx, 1
push ebx
push edi
push 0x10003078
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 0x10004d9b
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 0x10004b95
mov esi, 0x10001b50
mov eax, dword [esi]
test dword [esp + 0x28], eax
je 0x10004b84
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 0x10004b91
cmp word [esp + 0x24], di
jne 0x10004b91
mov dword [esp + 0x24], ebx
add esi, 4
cmp esi, 0x10001b5c
jl 0x10004b57
jmp 0x10004b95
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 0x10004d82
mov ecx, dword [esp + 0x34]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push ecx
call ebx
mov ebp, eax
cmp ebp, edi
je 0x10004d76
mov edx, dword [esp + 0x38]
push edx
call ebx
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x10004d6d
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 0x10004c85
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 0x10004c5f
test esi, esi
jne 0x10004c57
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 0x10004c57
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 0x10004da5
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 0x10004d66
lea eax, [esp + 0x10]
push eax
push 0x10003028
push 1
push esi
push 0x10003058
mov dword [esp + 0x24], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10004d66
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10004cc0
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 0x10004ceb
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 0x10004d4f
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 0x10004d66
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 0x10004d9f
mov eax, dword [esp + 0x18]
pop edi
pop ebx
add esp, 0x1c
ret
test esi, esi
je 0x10004d66
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push edi
push eax
call edx
jmp 0x10004d66