Function at 0x451f20
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56584a
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x639ac0]
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
mov eax, dword [ebp + 8]
mov dword [ebp - 0x814], eax
mov eax, dword [ebp + 0xc]
push 0xc
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x828], 0
call fcn.004f69f2
mov edi, eax
add esp, 4
mov dword [ebp - 0x81c], edi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 4], 0
test edi, edi
je 0x451fae
push 0x5c4610
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call esi
mov dword [edi], eax
test eax, eax
je 0x452389
jmp 0x451fb0
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x844], edi
test edi, edi
je 0x452393
push 0xc
mov dword [ebp - 4], 1
call fcn.004f69f2
mov ebx, eax
add esp, 4
mov dword [ebp - 0x81c], ebx
mov byte [ebp - 4], 2
test ebx, ebx
je 0x452007
push str.SELECT__FROM_Win32_PhysicalMemory
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
call esi
mov dword [ebx], eax
test eax, eax
je 0x45239d
jmp 0x452009
xor ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x848], ebx
test ebx, ebx
je 0x4523a7
lea eax, [ebp - 0x840]
mov dword [ebp - 0x818], 0
push eax
mov dword [ebp - 0x82c], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.004ff750
mov ecx, dword [ebp - 0x814]
lea edx, [ebp - 0x828]
add esp, 0xc
mov eax, dword [ecx]
push edx
push 0
push 0x20
push dword [ebx]
push dword [edi]
push ecx
call dword [eax + 0x50]
test eax, eax
jns 0x45209a
call fcn.00455b90
test al, al
je 0x45208b
push str.WMI:_Get_WMI_info_failed__1_
call fcn.00455a00
add esp, 4
mov dword [ebp - 0x814], 0
jmp 0x4522cf
mov eax, dword [ebp - 0x828]
lea edx, [ebp - 0x82c]
push edx
lea edx, [ebp - 0x818]
mov dword [ebp - 0x81c], 0
push edx
mov ecx, dword [eax]
push 1
push 0x2710
push eax
mov dword [ebp - 0x824], 0
call dword [ecx + 0x10]
test eax, eax
js 0x4522b9
mov eax, dword [ebp - 0x820]
lea esi, [eax + 0x3e228]
add eax, 0x3e428
mov dword [ebp - 0x814], esi
mov dword [ebp - 0x820], eax
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp - 0x82c], 0
je 0x4522b9
cmp dword [ebp - 0x81c], 0x40
jge 0x4522b9
mov eax, dword [ebp - 0x818]
lea edx, [ebp - 0x840]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.MemoryType
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x4521a8
cmp word [ebp - 0x840], 3
jne 0x4521a8
mov eax, dword [ebp - 0x838]
cmp eax, 0xb
jne 0x452162
mov eax, dword [ebp - 0x818]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x45228a
mov ecx, dword [ebp - 0x820]
mov dword [ecx], eax
call fcn.00455b90
test al, al
je 0x45219b
push dword [ebp - 0x838]
push dword [ebp - 0x824]
push str.Get_RAM_info__d:_MemoryType__d
push 0x6411e0
call fcn.00432fe0
push 0x6411e0
call fcn.00455a00
add esp, 0x14
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x818]
lea edx, [ebp - 0x840]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Capacity
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x452268
cmp word [ebp - 0x840], 8
jne 0x452268
sub esp, 0x10
mov esi, esp
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x840]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x452383
lea eax, [ebp - 0x810]
push eax
call fcn.00453e00
lea eax, [ebp - 0x810]
push eax
call fcn.0052c95c
mov esi, dword [ebp - 0x814]
add esp, 0x18
mov dword [esi], eax
mov dword [esi + 4], edx
call fcn.00455b90
test al, al
je 0x45225b
lea eax, [ebp - 0x810]
push eax
push dword [esi + 4]
push dword [esi]
push dword [ebp - 0x824]
push str.Get_RAM_info__d:_Capacity__I64u___s_
push 0x6411e0
call fcn.00432fe0
push 0x6411e0
call fcn.00455a00
add esp, 0x1c
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x818]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
inc dword [ebp - 0x81c]
add dword [ebp - 0x820], 4
add esi, 8
mov dword [ebp - 0x814], esi
mov eax, dword [ebp - 0x828]
lea edx, [ebp - 0x82c]
inc dword [ebp - 0x824]
push edx
lea edx, [ebp - 0x818]
mov ecx, dword [eax]
push edx
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x452100
mov eax, dword [ebp - 0x828]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 0x814], 1
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 8], eax
dec eax
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x452326
mov eax, dword [ebx]
test eax, eax
je 0x4522fe
push eax
call ecx
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x452315
push eax
call fcn.004f69ed
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.004f6a22
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 8
lock xadd dword [edi + 8], esi
dec esi
jne 0x45235f
mov eax, dword [edi]
test eax, eax
je 0x45233d
push eax
call ecx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x452354
push eax
call fcn.004f69ed
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.004f6a22
add esp, 8
mov eax, dword [ebp - 0x814]
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.004f66cd
mov esp, ebp
pop ebp
ret 8
push eax
call fcn.004f8630
push 0x8007000e
call fcn.004f8630
push 0x8007000e
call fcn.004f8630
push 0x8007000e
call fcn.004f8630
push 0x8007000e
call fcn.004f8630
int3