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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0x98
xor ebx, ebx
lea rdx, [rbp - 0x29]
and qword [rbp + 0x77], rbx
mov rdi, rcx
and qword [rbp + 0x7f], rbx
and qword [rbp + 0x6f], rbx
and dword [rbp + 0x67], ebx
call fcn.1400470d4
lea rcx, [rdi + 0x400]
lea rdx, [rbp - 0x21]
call fcn.1400470d4
lea rcx, [rdi + 0x800]
lea rdx, [rbp - 0x19]
call fcn.1400470d4
lea rcx, [rdi + 0xc00]
lea rdx, [rbp - 0x11]
call fcn.1400470d4
lea rcx, [rdi + 0x1004]
lea rdx, [rbp - 9]
call fcn.1400470d4
lea rcx, [rdi + 0x1404]
lea rdx, [rbp - 1]
call fcn.1400470d4
lea rcx, [rdi + 0x1804]
lea rdx, [rbp + 7]
call fcn.1400470d4
lea rcx, [rdi + 0x1c04]
lea rdx, [rbp + 0xf]
call fcn.1400470d4
lea rcx, [rdi + 0x2004]
lea rdx, [rbp + 0x17]
call fcn.1400470d4
lea rcx, [rdi + 0x340c]
lea rdx, [rbp + 0x2f]
call fcn.1400470d4
lea rcx, [rdi + 0x300c]
lea rdx, [rbp + 0x1f]
call fcn.1400470d4
lea rcx, [rdi + 0x3810]
lea rdx, [rbp + 0x27]
call fcn.1400470d4
lea edx, [rbx + 2]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, 0x80000000
mov esi, eax
add eax, ecx
test ecx, eax
jne 0x14004726a
cmp esi, 0x80010106
jne 0x140047428
lea rcx, [rbp + 0x77]
call fcn.140047090
mov ebx, eax
test eax, eax
js 0x140047428
mov rcx, qword [rbp + 0x77]
lea rdx, [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + 0x90]
mov ebx, eax
test eax, eax
js 0x140047428
mov rcx, qword [rbp + 0x77]
lea rdx, [rbp + 0x67]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov ebx, eax
test eax, eax
js 0x140047428
mov eax, dword [rbp + 0x67]
test al, 4
je 0x1400472c2
cmp eax, 4
je 0x1400472c2
xor eax, 4
mov dword [rbp + 0x67], eax
xor edx, edx
lea rax, [rbp + 0x6f]
lea r9, [0x140077580]
mov qword [rsp + 0x20], rax
lea rcx, [0x140077590]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x140047428
mov rcx, qword [rbp + 0x6f]
mov rdx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rbp + 0x6f]
mov rdx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbp + 0x6f]
mov rdx, qword [rbp - 0x19]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rcx, qword [rbp + 0x6f]
mov rdx, qword [rbp - 0x11]
mov rax, qword [rcx]
call qword [rax + 0x70]
mov rcx, qword [rbp + 0x6f]
mov edx, dword [rdi + 0x1000]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, qword [rbp + 0x6f]
mov rdx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0xd0]
mov rcx, qword [rbp + 0x6f]
mov rdx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + 0x90]
mov rcx, qword [rbp + 0x6f]
mov rdx, qword [rbp + 7]
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov rcx, qword [rbp + 0x6f]
mov rdx, qword [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + 0xb0]
mov rcx, qword [rbp + 0x6f]
mov rdx, qword [rbp + 0x17]
mov rax, qword [rcx]
call qword [rax + 0xc0]
mov rcx, qword [rbp + 0x6f]
mov edx, dword [rdi + 0x3004]
mov rax, qword [rcx]
call qword [rax + 0xe0]
mov rcx, qword [rbp + 0x6f]
mov edx, dword [rdi + 0x3008]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rbp + 0x6f]
mov rdx, qword [rbp + 0x1f]
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
cmp dword [rdi + 0x380c], 0
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
je 0x1400473db
or edx, 0xffffffff
jmp 0x1400473dd
xor edx, edx
call qword [rax + 0x110]
mov rcx, qword [rbp + 0x6f]
mov rdx, qword [rbp + 0x27]
mov rax, qword [rcx]
call qword [rax + 0x120]
mov rcx, qword [rbp + 0x6f]
mov edx, dword [rbp + 0x67]
mov rax, qword [rcx]
call qword [rax + 0x130]
mov rcx, qword [rbp + 0x6f]
movzx edx, word [rdi + 0x3c10]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov rcx, qword [rbp + 0x7f]
mov rdx, qword [rbp + 0x6f]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov ebx, eax
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov rcx, qword [rbp - 9]
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov rcx, qword [rbp - 1]
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov rcx, qword [rbp + 7]
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov rcx, qword [rbp + 0x2f]
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov rcx, qword [rbp + 0x27]
call qword [sym.imp.oleaut32.dll_SysFreeString]
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x1400474af
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x1400474be
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x1400474cd
mov rax, qword [rcx]
call qword [rax + 0x10]
test esi, esi
js 0x1400474d7
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
add rsp, 0x98
pop rdi
pop rsi
pop rbx
pop rbp
ret