Function at 0x14001a07c
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 [0x14014cf50]
lea r13, [0x140148ea8]
mov rcx, qword [0x140148ea8]
cmp rcx, r13
je 0x14001a0d1
test byte [rcx + 0x1c], 1
je 0x14001a0d1
mov edx, 0x54
lea r8, [0x140005d50]
mov rcx, qword [rcx + 0x10]
call fcn.14000fcb0
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, [0x140005590]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea r14d, [rsi + 4]
test eax, eax
jne 0x14001a1a1
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, [0x14001a350]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001a1a1
cmp dword [rbp + 0x60], 4
jne 0x14001a1a1
mov eax, r12d
test eax, eax
jne 0x14001a1a1
mov rcx, qword [0x140148ea8]
cmp rcx, r13
je 0x14001a2e4
test byte [rcx + 0x1c], 2
je 0x14001a2e4
cmp byte [rcx + 0x19], r14b
jb 0x14001a2e4
lea edx, [rsi + 0x54]
lea r8, [0x140005d50]
mov rcx, qword [rcx + 0x10]
call fcn.14000fcb0
jmp 0x14001a2e4
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 [0x140148f48]
cmp rcx, rax
jae 0x14001a1df
mov esi, dword [rdi + 0x3e0]
jmp 0x14001a2db
lea rbx, [rdi + 0x3d8]
cmp qword [rbx], r12
jne 0x14001a251
mov qword [rsp + 0x20], rbx
lea r9, [0x140005cb8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140005ca8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r9d, eax
mov rcx, qword [0x140148ea8]
cmp rcx, r13
je 0x14001a251
test byte [rcx + 0x1c], 2
je 0x14001a251
movzx r8d, byte [rcx + 0x19]
mov edx, 2
test eax, eax
cmovns edx, r14d
cmp r8d, edx
jl 0x14001a251
mov rax, qword [rbx]
mov edx, 0x56
mov qword [rsp + 0x20], rax
lea r8, [0x140005d50]
mov rcx, qword [rcx + 0x10]
call fcn.14001783c
mov r14, qword [rbx]
test r14, r14
je 0x14001a2d5
mov rax, qword [r14]
mov rbx, qword [rax + 0xd8]
mov rcx, rbx
call qword [fcn.140015690]
lea r8, [rbp + 0x48]
lea rdx, [0x140005990]
mov rcx, r14
call rbx
test eax, eax
js 0x14001a28b
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 [0x140148ea8]
mov r14d, 5
cmp rcx, r13
je 0x14001a2db
test byte [rcx + 0x1c], 2
je 0x14001a2db
cmp byte [rcx + 0x19], r14b
jb 0x14001a2db
lea edx, [r14 + 0x52]
mov r9d, esi
lea r8, [0x140005d50]
mov rcx, qword [rcx + 0x10]
call fcn.14000fd64
jmp 0x14001a2db
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 0x14001a2fc
lock cmpxchg qword [rdi + 0x70], rcx
jne 0x14001a2eb
mov rcx, qword [0x140148ea8]
cmp rcx, r13
je 0x14001a32d
test byte [rcx + 0x1c], 1
je 0x14001a32d
cmp byte [rcx + 0x19], r14b
jb 0x14001a32d
mov edx, 0x58
mov r9d, esi
lea r8, [0x140005d50]
mov rcx, qword [rcx + 0x10]
call fcn.14000fd64
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001a33c
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