Function at 0x140013704
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, [0x1400f3190]
mov r12d, 5
lea r14d, [r12 - 4]
mov rcx, qword [0x1400f3190]
cmp rcx, rax
je 0x14001376b
test byte [rcx + 0x1c], r14b
je 0x14001376b
cmp byte [rcx + 0x19], r12b
jb 0x14001376b
mov edx, 0x103
mov r9d, dword [r15 + 0x4c]
lea r8, [0x1400ceae0]
mov rcx, qword [rcx + 0x10]
call fcn.1400036a8
xor r13d, r13d
mov esi, r13d
mov qword [rbp - 0x38], r13
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1400cea28]
mov r8d, r14d
xor edx, edx
lea rcx, [0x1400cea18]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
lea ebx, [r13 + 2]
mov rcx, qword [0x1400f3190]
lea rax, [0x1400f3190]
cmp rcx, rax
je 0x1400137e8
test byte [rcx + 0x1c], bl
je 0x1400137e8
movzx r8d, byte [rcx + 0x19]
mov edx, ebx
test edi, edi
cmovns edx, r12d
cmp r8d, edx
jb 0x1400137e8
mov edx, 0x104
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x1400ceae0]
mov rcx, qword [rcx + 0x10]
call fcn.14000aa98
test edi, edi
js 0x140013a9c
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 [str.__f_]
mov edi, eax
mov rcx, qword [0x1400f3190]
lea rax, [0x1400f3190]
cmp rcx, rax
je 0x140013856
test byte [rcx + 0x1c], bl
je 0x140013856
movzx r8d, byte [rcx + 0x19]
mov edx, ebx
test edi, edi
cmovns edx, r12d
cmp r8d, edx
jb 0x140013856
movsx eax, word [rbp + 0x48]
mov edx, 0x105
mov dword [rsp + 0x20], eax
mov r9d, edi
lea r8, [0x1400ceae0]
mov rcx, qword [rcx + 0x10]
call fcn.1400056d8
test edi, edi
js 0x140013a9c
or eax, 0xffffffff
cmp ax, word [rbp + 0x48]
jne 0x140013a9c
mov qword [rbp - 0x40], r13
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1400cea48]
mov r8d, r14d
xor edx, edx
lea rcx, [0x1400cea38]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
mov rcx, qword [0x1400f3190]
lea rax, [0x1400f3190]
cmp rcx, rax
je 0x1400138da
test byte [rcx + 0x1c], bl
je 0x1400138da
movzx edx, byte [rcx + 0x19]
test edi, edi
cmovns ebx, r12d
cmp edx, ebx
jb 0x1400138da
mov edx, 0x106
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [0x1400ceae0]
mov rcx, qword [rcx + 0x10]
call fcn.14000aa98
test edi, edi
js 0x140013a86
mov dword [rbp + 0x50], r13d
lea r8, [rbp + 0x50]
mov rcx, qword [rbp - 0x40]
call fcn.14000ed38
test eax, eax
js 0x140013a86
cmp dword [rbp + 0x50], r13d
je 0x140013a86
lea r14, [r15 + 0xe8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r12, [r15 + 0x110]
mov rcx, r12
call fcn.140015510
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140013a73
mov edi, 1
test esi, esi
jne 0x140013a73
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.1400155a0
mov rcx, qword [rax]
mov rbx, qword [rcx]
test rbx, rbx
je 0x140013a69
mov rcx, qword [0x1400f3190]
lea rax, [0x1400f3190]
cmp rcx, rax
je 0x1400139bd
test byte [rcx + 0x1c], dil
je 0x140013993
lea edx, [rsi + 0x66]
lea r8, [0x1400ceda8]
mov rcx, qword [rcx + 0x10]
call fcn.1400035e4
mov rcx, qword [0x1400f3190]
lea rax, [0x1400f3190]
cmp rcx, rax
je 0x1400139bd
test byte [rcx + 0x1c], dil
je 0x1400139bd
cmp byte [rcx + 0x19], 5
jb 0x1400139bd
mov edx, 0x67
mov r9, qword [rbx + 0x58]
lea r8, [0x1400ceda8]
mov rcx, qword [rcx + 0x10]
call fcn.140003608
mov rdx, qword [rbx + 0x58]
lea rcx, [rbp - 0x10]
call fcn.14000a424
nop
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.1400ad704
test eax, eax
jne 0x140013a3a
mov ebx, r13d
mov eax, dword [rbp - 0x18]
test eax, eax
jle 0x140013a3a
mov rdi, r13
test esi, esi
jne 0x140013a35
test rdi, rdi
js 0x140013b06
cmp ebx, eax
jge 0x140013b06
mov rax, qword [rbp - 0x20]
lea r8, [rbp + 0x58]
mov rdx, qword [rdi + rax]
lea rcx, [rbp - 0x10]
call fcn.1400ae080
test eax, eax
lea eax, [rsi + 1]
jne 0x140013a28
cmp dword [rbp + 0x58], eax
cmove esi, eax
add ebx, eax
add rdi, 8
mov eax, dword [rbp - 0x18]
cmp ebx, eax
jl 0x1400139f1
mov edi, 1
lea rcx, [rbp - 0x20]
call fcn.140014a08
nop
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140013a69
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.__f_]
cmp qword [rbp - 0x30], r13
jne 0x140013936
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 0x140013a9c
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.__f_]
mov dword [r15 + 0x4c], esi
mov rcx, qword [0x1400f3190]
lea rax, [0x1400f3190]
cmp rcx, rax
je 0x140013ad8
test byte [rcx + 0x1c], r14b
je 0x140013ad8
cmp byte [rcx + 0x19], r12b
jb 0x140013ad8
mov edx, 0x107
mov r9d, esi
lea r8, [0x1400ceae0]
mov rcx, qword [rcx + 0x10]
call fcn.1400036a8
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140013aee
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.__f_]
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.14000518c
int3