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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x42a6dc]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x228], 0
mov eax, dword [0x4271a4]
movq xmm0, qword [str.SELECT__FROM]
push ebx
mov dword [ebp - 0x204], eax
mov ax, word [0x4271a8]
push esi
push edi
mov word [ebp - 0x200], ax
mov al, byte [0x4271aa]
push 0x1f1
mov byte [ebp - 0x1fe], al
lea eax, [ebp - 0x1fd]
push 0
push eax
mov ebx, ecx
movq qword [ebp - 0x20c], xmm0
call fcn.0040cf60
push str.AntiVirusProduct
lea eax, [ebp - 0x20c]
push 0x200
push eax
call fcn.00409841
add esp, 0x18
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4073db
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]
lea eax, [ebp - 0x210]
push eax
push 0x421364
push 1
push 0
push 0x421434
mov dword [ebp - 0x210], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4073d5
push str.rootSecurityCenter2
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x214], 0
call fcn.00406660
mov eax, dword [eax]
test eax, eax
je 0x40736c
mov edx, dword [eax]
jmp 0x40736e
xor edx, edx
mov eax, dword [ebp - 0x210]
lea esi, [ebp - 0x214]
mov ecx, dword [eax]
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x21c]
mov esi, eax
call fcn.004066c0
test esi, esi
js 0x4073c9
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x214]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4073f1
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004082bf
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x218], 0
call fcn.00406610
mov eax, dword [eax]
test eax, eax
je 0x407417
mov esi, dword [eax]
jmp 0x407419
xor esi, esi
push 0x4271ac
lea ecx, [ebp - 0x21c]
call fcn.00406610
mov eax, dword [eax]
test eax, eax
je 0x407433
mov edx, dword [eax]
jmp 0x407435
xor edx, edx
mov eax, dword [ebp - 0x214]
lea edi, [ebp - 0x218]
mov ecx, dword [eax]
push edi
push 0
push 0x30
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [ebp - 0x21c]
mov esi, eax
call fcn.004066c0
lea ecx, [ebp - 0x228]
call fcn.004066c0
test esi, esi
js 0x4073bd
push 0x400
push 0
push ebx
mov dword [ebp - 0x224], 0
call fcn.0040cf60
mov ecx, dword [ebp - 0x218]
add esp, 0xc
test ecx, ecx
je 0x40754c
mov eax, dword [ecx]
lea edx, [ebp - 0x224]
push edx
lea edx, [ebp - 0x220]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x224], 0
je 0x40754c
mov eax, dword [ebp - 0x220]
push 0
mov ecx, dword [eax]
push 0
lea edx, [ebp - 0x23c]
push edx
push 0
push str.displayName
push eax
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x234]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4074e4
push 0
push 0
push 0x400
push ebx
sub ecx, esi
sar ecx, 1
push ecx
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add ebx, eax
lea edi, [ebx - 1]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x407511
mov ax, word [0x426ee8]
mov word [edi], ax
lea eax, [ebp - 0x23c]
push eax
inc ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x218]
test ecx, ecx
jne 0x407496
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004082bf
mov esp, ebp
pop ebp
ret