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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493a28
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4e3ec8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [sym.imp.ole32.dll_CoUninitialize]
call ebx
xor edi, edi
push edi
push edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x41c7a8
lea eax, [ebp - 0x14]
push eax
push 0x4ca760
push 1
push edi
push 0x4ca830
mov dword [ebp - 0x14], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x41c7a8
push str.ROOTCIMV2
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], edi
call fcn.004135a0
mov eax, dword [eax]
mov dword [ebp - 4], edi
cmp eax, edi
je 0x41c74d
mov ecx, dword [eax]
jmp 0x41c74f
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
lea esi, [ebp - 0x10]
push esi
push edi
push edi
push edi
push edi
push edi
push edi
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebp - 0x30]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040f160
cmp esi, edi
jl 0x41c79d
mov eax, dword [ebp - 0x10]
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, edi
jge 0x41c7e8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call ebx
mov ecx, dword [ebp + 8]
push str.PID123
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov ecx, dword [ebp + 0xc]
push str.MID123
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov ecx, dword [ebp + 0x10]
push str.HID123
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push str.SELECT__FROM__Win32_Processor
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x18], edi
call fcn.0041ae40
mov esi, eax
push 0x4b4c08
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 1
call fcn.0041ae40
mov ecx, dword [esi]
mov byte [ebp - 4], 2
cmp ecx, edi
je 0x41c81c
mov ecx, dword [ecx]
jmp 0x41c81e
xor ecx, ecx
mov eax, dword [eax]
cmp eax, edi
je 0x41c828
mov edx, dword [eax]
jmp 0x41c82a
xor edx, edx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
lea ebx, [ebp - 0x18]
push ebx
push edi
push 0x30
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
call eax
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.0040f160
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f160
cmp esi, edi
jge 0x41c87c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x41c7aa
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x20], edi
cmp eax, edi
je 0x41c8f8
nop
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x24]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x20], edi
je 0x41c8f8
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x44]
push edx
push edi
push str.ProcessorId
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp word [ebp - 0x44], 8
jne 0x41c8d3
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0048f5a0
push eax
jmp 0x41c8d8
push str.PID123
mov ecx, esi
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea edx, [ebp - 0x44]
push edx
call ebx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
cmp eax, edi
jne 0x41c890
push str.SELECT__FROM__Win32_BaseBoard
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], edi
call fcn.0041ae40
mov esi, eax
push 0x4b4c08
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 3
call fcn.0041ae40
mov ecx, dword [esi]
mov byte [ebp - 4], 4
cmp ecx, edi
je 0x41c92c
mov ecx, dword [ecx]
jmp 0x41c92e
xor ecx, ecx
mov eax, dword [eax]
cmp eax, edi
je 0x41c938
mov edx, dword [eax]
jmp 0x41c93a
xor edx, edx
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
lea ebx, [ebp - 0x1c]
push ebx
push edi
push 0x30
push ecx
push edx
push eax
mov eax, dword [esi + 0x50]
call eax
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.0040f160
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f160
cmp esi, edi
jl 0x41c85b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], edi
cmp eax, edi
je 0x41c9ea
mov ebx, dword [ebp + 0xc]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x2c]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x28], edi
je 0x41c9ea
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
push edi
push edi
lea edx, [ebp - 0x54]
push edx
push edi
push 0x4b4bb4
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp word [ebp - 0x54], 8
jne 0x41c9c5
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0048f5a0
push eax
jmp 0x41c9ca
push str.MID123
mov ecx, ebx
call dword [sym.imp.mfc100.dll_Ordinal_1316]
lea edx, [ebp - 0x54]
push edx
call esi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x41c982
mov ecx, dword [ebp + 0x10]
push str.HID123
call dword [sym.imp.mfc100.dll_Ordinal_1316]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
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 esp, ebp
pop ebp
ret 0xc