Function at 0x420c10
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aeab3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x4d500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x54], esi
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0x4c0d9c
push 1
push 0
push 0x4c0d8c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x420ccf
xor eax, eax
mov dword [esi], 0
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420cb1
sub ecx, edx
sar ecx, 1
push ecx
push 0
mov ecx, esi
call fcn.00404350
jmp 0x421019
push ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x34], 0
call fcn.0042f1b0
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x420ced
mov edx, dword [eax]
jmp 0x420cef
xor edx, edx
mov eax, dword [ebp - 0x38]
lea edi, [ebp - 0x34]
push edi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
test edi, edi
je 0x420d5e
or ecx, 0xffffffff
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x420d5e
test edi, edi
je 0x420d5e
mov eax, dword [edi]
test eax, eax
je 0x420d39
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x420d50
push eax
call fcn.0044b8b3
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0044b3bd
mov eax, dword [ebp - 0x54]
add esp, 8
test eax, eax
js 0x420d86
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x34]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x420d94
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x420ff4
push 0xc
mov dword [ebp - 0x3c], 0
call fcn.0044b027
mov edi, eax
add esp, 4
mov dword [ebp - 0x5c], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x420ddc
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push str.SELECT__FROM_Win32_OperatingSystem
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.004a60e0
mov dword [edi], eax
jmp 0x420dde
xor edi, edi
mov byte [ebp - 4], 0
mov dword [ebp - 0x5c], edi
test edi, edi
je 0x421039
push 0xc
mov byte [ebp - 4], 3
call fcn.0044b027
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x420e36
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
push 0x4c7040
mov dword [eax + 4], 0
mov dword [eax + 8], 1
call fcn.004a60e0
mov edx, dword [ebp - 0x58]
mov dword [edx], eax
jmp 0x420e3b
xor edx, edx
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x54], edx
test edx, edx
je 0x421043
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x34]
push edx
mov edx, dword [ebp - 0x58]
push 0
mov ecx, dword [eax]
push 0x30
push dword [edi]
push dword [edx]
push eax
call dword [ecx + 0x50]
mov dword [ebp - 0x54], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x58]
lock xadd dword [eax + 8], ecx
dec ecx
jne 0x420eb2
mov ecx, dword [eax]
test ecx, ecx
je 0x420e8d
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x58]
mov dword [eax], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x420ea7
push ecx
call fcn.0044b8b3
mov eax, dword [ebp - 0x58]
add esp, 4
mov dword [eax + 4], 0
push 0xc
push eax
call fcn.0044b3bd
add esp, 8
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x420ef6
mov eax, dword [edi]
test eax, eax
je 0x420ed4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x420eeb
push eax
call fcn.0044b8b3
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0044b3bd
add esp, 8
cmp dword [ebp - 0x54], 0
jl 0x420d7d
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x420fcc
nop dword [eax]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x40]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x18], 0
je 0x420fcc
cmp dword [ebp - 0x40], 0
jne 0x420f4e
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x420f20
jmp 0x420fcc
xor edi, edi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x50]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push dword [edi + 0x4c7e70]
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x420fba
cmp dword [ebp - 0x48], 0
je 0x420fba
push str.Caption
push dword [edi + 0x4c7e70]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x420fba
mov edx, dword [ebp - 0x48]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x54], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420fa0
sub ecx, dword [ebp - 0x54]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00404350
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
add edi, 8
cmp edi, 0x50
jb 0x420f50
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x420ff4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
movups xmm0, xmmword [ebp - 0x30]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044ae26
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x8007000e
call fcn.004a60c0
push 0x8007000e
call fcn.004a60c0
int3