Function at 0x140018c08
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov r15, rcx
lea rax, section..data
mov r12d, 5
lea r14d, [r12 - 4]
mov rcx, qword [section..data]
cmp rcx, rax
je 0x140018c65
test byte [rcx + 0x1c], r14b
je 0x140018c65
cmp byte [rcx + 0x19], r12b
jb 0x140018c65
mov edx, 0x100
mov r9d, dword [r15 + 0x4c]
lea r8, [0x1400b4390]
mov rcx, qword [rcx + 0x10]
call fcn.1400063c0
xor r13d, r13d
mov esi, r13d
mov qword [rbp - 0x38], r13
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b42d8]
mov r8d, r14d
xor edx, edx
lea rcx, [0x1400b42c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
nop dword [rax + rax]
mov edi, eax
lea ebx, [r13 + 2]
mov r10, qword [section..data]
lea rax, section..data
cmp r10, rax
je 0x140018ce8
test byte [r10 + 0x1c], bl
je 0x140018ce8
mov ecx, ebx
test edi, edi
cmovns ecx, r12d
movzx eax, byte [r10 + 0x19]
cmp eax, ecx
jb 0x140018ce8
mov edx, 0x101
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x1400b4390]
mov rcx, qword [r10 + 0x10]
call fcn.140019878
test edi, edi
js 0x140018fcb
mov word [rbp + 0x48], r13w
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
movabs r10, 0x8f6d364032d6a370
lea rdx, [rbp + 0x48]
mov rax, qword [rax + 0x60]
call qword [case.0x140071786.0]
mov edi, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x140018d5e
test byte [rcx + 0x1c], bl
je 0x140018d5e
mov edx, ebx
test edi, edi
cmovns edx, r12d
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jb 0x140018d5e
movsx eax, word [rbp + 0x48]
mov edx, 0x102
mov dword [rsp + 0x20], eax
mov r9d, edi
lea r8, [0x1400b4390]
mov rcx, qword [rcx + 0x10]
call fcn.14000b144
test edi, edi
js 0x140018fcb
or eax, 0xffffffff
cmp ax, word [rbp + 0x48]
jne 0x140018fcb
mov qword [rbp - 0x40], r13
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b42f8]
mov r8d, r14d
xor edx, edx
lea rcx, [0x1400b42e8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x140018de8
test byte [rcx + 0x1c], bl
je 0x140018de8
test edi, edi
cmovns ebx, r12d
movzx eax, byte [rcx + 0x19]
cmp eax, ebx
jb 0x140018de8
mov edx, 0x103
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x1400b4390]
mov rcx, qword [rcx + 0x10]
call fcn.140019878
test edi, edi
js 0x140018faa
mov dword [rbp + 0x50], r13d
lea r8, [rbp + 0x50]
mov rcx, qword [rbp - 0x40]
call fcn.14001178c
test eax, eax
js 0x140018faa
cmp dword [rbp + 0x50], r13d
je 0x140018faa
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.140010258
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140018f91
mov edi, 1
test esi, esi
jne 0x140018f91
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.14000fe08
mov rcx, qword [rax]
mov rbx, qword [rcx]
test rbx, rbx
je 0x140018f87
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x140018ed1
test byte [rcx + 0x1c], dil
je 0x140018ea7
lea edx, [rsi + 0x66]
lea r8, [0x1400b4658]
mov rcx, qword [rcx + 0x10]
call fcn.1400062b0
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x140018ed1
test byte [rcx + 0x1c], dil
je 0x140018ed1
cmp byte [rcx + 0x19], 5
jb 0x140018ed1
mov edx, 0x67
mov r9, qword [rbx + 0x58]
lea r8, [0x1400b4658]
mov rcx, qword [rcx + 0x10]
call fcn.1400062dc
mov rdx, qword [rbx + 0x58]
lea rcx, [rbp - 0x18]
call fcn.14000b770
nop
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x20], r13
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x18]
call fcn.140097c28
test eax, eax
jne 0x140018f4e
mov ebx, r13d
mov eax, dword [rbp - 0x20]
test eax, eax
jle 0x140018f4e
mov rdi, r13
test esi, esi
jne 0x140018f49
test rdi, rdi
js 0x140019041
cmp ebx, eax
jge 0x140019041
lea r8, [rbp + 0x58]
mov rdx, qword [rbp - 0x28]
mov rdx, qword [rdi + rdx]
lea rcx, [rbp - 0x18]
call fcn.140097e50
test eax, eax
lea eax, [rsi + 1]
jne 0x140018f3c
cmp dword [rbp + 0x58], eax
cmove esi, eax
add ebx, eax
add rdi, 8
mov eax, dword [rbp - 0x20]
cmp ebx, eax
jl 0x140018f05
mov edi, 1
lea rcx, [rbp - 0x28]
call fcn.140015550
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018f87
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
cmp qword [rbp - 0x30], r13
jne 0x140018e4a
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 0x140018fcb
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
nop
mov dword [r15 + 0x4c], esi
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x140019007
test byte [rcx + 0x1c], r14b
je 0x140019007
cmp byte [rcx + 0x19], r12b
jb 0x140019007
mov edx, 0x104
mov r9d, esi
lea r8, [0x1400b4390]
mov rcx, qword [rcx + 0x10]
call fcn.1400063c0
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140019028
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
nop
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.140006108
int3