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

Disassembly:
jmp 0x140065c20
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x140131878]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x1401431de]
call fcn.1400508f4
mov dword [rbp + 4], 0x80004005
mov dword [rbp + 0x24], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xe8], 0
lea rcx, [rbp + 0x48]
call fcn.14004d90b
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
jge 0x140065cdf
mov dword [rbp + 0x24], 0x80004005
jmp 0x140065ebc
mov edx, 0x14
mov rcx, qword [rbp + 0x1f0]
call fcn.140050304
mov rcx, qword [rbp + 0x1f0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp + 0xa8], rax
mov rcx, qword [rbp + 0x1f0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp + 0xc8], rax
mov rcx, qword [rbp + 0x1e0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp + 0xe8], rax
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x48]
call qword [rax + 0x90]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jge 0x140065d63
mov edx, dword [rbp + 0x24]
lea rcx, str.____Could_not_retrieve_current_Firewall_rules__pNetFwPolicy2__get_Rules_failed:_0x_08lx_._n
call fcn.14004d24e
jmp 0x140065ebc
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [0x140107ee0]
mov r8d, 1
xor edx, edx
lea rcx, [0x140107ec8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jge 0x140065dad
mov edx, dword [rbp + 0x24]
lea rcx, str.____Error_while_attempting_to_initiate_the_INetFwRule__CoCreateInstance_failed:_0x_08lx_._n
call fcn.14004d24e
jmp 0x140065ebc
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x88]
call qword [rax + 0x40]
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rdx, qword [rbp + 0xc8]
mov rcx, qword [rbp + 0x88]
call qword [rax + 0x50]
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x88]
call qword [rax + 0x60]
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov edx, 0x100
mov rcx, qword [rbp + 0x88]
call qword [rax + 0x80]
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov edx, dword [rbp + 0x1e8]
mov rcx, qword [rbp + 0x88]
call qword [rax + 0xe0]
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov edx, 0x7fffffff
mov rcx, qword [rbp + 0x88]
call qword [rax + 0x130]
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [rbp + 0x88]
call qword [rax + 0x150]
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov dx, 0xffff
mov rcx, qword [rbp + 0x88]
call qword [rax + pe_nt_image_headers64]
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x68]
call qword [rax + 0x40]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jge 0x140065ebc
mov r8d, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x1e0]
lea rcx, str.____Error_while_adding_the_firewall_blocking_rule_for__s__INetFwRule__Add_failed:_0x_08lx__n
call fcn.14004d24e
cmp qword [rbp + 0x88], 0
je 0x140065eda
mov rax, qword [rbp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x88]
call qword [rax + 0x10]
cmp qword [rbp + 0x68], 0
je 0x140065eef
mov rax, qword [rbp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x68]
call qword [rax + 0x10]
cmp qword [rbp + 0x48], 0
je 0x140065f04
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x48]
call qword [rax + 0x10]
cmp qword [rbp + 0xa8], 0
je 0x140065f26
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbp + 0xa8], 0
cmp qword [rbp + 0xc8], 0
je 0x140065f48
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbp + 0xc8], 0
cmp qword [rbp + 0xe8], 0
je 0x140065f6a
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbp + 0xe8], 0
cmp dword [rbp + 4], 0
jl 0x140065f76
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [rbp + 0x24]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x140107850]
call fcn.14004fed6
mov eax, edi
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.14004eb76
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret