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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024f531
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0xb0]
mov edi, ecx
push 0
push eax
xor bl, bl
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x100d541a
cmp eax, 0x80010119
jne 0x100d56de
lea eax, [ebp - 0x18]
push eax
push 0x10255b80
push 1
push 0
push 0x10255c50
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100d56de
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100d56de
mov eax, dword [eax]
push 0xc
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
call fcn.1006e6a7
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x100d548c
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x100d571e
jmp 0x100d548e
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x20], esi
test esi, esi
je 0x100d5728
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi]
push dword [ebp - 0x18]
call dword [ebp - 0x1c]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.100466e0
test esi, esi
js 0x100d56de
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100d56de
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x100d56de
mov eax, dword [ebp - 0x14]
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x1c], eax
call fcn.1006e6a7
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x100d5541
push str.SELECT__FROM_Win32_PhysicalMemory
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.1006f6c0
mov dword [esi], eax
jmp 0x100d5543
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], esi
test esi, esi
je 0x100d5732
mov dword [ebp - 4], 3
mov eax, dword [esi]
push 0xc
mov dword [ebp - 0x20], eax
call fcn.1006e6a7
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x100d5594
push 0x1026927c
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.1006f6c0
mov dword [esi], eax
jmp 0x100d5596
xor esi, esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], esi
test esi, esi
je 0x100d573c
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
push 0
push 0x30
push dword [ebp - 0x20]
push dword [esi]
push dword [ebp - 0x14]
call dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.100466e0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.100466e0
test esi, esi
js 0x100d56de
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], 0
test ecx, ecx
je 0x100d56da
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ecx]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x2c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x28], 0
je 0x100d56d7
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x100d56c8
mov eax, dword [ecx]
lea edx, [ebp - 0x70]
push 0
push 0
push edx
push 0
push 0x10269280
push ecx
call dword [eax + 0x10]
push dword [ebp - 0x68]
lea eax, [ebp - 0xb0]
push eax
call esi
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x34], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100d5663
sub eax, edx
lea ecx, [ebp - 0x48]
sar eax, 1
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.1001a600
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0x60]
call fcn.1001a380
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.1001a5a0
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push 0
cmovae eax, dword [ebp - 0x60]
push eax
call sym.WMCommon.dll_public:_static_unsigned_long_long_unsigned___int64____cdecl_WM::GMStringUtils::ConvertStringToUInt64_wchar_t_const___wchar_t_const___
add esp, 8
lea ecx, [ebp - 0x60]
add dword [edi + 0x40], eax
adc dword [edi + 0x44], edx
call fcn.1001a5a0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x100d55f5
mov bl, 1
jmp 0x100d56e1
mov ecx, dword [ebp - 0x10]
mov bl, 1
jmp 0x100d56e1
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100d56eb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x100d56f8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100d5705
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.1006f600
push 0x8007000e
call fcn.1006f600
push 0x8007000e
call fcn.1006f600
push 0x8007000e
call fcn.1006f600
int3