Function at 0x14000dae0
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
push r15
mov rbp, rsp
sub rsp, 0x78
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov rdi, qword [0x140150ec8]
lea r13, [0x14014dd40]
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x14000db35
test byte [rcx + 0x1c], 1
je 0x14000db35
mov edx, 0x54
lea r8, [0x14011b7b0]
mov rcx, qword [rcx + 0x10]
call fcn.140003614
mov esi, 1
xor r12d, r12d
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x48], r12
lea rax, [rbp - 0x48]
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 r14d, [rsi + 4]
test eax, eax
jne 0x14000dc05
mov rcx, qword [rbp - 0x48]
mov qword [rbp - 0x28], rcx
mov dword [rbp + 0x58], r12d
mov dword [rbp + 0x50], 4
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x60]
xor r8d, r8d
lea rdx, str.SkipFirewallCheckOnUPnPAction
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000dc05
cmp dword [rbp + 0x60], 4
jne 0x14000dc05
mov eax, r12d
test eax, eax
jne 0x14000dc05
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x14000dd48
test byte [rcx + 0x1c], 2
je 0x14000dd48
cmp byte [rcx + 0x19], r14b
jb 0x14000dd48
lea edx, [rsi + 0x54]
lea r8, [0x14011b7b0]
mov rcx, qword [rcx + 0x10]
call fcn.140003614
jmp 0x14000dd48
lea r15, [rdi + 0x3a8]
mov qword [rbp - 0x38], r15
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rbp - 0x30], 1
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, rax
sub rcx, qword [rdi + 0x3e8]
mov eax, dword [0x14014ddd8]
cmp rcx, rax
jae 0x14000dc43
mov esi, dword [rdi + 0x3e0]
jmp 0x14000dd3f
lea rbx, [rdi + 0x3d8]
cmp qword [rbx], r12
jne 0x14000dcb5
mov qword [rsp + 0x20], rbx
lea r9, [0x14011b710]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14011b700]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r9d, eax
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x14000dcb5
test byte [rcx + 0x1c], 2
je 0x14000dcb5
movzx r8d, byte [rcx + 0x19]
mov edx, 2
test eax, eax
cmovns edx, r14d
cmp r8d, edx
jl 0x14000dcb5
mov rax, qword [rbx]
mov edx, 0x56
mov qword [rsp + 0x20], rax
lea r8, [0x14011b7b0]
mov rcx, qword [rcx + 0x10]
call fcn.14000b2e4
mov r14, qword [rbx]
test r14, r14
je 0x14000dd39
mov rax, qword [r14]
mov rbx, qword [rax + 0xd8]
mov rcx, rbx
call qword [fcn.140009050]
lea r8, [rbp + 0x48]
lea rdx, str._FirewallAPI.dll__31252
mov rcx, r14
call rbx
test eax, eax
js 0x14000dcef
or eax, 0xffffffff
cmp ax, word [rbp + 0x48]
cmovne esi, r12d
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rdi + 0x3e8], rax
mov dword [rdi + 0x3e0], esi
mov rcx, qword [0x14014dd40]
mov r14d, 5
cmp rcx, r13
je 0x14000dd3f
test byte [rcx + 0x1c], 2
je 0x14000dd3f
cmp byte [rcx + 0x19], r14b
jb 0x14000dd3f
lea edx, [r14 + 0x52]
mov r9d, esi
lea r8, [0x14011b7b0]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
jmp 0x14000dd3f
mov r14d, 5
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x3e8]
mov rax, qword [rdi + 0x70]
cmp rcx, rax
jbe 0x14000dd60
lock cmpxchg qword [rdi + 0x70], rcx
jne 0x14000dd4f
mov rcx, qword [0x14014dd40]
cmp rcx, r13
je 0x14000dd91
test byte [rcx + 0x1c], 1
je 0x14000dd91
cmp byte [rcx + 0x19], r14b
jb 0x14000dd91
mov edx, 0x58
mov r9d, esi
lea r8, [0x14011b7b0]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14000dda0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret