Function at 0x140013a04
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r15, rcx
lea rax, [0x1400cf018]
mov r12d, 5
lea r14d, [r12 - 4]
mov rcx, qword [0x1400cf018]
cmp rcx, rax
je 0x140013a6b
test byte [rcx + 0x1c], r14b
je 0x140013a6b
cmp byte [rcx + 0x19], r12b
jb 0x140013a6b
mov edx, 0x100
mov r9d, dword [r15 + 0x4c]
lea r8, [0x1400b0440]
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
xor r13d, r13d
mov esi, r13d
mov qword [rbp - 0x38], r13
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b0388]
mov r8d, r14d
xor edx, edx
lea rcx, [0x1400b0378]
call qword [sym.imp.ole32.dll_CoCreateInstance]
nop dword [rax + rax]
mov edi, eax
lea ebx, [r13 + 2]
mov rcx, qword [0x1400cf018]
lea rax, [0x1400cf018]
cmp rcx, rax
je 0x140013aee
test byte [rcx + 0x1c], bl
je 0x140013aee
movzx r8d, byte [rcx + 0x19]
mov edx, ebx
test edi, edi
cmovns edx, r12d
cmp r8d, edx
jb 0x140013aee
mov edx, 0x101
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x1400b0440]
mov rcx, qword [rcx + 0x10]
call fcn.14000adac
test edi, edi
js 0x140013db4
mov word [rbp + 0x48], r13w
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
lea rdx, [rbp + 0x48]
mov rax, qword [rax + 0x60]
call qword [case.0x1400688bc.0]
mov edi, eax
mov rcx, qword [0x1400cf018]
lea rax, [0x1400cf018]
cmp rcx, rax
je 0x140013b5c
test byte [rcx + 0x1c], bl
je 0x140013b5c
movzx r8d, byte [rcx + 0x19]
mov edx, ebx
test edi, edi
cmovns edx, r12d
cmp r8d, edx
jb 0x140013b5c
movsx eax, word [rbp + 0x48]
mov edx, 0x102
mov dword [rsp + 0x20], eax
mov r9d, edi
lea r8, [0x1400b0440]
mov rcx, qword [rcx + 0x10]
call fcn.1400054e0
test edi, edi
js 0x140013db4
or eax, 0xffffffff
cmp ax, word [rbp + 0x48]
jne 0x140013db4
mov qword [rbp - 0x40], r13
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b03a8]
mov r8d, r14d
xor edx, edx
lea rcx, [0x1400b0398]
call qword [sym.imp.ole32.dll_CoCreateInstance]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x1400cf018]
lea rax, [0x1400cf018]
cmp rcx, rax
je 0x140013be6
test byte [rcx + 0x1c], bl
je 0x140013be6
movzx edx, byte [rcx + 0x19]
test edi, edi
cmovns ebx, r12d
cmp edx, ebx
jb 0x140013be6
mov edx, 0x103
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x1400b0440]
mov rcx, qword [rcx + 0x10]
call fcn.14000adac
test edi, edi
js 0x140013d9e
mov dword [rbp + 0x50], r13d
lea r8, [rbp + 0x50]
mov rcx, qword [rbp - 0x40]
call fcn.14000f220
test eax, eax
js 0x140013d9e
cmp dword [rbp + 0x50], r13d
je 0x140013d9e
lea r14, [r15 + 0xe8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
lea r12, [r15 + 0x110]
mov rcx, r12
call fcn.1400159b0
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140013d85
mov edi, 1
test esi, esi
jne 0x140013d85
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.140015a40
mov rcx, qword [rax]
mov rbx, qword [rcx]
test rbx, rbx
je 0x140013d7b
mov rcx, qword [0x1400cf018]
lea rax, [0x1400cf018]
cmp rcx, rax
je 0x140013ccf
test byte [rcx + 0x1c], dil
je 0x140013ca5
lea edx, [rsi + 0x66]
lea r8, [0x1400b0708]
mov rcx, qword [rcx + 0x10]
call fcn.1400034f0
mov rcx, qword [0x1400cf018]
lea rax, [0x1400cf018]
cmp rcx, rax
je 0x140013ccf
test byte [rcx + 0x1c], dil
je 0x140013ccf
cmp byte [rcx + 0x19], 5
jb 0x140013ccf
mov edx, 0x67
mov r9, qword [rbx + 0x58]
lea r8, [0x1400b0708]
mov rcx, qword [rcx + 0x10]
call fcn.14000351c
mov rdx, qword [rbx + 0x58]
lea rcx, [rbp - 0x10]
call fcn.14000a868
nop
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.14008fda0
test eax, eax
jne 0x140013d4c
mov ebx, r13d
mov eax, dword [rbp - 0x18]
test eax, eax
jle 0x140013d4c
mov rdi, r13
test esi, esi
jne 0x140013d47
test rdi, rdi
js 0x140013e1f
cmp ebx, eax
jge 0x140013e1f
mov rax, qword [rbp - 0x20]
lea r8, [rbp + 0x58]
mov rdx, qword [rdi + rax]
lea rcx, [rbp - 0x10]
call fcn.140090760
test eax, eax
lea eax, [rsi + 1]
jne 0x140013d3a
cmp dword [rbp + 0x58], eax
cmove esi, eax
add ebx, eax
add rdi, 8
mov eax, dword [rbp - 0x18]
cmp ebx, eax
jl 0x140013d03
mov edi, 1
lea rcx, [rbp - 0x20]
call fcn.140014e50
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140013d7b
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
cmp qword [rbp - 0x30], r13
jne 0x140013c48
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov r14d, 1
lea r12d, [r14 + 4]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140013db4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400688bc.0]
mov dword [r15 + 0x4c], esi
mov rcx, qword [0x1400cf018]
lea rax, [0x1400cf018]
cmp rcx, rax
je 0x140013df0
test byte [rcx + 0x1c], r14b
je 0x140013df0
cmp byte [rcx + 0x19], r12b
jb 0x140013df0
mov edx, 0x104
mov r9d, esi
lea r8, [0x1400b0440]
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140013e06
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400688bc.0]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0xc000008c
call fcn.14000504c
int3