Function at 0x10008674
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push 0x28
mov eax, 0x100121bb
call fcn.10011eac
mov esi, edx
mov dword [ebp - 0x28], ecx
mov eax, dword [0x10014024]
mov ebx, dword [ebp + 8]
cmp eax, 0x10014024
je 0x100086ae
test byte [eax + 0x1c], 1
je 0x100086ae
cmp byte [eax + 0x19], 5
jb 0x100086ae
push ebx
push esi
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.10003b9c
xor edi, edi
and dword [ebp - 0x14], edi
test ebx, ebx
jne 0x100086be
mov edi, 0x80070057
jmp 0x10008721
and dword [ebp - 0x30], edi
lea ecx, [ebp - 0x30]
call fcn.100082e7
test eax, eax
js 0x10008a23
cmp dword [ebp - 0x30], edi
je 0x10008a23
xor ecx, ecx
mov dword [ebx], ecx
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ecx
push eax
push 0x10001e64
xor ebx, ebx
inc ebx
push ebx
push ecx
push 0x10001e54
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x10008774
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1000871e
mov edx, dword [ecx]
mov esi, dword [edx + 8]
push ecx
mov ecx, esi
call dword [0x100151d8]
call esi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [0x10014024]
cmp esi, 0x10014024
je 0x1000876a
test byte [esi + 0x1c], 1
je 0x1000876a
movzx eax, byte [esi + 0x19]
mov ecx, edi
sar ecx, 0x1f
and ecx, 0xfffffffd
add ecx, 5
cmp eax, ecx
jl 0x1000876a
push dword [ebx]
mov edx, 0x10002130
mov ecx, 0x8b
push edi
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.10004314
mov eax, edi
call fcn.10003014
ret 4
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x100087a2
or dword [ebp - 4], 0xffffffff
mov edi, 0x8007000e
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x10008a67
mov eax, dword [ecx]
mov esi, dword [eax + 8]
jmp 0x10008713
mov eax, dword [ebp - 0x28]
test eax, 0xfffffff8
je 0x100087ff
mov edi, 0x80070057
mov ecx, dword [0x10014024]
cmp ecx, 0x10014024
je 0x100087e5
push 2
pop ebx
test byte [ecx + 0x1c], bl
je 0x100087e5
cmp byte [ecx + 0x19], bl
jb 0x100087e5
and eax, 0xfffffff8
mov edx, 0x10002130
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x85
call fcn.10002ec1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10008a67
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
jmp 0x10008714
test eax, eax
jne 0x10008838
mov edi, 0x80070057
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x100087e5
push 2
pop ebx
test byte [eax + 0x1c], bl
je 0x100087e5
cmp byte [eax + 0x19], bl
jb 0x100087e5
push dword [eax + 0x14]
mov edx, 0x10002130
mov ecx, 0x86
push dword [eax + 0x10]
call fcn.10002ea3
jmp 0x100087e5
mov dword [ebp - 0x20], ebx
mov edx, ebx
mov dword [ebp - 0x24], edx
mov ecx, ebx
mov dword [ebp - 0x2c], ecx
test al, 1
je 0x100088d4
xor eax, eax
lea ecx, [ebp - 0x18]
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x1c]
push ecx
push dword [ebp - 0x14]
mov esi, dword [eax]
push ebx
push eax
mov ecx, dword [esi + 0x54]
call dword [0x100151d8]
call dword [esi + 0x54]
mov edi, eax
test edi, edi
jns 0x10008887
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000871e
jmp 0x100087f4
je 0x100088bf
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x100088b8
push 2
pop ebx
test byte [eax + 0x1c], bl
je 0x100088b8
cmp byte [eax + 0x19], bl
jb 0x100088b8
push edi
push dword [eax + 0x14]
mov edx, 0x10002130
mov ecx, 0x87
push dword [eax + 0x10]
call fcn.10002ec1
mov edi, 0x8000ffff
jmp 0x10008873
mov edx, dword [ebp - 0x24]
xor ecx, ecx
or eax, 0xffffffff
cmp ax, word [ebp - 0x18]
mov eax, dword [ebp - 0x28]
sete cl
mov dword [ebp - 0x20], ecx
push 2
pop ebx
test bl, al
je 0x10008953
xor eax, eax
lea ecx, [ebp - 0x18]
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x1c]
push ecx
push dword [ebp - 0x14]
mov esi, dword [eax]
push ebx
push eax
mov ecx, dword [esi + 0x54]
call dword [0x100151d8]
call dword [esi + 0x54]
mov edi, eax
test edi, edi
jns 0x1000890c
or eax, 0xffffffff
mov dword [ebp - 4], eax
jmp 0x10008877
je 0x10008941
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x1000893a
test byte [eax + 0x1c], bl
je 0x1000893a
cmp byte [eax + 0x19], bl
jb 0x1000893a
mov ecx, 0x88
push edi
push dword [eax + 0x14]
mov edx, 0x10002130
push dword [eax + 0x10]
call fcn.10002ec1
mov edi, 0x8000ffff
jmp 0x10008901
xor edx, edx
or eax, 0xffffffff
cmp ax, word [ebp - 0x18]
mov eax, dword [ebp - 0x28]
sete dl
mov dword [ebp - 0x24], edx
test al, 4
je 0x100089b1
xor eax, eax
lea ecx, [ebp - 0x18]
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x1c]
push ecx
push dword [ebp - 0x14]
mov esi, dword [eax]
push 4
push eax
mov ecx, dword [esi + 0x54]
call dword [0x100151d8]
call dword [esi + 0x54]
mov edi, eax
test edi, edi
js 0x10008901
je 0x1000899d
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x1000893a
test byte [eax + 0x1c], bl
je 0x1000893a
cmp byte [eax + 0x19], bl
jb 0x1000893a
mov ecx, 0x89
jmp 0x10008929
mov edx, dword [ebp - 0x24]
xor ecx, ecx
or eax, 0xffffffff
cmp ax, word [ebp - 0x18]
sete cl
mov dword [ebp - 0x2c], ecx
jmp 0x100089b4
mov ecx, dword [ebp - 0x2c]
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x100089de
test byte [eax + 0x1c], bl
je 0x100089de
cmp byte [eax + 0x19], 5
mov esi, dword [ebp - 0x20]
jb 0x100089e1
push ecx
push edx
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1000433e
jmp 0x100089e1
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x100089f6
cmp dword [ebp - 0x24], 0
je 0x100089f6
cmp dword [ebp - 0x2c], 0
je 0x100089f6
xor eax, eax
inc eax
jmp 0x100089f8
xor eax, eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
or eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10008721
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x100151d8]
call esi
jmp 0x10008721
mov dword [ebx], 1
mov eax, dword [0x10014024]
cmp eax, 0x10014024
je 0x10008721
test byte [eax + 0x1c], 2
je 0x10008721
cmp byte [eax + 0x19], 5
jb 0x10008721
push dword [eax + 0x14]
mov edx, 0x10002130
mov ecx, 0x84
push dword [eax + 0x10]
call fcn.10002ea3
jmp 0x10008721
mov ebx, dword [ebp + 8]
jmp 0x10008724