Function at 0x14000cf80
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 [0x14010bc08]
lea r12, [0x140106190]
lea r13, [0x1400dcd50]
mov rcx, qword [0x140106190]
cmp rcx, r12
je 0x14000cfd6
test byte [rcx + 0x1c], 1
je 0x14000cfd6
mov edx, 0x53
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140003538
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 0x14000d09a
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 0x14000d09a
cmp dword [rbp + 0x50], 4
jne 0x14000d09a
test eax, eax
jne 0x14000d09a
mov rcx, qword [0x140106190]
cmp rcx, r12
je 0x14000d1c0
test byte [rcx + 0x1c], 2
je 0x14000d1c0
cmp byte [rcx + 0x19], sil
jb 0x14000d1c0
lea edx, [rdi + 0x53]
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140003538
jmp 0x14000d1c0
lea r14, [rbx + 0x3a8]
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 + 0x3e8]
mov eax, dword [0x1401093a8]
cmp rcx, rax
jae 0x14000d0d8
mov edi, dword [rbx + 0x3e0]
jmp 0x14000d1b7
lea rsi, [rbx + 0x3d8]
cmp qword [rsi], 0
jne 0x14000d149
mov qword [rsp + 0x20], rsi
lea r9, [0x1400dccb0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400dcca0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r9d, eax
mov rcx, qword [0x140106190]
cmp rcx, r12
je 0x14000d149
test byte [rcx + 0x1c], 2
je 0x14000d149
movzx r8d, byte [rcx + 0x19]
mov edx, 2
test eax, eax
lea eax, [rdx + 3]
cmovns edx, eax
cmp r8d, edx
jb 0x14000d149
mov rax, qword [rsi]
mov edx, 0x55
mov qword [rsp + 0x20], rax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.14000a9bc
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000d1b2
lea r8, [rbp + 0x58]
lea rdx, str._FirewallAPI.dll__31252
call fcn.14000f4fc
test eax, eax
js 0x14000d16e
mov eax, dword [rbp + 0x58]
neg eax
sbb ecx, ecx
and edi, ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rbx + 0x3e8], rax
mov dword [rbx + 0x3e0], edi
mov rcx, qword [0x140106190]
mov esi, 5
cmp rcx, r12
je 0x14000d1b7
test byte [rcx + 0x1c], 2
je 0x14000d1b7
cmp byte [rcx + 0x19], sil
jb 0x14000d1b7
lea edx, [rsi + 0x51]
mov r9d, edi
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
jmp 0x14000d1b7
mov esi, 5
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x3e8]
mov rax, qword [rbx + 0x70]
cmp rcx, rax
jbe 0x14000d1d8
lock cmpxchg qword [rbx + 0x70], rcx
jne 0x14000d1c7
mov rcx, qword [0x140106190]
cmp rcx, r12
je 0x14000d205
test byte [rcx + 0x1c], 1
je 0x14000d205
cmp byte [rcx + 0x19], sil
jb 0x14000d205
mov edx, 0x57
mov r9d, edi
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400035ec
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14000d214
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