Function at 0x1030277
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push 0x1c
mov eax, 0x10da71a
call fcn.010a0c60
mov esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [0x10ed030]
mov ebx, 0x10ed030
cmp eax, ebx
je 0x10302b6
test byte [eax + 0x1c], 1
je 0x10302b6
push 0x1002b50
push 0x130
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
mov eax, dword [0x10ed030]
xor ecx, ecx
cmp dword [esi + 0x164], ecx
jne 0x1030694
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
push 0x1c
sub esp, 0x10
mov edi, esp
mov esi, 0x102635c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], ecx
movsd dword es:[edi], dword [esi]
call sub.MFPlat.DLL_MFTEnumEx
mov esi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1030328
test byte [eax + 0x1c], 2
je 0x1030328
movzx ecx, byte [eax + 0x19]
xor edx, edx
test esi, esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1030328
push dword [ebp - 0x10]
push esi
push 0x1002b50
push 0x131
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cb22
xor edi, edi
cmp esi, edi
mov esi, dword [ebp - 0x18]
jl 0x103036b
xor eax, eax
cmp eax, dword [ebp - 0x10]
sbb ecx, ecx
neg ecx
mov dword [esi + 0x170], ecx
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x103036b
test byte [eax + 0x1c], 2
je 0x103036b
cmp byte [eax + 0x19], 4
jb 0x103036b
push ecx
push 0x1002b50
push 0x132
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
cmp dword [ebp - 0x1c], edi
je 0x1030398
cmp dword [ebp - 0x10], 0
jbe 0x103038f
mov eax, dword [ebp - 0x1c]
lea eax, [eax + edi*4]
cmp dword [eax], 0
je 0x1030389
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, dword [ebp - 0x10]
jb 0x1030376
push dword [ebp - 0x1c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov dword [esi + 0x168], eax
mov dword [esi + 0x16c], eax
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x20]
push ecx
push 0x10030a0
push 1
push eax
push 0x1003090
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1030407
test byte [eax + 0x1c], 2
je 0x1030407
movzx ecx, byte [eax + 0x19]
xor edx, edx
test edi, edi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1030407
push dword [ebp - 0x20]
push edi
push 0x1002b50
push 0x133
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cb22
mov eax, dword [0x10ed030]
test edi, edi
jl 0x1030550
mov eax, dword [ebp - 0x20]
and dword [ebp - 0x18], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x30]
mov edi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1030466
test byte [eax + 0x1c], 2
je 0x1030466
movzx ecx, byte [eax + 0x19]
xor edx, edx
test edi, edi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x1030466
movsx ecx, word [ebp - 0x18]
push ecx
push edi
push 0x1002b50
push 0x134
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cb22
mov eax, dword [0x10ed030]
test edi, edi
jl 0x1030550
or ecx, 0xffffffff
cmp cx, word [ebp - 0x18]
jne 0x1030550
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x1003044
push 1
push 0
push 0x1003034
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10304df
test byte [eax + 0x1c], 2
je 0x10304df
movzx ecx, byte [eax + 0x19]
xor edx, edx
test edi, edi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x10304df
push dword [ebp - 0x18]
push edi
push 0x1002b50
push 0x135
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cb22
mov eax, dword [0x10ed030]
test edi, edi
jl 0x103053a
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x1003004
push dword [ebp - 0x18]
call fcn.0102d552
test eax, eax
jl 0x103050c
cmp dword [ebp - 0x14], 0
je 0x103050c
mov dword [esi + 0x168], 1
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x10031f4
push dword [ebp - 0x18]
call fcn.0102d552
test eax, eax
jl 0x1030535
cmp dword [ebp - 0x14], 0
je 0x1030535
mov dword [esi + 0x16c], 1
mov eax, dword [0x10ed030]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x1030550
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10305b1
test byte [eax + 0x1c], 2
je 0x1030583
cmp byte [eax + 0x19], 4
jb 0x1030583
push dword [esi + 0x168]
mov edi, 0x1002b50
push edi
push 0x136
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov eax, dword [0x10ed030]
jmp 0x1030588
mov edi, 0x1002b50
cmp eax, ebx
je 0x10305b6
test byte [eax + 0x1c], 2
je 0x10305b6
cmp byte [eax + 0x19], 4
jb 0x10305b6
push dword [esi + 0x16c]
push edi
push 0x137
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
jmp 0x10305b6
mov edi, 0x1002b50
call fcn.0102fbf0
mov dword [esi + 0x174], eax
mov ecx, dword [0x10ed030]
cmp ecx, ebx
je 0x10305e9
test byte [ecx + 0x1c], 2
je 0x10305e9
cmp byte [ecx + 0x19], 4
jb 0x10305e9
push eax
push edi
push 0x138
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.010294b2
xor eax, eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
push ecx
push 0x1002ec0
push 0x17
push eax
push 0x10031e4
mov byte [ebp - 4], 2
mov dword [esi + 0x178], eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1030637
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x1030637
cmp dword [ebp - 0x28], 0
je 0x1030637
mov dword [esi + 0x178], 1
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1030663
test byte [eax + 0x1c], 2
je 0x1030663
cmp byte [eax + 0x19], 4
jb 0x1030663
push dword [esi + 0x178]
push edi
push 0x139
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010294b2
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x164], 1
mov byte [ebp - 4], 0
test eax, eax
je 0x103067e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x103068f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x10306b3
test byte [eax + 0x1c], 1
je 0x10306b3
push 0x1002b50
push 0x13a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
call fcn.010a0d4c
ret