Function at 0x140023788
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, [0x140148ea8]
lea r14, [0x140005d50]
mov rcx, qword [0x140148ea8]
cmp rcx, r13
je 0x1400237de
test byte [rcx + 0x1c], 1
je 0x1400237de
mov edx, 0x12f
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.14000fcb0
mov rcx, qword [0x140148ea8]
xor r15d, r15d
cmp dword [rsi + 0x2f0], r15d
jne 0x140023c72
mov qword [rbp - 0x30], r15
mov dword [rbp + 0x50], r15d
movups xmm0, xmmword [0x140023ca0]
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 [0x140148ea8]
cmp rcx, r13
je 0x140023871
test byte [rcx + 0x1c], r12b
je 0x140023871
movzx r8d, byte [rcx + 0x19]
mov edx, r12d
test eax, eax
cmovns edx, edi
cmp r8d, edx
jl 0x140023871
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.140011e38
test ebx, ebx
js 0x1400238b0
mov r9d, r15d
cmp dword [rbp + 0x50], r15d
seta r9b
mov dword [rsi + 0x2fc], r9d
mov rcx, qword [0x140148ea8]
cmp rcx, r13
je 0x1400238b0
test byte [rcx + 0x1c], r12b
je 0x1400238b0
cmp byte [rcx + 0x19], 4
jb 0x1400238b0
mov edx, 0x131
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.14000fd64
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400238ff
mov edi, r15d
cmp dword [rbp + 0x50], r15d
jbe 0x1400238f4
mov eax, edi
mov r14, qword [rcx + rax*8]
test r14, r14
je 0x1400238e6
mov rax, qword [r14]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.140015690]
mov rcx, r14
call rbx
mov rcx, qword [rbp - 0x30]
inc edi
cmp edi, dword [rbp + 0x50]
jb 0x1400238c2
lea r14, [0x140005d50]
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, [0x140005c98]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140005c88]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
mov r10, qword [0x140148ea8]
cmp r10, r13
je 0x140023977
test byte [r10 + 0x1c], r12b
je 0x140023977
movzx r8d, byte [r10 + 0x19]
mov edx, r12d
test eax, eax
cmovns edx, edi
cmp r8d, edx
jl 0x140023977
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.14001783c
mov r10, qword [0x140148ea8]
test ebx, ebx
js 0x140023afb
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.140015690]
lea rdx, [rbp + 0x48]
mov rcx, rbx
call rdi
mov ebx, eax
mov r10, qword [0x140148ea8]
mov edi, 5
cmp r10, r13
je 0x1400239ee
test byte [r10 + 0x1c], r12b
je 0x1400239ee
movzx edx, byte [r10 + 0x19]
mov ecx, r12d
test eax, eax
cmovns ecx, edi
cmp edx, ecx
jl 0x1400239ee
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.140011e38
mov r10, qword [0x140148ea8]
test ebx, ebx
js 0x140023afb
or eax, 0xffffffff
cmp ax, word [rbp + 0x48]
jne 0x140023afb
mov qword [rbp + 0x60], r15
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x140005cb8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140005ca8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
mov r10, qword [0x140148ea8]
cmp r10, r13
je 0x140023a73
test byte [r10 + 0x1c], r12b
je 0x140023a73
movzx edx, byte [r10 + 0x19]
mov ecx, r12d
test eax, eax
cmovns ecx, edi
cmp edx, ecx
jl 0x140023a73
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.14001783c
mov r10, qword [0x140148ea8]
test ebx, ebx
js 0x140023ad6
mov dword [rbp + 0x48], r15d
lea r8, [rbp + 0x48]
lea rdx, [0x140005990]
mov rcx, qword [rbp + 0x60]
call fcn.14001c8b4
test eax, eax
js 0x140023aa3
cmp dword [rbp + 0x48], r15d
je 0x140023aa3
mov dword [rsi + 0x2f4], 1
mov dword [rbp + 0x48], r15d
lea r8, [rbp + 0x48]
lea rdx, [0x140023cb0]
mov rcx, qword [rbp + 0x60]
call fcn.14001c8b4
test eax, eax
js 0x140023acf
cmp dword [rbp + 0x48], r15d
je 0x140023acf
mov dword [rsi + 0x2f8], 1
mov r10, qword [0x140148ea8]
mov rbx, qword [rbp + 0x60]
test rbx, rbx
je 0x140023afb
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140015690]
mov rcx, rbx
call rdi
mov r10, qword [0x140148ea8]
cmp r10, r13
je 0x140023b56
test byte [r10 + 0x1c], r12b
je 0x140023b2c
cmp byte [r10 + 0x19], 4
jb 0x140023b2c
mov edx, 0x135
mov r9d, dword [rsi + 0x2f4]
mov r8, r14
mov rcx, qword [r10 + 0x10]
call fcn.14000fd64
mov r10, qword [0x140148ea8]
cmp r10, r13
je 0x140023b56
test byte [r10 + 0x1c], r12b
je 0x140023b56
cmp byte [r10 + 0x19], 4
jb 0x140023b56
mov edx, VarR8Pow
mov r9d, dword [rsi + 0x2f8]
mov r8, r14
mov rcx, qword [r10 + 0x10]
call fcn.14000fd64
call fcn.14001c758
mov dword [rsi + 0x300], eax
mov rcx, qword [0x140148ea8]
cmp rcx, r13
je 0x140023b8d
test byte [rcx + 0x1c], r12b
je 0x140023b8d
cmp byte [rcx + 0x19], 4
jb 0x140023b8d
mov edx, VarR8Pow
mov r9d, eax
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.14000fd64
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, [0x140005c58]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x140005c78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140023bf4
mov rbx, qword [rbp - 0x28]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [fcn.140015690]
lea rdx, [rbp + 0x58]
mov rcx, rbx
call rdi
test eax, eax
js 0x140023bf4
cmp dword [rbp + 0x58], r15d
je 0x140023bf4
mov dword [rsi + 0x304], 1
mov rcx, qword [0x140148ea8]
cmp rcx, r13
je 0x140023c24
test byte [rcx + 0x1c], r12b
je 0x140023c24
cmp byte [rcx + 0x19], 4
jb 0x140023c24
mov edx, VarR8Pow
mov r9d, dword [rsi + 0x304]
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.14000fd64
mov dword [rsi + 0x2f0], 1
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x140023c4d
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140015690]
mov rcx, rbx
call rdi
nop
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x140023c6b
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140015690]
mov rcx, rbx
call rdi
mov rcx, qword [0x140148ea8]
cmp rcx, r13
je 0x140023c8e
test byte [rcx + 0x1c], 1
je 0x140023c8e
mov edx, VarR8Pow
mov r8, r14
mov rcx, qword [rcx + 0x10]
call fcn.14000fcb0
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret