Function at 0x1030055
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push 0x1c
mov eax, 0x10da4a2
call fcn.010a0b4c
mov esi, ecx
mov dword [ebp - 0x18], esi
mov eax, dword [0x10ed030]
mov ebx, 0x10ed030
cmp eax, ebx
je 0x1030094
test byte [eax + 0x1c], 1
je 0x1030094
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 0x1030472
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 0x1030106
test byte [eax + 0x1c], 2
je 0x1030106
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 0x1030106
push dword [ebp - 0x10]
push esi
push 0x1002b50
push 0x131
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cde9
xor edi, edi
cmp esi, edi
mov esi, dword [ebp - 0x18]
jl 0x1030149
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 0x1030149
test byte [eax + 0x1c], 2
je 0x1030149
cmp byte [eax + 0x19], 4
jb 0x1030149
push ecx
push 0x1002b50
push 0x132
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
cmp dword [ebp - 0x1c], edi
je 0x1030176
cmp dword [ebp - 0x10], 0
jbe 0x103016d
mov eax, dword [ebp - 0x1c]
lea eax, [eax + edi*4]
cmp dword [eax], 0
je 0x1030167
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, dword [ebp - 0x10]
jb 0x1030154
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 0x10301e5
test byte [eax + 0x1c], 2
je 0x10301e5
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 0x10301e5
push dword [ebp - 0x20]
push edi
push 0x1002b50
push 0x133
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cde9
mov eax, dword [0x10ed030]
test edi, edi
jl 0x103032e
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 0x1030244
test byte [eax + 0x1c], 2
je 0x1030244
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 0x1030244
movsx ecx, word [ebp - 0x18]
push ecx
push edi
push 0x1002b50
push 0x134
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cde9
mov eax, dword [0x10ed030]
test edi, edi
jl 0x103032e
or ecx, 0xffffffff
cmp cx, word [ebp - 0x18]
jne 0x103032e
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 0x10302bd
test byte [eax + 0x1c], 2
je 0x10302bd
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 0x10302bd
push dword [ebp - 0x18]
push edi
push 0x1002b50
push 0x135
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102cde9
mov eax, dword [0x10ed030]
test edi, edi
jl 0x1030318
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x1003004
push dword [ebp - 0x18]
call fcn.0102d46f
test eax, eax
jl 0x10302ea
cmp dword [ebp - 0x14], 0
je 0x10302ea
mov dword [esi + 0x168], 1
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x10031f4
push dword [ebp - 0x18]
call fcn.0102d46f
test eax, eax
jl 0x1030313
cmp dword [ebp - 0x14], 0
je 0x1030313
mov dword [esi + 0x16c], 1
mov eax, dword [0x10ed030]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x103032e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x103038f
test byte [eax + 0x1c], 2
je 0x1030361
cmp byte [eax + 0x19], 4
jb 0x1030361
push dword [esi + 0x168]
mov edi, 0x1002b50
push edi
push 0x136
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
mov eax, dword [0x10ed030]
jmp 0x1030366
mov edi, 0x1002b50
cmp eax, ebx
je 0x1030394
test byte [eax + 0x1c], 2
je 0x1030394
cmp byte [eax + 0x19], 4
jb 0x1030394
push dword [esi + 0x16c]
push edi
push 0x137
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
jmp 0x1030394
mov edi, 0x1002b50
call fcn.0102f9ce
mov dword [esi + 0x174], eax
mov ecx, dword [0x10ed030]
cmp ecx, ebx
je 0x10303c7
test byte [ecx + 0x1c], 2
je 0x10303c7
cmp byte [ecx + 0x19], 4
jb 0x10303c7
push eax
push edi
push 0x138
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01027ecb
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 0x1030415
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 0x1030415
cmp dword [ebp - 0x28], 0
je 0x1030415
mov dword [esi + 0x178], 1
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1030441
test byte [eax + 0x1c], 2
je 0x1030441
cmp byte [eax + 0x19], 4
jb 0x1030441
push dword [esi + 0x178]
push edi
push 0x139
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x164], 1
mov byte [ebp - 4], 0
test eax, eax
je 0x103045c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x103046d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x10ed030]
cmp eax, ebx
je 0x1030491
test byte [eax + 0x1c], 1
je 0x1030491
push 0x1002b50
push 0x13a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
call fcn.010a0c38
ret