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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17]
sub rsp, 0x88
mov rax, qword [0x1400c3040]
xor rax, rsp
mov qword [rbp + 7], rax
mov byte [rbp - 0x41], r9b
mov dword [rbp - 0x39], r8d
mov rbx, rdx
mov rdi, rcx
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140023412
mov rcx, qword [rdx]
call fcn.140083810
mov r12, rax
lea rcx, [rbx + 0x80]
cmp qword [rcx + 0x18], 0xf
jbe 0x14002342b
mov rcx, qword [rcx]
call fcn.140083810
mov r15, rax
lea rcx, [rbx + 0x60]
cmp qword [rcx + 0x18], 0xf
jbe 0x140023441
mov rcx, qword [rcx]
call fcn.140083810
mov r14, rax
lea rcx, [rdi + 0x48]
cmp qword [rcx + 0x18], 0xf
jbe 0x140023457
mov rcx, qword [rcx]
call fcn.140083810
mov r13, rax
lea rdx, [rbp - 9]
mov rcx, rdi
call fcn.140021b30
nop
mov qword [rbp - 0x11], 0
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9, [0x1400ab3d0]
xor edx, edx
mov r8d, 1
lea rcx, [0x1400ab438]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
mov rsi, qword [rbp - 1]
test eax, eax
jns 0x1400234de
mov r8d, 0x2b
lea rdx, str.CoCreateInstance_for_Firewall_Rule_failed__n
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x21], rax
movups xmmword [rbp - 0x31], xmm0
lea rcx, [rbp - 0x31]
call fcn.14000a950
mov r8d, ebx
lea rdx, [rbp - 0x31]
mov rcx, rdi
call fcn.140021820
jmp 0x1400235a6
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 0x40]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + 0x50]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
mov edx, 0x100
call qword [rax + 0x80]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + 0xc0]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
mov edx, dword [rbp - 0x39]
call qword [rax + 0xe0]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
mov rdx, r13
call qword [rax + 0x120]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
mov edx, 0x7fffffff
call qword [rax + 0x130]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x150]
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
movzx edx, byte [rbp - 0x41]
xor dl, 1
movzx edx, dl
dec dx
call qword [rax + 0x110]
mov rax, qword [rsi]
mov rdx, qword [rbp - 0x11]
mov rcx, rsi
call qword [rax + 0x40]
mov ebx, eax
test eax, eax
jns 0x14002359a
mov r8d, 0x1b
lea rdx, str.Firewall_Rule_Add_failed:__n
jmp 0x1400234b0
lea rcx, str.Firewall_Rule_Added_n
call fcn.1400014f0
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x1400235d9
mov rax, qword [rcx]
call qword [rax + 0x10]
shr ebx, 0x1f
xor bl, 1
test rsi, rsi
je 0x1400235ee
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1400235fe
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
movzx eax, bl
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400828d0
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret