Function at 0x14001425c
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, [0x140106190]
mov r12d, 5
lea r14d, [r12 - 4]
mov rcx, qword [0x140106190]
cmp rcx, rax
je 0x1400142c3
test byte [rcx + 0x1c], r14b
je 0x1400142c3
cmp byte [rcx + 0x19], r12b
jb 0x1400142c3
mov edx, 0x10d
mov r9d, dword [r15 + 0x4c]
lea r8, [0x1400dd6d0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
xor r13d, r13d
mov edi, r13d
mov qword [rbp - 0x38], r13
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1400dd610]
mov r8d, r14d
xor edx, edx
lea rcx, [0x1400dd600]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
lea ebx, [r13 + 2]
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x140014340
test byte [rcx + 0x1c], bl
je 0x140014340
movzx r8d, byte [rcx + 0x19]
mov edx, ebx
test esi, esi
cmovns edx, r12d
cmp r8d, edx
jl 0x140014340
mov edx, 0x10e
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [0x1400dd6d0]
mov rcx, qword [rcx + 0x10]
call fcn.14000acd0
test esi, esi
js 0x140014593
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.0x14006e230.0]
mov esi, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x1400143ae
test byte [rcx + 0x1c], bl
je 0x1400143ae
movzx r8d, byte [rcx + 0x19]
mov edx, ebx
test esi, esi
cmovns edx, r12d
cmp r8d, edx
jl 0x1400143ae
movsx eax, word [rbp + 0x48]
mov edx, 0x10f
mov dword [rsp + 0x20], eax
mov r9d, esi
lea r8, [0x1400dd6d0]
mov rcx, qword [rcx + 0x10]
call fcn.1400054b8
test esi, esi
js 0x140014593
or eax, 0xffffffff
cmp ax, word [rbp + 0x48]
jne 0x140014593
mov qword [rbp - 0x40], r13
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1400dd630]
mov r8d, r14d
xor edx, edx
lea rcx, [0x1400dd620]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x140014432
test byte [rcx + 0x1c], bl
je 0x140014432
movzx edx, byte [rcx + 0x19]
test esi, esi
cmovns ebx, r12d
cmp edx, ebx
jl 0x140014432
mov edx, 0x110
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [0x1400dd6d0]
mov rcx, qword [rcx + 0x10]
call fcn.14000acd0
test esi, esi
js 0x14001457d
mov dword [rbp + 0x50], r13d
lea r8, [rbp + 0x50]
lea rdx, str._FirewallAPI.dll__31252
mov rcx, qword [rbp - 0x40]
call fcn.14000f92c
test eax, eax
js 0x14001457d
cmp dword [rbp + 0x50], r13d
je 0x14001457d
lea r14, [r15 + 0xe8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r12, [r15 + 0x110]
mov rcx, r12
call fcn.1400193a8
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14001456a
test edi, edi
jne 0x14001456a
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.14001943c
mov rcx, qword [rax]
mov rcx, qword [rcx]
test rcx, rcx
je 0x140014556
call fcn.14001eec4
mov rdx, qword [rax]
lea rcx, [rbp - 0x10]
call fcn.14000a2c4
nop
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.1400b7dc8
test eax, eax
jne 0x140014527
mov ebx, r13d
mov eax, dword [rbp - 0x18]
test eax, eax
jle 0x140014527
mov rsi, r13
test edi, edi
jne 0x140014527
test rsi, rsi
js 0x14001455f
cmp ebx, eax
jge 0x14001455f
mov rax, qword [rbp - 0x20]
lea r8, [rbp + 0x58]
mov rdx, qword [rsi + rax]
lea rcx, [rbp - 0x10]
call fcn.1400b8c50
test eax, eax
lea eax, [rdi + 1]
jne 0x14001451a
cmp dword [rbp + 0x58], eax
cmove edi, eax
add ebx, eax
add rsi, 8
mov eax, dword [rbp - 0x18]
cmp ebx, eax
jl 0x1400144eb
lea rcx, [rbp - 0x20]
call fcn.1400185e8
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140014556
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
cmp qword [rbp - 0x30], r13
jmp 0x14001448a
mov ecx, 0xc000008c
call fcn.140005064
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r14d, 1
lea r12d, [r14 + 4]
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x140014593
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
mov dword [r15 + 0x4c], edi
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
cmp rcx, rax
je 0x1400145cf
test byte [rcx + 0x1c], r14b
je 0x1400145cf
cmp byte [rcx + 0x19], r12b
jb 0x1400145cf
mov edx, 0x111
mov r9d, edi
lea r8, [0x1400dd6d0]
mov rcx, qword [rcx + 0x10]
call fcn.140003634
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400145e5
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006e230.0]
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret