Function at 0x1400168fc
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov rsi, rcx
lea r13, [0x14014dd40]
lea r14, [0x14011b7b0]
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x140016953
test byte [rcx + 0x1c], 1
je 0x140016953
mov edx, 0x12f
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.140003614
mov rcx, qword [0x14014dd40]
xor r15d, r15d
cmp dword [rsi + 0x2f0], r15d
jne 0x140016de7
mov qword [rbp - 0x30], r15
mov dword [rbp + 0x50], r15d
movups xmm0, xmmword [0x14012b678]
movdqu xmmword [rbp - 0x18], xmm0
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 0x1c]
lea rcx, [rbp - 0x18]
call qword [sym.imp.MFPlat.DLL_MFTEnumEx]
mov ebx, eax
lea edi, [r15 + 5]
lea r12d, [r15 + 2]
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x1400169e6
test byte [rcx + 0x1c], r12b
je 0x1400169e6
movzx r8d, byte [rcx + 0x19]
mov edx, r12d
test eax, eax
cmovns edx, edi
cmp r8d, edx
jl 0x1400169e6
mov edx, 0x130
mov eax, dword [rbp + 0x50]
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.14000574c
test ebx, ebx
js 0x140016a25
mov r9d, r15d
cmp dword [rbp + 0x50], r15d
seta r9b
mov dword [rsi + 0x2fc], r9d
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x140016a25
test byte [rcx + 0x1c], r12b
je 0x140016a25
cmp byte [rcx + 0x19], 4
jb 0x140016a25
mov edx, 0x131
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140016a74
mov edi, r15d
cmp dword [rbp + 0x50], r15d
jbe 0x140016a69
mov eax, edi
mov r14, qword [rcx + rax*8]
test r14, r14
je 0x140016a5b
mov rax, qword [r14]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140009050]
mov rcx, r14
call rbx
mov rcx, qword [rbp - 0x30]
inc edi
cmp edi, dword [rbp + 0x50]
jb 0x140016a37
lea r14, [0x14011b7b0]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, 5
mov qword [rsi + 0x2f4], r15
mov qword [rbp - 0x38], r15
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x14011b6f0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14011b6e0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
mov r10, qword [0x14014dd40]
cmp r10, r13
je 0x140016aec
test byte [r10 + 0x1c], r12b
je 0x140016aec
movzx r8d, byte [r10 + 0x19]
mov edx, r12d
test eax, eax
cmovns edx, edi
cmp r8d, edx
jl 0x140016aec
mov edx, 0x132
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
mov rcx, qword [r10 + 0x10]
call fcn.14000b2e4
mov r10, qword [0x14014dd40]
test ebx, ebx
js 0x140016c70
mov word [rbp + 0x48], r15w
mov rbx, qword [rbp - 0x38]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x60]
mov rcx, rdi
call qword [fcn.140009050]
lea rdx, [rbp + 0x48]
mov rcx, rbx
call rdi
mov ebx, eax
mov r10, qword [0x14014dd40]
mov edi, 5
cmp r10, r13
je 0x140016b63
test byte [r10 + 0x1c], r12b
je 0x140016b63
movzx edx, byte [r10 + 0x19]
mov ecx, r12d
test eax, eax
cmovns ecx, edi
cmp edx, ecx
jl 0x140016b63
movsx eax, word [rbp + 0x48]
mov edx, 0x133
mov dword [rsp + 0x20], eax
mov r9d, ebx
mov r8, r14
mov rcx, qword [r10 + 0x10]
call fcn.14000574c
mov r10, qword [0x14014dd40]
test ebx, ebx
js 0x140016c70
or eax, 0xffffffff
cmp ax, word [rbp + 0x48]
jne 0x140016c70
mov qword [rbp + 0x60], r15
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x14011b710]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14011b700]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
mov r10, qword [0x14014dd40]
cmp r10, r13
je 0x140016be8
test byte [r10 + 0x1c], r12b
je 0x140016be8
movzx edx, byte [r10 + 0x19]
mov ecx, r12d
test eax, eax
cmovns ecx, edi
cmp edx, ecx
jl 0x140016be8
mov edx, 0x134
mov rax, qword [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8, r14
mov rcx, qword [r10 + 0x10]
call fcn.14000b2e4
mov r10, qword [0x14014dd40]
test ebx, ebx
js 0x140016c4b
mov dword [rbp + 0x48], r15d
lea r8, [rbp + 0x48]
lea rdx, str._FirewallAPI.dll__31252
mov rcx, qword [rbp + 0x60]
call fcn.1400101ac
test eax, eax
js 0x140016c18
cmp dword [rbp + 0x48], r15d
je 0x140016c18
mov dword [rsi + 0x2f4], 1
mov dword [rbp + 0x48], r15d
lea r8, [rbp + 0x48]
lea rdx, str._FirewallAPI.dll__31500
mov rcx, qword [rbp + 0x60]
call fcn.1400101ac
test eax, eax
js 0x140016c44
cmp dword [rbp + 0x48], r15d
je 0x140016c44
mov dword [rsi + 0x2f8], 1
mov r10, qword [0x14014dd40]
mov rbx, qword [rbp + 0x60]
test rbx, rbx
je 0x140016c70
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140009050]
mov rcx, rbx
call rdi
mov r10, qword [0x14014dd40]
cmp r10, r13
je 0x140016ccb
test byte [r10 + 0x1c], r12b
je 0x140016ca1
cmp byte [r10 + 0x19], 4
jb 0x140016ca1
mov edx, 0x135
mov r9d, dword [rsi + 0x2f4]
mov r8, r14
mov rcx, qword [r10 + 0x10]
call fcn.1400036d4
mov r10, qword [0x14014dd40]
cmp r10, r13
je 0x140016ccb
test byte [r10 + 0x1c], r12b
je 0x140016ccb
cmp byte [r10 + 0x19], 4
jb 0x140016ccb
mov edx, VarR8Pow
mov r9d, dword [rsi + 0x2f8]
mov r8, r14
mov rcx, qword [r10 + 0x10]
call fcn.1400036d4
call fcn.140010084
mov dword [rsi + 0x300], eax
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x140016d02
test byte [rcx + 0x1c], r12b
je 0x140016d02
cmp byte [rcx + 0x19], 4
jb 0x140016d02
mov edx, VarR8Pow
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
mov qword [rbp - 0x28], r15
mov dword [rsi + 0x304], r15d
mov dword [rbp + 0x58], r15d
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, [0x14011b3c8]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x14011b6a0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140016d69
mov rbx, qword [rbp - 0x28]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [fcn.140009050]
lea rdx, [rbp + 0x58]
mov rcx, rbx
call rdi
test eax, eax
js 0x140016d69
cmp dword [rbp + 0x58], r15d
je 0x140016d69
mov dword [rsi + 0x304], 1
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x140016d99
test byte [rcx + 0x1c], r12b
je 0x140016d99
cmp byte [rcx + 0x19], 4
jb 0x140016d99
mov edx, VarR8Pow
mov r9d, dword [rsi + 0x304]
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
mov dword [rsi + 0x2f0], 1
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x140016dc2
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140009050]
mov rcx, rbx
call rdi
nop
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x140016de0
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140009050]
mov rcx, rbx
call rdi
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x140016e03
test byte [rcx + 0x1c], 1
je 0x140016e03
mov edx, VarR8Pow
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.140003614
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret