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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x158], ecx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp byte [0x568461], bl
je 0x4c9af5
lea edx, [ebp - 0x134]
push edx
push 0x5020f8
mov edi, 1
push edi
push ebx
push 0x5021c8
mov dword [ebp - 0x134], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4c9aef
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x130], ebx
mov ecx, dword [eax]
push str.ROOTSecurityCenter2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jns 0x4c980c
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax]
lea edx, [ebp - 0x130]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.ROOTSecurityCenter
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jns 0x4c980c
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax]
lea edx, [ebp - 0x130]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.ROOTSecurityCenter3
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x4c9ae1
mov eax, dword [ebp - 0x130]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x130]
js 0x4c9ad9
lea edx, [ebp - 0x138]
push edx
push ebx
push 0x30
push str.SELECT__FROM_AntiVirusProduct
mov dword [ebp - 0x138], ebx
mov ecx, dword [eax]
push 0x52550c
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
js 0x4c9ad3
push 0x400
mov dword [ebp - 0x154], ebx
call fcn.004e5420
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x138]
add esp, 4
cmp eax, ebx
je 0x4c9ab6
jmp 0x4c9895
mov edi, 1
mov ecx, dword [eax]
lea edx, [ebp - 0x154]
push edx
lea edx, [ebp - 0x13c]
push edx
push edi
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x154], ebx
je 0x4c9ab6
push 0x7e
lea edx, [ebp - 0xaa]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0xac], cx
call fcn.004e8ba0
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax]
add esp, 0xc
push ebx
push ebx
lea edx, [ebp - 0x14c]
push edx
push ebx
push str.DisplayName
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4c9930
cmp word [ebp - 0x14c], di
je 0x4c9930
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0xac]
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x4c9910
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x14c]
push ecx
call esi
jmp 0x4c9936
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x7e
lea eax, [ebp - 0x12a]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x12c], dx
call fcn.004e8ba0
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax]
add esp, 0xc
push ebx
push ebx
lea edx, [ebp - 0x14c]
push edx
push ebx
push str.VersionNumber
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4c99a8
cmp word [ebp - 0x14c], di
je 0x4c99a8
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x12c]
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x4c9990
lea ecx, [ebp - 0x14c]
push ecx
call esi
mov eax, dword [ebp - 0x13c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [ebp - 0x14c]
push ecx
push ebx
push str.onAccessScanningEnabled
push eax
mov edi, 0x30
call edx
test eax, eax
jne 0x4c99ef
cmp word [ebp - 0x14c], 1
je 0x4c99ef
cmp word [ebp - 0x144], bx
je 0x4c99e4
lea edi, [eax + 0x31]
lea eax, [ebp - 0x14c]
push eax
call esi
jmp 0x4c9a56
mov eax, dword [ebp - 0x13c]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x14c]
push edx
push ebx
push str.productState
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4c9a56
cmp word [ebp - 0x14c], 1
je 0x4c9a56
mov edx, dword [ebp - 0x144]
push edx
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x28]
xor ecx, ecx
push str._06x
push eax
mov word [ebp - 0x28], cx
call dword [sym.imp.USER32.dll_wsprintfW]
mov di, word [ebp - 0x24]
add esp, 0xc
lea eax, [ebp - 0xac]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4c9a60
sub eax, edx
sar eax, 1
je 0x4c9aa8
cmp di, 0x31
jne 0x4c9aa8
mov esi, dword [ebp - 0x158]
mov ebx, dword [ebp - 0x150]
push 0x106
lea edi, [ebp - 0xac]
call fcn.004c2ef0
push 0x107
lea edi, [ebp - 0x12c]
call fcn.004c2ef0
add esp, 8
xor ebx, ebx
mov eax, dword [ebp - 0x138]
cmp eax, ebx
jne 0x4c9890
mov ecx, dword [ebp - 0x15c]
push ecx
call fcn.004e577a
mov eax, dword [ebp - 0x138]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e4746
mov esp, ebp
pop ebp
ret