Function at 0x140004250
Capabilities:
Access firewall policy via inetfwpolicy2
Access firewall rule properties via inetfwrule

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
xor eax, eax
lea rcx, str.Microsoft_OneDrive
mov qword [rbp + 0x40], rax
mov rbx, r9
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x48], rax
mov dword [rbp + 0x50], eax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, [0x14001a120]
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, [0x14001a120]
mov r14, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, rbx
mov r15, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, [0x14001a11c]
mov r12, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, [0x14001a11c]
mov r13, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, [0x14001a11c]
mov qword [rbp + 0x68], rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, 2
xor ecx, ecx
mov qword [rbp + 0x70], rax
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
mov eax, 0x80000000
lea ecx, [rdi + rax]
test eax, ecx
jne 0x140004325
cmp edi, 0x80010106
je 0x140004325
mov ebx, 1
jmp 0x1400044a2
lea rax, [rbp + 0x40]
mov ebx, 1
mov r8d, ebx
mov qword [rsp + 0x20], rax
lea r9, [0x14001a160]
xor edx, edx
lea rcx, [0x14001a150]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14000435a
mov ebx, 2
jmp 0x1400044a2
mov rcx, qword [rbp + 0x40]
lea rdx, [rbp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x90]
test eax, eax
jns 0x140004379
mov ebx, 3
jmp 0x1400044a2
mov rcx, qword [rbp + 0x40]
lea rdx, [rbp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
jns 0x140004395
mov ebx, 4
jmp 0x1400044a2
lea rax, [rbp + 0x48]
mov dword [rbp + 0x50], 0x7fffffff
lea r9, [0x14001a180]
mov qword [rsp + 0x20], rax
mov r8d, ebx
lea rcx, [0x14001a170]
xor edx, edx
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400043cc
mov ebx, 5
jmp 0x1400044a2
mov rcx, qword [rbp + 0x48]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [rbp + 0x48]
mov rdx, r14
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbp + 0x48]
mov rdx, r12
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rcx, qword [rbp + 0x48]
mov edx, 0x100
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rcx, qword [rbp + 0x48]
mov rdx, r13
mov rax, qword [rcx]
call qword [rax + 0x90]
mov rcx, qword [rbp + 0x48]
mov edx, dword [rbp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0xe0]
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x70]
mov rax, qword [rcx]
call qword [rax + 0xc0]
mov rcx, qword [rbp + 0x48]
mov rdx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0xa0]
mov rcx, qword [rbp + 0x48]
mov rdx, r15
mov rax, qword [rcx]
call qword [rax + 0x120]
mov rcx, qword [rbp + 0x48]
mov edx, dword [rbp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x130]
mov rcx, qword [rbp + 0x48]
mov edx, ebx
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [rbp + 0x48]
mov edx, 0xffffffff
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x40]
xor ebx, ebx
mov ecx, 6
test eax, eax
cmovs ebx, ecx
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r15
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, r13
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x1400044f2
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140004501
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x40]
test rcx, rcx
je 0x140004510
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test edi, edi
js 0x14000451a
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret