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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x15a0
call fcn.004f18a0
mov eax, dword [0x5322a8]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x3c
xor ebx, ebx
lea edx, [ebp - 0x1548]
push ebx
push edx
mov dword [ebp - 0x1564], eax
mov dword [ebp - 0x1568], ecx
call fcn.004e7d90
add esp, 0xc
push 0x528230
push str.Kernel32.dll
mov dword [ebp - 0x154c], 0x40
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4c2f24
lea ecx, [ebp - 0x154c]
push ecx
call eax
push 0x1fe
lea eax, [ebp - 0x30a]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x30c], dx
call fcn.004e7d90
mov ecx, dword [ebp - 0x153c]
mov edx, dword [ebp - 0x1538]
mov eax, dword [ebp - 0x1544]
add ecx, 0xfffff
adc edx, ebx
shrd ecx, edx, 0x14
push ecx
mov ecx, dword [ebp - 0x1540]
shr edx, 0x14
add eax, 0xfffff
adc ecx, ebx
shrd eax, ecx, 0x14
push eax
lea edx, [ebp - 0x30c]
push str.___ld_MB_Available:__t_ld_MB
push edx
shr ecx, 0x14
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp - 0x1568]
mov ebx, dword [ebp - 0x1564]
push 0xcf
lea edi, [ebp - 0x30c]
call fcn.004c0b90
add esp, 0x20
xor ebx, ebx
push 0x528230
push str.Kernel32.dll
mov dword [ebp - 0x154c], 0x40
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4c2fdb
lea ecx, [ebp - 0x154c]
push ecx
call eax
push 0x1fe
lea eax, [ebp - 0x30a]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x30c], dx
call fcn.004e7d90
mov ecx, dword [ebp - 0x151c]
mov edx, dword [ebp - 0x1518]
mov eax, dword [ebp - 0x1524]
add ecx, 0xfffff
adc edx, ebx
shrd ecx, edx, 0x14
push ecx
mov ecx, dword [ebp - 0x1520]
shr edx, 0x14
add eax, 0xfffff
adc ecx, ebx
shrd eax, ecx, 0x14
push eax
lea edx, [ebp - 0x30c]
push str._ld_MB_Available:__t_ld_MB
push edx
shr ecx, 0x14
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp - 0x1568]
mov ebx, dword [ebp - 0x1564]
push 0xd0
lea edi, [ebp - 0x30c]
call fcn.004c0b90
add esp, 0x20
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp byte [0x53b5fd], bl
je 0x4c35f4
lea eax, [ebp - 0x1550]
push eax
push 0x502118
mov edi, 1
push edi
push ebx
push 0x5021e8
mov dword [ebp - 0x1550], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4c35ee
mov eax, dword [ebp - 0x1550]
lea edx, [ebp - 0x1558]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x1558], ebx
mov ecx, dword [eax]
push 0x52619c
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x4c35e0
mov eax, dword [ebp - 0x1558]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x1558]
js 0x4c35d8
lea edx, [ebp - 0x1554]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_PhysicalMemory
mov dword [ebp - 0x1554], ebx
mov ecx, dword [eax]
push 0x526208
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
js 0x4c35d2
push 0x3fe
lea ecx, [ebp - 0x50a]
xor eax, eax
push ebx
push ecx
mov dword [ebp - 0x156c], ebx
mov dword [ebp - 0x1560], ebx
mov word [ebp - 0x50c], ax
call fcn.004e7d90
push 0x7e
lea eax, [ebp - 0x10a]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x10c], dx
call fcn.004e7d90
push 0x7fe
lea edx, [ebp - 0xd0a]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0xd0c], cx
call fcn.004e7d90
mov eax, dword [ebp - 0x1554]
add esp, 0x24
cmp eax, ebx
je 0x4c3536
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x4c3110
mov ecx, dword [eax]
lea edx, [ebp - 0x156c]
push edx
lea edx, [ebp - 0x155c]
push edx
push edi
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x156c], ebx
je 0x4c3530
mov eax, dword [ebp - 0x155c]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x157c]
push edx
push ebx
push str.MemoryType
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp word [ebp - 0x157c], di
je 0x4c342b
movsx eax, word [ebp - 0x1574]
add dword [ebp - 0x1560], edi
cmp eax, 0x15
ja case.default.0x4c3175
jmp dword [eax*4 + 0x4c3608]
xor eax, eax
mov edi, edi
movzx ecx, word [eax + str.Unknown]
add eax, 2
cmp cx, bx
jne 0x4c3180
jmp 0x4c3422
xor eax, eax
jmp 0x4c31a0
movzx ecx, word [eax + str.Other]
add eax, 2
cmp cx, bx
jne 0x4c31a0
jmp 0x4c3422
xor eax, eax
jmp 0x4c31c0
movzx ecx, word [eax + str.DRAM]
add eax, 2
cmp cx, bx
jne 0x4c31c0
jmp 0x4c3422
xor eax, eax
jmp 0x4c31e0
movzx ecx, word [eax + str.Synchronous_DRAM]
add eax, 2
cmp cx, bx
jne 0x4c31e0
jmp 0x4c3422
xor eax, eax
jmp 0x4c3200
movzx ecx, word [eax + str.Cache_DRAM]
add eax, 2
cmp cx, bx
jne 0x4c3200
jmp 0x4c3422
xor eax, eax
jmp 0x4c3220
movzx ecx, word [eax + 0x528370]
add eax, 2
cmp cx, bx
jne 0x4c3220
jmp 0x4c3422
xor eax, eax
jmp 0x4c3240
movzx ecx, word [eax + str.EDRAM]
add eax, 2
cmp cx, bx
jne 0x4c3240
jmp 0x4c3422
xor eax, eax
jmp 0x4c3260
movzx ecx, word [eax + str.VRAM]
add eax, 2
cmp cx, bx
jne 0x4c3260
jmp 0x4c3422
xor eax, eax
jmp 0x4c3280
movzx ecx, word [eax + str.SRAM]
add eax, 2
cmp cx, bx
jne 0x4c3280
jmp 0x4c3422
xor eax, eax
jmp 0x4c32a0
movzx ecx, word [eax + 0x52839c]
add eax, 2
cmp cx, bx
jne 0x4c32a0
jmp 0x4c3422
xor eax, eax
jmp 0x4c32c0
movzx ecx, word [eax + 0x5283a4]
add eax, 2
cmp cx, bx
jne 0x4c32c0
jmp 0x4c3422
xor eax, eax
jmp 0x4c32e0
movzx ecx, word [eax + str.Flash]
add eax, 2
cmp cx, bx
jne 0x4c32e0
jmp 0x4c3422
xor eax, eax
jmp 0x4c3300
movzx ecx, word [eax + str.EEPROM]
add eax, 2
cmp cx, bx
jne 0x4c3300
jmp 0x4c3422
xor eax, eax
jmp 0x4c3320
movzx ecx, word [eax + str.FEPROM]
add eax, 2
cmp cx, bx
jne 0x4c3320
jmp 0x4c3422
xor eax, eax
jmp 0x4c3340
movzx ecx, word [eax + str.EPROM]
add eax, 2
cmp cx, bx
jne 0x4c3340
jmp 0x4c3422
xor eax, eax
jmp 0x4c3360
movzx ecx, word [eax + str.CDRAM]
add eax, 2
cmp cx, bx
jne 0x4c3360
jmp 0x4c3422
xor eax, eax
jmp 0x4c3380
movzx ecx, word [eax + str.3DRAM]
add eax, 2
cmp cx, bx
jne 0x4c3380
jmp 0x4c3422
xor eax, eax
jmp 0x4c33a0
movzx ecx, word [eax + str.SDRAM]
add eax, 2
cmp cx, bx
jne 0x4c33a0
jmp 0x4c3422
xor eax, eax
movzx ecx, word [eax + str.SGRAM]
add eax, 2
cmp cx, bx
jne 0x4c33b3
jmp 0x4c3422
xor eax, eax
jmp 0x4c33d0
movzx ecx, word [eax + str.RDRAM]
add eax, 2
cmp cx, bx
jne 0x4c33d0
jmp 0x4c3422
xor eax, eax
movzx ecx, word [eax + 0x528420]
add eax, 2
cmp cx, bx
jne 0x4c33e3
jmp 0x4c3422
xor eax, eax
jmp 0x4c3400
movzx ecx, word [eax + str.DDR_2]
add eax, 2
cmp cx, bx
jne 0x4c3400
jmp 0x4c3422
xor eax, eax
movzx ecx, word [eax + str.Unknown]
add eax, 2
cmp cx, bx
jne 0x4c3413
lea ecx, [ebp - 0x157c]
push ecx
call esi
mov eax, dword [ebp - 0x155c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [ebp - 0x158c]
push ecx
push ebx
push str.DeviceLocator
push eax
call edx
cmp word [ebp - 0x158c], di
je 0x4c346f
mov eax, dword [ebp - 0x1584]
lea edx, [ebp - 0x10c]
sub edx, eax
nop
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
cmp cx, bx
jne 0x4c3460
lea eax, [ebp - 0x158c]
push eax
call esi
mov eax, dword [ebp - 0x155c]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x159c]
push edx
push ebx
push str.Capacity
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp word [ebp - 0x159c], di
je 0x4c3517
mov ecx, dword [ebp - 0x1594]
push ecx
call fcn.004e4435
shrd eax, edx, 0x14
shr edx, 0x14
push edx
push eax
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x50c]
push str._s:_uM__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x50c]
add esp, 0x18
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4c34d7
lea edi, [ebp - 0xd0c]
sub eax, edx
add edi, 0xfffffffe
lea ecx, [ecx]
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4c34f0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, 1
lea ecx, [ebp - 0x159c]
push ecx
call esi
mov eax, dword [ebp - 0x1554]
cmp eax, ebx
jne 0x4c3110
jmp 0x4c3536
mov eax, dword [ebp - 0x1554]
mov ecx, dword [ebp - 0x155c]
cmp ecx, ebx
je 0x4c354e
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push ecx
call eax
mov eax, dword [ebp - 0x1554]
cmp dword [ebp - 0x1560], ebx
jle 0x4c35ca
lea ecx, [ebp - 0xd0c]
push 0x2c
push ecx
call fcn.004e4991
xor edx, edx
push 0x7fe
mov word [eax - 2], dx
lea ecx, [ebp - 0x150a]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x150c], ax
call fcn.004e7d90
mov eax, dword [ebp - 0x1560]
lea edx, [ebp - 0xd0c]
push edx
push eax
lea ecx, [ebp - 0x150c]
push str._u__s_
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp - 0x1568]
mov ebx, dword [ebp - 0x1564]
push 0xf6
lea edi, [ebp - 0x150c]
call fcn.004c0b90
mov eax, dword [ebp - 0x1554]
add esp, 0x28
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x1558]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x1550]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3946
mov esp, ebp
pop ebp
ret