Function at 0x14000d088
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 [0x1400d4688]
lea r12, [0x1400cf018]
lea r13, [0x1400b0440]
mov rcx, qword [0x1400cf018]
cmp rcx, r12
je 0x14000d0de
test byte [rcx + 0x1c], 1
je 0x14000d0de
mov edx, 0x4d
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400034f0
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]
nop dword [rax + rax]
lea esi, [rdi + 4]
test eax, eax
jne 0x14000d1b2
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]
nop dword [rax + rax]
test eax, eax
jne 0x14000d1b2
cmp dword [rbp + 0x50], 4
jne 0x14000d1b2
test eax, eax
jne 0x14000d1b2
mov rcx, qword [0x1400cf018]
cmp rcx, r12
je 0x14000d2ef
test byte [rcx + 0x1c], 2
je 0x14000d2ef
cmp byte [rcx + 0x19], sil
jb 0x14000d2ef
lea edx, [rdi + 0x4d]
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400034f0
jmp 0x14000d2ef
lea r14, [rbx + 0x288]
mov qword [rbp - 0x30], r14
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov byte [rbp - 0x28], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
nop dword [rax + rax]
mov rcx, rax
sub rcx, qword [rbx + 0x2c0]
mov eax, dword [0x1400d2278]
cmp rcx, rax
jae 0x14000d1fc
mov edi, dword [rbx + 0x2b8]
jmp 0x14000d2e0
lea rsi, [rbx + 0x2b0]
cmp qword [rsi], 0
jne 0x14000d273
mov qword [rsp + 0x20], rsi
lea r9, [0x1400b03a8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400b0398]
call qword [sym.imp.ole32.dll_CoCreateInstance]
nop dword [rax + rax]
mov r9d, eax
mov rcx, qword [0x1400cf018]
cmp rcx, r12
je 0x14000d273
test byte [rcx + 0x1c], 2
je 0x14000d273
movzx r8d, byte [rcx + 0x19]
mov edx, 2
test eax, eax
lea eax, [rdx + 3]
cmovns edx, eax
cmp r8d, edx
jb 0x14000d273
mov rax, qword [rsi]
mov edx, 0x4f
mov qword [rsp + 0x20], rax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.14000adac
mov rcx, qword [rsi]
test rcx, rcx
je 0x14000d2db
lea r8, [rbp + 0x58]
call fcn.14000f220
test eax, eax
js 0x14000d291
mov eax, dword [rbp + 0x58]
neg eax
sbb ecx, ecx
and edi, ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
nop dword [rax + rax]
mov qword [rbx + 0x2c0], rax
mov dword [rbx + 0x2b8], edi
mov rcx, qword [0x1400cf018]
mov esi, 5
cmp rcx, r12
je 0x14000d2e0
test byte [rcx + 0x1c], 2
je 0x14000d2e0
cmp byte [rcx + 0x19], sil
jb 0x14000d2e0
lea edx, [rsi + 0x4b]
mov r9d, edi
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
jmp 0x14000d2e0
mov esi, 5
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x2c0]
mov rax, qword [rbx + 0x70]
cmp rcx, rax
jbe 0x14000d307
lock cmpxchg qword [rbx + 0x70], rcx
jne 0x14000d2f6
mov rcx, qword [0x1400cf018]
cmp rcx, r12
je 0x14000d334
test byte [rcx + 0x1c], 1
je 0x14000d334
cmp byte [rcx + 0x19], sil
jb 0x14000d334
mov edx, 0x51
mov r9d, edi
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14000d349
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, edi
add rsp, 0x70
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret