Function at 0x4274b0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4572e7
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x47f060]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x47f060]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x1c], ebx
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], eax
mov word [esp + 0x24], ax
mov byte [esp + 0xa8], 1
push dword [ebx + 0x5c]
lea edx, [esp + 0x28]
push dword [ebx + 0x58]
lea ecx, [esp + 0x44]
call fcn.004234e0
add esp, 8
test al, al
je 0x4277e8
lea ecx, [esp + 0x20]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_void_]
mov byte [esp + 0xa8], 2
cmp dword [esp + 0x38], 8
lea ecx, [esp + 0x24]
cmovae ecx, dword [esp + 0x24]
cmp dword [esp + 0x50], 8
push ecx
lea eax, [esp + 0x40]
cmovae eax, dword [esp + 0x40]
push eax
lea eax, [esp + 0x28]
push str._s__s
push eax
call dword [sym.imp.ouilibx.dll_public:_int___cdecl_OUI::COString::Format_wchar_t_const__]
add esp, 0x10
lea edi, [ebx - 0xc8]
push 0
push 0x48060c
push 0x47f204
push 0
push str.IDC_TXT_FORMATDMB
mov ecx, edi
call dword [sym.imp.ouilibx.dll_public:_class_OUI::COVWnd____thiscall_OUI::COVDialog::GetDlgItem_wchar_t_const__]
push eax
call sub.MSVCR110.dll___RTDynamicCast
mov ebx, dword [sym.imp.ouilibx.dll_public:_wchar_t_const____thiscall_OUI::COString::operator_wchar_t_const__void_const]
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
je 0x4275d9
mov esi, dword [eax]
lea ecx, [esp + 0x20]
call ebx
mov ecx, dword [esp + 0x18]
push eax
call dword [esi + 0xb4]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.0041d7e0
lea eax, [esp + 0x14]
push str.IDS_USTLT_SECOND
push eax
call dword [sym.imp.ouilibx.dll_public:_static_class_OUI::OSTRING_TABLE____cdecl_OUI::OSTRING_TABLE::GetStringTable_void_]
mov ecx, eax
call dword [sym.imp.ouilibx.dll_public:_class_OUI::COString___thiscall_OUI::OSTRING_TABLE::LoadStringW_wchar_t_const__]
mov byte [esp + 0xa8], 3
push dword [esp + 0x18]
mov ecx, eax
call ebx
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.ouilibx.dll_public:_int___cdecl_OUI::COString::Format_wchar_t_const__]
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 2
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
push 0
push 0x48060c
push 0x47f204
push 0
push str.IDC_TXT_FORMATDSD
mov ecx, edi
call dword [sym.imp.ouilibx.dll_public:_class_OUI::COVWnd____thiscall_OUI::COVDialog::GetDlgItem_wchar_t_const__]
push eax
call sub.MSVCR110.dll___RTDynamicCast
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x427672
mov esi, dword [eax]
lea ecx, [esp + 0x20]
call ebx
mov ecx, dword [esp + 0x14]
push eax
call dword [esi + 0xb4]
lea ecx, [esp + 0x18]
call fcn.0041d990
lea eax, [esp + 0x14]
push str.IDS_USTLT_COUNT
push eax
call dword [sym.imp.ouilibx.dll_public:_static_class_OUI::OSTRING_TABLE____cdecl_OUI::OSTRING_TABLE::GetStringTable_void_]
mov ecx, eax
call dword [sym.imp.ouilibx.dll_public:_class_OUI::COString___thiscall_OUI::OSTRING_TABLE::LoadStringW_wchar_t_const__]
mov byte [esp + 0xa8], 4
push dword [esp + 0x18]
mov ecx, eax
call ebx
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.ouilibx.dll_public:_int___cdecl_OUI::COString::Format_wchar_t_const__]
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 2
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
push 0
push 0x48060c
push 0x47f204
push 0
push str.IDC_TXT_ATTACT_NUM
mov ecx, edi
call dword [sym.imp.ouilibx.dll_public:_class_OUI::COVWnd____thiscall_OUI::COVDialog::GetDlgItem_wchar_t_const__]
push eax
call sub.MSVCR110.dll___RTDynamicCast
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x427703
mov esi, dword [eax]
lea ecx, [esp + 0x20]
call ebx
mov ecx, dword [esp + 0x14]
push eax
call dword [esi + 0xb4]
push 0x38
lea eax, [esp + 0x60]
push 0
push eax
mov dword [esp + 0x60], 0x40
mov dword [esp + 0x64], 0
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
shrd edx, eax, 0x14
imul edx, edx, 0x64
shrd esi, ecx, 0x14
shr eax, 0x14
mov eax, edx
xor edx, edx
div esi
shr ecx, 0x14
mov ecx, 0x64
sub ecx, eax
push ecx
lea eax, [esp + 0x24]
push str._d__
push eax
call dword [sym.imp.ouilibx.dll_public:_int___cdecl_OUI::COString::Format_wchar_t_const__]
add esp, 0xc
mov ecx, edi
push 0
push 0x48060c
push 0x47f204
push 0
push str.IDC_TXT_FORMATDPT
call dword [sym.imp.ouilibx.dll_public:_class_OUI::COVWnd____thiscall_OUI::COVDialog::GetDlgItem_wchar_t_const__]
push eax
call sub.MSVCR110.dll___RTDynamicCast
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x4277b0
mov esi, dword [eax]
lea ecx, [esp + 0x20]
call ebx
mov ecx, dword [esp + 0x14]
push eax
call dword [esi + 0xb4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x4277d6
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COVViewStack::GetSelectedView_void_]
test eax, eax
jne 0x4277d6
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x8c]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x58]
lea ecx, [esp + 0x20]
mov byte [esp + 0xa8], 1
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
cmp dword [esp + 0x38], 8
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x4277fe
push dword [esp + 0x24]
call esi
add esp, 4
xor eax, eax
cmp dword [esp + 0x50], 8
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
jb 0x427825
push dword [esp + 0x3c]
call esi
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00452076
mov esp, ebp
pop ebp
ret 4