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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020770
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10029080]
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
lea eax, [ebp - 0x30]
push eax
push 0x10024cfc
xor ebx, ebx
push 1
push ebx
mov esi, ecx
mov dword [ebp - 0x3c], ebx
push 0x10024dcc
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x1000b0d7
mov dword [ebp - 0x34], ebx
lea ebx, [ebp - 0x44]
call fcn.1000acf0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x1000b041
mov ecx, dword [eax]
jmp 0x1000b043
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
lea edi, [ebp - 0x34]
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, ebx
je 0x1000b0a4
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x1000b0a4
cmp edi, ebx
je 0x1000b0a4
mov eax, dword [edi]
cmp eax, ebx
je 0x1000b08b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x1000b09b
push eax
call fcn.1000c6fb
add esp, 4
push edi
call fcn.1000c6fb
add esp, 4
cmp dword [ebp - 0x3c], ebx
jl 0x1000b0cc
mov eax, dword [ebp - 0x34]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x1000b0f7
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x10025269
mov ecx, esi
mov byte [esi], bl
call fcn.10001240
mov eax, esi
jmp 0x1000b2d2
mov dword [ebp - 0x38], ebx
push str.SELECT__FROM_Win32_ComputerSystemProduct
lea ebx, [ebp - 0x44]
call fcn.10001bf0
mov edi, eax
push 0x10025818
lea ebx, [ebp - 0x3c]
mov dword [ebp - 4], 1
call fcn.10001bf0
mov byte [ebp - 4], 2
mov ecx, dword [edi]
test ecx, ecx
je 0x1000b12b
mov ecx, dword [ecx]
jmp 0x1000b12d
xor ecx, ecx
mov eax, dword [eax]
test eax, eax
je 0x1000b137
mov edx, dword [eax]
jmp 0x1000b139
xor edx, edx
mov eax, dword [ebp - 0x34]
mov edi, dword [eax]
lea ebx, [ebp - 0x38]
push ebx
push 0
push 0x30
push ecx
push edx
push eax
mov eax, dword [edi + 0x50]
call eax
lea edi, [ebp - 0x3c]
mov ebx, eax
call fcn.10001c80
lea edi, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.10001c80
xor edi, edi
cmp ebx, edi
jge 0x1000b196
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push 0x10025269
mov ecx, esi
call fcn.100011d0
mov eax, esi
jmp 0x1000b2d2
push 0x10025269
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x48], edi
call fcn.100011d0
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x38]
cmp eax, edi
je 0x1000b294
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x40]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x48], 0
je 0x1000b291
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
push 0
push 0
lea edx, [ebp - 0x60]
push edx
push 0
push 0x1002581c
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
js 0x1000b27b
mov ax, word [ebp - 0x60]
cmp ax, 1
je 0x1000b262
test ax, ax
je 0x1000b262
mov ecx, dword [ebp - 0x58]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0
push 0
call esi
mov ebx, eax
push ebx
call fcn.1000c8ae
mov edx, dword [ebp - 0x58]
add esp, 4
push 0
push 0
push ebx
mov edi, eax
push edi
push 0xffffffffffffffff
push edx
push 0
push 0
call esi
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000b244
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.10001240
push edi
call fcn.1000d3fa
add esp, 4
jmp 0x1000b271
push 0
push 0x10025269
lea ecx, [ebp - 0x2c]
call fcn.10001240
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x1000b1c1
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea edi, [ebp - 0x2c]
call fcn.10004320
cmp dword [ebp - 0x18], 0x10
jb 0x1000b2cf
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1000c6fb
add esp, 4
mov eax, dword [ebp - 0x4c]
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.1000badd
mov esp, ebp
pop ebp
ret