Function at 0x53aeb0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x62d12c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
je 0x53aed4
mov esi, dword [eax + 8]
jmp 0x53aed9
mov esi, 0x5307b0
push str.GlobalMemoryStatusEx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 0x420], ebx
mov dword [ebp - 0x41c], ebx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x410], ebx
cmp eax, ebx
je 0x53b2d8
lea ecx, [ebp - 0x444]
push ecx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x444], 0x40
call eax
test eax, eax
je 0x53b5b9
push esi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53afd5
push 0x3fe
lea eax, [ebp - 0x402]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x404], dx
call fcn.0055aed0
mov ecx, dword [ebp - 0x440]
push ecx
push str._ENV___ld_percent_of_memory_in_use.
lea edx, [ebp - 0x404]
push 0x1ff
push edx
call fcn.005301b0
push esi
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53afd5
push 0x62b628
push 0x257
push str.ReportEnvironment::ReportSystemMemoryInfo
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push ebx
push 3
call esi
add esp, 0x20
push esi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b055
push 0x3fe
lea edx, [ebp - 0x402]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x404], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x438]
shrd eax, ecx, 0xa
shr ecx, 0xa
push ecx
push eax
push str._ENV__Total_size_of_physical_memory:__I64d_KB
lea edx, [ebp - 0x404]
push 0x1ff
push edx
call fcn.005301b0
push esi
call fcn.0053a1b0
add esp, 0x24
test al, al
je 0x53b055
push 0x62b628
push 0x259
push str.ReportEnvironment::ReportSystemMemoryInfo
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push ebx
push 3
call esi
add esp, 0x20
push esi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b0d5
push 0x3fe
lea edx, [ebp - 0x402]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x404], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x430]
shrd eax, ecx, 0xa
shr ecx, 0xa
push ecx
push eax
push str._ENV__Size_of_physical_memory_available:__I64d_KB
lea edx, [ebp - 0x404]
push 0x1ff
push edx
call fcn.005301b0
push esi
call fcn.0053a1b0
add esp, 0x24
test al, al
je 0x53b0d5
push 0x62b628
push 0x25b
push str.ReportEnvironment::ReportSystemMemoryInfo
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push ebx
push 3
call esi
add esp, 0x20
push esi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b155
push 0x3fe
lea edx, [ebp - 0x402]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x404], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0x428]
shrd eax, ecx, 0xa
shr ecx, 0xa
push ecx
push eax
push str._ENV__Size_of_the_committed_memory_limit:__I64d_KB
lea edx, [ebp - 0x404]
push 0x1ff
push edx
call fcn.005301b0
push esi
call fcn.0053a1b0
add esp, 0x24
test al, al
je 0x53b155
push 0x62b628
push 0x25d
push str.ReportEnvironment::ReportSystemMemoryInfo
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push ebx
push 3
call esi
add esp, 0x20
push esi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b1d5
push 0x3fe
lea edx, [ebp - 0x402]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x404], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x420]
shrd eax, ecx, 0xa
shr ecx, 0xa
push ecx
push eax
push str._ENV__Size_of_available_memory_to_commit:__I64d_KB
lea edx, [ebp - 0x404]
push 0x1ff
push edx
call fcn.005301b0
push esi
call fcn.0053a1b0
add esp, 0x24
test al, al
je 0x53b1d5
push 0x62b628
push 0x25f
push str.ReportEnvironment::ReportSystemMemoryInfo
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push ebx
push 3
call esi
add esp, 0x20
push esi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b255
push 0x3fe
lea edx, [ebp - 0x402]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x404], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x418]
shrd eax, ecx, 0xa
shr ecx, 0xa
push ecx
push eax
push str._ENV__Total_size_of_the_user_mode_portion_of_the_virtual_address_space_of_the_BES_process:__I64d_KB
lea edx, [ebp - 0x404]
push 0x1ff
push edx
call fcn.005301b0
push esi
call fcn.0053a1b0
add esp, 0x24
test al, al
je 0x53b255
push 0x62b628
push 0x261
push str.ReportEnvironment::ReportSystemMemoryInfo
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push ebx
push 3
call esi
add esp, 0x20
push esi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b5b9
push 0x3fe
lea edx, [ebp - 0x402]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x404], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x410]
shrd eax, ecx, 0xa
shr ecx, 0xa
push ecx
push eax
push str._ENV__Size_of_unreserved_and_uncommitted_memory_in_the_user_mode_portion_of_the_virtual_address_space_of_the_BES_process:__I64d_KB
lea edx, [ebp - 0x404]
push 0x1ff
push edx
call fcn.005301b0
push esi
call fcn.0053a1b0
add esp, 0x24
test al, al
je 0x53b5b9
push 0x62b628
push 0x263
push str.ReportEnvironment::ReportSystemMemoryInfo
lea eax, [ebp - 0x404]
push eax
jmp 0x53b5af
lea ecx, [ebp - 0x424]
push ecx
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x408], ebx
mov dword [ebp - 0x424], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push esi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b370
push 0x3fe
lea eax, [ebp - 0x402]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x404], dx
call fcn.0055aed0
mov ecx, dword [ebp - 0x41c]
shr ecx, 0xa
push ecx
push str._ENV__Total_size_of_physical_memory:__7ld_KB
lea edx, [ebp - 0x404]
push 0x1ff
push edx
call fcn.005301b0
push esi
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53b370
push 0x62b628
push 0x277
push str.ReportEnvironment::ReportSystemMemoryInfo
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push ebx
push 3
call esi
add esp, 0x20
push esi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b3e5
push 0x3fe
lea edx, [ebp - 0x402]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x404], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x418]
shr eax, 0xa
push eax
push str._ENV__Size_of_physical_memory_available:__7ld_KB
lea ecx, [ebp - 0x404]
push 0x1ff
push ecx
call fcn.005301b0
push esi
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53b3e5
push 0x62b628
push 0x279
push str.ReportEnvironment::ReportSystemMemoryInfo
lea edx, [ebp - 0x404]
push edx
push ebx
push ebx
push ebx
push 3
call esi
add esp, 0x20
push esi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b45a
push 0x3fe
lea ecx, [ebp - 0x402]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x404], ax
call fcn.0055aed0
mov edx, dword [ebp - 0x414]
shr edx, 0xa
push edx
push str._ENV__Size_of_the_committed_memory_limit:__7ld_KB
lea eax, [ebp - 0x404]
push 0x1ff
push eax
call fcn.005301b0
push esi
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53b45a
push 0x62b628
push 0x27b
push str.ReportEnvironment::ReportSystemMemoryInfo
lea ecx, [ebp - 0x404]
push ecx
push ebx
push ebx
push ebx
push 3
call esi
add esp, 0x20
push esi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b4cf
push 0x3fe
lea eax, [ebp - 0x402]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x404], dx
call fcn.0055aed0
mov ecx, dword [ebp - 0x410]
shr ecx, 0xa
push ecx
push str._ENV__Size_of_available_memory_to_commit:__7ld_KB
lea edx, [ebp - 0x404]
push 0x1ff
push edx
call fcn.005301b0
push esi
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53b4cf
push 0x62b628
push 0x27d
push str.ReportEnvironment::ReportSystemMemoryInfo
lea eax, [ebp - 0x404]
push eax
push ebx
push ebx
push ebx
push 3
call esi
add esp, 0x20
push esi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b544
push 0x3fe
lea edx, [ebp - 0x402]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x404], cx
call fcn.0055aed0
mov eax, dword [ebp - 0x40c]
shr eax, 0xa
push eax
push str._ENV__Total_size_of_the_user_mode_portion_of_the_virtual_address_space_of_the_BES_process:__7ld_KB
lea ecx, [ebp - 0x404]
push 0x1ff
push ecx
call fcn.005301b0
push esi
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53b544
push 0x62b628
push 0x27f
push str.ReportEnvironment::ReportSystemMemoryInfo
lea edx, [ebp - 0x404]
push edx
push ebx
push ebx
push ebx
push 3
call esi
add esp, 0x20
push esi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b5b9
push 0x3fe
lea ecx, [ebp - 0x402]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x404], ax
call fcn.0055aed0
mov edx, dword [ebp - 0x408]
shr edx, 0xa
push edx
push str._ENV__Size_of_unreserved_and_uncommitted_memory_in_the_user_mode_portion_of_the_virtual_address_space_of_the_BES_process:__7ld_KB
lea eax, [ebp - 0x404]
push 0x1ff
push eax
call fcn.005301b0
push esi
call fcn.0053a1b0
add esp, 0x20
test al, al
je 0x53b5b9
push 0x62b628
push 0x281
push str.ReportEnvironment::ReportSystemMemoryInfo
lea ecx, [ebp - 0x404]
push ecx
push ebx
push ebx
push ebx
push 3
call esi
add esp, 0x20
push str.Psapi.dll
call fcn.005308c0
add esp, 4
mov dword [ebp - 0x448], eax
cmp eax, ebx
je 0x53b6f1
push str.GetProcessMemoryInfo
push eax
call edi
mov edi, eax
cmp edi, ebx
je 0x53b6e4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, eax
mov dword [ebp - 0x44c], ecx
cmp ecx, ebx
je 0x53b6e4
xor eax, eax
push 0x2c
lea edx, [ebp - 0x430]
push edx
push ecx
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x430], 0x2c
call edi
test eax, eax
je 0x53b6d7
push esi
call fcn.0053a1b0
add esp, 4
test al, al
je 0x53b6d7
push 0x3fe
lea ecx, [ebp - 0x402]
xor eax, eax
push ebx
push ecx
mov word [ebp - 0x404], ax
call fcn.0055aed0
mov edx, dword [ebp - 0x408]
push ebx
shr edx, 0xa
push edx
push str._ENV__Size_of_private_memory_of_the_BES_process:__I64d_KB
lea eax, [ebp - 0x404]
push 0x1ff
push eax
call fcn.005301b0
push esi
call fcn.0053a1b0
add esp, 0x24
test al, al
je 0x53b6d7
push 0x62b628
push 0x298
push str.ReportEnvironment::ReportSystemMemoryInfo
lea ecx, [ebp - 0x404]
push ecx
push ebx
push ebx
push ebx
push 3
call esi
add esp, 0x20
mov edx, dword [ebp - 0x44c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00558b78
mov esp, ebp
pop ebp
ret