Function at 0x140014d00
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 r13, rcx
lea rax, [0x14014dd40]
mov r12d, 5
lea r15d, [r12 - 4]
mov rcx, qword [0x14014dd40]
cmp rcx, rax
je 0x140014d67
test byte [rcx + 0x1c], r15b
je 0x140014d67
cmp byte [rcx + 0x19], r12b
jb 0x140014d67
mov edx, 0x10e
mov r9d, dword [r13 + 0x4c]
lea r8, [0x14011b7b0]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
xor edi, edi
mov r14d, edi
mov qword [rbp - 0x38], rdi
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x14011b6f0]
mov r8d, r15d
xor edx, edx
lea rcx, [0x14011b6e0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
lea esi, [rdi + 2]
mov rcx, qword [0x14014dd40]
lea rax, [0x14014dd40]
cmp rcx, rax
je 0x140014de3
test byte [rcx + 0x1c], sil
je 0x140014de3
movzx r8d, byte [rcx + 0x19]
mov edx, esi
test ebx, ebx
cmovns edx, r12d
cmp r8d, edx
jl 0x140014de3
mov edx, 0x10f
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, [0x14011b7b0]
mov rcx, qword [rcx + 0x10]
call fcn.14000b2e4
test ebx, ebx
js 0x140015058
mov word [rbp + 0x48], di
mov rbx, qword [rbp - 0x38]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x60]
mov rcx, rdi
call qword [fcn.140009050]
lea rdx, [rbp + 0x48]
mov rcx, rbx
call rdi
mov ebx, eax
mov rcx, qword [0x14014dd40]
lea rax, [0x14014dd40]
xor edi, edi
cmp rcx, rax
je 0x140014e5b
test byte [rcx + 0x1c], sil
je 0x140014e5b
movzx r8d, byte [rcx + 0x19]
mov edx, esi
test ebx, ebx
cmovns edx, r12d
cmp r8d, edx
jl 0x140014e5b
movsx eax, word [rbp + 0x48]
mov edx, 0x110
mov dword [rsp + 0x20], eax
mov r9d, ebx
lea r8, [0x14011b7b0]
mov rcx, qword [rcx + 0x10]
call fcn.14000574c
test ebx, ebx
js 0x140015058
or eax, 0xffffffff
cmp ax, word [rbp + 0x48]
jne 0x140015058
mov qword [rbp - 0x40], rdi
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x14011b710]
mov r8d, r15d
xor edx, edx
lea rcx, [0x14011b700]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
mov rcx, qword [0x14014dd40]
lea rax, [0x14014dd40]
cmp rcx, rax
je 0x140014ee0
test byte [rcx + 0x1c], sil
je 0x140014ee0
movzx edx, byte [rcx + 0x19]
test ebx, ebx
cmovns esi, r12d
cmp edx, esi
jl 0x140014ee0
mov edx, 0x111
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, [0x14011b7b0]
mov rcx, qword [rcx + 0x10]
call fcn.14000b2e4
test ebx, ebx
js 0x14001503a
mov dword [rbp + 0x50], edi
lea r8, [rbp + 0x50]
lea rdx, str._FirewallAPI.dll__31252
mov rcx, qword [rbp - 0x40]
call fcn.1400101ac
test eax, eax
js 0x14001503a
cmp dword [rbp + 0x50], edi
je 0x14001503a
lea r15, [r13 + 0xe8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r12, [r13 + 0x110]
mov rcx, r12
call fcn.14001a1e8
mov qword [rbp - 0x30], rax
test rax, rax
je 0x140015027
test r14d, r14d
jne 0x140015027
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.14001a27c
mov rcx, qword [rax]
mov rcx, qword [rcx]
test rcx, rcx
je 0x140015013
call fcn.140020230
mov rdx, qword [rax]
lea rcx, [rbp - 0x10]
call fcn.14000a8c4
nop
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], 0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x10]
call fcn.1400c22a4
test eax, eax
jne 0x140014fd9
mov ebx, edi
mov eax, dword [rbp - 0x18]
test eax, eax
jle 0x140014fd9
test r14d, r14d
jne 0x140014fd7
test rdi, rdi
js 0x14001501c
cmp ebx, eax
jge 0x14001501c
mov rax, qword [rbp - 0x20]
lea r8, [rbp + 0x58]
mov rdx, qword [rdi + rax]
lea rcx, [rbp - 0x10]
call fcn.1400c3210
test eax, eax
lea eax, [r14 + 1]
jne 0x140014fca
cmp dword [rbp + 0x58], eax
cmove r14d, eax
add ebx, eax
add rdi, 8
mov eax, dword [rbp - 0x18]
cmp ebx, eax
jl 0x140014f98
xor edi, edi
lea rcx, [rbp - 0x20]
call fcn.140019c20
nop
mov rsi, qword [rbp - 8]
or eax, 0xffffffff
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x140015013
mov rdi, qword [rsi - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140009050]
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
xor edi, edi
cmp qword [rbp - 0x30], rdi
jmp 0x140014f36
mov ecx, 0xc000008c
call fcn.1400052e8
nop
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r15d, 1
lea r12d, [r15 + 4]
mov rbx, qword [rbp - 0x40]
test rbx, rbx
je 0x140015058
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140009050]
mov rcx, rbx
call rdi
mov dword [r13 + 0x4c], r14d
mov rcx, qword [0x14014dd40]
lea rax, [0x14014dd40]
cmp rcx, rax
je 0x140015094
test byte [rcx + 0x1c], r15b
je 0x140015094
cmp byte [rcx + 0x19], r12b
jb 0x140015094
mov edx, 0x112
mov r9d, r14d
lea r8, [0x14011b7b0]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
nop
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x1400150b2
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140009050]
mov rcx, rbx
call rdi
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret