Function at 0x1800041f4
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xf8
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x18000421c
xor eax, eax
jmp 0x1800047e9
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x180004271
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1800047e9
mov qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x18002afc8]
mov r8d, 1
xor edx, edx
lea rcx, [0x18002afd8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1800042b8
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1800047e9
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTMicrosoftWindowsDefender
mov rcx, qword [rsp + 0x60]
call qword [rax + SafeArrayCopy]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x180004333
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1800047e9
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1800043a2
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1800047e9
mov qword [rsp + 0x70], 0
lea rax, str.MSFT_MpPreference
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x30]
mov dword [rsp + 0x50], eax
lea rax, [0x180029648]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
call qword [rax + 0x98]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x18000448b
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1800047e9
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
lea r8, [rsp + 0x78]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x78]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x180004513
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1800047e9
mov eax, 8
imul rax, rax, 0
mov dword [rsp + rax + 0x88], 1
mov eax, 8
imul rax, rax, 0
mov dword [rsp + rax + 0x8c], 0
lea r8, [rsp + 0x88]
mov edx, 1
mov cx, 8
call qword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0xd0]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 8
mov word [rsp + 0xd0], ax
mov rdx, qword [rsp + 0x100]
lea rcx, [rsp + 0xc8]
call fcn.180003128
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.180003d1c
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xc8]
call fcn.180003a24
mov dword [rsp + 0x80], 0
mov r8, qword [rsp + 0xd8]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.OLEAUT32.dll_SafeArrayCopy]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 0x2008
mov word [rsp + 0xa8], ax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov dword [rsp + 0x20], 0x2008
lea r9, [rsp + 0xa8]
xor r8d, r8d
lea rdx, str.ExclusionPath
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x28]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1800046b6
lea rcx, [rsp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1800047e9
mov qword [rsp + 0xe8], 0
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0xc0]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x180004780
lea rcx, [rsp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x1800047e9
lea rcx, [rsp + 0xa8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x70]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
add rsp, 0xf8
ret