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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050268
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10068274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xcc], 0
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 dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push 0x100581e0
push 1
push 0
push 0x100581d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x10019a6f
push 0x10052178
push 0x10052188
push 0x10069cd8
call fcn.10007790
add esp, 8
push eax
call fcn.10007790
add esp, 8
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x100199fe
mov dword [ebp - 0x54], 0
jmp 0x10019a0c
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x44]
add eax, dword [edx + 4]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xc4], edx
mov eax, 0xe00
not eax
and eax, dword [ebp - 0xc4]
mov ecx, 0x800
and ecx, 0xe00
and ecx, 0xffff
or eax, ecx
mov edx, dword [ebp - 0x54]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.10018420
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.10008580
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x1001a06a
mov dword [ebp - 0x34], 0
push 0x100521b0
lea ecx, [ebp - 0x58]
call fcn.10018320
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x94], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x94]
cmp dword [eax], 0
je 0x10019ab6
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x80], eax
jmp 0x10019abd
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x58], 0
je 0x10019afe
mov ecx, dword [ebp - 0x58]
call fcn.1001af50
mov dword [ebp - 0x58], 0
cmp dword [ebp - 0x2c], 0
jge 0x10019bab
push 0x100521c8
push 0x10069cd8
call fcn.10007790
add esp, 8
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x10019b2c
mov dword [ebp - 0x5c], 0
jmp 0x10019b3a
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x48]
add eax, dword [edx + 4]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xa0], edx
mov eax, 0xe00
not eax
and eax, dword [ebp - 0xa0]
mov ecx, 0x800
and ecx, 0xe00
and ecx, 0xffff
or eax, ecx
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.10018420
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.10008580
add esp, 4
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x1001a06a
push 0x100521ec
push 0x10069cd8
call fcn.10007790
add esp, 8
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
push eax
call fcn.10008580
add esp, 4
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x10019ca8
push 0x10052214
push 0x10069cd8
call fcn.10007790
add esp, 8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x10019c1b
mov dword [ebp - 0x60], 0
jmp 0x10019c29
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
add ecx, dword [eax + 4]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0xac], eax
mov ecx, 0xe00
not ecx
and ecx, dword [ebp - 0xac]
mov edx, 0x800
and edx, 0xe00
and edx, 0xffff
or ecx, edx
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.10018420
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
push edx
call fcn.10008580
add esp, 4
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x1001a06a
mov dword [ebp - 0x3c], 0
push str.SELECT__FROM_Win32_Processor
lea ecx, [ebp - 0x68]
call fcn.10018270
mov dword [ebp - 0xb4], eax
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x98], edx
mov dword [ebp - 4], 1
push 0x10052264
lea ecx, [ebp - 0x64]
call fcn.10018270
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x98]
cmp dword [ecx], 0
je 0x10019d15
mov edx, dword [ebp - 0x98]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x88], ecx
jmp 0x10019d1f
mov dword [ebp - 0x88], 0
mov edx, dword [ebp - 0x84]
cmp dword [edx], 0
je 0x10019d3c
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x8c], edx
jmp 0x10019d46
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x30
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x64], 0
je 0x10019d86
mov ecx, dword [ebp - 0x64]
call fcn.1001af50
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x68], 0
je 0x10019da2
mov ecx, dword [ebp - 0x68]
call fcn.1001af50
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x2c], 0
jge 0x10019e6b
push 0x10052268
push 0x1005227c
push 0x10069cd8
call fcn.10007790
add esp, 8
push eax
call fcn.10007790
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x10019dde
mov dword [ebp - 0x6c], 0
jmp 0x10019dec
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x50]
add eax, dword [edx + 4]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xbc], edx
mov eax, 0xe00
not eax
and eax, dword [ebp - 0xbc]
mov ecx, 0x800
and ecx, 0xe00
and ecx, 0xffff
or eax, ecx
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.10018420
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
push ecx
call fcn.10008580
add esp, 4
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ecx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x1001a06a
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x90], 0
cmp dword [ebp - 0x3c], 0
je 0x1001a040
lea ecx, [ebp - 0x90]
push ecx
lea edx, [ebp - 0x28]
push edx
push 1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x90], 0
jne 0x10019eb4
jmp 0x1001a040
mov dword [ebp - 0x38], 0
push 0
push 0
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0x100522a4
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x40], eax
movzx eax, word [ebp - 0x7c]
cmp eax, 8
jne 0x10019f01
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.100315a0
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
push edx
push 0x10069658
call fcn.1003a110
add esp, 8
push 0
push 0
lea eax, [ebp - 0x7c]
push eax
push 0
push str.UniqueId
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x40], eax
movzx edx, word [ebp - 0x7c]
cmp edx, 8
jne 0x10019f47
mov eax, dword [ebp - 0x74]
push eax
call fcn.100315a0
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
push 0x10069658
call fcn.1003a110
add esp, 8
push 0
push 0
lea edx, [ebp - 0x7c]
push edx
push 0
push str.ProcessorId
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x40], eax
movzx ecx, word [ebp - 0x7c]
cmp ecx, 8
jne 0x10019f8d
mov edx, dword [ebp - 0x74]
push edx
call fcn.100315a0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
push eax
push 0x10069658
call fcn.1003a110
add esp, 8
push 0
push 0
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0x100522dc
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x40], eax
movzx eax, word [ebp - 0x7c]
cmp eax, 8
jne 0x10019fd3
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.100315a0
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
push edx
push 0x10069658
call fcn.1003a110
add esp, 8
push 0
push 0
lea eax, [ebp - 0x7c]
push eax
push 0
push str.MaxClockSpeed
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x40], eax
movzx edx, word [ebp - 0x7c]
cmp edx, 3
jne 0x1001a023
movsx eax, word [ebp - 0x74]
push eax
push 0x10052314
lea ecx, [ebp - 0x24]
push ecx
call fcn.10010af0
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
push 0x10069658
call fcn.1003a110
add esp, 8
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x10019e7c
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [edx + 8]
call ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10030913
mov esp, ebp
pop ebp
ret