Function at 0x42aad0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5ca7
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x645154]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 0
call fcn.0043bc10
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call fcn.0043bc10
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 2
call fcn.0043bc10
push 0x5dc348
mov byte [ebp - 4], 3
mov dword [ebp - 0x74], 0x40
mov dword [ebp - 0x34], 0x20
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42af6f
mov dword [ebp - 0x2bc], 0x5db094
mov dword [ebp - 0x2ac], 0x5db09c
push 0
lea eax, [ebp - 0x2a4]
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 1
push eax
lea ecx, [ebp - 0x254]
mov dword [ebp - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x258], 0x50
movlpd qword [ebp - 0x2b4], xmm0
call fcn.004122b0
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x2ac]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2b0], eax
mov eax, dword [ebp - 0x2bc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x2c0], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 4], 9
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x2bc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2c0], eax
lea eax, [ebp - 0x2a4]
mov ecx, eax
mov dword [ebp - 0x78], eax
call fcn.0040e870
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x20c], 0x5db094
mov dword [ebp - 0x1fc], 0x5db09c
push 0
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 0x11
push eax
lea ecx, [ebp - 0x1a4]
mov dword [ebp - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x1a8], 0x50
movlpd qword [ebp - 0x204], xmm0
call fcn.004122b0
lea eax, [ebp - 0x1fc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x1fc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x200], eax
mov eax, dword [ebp - 0x20c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x210], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 4], 0x11
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x210], eax
lea eax, [ebp - 0x1f4]
mov ecx, eax
mov dword [ebp - 0x78], eax
call fcn.0040e870
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x15c], 0x5db094
mov dword [ebp - 0x14c], 0x5db09c
push 0
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 0x111
push eax
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf4], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0xf8], 0x50
movlpd qword [ebp - 0x154], xmm0
call fcn.004122b0
lea eax, [ebp - 0x14c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x150], eax
mov eax, dword [ebp - 0x15c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x160], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 4], 0x19
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x160], eax
lea eax, [ebp - 0x144]
mov ecx, eax
mov dword [ebp - 0x78], eax
call fcn.0040e870
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
push str.GlobalMemoryStatusEx
push esi
mov byte [ebp - 4], 0x1b
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42aeb2
lea ecx, [ebp - 0x74]
push ecx
call eax
push dword [ebp - 0x68]
lea ecx, [ebp - 0xac]
push dword [ebp - 0x6c]
call fcn.0043bd40
push dword [ebp - 0x48]
lea ecx, [ebp - 0x9c]
push dword [ebp - 0x4c]
call fcn.0043bd40
push dword [ebp - 0x60]
push dword [ebp - 0x64]
jmp 0x42aee1
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0
push dword [ebp - 0x2c]
lea ecx, [ebp - 0xac]
call fcn.0043bd40
push 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.0043bd40
push 0
push dword [ebp - 0x28]
lea ecx, [ebp - 0x8c]
call fcn.0043bd40
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0xf4]
call fcn.0040ee80
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 0x1c
push eax
mov dword [ebp - 0xf4], vtable.std::ios_base.0
call fcn.00598183
add esp, 4
lea ecx, [ebp - 0x1a4]
call fcn.0040ee80
lea eax, [ebp - 0x1a4]
mov byte [ebp - 4], 0x1d
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00598183
add esp, 4
lea ecx, [ebp - 0x254]
call fcn.0040ee80
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 0x1e
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00598183
add esp, 4
mov byte [ebp - 4], 3
call fcn.00413f60
mov ecx, eax
call fcn.00413bd0
mov esi, eax
lea eax, [ebp - 0xac]
push eax
push 0x11597
mov ecx, esi
call fcn.00417170
lea eax, [ebp - 0x9c]
mov ecx, esi
push eax
push 0x116d5
call fcn.00417170
lea eax, [ebp - 0x8c]
mov ecx, esi
push eax
push 0x116d6
call fcn.00417170
push 0x619544
push 0x11606
mov ecx, esi
call fcn.00417380
push 0x619544
push 0x11607
mov ecx, esi
call fcn.00417380
lea ecx, [ebp - 0x8c]
call fcn.0043bd30
lea ecx, [ebp - 0x9c]
call fcn.0043bd30
lea ecx, [ebp - 0xac]
call fcn.0043bd30
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00595c5d
mov esp, ebp
pop ebp
ret