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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8d34
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x4db06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x4f3ed4]
cmp eax, dword [edx + 4]
jle 0x45d574
push 0x4f3ed4
call fcn.00487731
add esp, 4
cmp dword [0x4f3ed4], 0xffffffff
jne 0x45d574
mov ecx, str.wbemuuid.dll
mov dword [ebp - 4], 0
call fcn.00461d50
push 0x4f3ed4
call fcn.004876e7
add esp, 4
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
push 0x4ae1bc
push 1
push 0
push 0x4ae28c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x45d5bd
xor ebx, ebx
jmp 0x45d839
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.ROOTMicrosoftWindowsDefender
call ebx
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push esi
push eax
call dword [ecx + 0xc]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
js 0x45d818
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x45d818
mov dword [ebp - 0x24], 0
push 0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
push edx
push 0
push 0
mov ecx, dword [eax]
push str.MSFT_MpPreference
push eax
call dword [ecx + 0x18]
test eax, eax
jns 0x45d64f
xor ebx, ebx
jmp 0x45d7fe
mov dword [ebp - 0x10], 0
push 0x4cfb8c
call ebx
mov edi, eax
mov dword [ebp - 0x44], edi
push str.SELECT__FROM_MSFT_MpPreference
call ebx
mov ecx, eax
mov dword [ebp - 0x40], ecx
lea ebx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x18]
push ebx
push 0
push 0x30
mov edx, dword [eax]
push ecx
push edi
push eax
call dword [edx + 0x50]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45d7bb
mov ebx, 0x2008
nop word [eax + eax]
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x2c], 0
mov ecx, dword [eax]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x2c], 0
je 0x45d7a0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.ExclusionProcess
push eax
call dword [ecx + 0x10]
cmp word [ebp - 0x58], bx
jne 0x45d771
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x45d76c
lea eax, [ebp - 0x34]
push eax
push 1
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
lea eax, [ebp - 0x30]
push eax
push 1
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x30]
jg 0x45d76c
mov esi, dword [ebp - 0x38]
nop
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayPutElement]
test eax, eax
js 0x45d748
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0045b9b0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45d75d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x30]
jle 0x45d720
mov esi, dword [ebp - 0x3c]
mov ebx, 0x2008
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x45d793
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x45d6a0
jmp 0x45d7bb
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x45d7b8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x40]
mov ebx, 1
test ecx, ecx
je 0x45d7d1
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
test edi, edi
je 0x45d7e3
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
mov eax, dword [ebp - 0x10]
jmp 0x45d7e9
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 0x14
test eax, eax
je 0x45d7fe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x45d81a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x24], 0
jmp 0x45d81a
xor ebx, ebx
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x45d832
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], 0
test esi, esi
je 0x45d839
push esi
call edi
mov dword [ebp - 4], 0x17
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x45d84d
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret