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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47dcf9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
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 - 0x1c], 0
mov byte [ebp - 4], 3
test eax, eax
jns 0x40ec41
cmp eax, 0x80010119
jne 0x40ec71
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40ec4e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x24]
push eax
push 0x491d78
push 1
push 0
push 0x4836c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40ecaa
mov dword [ebp - 0x24], 0
mov esi, dword [ebp - 0x18]
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 3
test byte [ebp - 0x14], 1
je 0x40ec8c
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp - 0xd], 0
je 0x40efa6
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x40ed1e
push 0x80004003
call fcn.00455560
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x40ec71
mov eax, dword [ebp + 8]
test eax, eax
jne 0x40ed04
xor esi, esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40ecd5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
mov eax, dword [edi]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push edi
call dword [eax + 0xc]
test eax, eax
js 0x40ec74
mov byte [ebp - 0xd], 1
jmp 0x40ec78
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x40ecbd
push 0x8007000e
call fcn.004039a0
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.SELECT__FROM_AntiSpywareProduct
call esi
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
jne 0x40ed3e
push 0x8007000e
call fcn.004039a0
push 0x491d10
mov byte [ebp - 4], 5
call esi
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x40ed5c
push 0x8007000e
call fcn.004039a0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40ed6d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push edi
mov dword [ebp - 0x1c], 0
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
test eax, eax
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
setns byte [ebp - 0xd]
call esi
push edi
call esi
cmp byte [ebp - 0xd], 0
je 0x40efa6
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
test esi, esi
je 0x40eca0
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
je 0x40edca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 1
push 0xffffffffffffffff
push esi
call dword [eax + 0x10]
test eax, eax
jne 0x40ef95
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x48], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40eca0
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push 0
push 0
push edx
push 0
push str.displayName
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x40ef2b
mov eax, 8
cmp ax, word [ebp - 0x48]
jne 0x40ef2b
push dword [ebp - 0x40]
lea ecx, [ebp - 0x14]
call fcn.00403ac0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
mov esi, dword [eax - 0xc]
test esi, esi
js 0x40ef8b
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x40ee71
push esi
lea ecx, [ebp - 0x14]
call fcn.00403880
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.004619f8
mov eax, dword [ebp - 0x14]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x40ef8b
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov word [eax + esi*2], cx
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], ecx
jl 0x40ef0f
push str.WINDOWS_DEFENDER
push eax
call fcn.0045b274
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x14]
test ecx, ecx
je 0x40ef0f
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x40ef0f
lea eax, [ebp - 0x38]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x38], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40eca0
mov ecx, dword [eax]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
push 0
push str.productState
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x40ef06
cmp dword [ebp - 0x30], 0x60100
jne 0x40ef48
cmp dword [ebp - 0x2c], 0
jne 0x40ef48
lea eax, [ebp - 0x38]
push eax
call edi
mov eax, dword [ebp - 0x14]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 8
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ef2b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 7
push eax
call edi
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x40eca0
mov eax, dword [ebp - 0x18]
jmp 0x40edc0
lea eax, [ebp - 0x38]
push eax
call edi
mov byte [ebp - 4], 8
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ef6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x48]
push eax
call edi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40ef84
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 1
jmp 0x40efa8
push 0x80070057
call fcn.004039a0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40efa6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40efb9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40efca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x40efdb
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x40effd
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret