Function at 0x42fab9
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0x20
mov eax, 0x4c8fc2
call fcn.0044d75c
push 0x4d02f4
lea ecx, [ebp - 0x20]
call fcn.0041217e
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4d2c9c
push 0x17
push ebx
push 0x4dabc4
mov byte [ebp - 4], 4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x42fb5a
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x42fb13
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x42fb24
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x42fb35
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x42fb45
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040f083
xor eax, eax
xor edx, edx
call fcn.0044d834
ret
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x42fb02
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jl 0x42fb02
mov esi, dword [ebp - 0x18]
push str.SELECT_Capacity_Speed_MemoryType_From_Win32_PhysicalMemory
lea ecx, [ebp - 0x2c]
call fcn.00424b07
mov edi, eax
push 0x4d4a24
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00424b07
mov ecx, dword [edi]
mov byte [ebp - 4], 6
cmp ecx, ebx
je 0x42fbc2
mov ecx, dword [ecx]
jmp 0x42fbc4
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x42fbce
mov eax, dword [eax]
jmp 0x42fbd0
xor eax, eax
mov edx, dword [esi]
lea edi, [ebp - 0x14]
push edi
push ebx
push 0x30
push ecx
push eax
push esi
call dword [edx + 0x50]
mov ecx, dword [ebp - 0x24]
mov esi, eax
cmp ecx, ebx
je 0x42fbf0
call fcn.0042570b
mov dword [ebp - 0x24], ebx
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp ecx, ebx
je 0x42fc00
call fcn.0042570b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, ebx
jge 0x42fc63
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x42fc1b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x42fc2c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x42fc3d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x42fc4d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor esi, esi
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040f083
mov eax, esi
mov edx, ebx
jmp 0x42fb54
xor esi, esi
mov dword [ebp - 0x28], ebx
xor edi, edi
jmp 0x42fcbd
cmp dword [ebp - 0x10], ebx
je 0x42fc7b
push ebx
lea eax, [ebp - 0x10]
push eax
call fcn.004236ba
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x10]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x28], ebx
je 0x42fcc2
push str.Capacity
push ecx
mov ecx, dword [ebp - 0x10]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], esp
cmp eax, ebx
je 0x42fcb2
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
call fcn.00424b72
pop ecx
add esi, eax
pop ecx
adc edi, edx
cmp dword [ebp - 0x14], ebx
jne 0x42fc6c
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x42fcd3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x42fce4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x42fcf5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x42fd05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, edi
jmp 0x42fc4f