Function at 0x10003410
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 0x1000fc20
xor edi, edi
mov ebx, 1
push ebx
push edi
push 0x1000fc60
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 0x100036ab
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 0x100034a5
mov esi, 0x1000e718
mov eax, dword [esi]
test dword [esp + 0x28], eax
je 0x10003494
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 0x100034a1
cmp word [esp + 0x24], di
jne 0x100034a1
mov dword [esp + 0x24], ebx
add esi, 4
cmp esi, str._w__d
jl 0x10003467
jmp 0x100034a5
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 0x10003692
mov ecx, dword [esp + 0x34]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push ecx
call ebx
mov ebp, eax
cmp ebp, edi
je 0x10003686
mov edx, dword [esp + 0x38]
push edx
call ebx
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x1000367d
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 0x10003595
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 0x1000356f
test esi, esi
jne 0x10003567
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 0x10003567
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 0x100036b5
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 0x10003676
lea eax, [esp + 0x10]
push eax
push 0x1000fc10
push 1
push esi
push 0x1000fc40
mov dword [esp + 0x24], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x10003676
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100035d0
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 0x100035fb
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 SysReAllocString
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 0x1000365f
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 0x10003676
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 0x100036af
mov eax, dword [esp + 0x18]
pop edi
pop ebx
add esp, 0x1c
ret
test esi, esi
je 0x10003676
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push edi
push eax
call edx
jmp 0x10003676