Function at 0x14000cd10
Capabilities:
Access firewall policy via inetfwpolicy2
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov rbx, qword [0x1400f8a48]
lea r12, [0x1400f3190]
lea r13, [0x1400ceae0]
mov rcx, qword [0x1400f3190]
cmp rcx, r12
je 0x14000cd66
test byte [rcx + 0x1c], 1
je 0x14000cd66
mov edx, 0x4d
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400035e4
mov edi, 1
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
and qword [rbp - 0x40], 0
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea esi, [rdi + 4]
test eax, eax
jne 0x14000ce2a
mov rcx, qword [rbp - 0x40]
mov qword [rbp - 0x20], rcx
and dword [rbp + 0x48], eax
mov dword [rbp + 0x40], 4
lea rax, [rbp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x50]
xor r8d, r8d
lea rdx, str.SkipFirewallCheckOnUPnPAction
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000ce2a
cmp dword [rbp + 0x50], 4
jne 0x14000ce2a
test eax, eax
jne 0x14000ce2a
mov rcx, qword [0x1400f3190]
cmp rcx, r12
je 0x14000cf49
test byte [rcx + 0x1c], 2
je 0x14000cf49
cmp byte [rcx + 0x19], sil
jb 0x14000cf49
lea edx, [rdi + 0x4d]
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400035e4
jmp 0x14000cf49
lea r14, [rbx + 0x298]
mov qword [rbp - 0x30], r14
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rbp - 0x28], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
sub rcx, qword [rbx + 0x2d0]
mov eax, dword [0x1400f63a8]
cmp rcx, rax
jae 0x14000ce68
mov edi, dword [rbx + 0x2c8]
jmp 0x14000cf40
lea rsi, [rbx + 0x2c0]
cmp qword [rsi], 0
jne 0x14000ced9
mov qword [rsp + 0x20], rsi
lea r9, [0x1400cea48]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400cea38]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r9d, eax
mov rcx, qword [0x1400f3190]
cmp rcx, r12
je 0x14000ced9
test byte [rcx + 0x1c], 2
je 0x14000ced9
movzx r8d, byte [rcx + 0x19]
mov edx, 2
test eax, eax
lea eax, [rdx + 3]
cmovns edx, eax
cmp r8d, edx
jb 0x14000ced9
mov rax, qword [rsi]
mov edx, 0x4f
mov qword [rsp + 0x20], rax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.14000aa98
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000cf3b
lea r8, [rbp + 0x58]
call fcn.14000ed38
test eax, eax
js 0x14000cef7
mov eax, dword [rbp + 0x58]
neg eax
sbb ecx, ecx
and edi, ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbx + 0x2d0], rax
mov dword [rbx + 0x2c8], edi
mov rcx, qword [0x1400f3190]
mov esi, 5
cmp rcx, r12
je 0x14000cf40
test byte [rcx + 0x1c], 2
je 0x14000cf40
cmp byte [rcx + 0x19], sil
jb 0x14000cf40
lea edx, [rsi + 0x4b]
mov r9d, edi
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400036a8
jmp 0x14000cf40
mov esi, 5
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x2d0]
mov rax, qword [rbx + 0x70]
cmp rcx, rax
jbe 0x14000cf61
lock cmpxchg qword [rbx + 0x70], rcx
jne 0x14000cf50
mov rcx, qword [0x1400f3190]
cmp rcx, r12
je 0x14000cf8e
test byte [rcx + 0x1c], 1
je 0x14000cf8e
cmp byte [rcx + 0x19], sil
jb 0x14000cf8e
mov edx, 0x51
mov r9d, edi
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400036a8
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14000cf9d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
add rsp, 0x70
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret