Function at 0x1402143d4
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r13
push r14
mov rbp, rsp
sub rsp, 0x60
mov r13, r9
mov r12, r8
mov rsi, rdx
mov rbx, rcx
mov r10d, dword [rbp + 0x40]
sub r10d, 1
je 0x140214423
sub r10d, 1
je 0x14021441e
cmp r10d, 2
jne 0x14021465f
mov al, byte [rcx + 0xe]
jmp 0x140214426
mov al, byte [rcx + 0xd]
jmp 0x140214426
mov al, byte [rcx + 0xc]
test al, al
je 0x14021465f
cmp al, 3
je 0x14021465f
mov dil, byte [rbp + 0x48]
mov r9b, dil
mov r8d, dword [rbp + 0x40]
call fcn.140214784
test eax, eax
js 0x140214661
cmp eax, 1
jne 0x14021465f
test dil, dil
je 0x14021465f
and qword [rbp - 0x28], 0
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea rdx, [rbp - 0x28]
mov rax, qword [rax + 0x90]
call qword [0x1402b6c58]
mov r14d, eax
test eax, eax
js 0x1402146fc
and qword [rbp - 0x30], 0
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1402f12b0]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402f12a0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov r14d, eax
test eax, eax
js 0x1402146e5
test r12, r12
jne 0x14021467f
xor edi, edi
mov qword [rbp - 0x20], rdi
test r13, r13
jne 0x14021469d
xor ebx, ebx
mov qword [rbp - 0x18], rbx
mov r14, qword [rbp - 0x30]
test rsi, rsi
jne 0x1402146b7
mov qword [rbp - 0x10], rsi
mov rax, qword [r14]
mov rdx, rsi
mov rcx, r14
mov rax, qword [rax + 0x60]
call qword [0x1402b6c58]
mov r14d, eax
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test r14d, r14d
js 0x1402146d1
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
mov edx, dword [rbp + 0x40]
mov rax, qword [rax + 0x130]
call qword [0x1402b6c58]
mov r14d, eax
test eax, eax
js 0x1402146d1
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
mov rdx, rdi
mov rax, qword [rax + 0x40]
call qword [0x1402b6c58]
mov r14d, eax
test eax, eax
js 0x1402146d1
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0x50]
call qword [0x1402b6c58]
mov r14d, eax
test eax, eax
js 0x1402146d1
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
mov esi, 1
mov edx, esi
mov rax, qword [rax + 0xe0]
call qword [0x1402b6c58]
mov r14d, eax
test eax, eax
js 0x1402146d1
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
mov edx, esi
mov rax, qword [rax + 0x150]
call qword [0x1402b6c58]
mov r14d, eax
test eax, eax
js 0x1402146d1
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
mov edx, reloc.OLEAUT32.dll_VarUI2FromUI1
mov rax, qword [rax + 0x80]
call qword [0x1402b6c58]
mov r14d, eax
test eax, eax
js 0x1402146d1
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
or edx, 0xffffffff
mov rax, qword [rax + 0x110]
call qword [0x1402b6c58]
mov r14d, eax
test eax, eax
js 0x1402146d1
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x30]
mov rax, qword [rax + 0x40]
call qword [0x1402b6c58]
mov r14d, eax
test eax, eax
js 0x1402146d1
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140214649
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1402b6c58]
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14021465f
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1402b6c58]
xor eax, eax
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rbp - 0x20], rax
test rax, rax
je 0x14021471a
jmp 0x1402144c9
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp - 0x18], rax
test rax, rax
je 0x140214725
jmp 0x1402144d8
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
mov qword [rbp - 0x10], rax
test rax, rax
je 0x140214730
jmp 0x1402144e9
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1402146fc
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1402b6c58]
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140214712
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1402b6c58]
mov eax, r14d
jmp 0x140214661
mov ecx, 0x8007000e
call fcn.140034ce8
nop
mov ecx, 0x8007000e
call fcn.140034ce8
nop
mov ecx, 0x8007000e
call fcn.140034ce8
int3