Function at 0x452df0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56590b
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x639ac0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
mov dword [ebp - 0x14], 0
call fcn.004f69f2
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 4], 0
test edi, edi
je 0x452e60
push 0x5c4610
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call esi
mov dword [edi], eax
test eax, eax
je 0x45314f
jmp 0x452e62
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], edi
test edi, edi
je 0x453159
push 0xc
mov dword [ebp - 4], 1
call fcn.004f69f2
mov ebx, eax
add esp, 4
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 2
test ebx, ebx
je 0x452eb3
push str.SELECT__FROM_Win32_PageFileUsage
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
call esi
mov dword [ebx], eax
test eax, eax
je 0x453163
jmp 0x452eb5
xor ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x45316d
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x10], 0
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp + 0xc]
push 0x80c
add eax, 0x640
mov byte [ebp - 4], 4
push 0
push eax
mov dword [ebp - 0x20], eax
call fcn.004ff750
add esp, 0xc
call fcn.00455b90
test al, al
je 0x452f11
push str.WMI:_Get_Virtual_memory_details__1_
call fcn.00455a00
add esp, 4
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push 0
push 0x20
push dword [ebx]
mov ecx, dword [eax]
push dword [edi]
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x452f4c
call fcn.00455b90
test al, al
je 0x452f40
push str.WMI:_Get_Virtual_memory_failed__1_
call fcn.00455a00
add esp, 4
mov dword [ebp + 0xc], 0
jmp 0x4530a5
call fcn.00455b90
test al, al
je 0x452f62
push str.WMI:_Get_Virtual_memory_details__2_
call fcn.00455a00
add esp, 4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x10]
xor esi, esi
push edx
mov ecx, dword [eax]
push 1
push 0x2710
push eax
mov dword [ebp - 0x1c], esi
call dword [ecx + 0x10]
test eax, eax
js 0x45307a
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 0xe44]
add eax, 0x644
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], eax
nop dword [eax + eax]
cmp dword [ebp - 0x18], 0
je 0x45307a
cmp esi, 2
jge 0x45307a
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x3c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Name
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x45300d
cmp word [ebp - 0x3c], 8
jne 0x45300d
sub esp, 0x10
mov esi, esp
push esi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x453149
push dword [ebp + 8]
call fcn.00453e00
add esp, 0x14
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x3c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.AllocatedBaseSize
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x453042
cmp word [ebp - 0x3c], 3
jne 0x453042
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x34]
mov dword [ecx], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
add dword [ebp + 0xc], 4
inc esi
add dword [ebp + 8], 0x400
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 1
push 0x2710
push eax
mov dword [ebp - 0x1c], esi
call dword [ecx + 0x10]
test eax, eax
jns 0x452fa0
mov eax, dword [ebp - 0x20]
mov dword [eax], esi
call fcn.00455b90
test al, al
je 0x453095
push str.WMI:_Get_Virtual_memory_details__3_
call fcn.00455a00
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp + 0xc], 1
lea eax, [ebp - 0x3c]
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 0x4530f9
mov eax, dword [ebx]
test eax, eax
je 0x4530d1
push eax
call ecx
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x4530e8
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 0x453132
mov eax, dword [edi]
test eax, eax
je 0x453110
push eax
call ecx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x453127
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 + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
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