Function at 0x49c250
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 esi, esi
push edi
mov dword [esp + 0x24], esi
push esi
mov word [eax], si
mov byte [esp + 0x17], 0
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, 0x80010106
je 0x49c280
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x14]
push ecx
push 0x6eb200
push 1
push esi
push 0x6eb210
mov dword [esp + 0x28], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [esp + 0x14], esi
je 0x49c4ef
mov dword [esp + 0x18], esi
call fcn.00401430
test al, al
je 0x49c2c4
lea edx, [esp + 0x24]
mov ebx, 1
push edx
mov edi, 0x6eb220
jmp 0x49c2d3
lea eax, [esp + 0x20]
mov ebx, 2
push eax
mov edi, str.ROOTSecurityCenter
call fcn.0049bfc0
mov eax, dword [eax]
cmp eax, esi
je 0x49c2e2
mov ecx, dword [eax]
jmp 0x49c2e4
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
lea edi, [esp + 0x18]
push edi
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
test bl, 2
mov edi, eax
je 0x49c31f
mov eax, dword [esp + 0x20]
and ebx, 0xfffffffd
cmp eax, esi
je 0x49c31f
mov esi, eax
call fcn.0049c140
mov dword [esp + 0x20], 0
xor esi, esi
test bl, 1
je 0x49c335
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x49c335
mov esi, eax
call fcn.0049c140
xor esi, esi
cmp edi, esi
jge 0x49c344
mov eax, dword [esp + 0x14]
cmp eax, esi
jmp 0x49c4e5
mov eax, dword [esp + 0x18]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x49c374
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, esi
jmp 0x49c4e5
push str.SELECT__FROM_AntiVirusProduct
lea edi, [esp + 0x28]
mov dword [esp + 0x20], esi
call fcn.0049bf60
mov eax, dword [eax]
cmp eax, esi
je 0x49c390
mov ebx, dword [eax]
jmp 0x49c392
xor ebx, ebx
push 0x6eb294
lea edi, [esp + 0x24]
call fcn.0049bf60
mov eax, dword [eax]
cmp eax, esi
je 0x49c3aa
mov ecx, dword [eax]
jmp 0x49c3ac
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea edi, [esp + 0x1c]
push edi
push esi
push 0x30
push ebx
push ecx
push eax
mov eax, dword [edx + 0x50]
call eax
mov esi, dword [esp + 0x20]
test esi, esi
mov edi, eax
je 0x49c3d9
call fcn.0049c140
mov dword [esp + 0x20], 0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x49c3e6
call fcn.0049c140
test edi, edi
jge 0x49c3f3
mov eax, dword [esp + 0x18]
jmp 0x49c4d7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49c4c3
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, 0x1000
lea ebx, [ebx]
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x24]
push edx
push 1
mov dword [esp + 0x30], 0
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x24], 0
je 0x49c4c3
call fcn.00401430
test al, al
je 0x49c478
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x30]
push edx
push 0
push 0x6eb298
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x49c471
test dword [esp + 0x30], ebx
jne 0x49c471
lea ecx, [esp + 0x28]
push ecx
call edi
jmp 0x49c4b7
lea edx, [esp + 0x28]
push edx
call edi
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x30]
push edx
push 0
push str.displayName
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jl 0x49c4a4
mov edx, dword [esp + 0x30]
mov esi, dword [ebp + 8]
call fcn.00497910
lea ecx, [esp + 0x28]
push ecx
call edi
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x49c410
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49c4df
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49c4ef
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [esp + 0x13], 0
je 0x49c4fc
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4