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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x10], ebx
push edi
lea esi, [esp + 0xf]
mov word [eax], bx
call fcn.0040c15b
lea eax, [esp + 0x10]
push eax
push 0x46b428
xor esi, esi
inc esi
push esi
push ebx
push 0x46b438
mov dword [esp + 0x24], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [esp + 0x10], ebx
je 0x40c99c
mov dword [esp + 0x18], ebx
call fcn.00401182
test al, al
je 0x40c7cd
mov dword [esp + 0x14], esi
push 0x46b448
lea edi, [esp + 0x28]
jmp 0x40c7de
mov dword [esp + 0x14], 2
push str.ROOTSecurityCenter
lea edi, [esp + 0x24]
call fcn.0040c625
mov eax, dword [eax]
cmp eax, ebx
je 0x40c7ed
mov ecx, dword [eax]
jmp 0x40c7ef
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
lea esi, [esp + 0x18]
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
call dword [edx + 0xc]
test byte [esp + 0x14], 2
mov esi, eax
je 0x40c81c
and dword [esp + 0x14], 0xfffffffd
lea edi, [esp + 0x20]
call fcn.0040c6c7
test byte [esp + 0x14], 1
je 0x40c82c
lea edi, [esp + 0x24]
call fcn.0040c6c7
cmp esi, ebx
jl 0x40c98e
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [esp + 0x34]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x40c855
mov eax, dword [esp + 0x18]
jmp 0x40c988
push str.SELECT__FROM_AntiVirusProduct
lea edi, [esp + 0x24]
mov dword [esp + 0x20], ebx
call fcn.0040c5e6
mov eax, dword [eax]
cmp eax, ebx
je 0x40c871
mov esi, dword [eax]
jmp 0x40c873
xor esi, esi
push 0x46b4bc
lea edi, [esp + 0x28]
call fcn.0040c5e6
mov eax, dword [eax]
cmp eax, ebx
je 0x40c88b
mov ecx, dword [eax]
jmp 0x40c88d
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea edi, [esp + 0x1c]
push edi
push ebx
push 0x30
push esi
push ecx
push eax
call dword [edx + 0x50]
lea edi, [esp + 0x24]
mov esi, eax
call fcn.0040c6c7
lea edi, [esp + 0x20]
call fcn.0040c6c7
cmp esi, ebx
jl 0x40c84c
cmp dword [esp + 0x1c], ebx
je 0x40c976
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
push ecx
push 1
push 0xffffffffffffffff
push dword [esp + 0x2c]
mov dword [esp + 0x34], ebx
mov eax, dword [eax]
call dword [eax + 0x10]
cmp dword [esp + 0x20], ebx
je 0x40c976
call fcn.00401182
test al, al
je 0x40c92f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x30]
push edx
push ebx
push 0x46b4c0
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x40c928
test word [esp + 0x30], 0x1000
jne 0x40c928
lea eax, [esp + 0x28]
push eax
call edi
jmp 0x40c96c
lea eax, [esp + 0x28]
push eax
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [esp + 0x30]
push edx
push ebx
push str.displayName
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x40c95b
mov edx, dword [esp + 0x30]
mov esi, dword [ebp + 8]
push 0x104
call fcn.00417e96
lea eax, [esp + 0x28]
push eax
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x1c], ebx
jne 0x40c8c9
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40c98e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x40c99c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [esp + 0xf], bl
je 0x40c9a8
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4