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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6584dc
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x6d5ec0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
test esi, esi
jns 0x422276
push str.Failed_to_initialize_COM_library._Error_code:
push 0x6ec250
call fcn.00453340
add esp, 8
mov ecx, eax
push esi
call fcn.004462d0
push eax
call fcn.00458f90
add esp, 4
jmp 0x422607
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 esi, eax
test esi, esi
jns 0x4222bc
push str.Failed_to_initialize_security._Error_code:
push 0x6ec250
call fcn.00453340
add esp, 8
mov ecx, eax
push esi
call fcn.004462d0
push eax
call fcn.00458f90
add esp, 4
jmp 0x422601
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 0x698d2c
push 1
push 0
push 0x698d3c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x4222e8
push str.Failed_to_create_IWbemLocator_object._Error_code:
jmp 0x422299
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push 0xc
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
call fcn.0061ec07
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x422344
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push str.ROOTSecurityCenter2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x422623
jmp 0x422346
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x40], esi
test esi, esi
je 0x42262d
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi]
push dword [ebp - 0x1c]
call edi
or edi, 0xffffffff
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x4223c7
mov ecx, dword [esi]
test ecx, ecx
je 0x4223a2
push ecx
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4223b9
push eax
call fcn.0061eb16
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0061ef9d
mov eax, dword [ebp - 0x3c]
add esp, 8
test eax, eax
js 0x422414
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]
mov esi, eax
test esi, esi
jns 0x42241c
push str.Could_not_set_proxy_blanket._Error_code:
push 0x6ec250
call fcn.00453340
add esp, 8
mov ecx, eax
push esi
call fcn.004462d0
push eax
call fcn.00458f90
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
jmp 0x4225fb
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x24], 0
push str.SELECT__FROM_AntiVirusProduct
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x44], eax
call fcn.00410b00
mov dword [ebp - 4], 2
mov esi, dword [eax]
test esi, esi
je 0x42244c
mov esi, dword [esi]
jmp 0x42244e
xor esi, esi
push 0x6a63d4
lea ecx, [ebp - 0x3c]
call fcn.00410b00
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x422469
mov eax, dword [eax]
jmp 0x42246b
xor eax, eax
lea ecx, [ebp - 0x24]
push ecx
push 0
push 0x30
push esi
push eax
push dword [ebp - 0x18]
call dword [ebp - 0x44]
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
test esi, esi
je 0x4224cb
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x4224c4
test esi, esi
je 0x4224c4
mov eax, dword [esi]
test eax, eax
je 0x4224a2
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4224b9
push eax
call fcn.0061eb16
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0061ef9d
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x422516
lock xadd dword [esi + 8], edi
dec edi
jne 0x422516
test esi, esi
je 0x422516
mov eax, dword [esi]
test eax, eax
je 0x4224f4
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x42250b
push eax
call fcn.0061eb16
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0061ef9d
add esp, 8
mov esi, dword [ebp - 0x44]
test esi, esi
jns 0x422527
push str.Query_for_antivirus_products_failed._Error_code:
jmp 0x4223ed
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x4225e6
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, dword [ebp - 0x48]
nop dword [eax]
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x20]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x4225e6
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov eax, dword [ecx]
push 0
push str.displayName
push ecx
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jns 0x4225ab
push str.Failed_to_get_displayName_property._Error_code:
push 0x6ec250
call fcn.00453340
add esp, 8
mov ecx, eax
push esi
call fcn.004462d0
push eax
call fcn.00458f90
add esp, 4
jmp 0x4225d2
push dword [ebp - 0x30]
push ecx
push str.Antivirus_Product:
push ebx
call fcn.00458a50
add esp, 0xc
push eax
call fcn.00458a50
push eax
call fcn.00458cf0
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
call edi
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
jne 0x422550
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0061eb08
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.0061e580
push 0x8007000e
call fcn.0061e580
int3