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

Disassembly:
push 0x24
mov eax, 0x5d0d7b
call fcn.00506dc7
push 0x604300
lea ecx, [ebp - 0x30]
call fcn.00413f09
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
push eax
push 0x620018
push 0x17
push ebx
push 0x62ae6c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4899a3
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
push edx
push ebx
push ebx
mov ecx, dword [eax]
push ebx
push ebx
push ebx
push ebx
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4899a3
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]
test eax, eax
js 0x4899a3
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push str.SELECT_Capacity_Speed_MemoryType_From_Win32_PhysicalMemory
call fcn.00452fd3
mov esi, eax
push 0x6044e4
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.00452fd3
mov edx, dword [esi]
mov byte [ebp - 4], 6
test edx, edx
je 0x4898ea
mov edx, dword [edx]
jmp 0x4898ec
mov edx, ebx
mov eax, dword [eax]
test eax, eax
je 0x4898f6
mov ecx, dword [eax]
jmp 0x4898f8
mov ecx, ebx
mov eax, dword [edi]
lea esi, [ebp - 0x10]
push esi
push ebx
push 0x30
push edx
push ecx
push edi
call dword [eax + 0x50]
mov ecx, dword [ebp - 0x20]
mov esi, eax
test ecx, ecx
je 0x489918
call fcn.004cbdcf
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x489928
call fcn.004cbdcf
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
js 0x4899a3
xorps xmm0, xmm0
mov dword [ebp - 0x24], ebx
movlpd qword [ebp - 0x2c], xmm0
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
jmp 0x48999a
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x48995d
and dword [ebp - 0x14], 0
test ecx, ecx
je 0x48995d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x14]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x24], 0
je 0x4899b1
mov eax, dword [ebp - 0x14]
push str.Capacity
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x48998f
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
call fcn.004fea32
add edi, eax
pop ecx
pop ecx
adc ebx, edx
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x489945
jmp 0x4899b4
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c], xmm0
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
test eax, eax
je 0x4899c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test eax, eax
je 0x4899d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test eax, eax
je 0x4899e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4899f5
mov esi, dword [ecx]
push ecx
call dword [esi + 8]
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.00412ac4
mov eax, edi
mov edx, ebx
call fcn.00506d90
ret