Function at 0x40b5c0
Capabilities:
Get memory capacity

Disassembly:
push 0x78
mov eax, 0x4254fb
call fcn.0042156f
and dword [ebp - 4], 0
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x84], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x40], eax
call dword [0x436ac8]
lea ecx, [ebp - 0x1c]
call dword [0x436ac8]
lea ecx, [ebp - 0x18]
call dword [0x436ac8]
lea ecx, [ebp - 0x14]
call dword [0x436ac8]
push 0x438cc8
mov esi, str.IDS_PHYF_FORMAT3
push esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 4
mov edi, dword [sym.imp.K9PCUhelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CMainApp::LoadStringW_wchar_t_const___wchar_t_const__]
mov ebx, 0x4a0f68
push eax
mov ecx, ebx
call edi
push dword [ebp - 0x28]
mov byte [ebp - 4], 5
mov eax, dword [eax]
push dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x438cc8
push esi
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
call edi
push dword [ebp - 0x30]
mov byte [ebp - 4], 6
mov eax, dword [eax]
push dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x438cc8
push esi
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
call edi
push dword [ebp - 0x38]
mov byte [ebp - 4], 7
mov eax, dword [eax]
push dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push 0x438cc8
push esi
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
call edi
push dword [ebp - 0x40]
mov byte [ebp - 4], 8
mov eax, dword [eax]
push dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [ebp + 8]
xor edi, edi
inc edi
push edi
push 0
push str.memory_info
push esi
call fcn.0041d55b
mov eax, esi
call fcn.0041ca05
push edi
push dword [ebp - 0x20]
push str.total_phy
push esi
call fcn.0041d55b
push edi
push dword [ebp - 0x1c]
push str.avail_phy
push esi
call fcn.0041d55b
push edi
push dword [ebp - 0x18]
push str.total_page_file
push esi
call fcn.0041d55b
push edi
push dword [ebp - 0x14]
push str.avail_page_file
push esi
call fcn.0041d55b
call fcn.0041ca2f
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.004215db
ret 4