Function at 0x5eab34
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x5eab3c
push esi
mov esi, edx
xor eax, eax
push ebp
push 0x5eae21
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x40], 0x40
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GlobalMemoryStatusEx
push 0x5eae3c
mov eax, dword [ebp - 0x3c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x48]
call fcn.0041ea44
push dword [ebp - 0x48]
push 0x5eae64
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00408078
mov edx, dword [ebp - 0x44]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0x400
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
call fcn.00408db0
mov dword [ebp - 0x58], eax
sub edx, 0x80000000
mov dword [ebp - 0x54], edx
fild qword [ebp - 0x58]
fadd qword [0x5eae68]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x50]
mov eax, 0x5eae7c
call fcn.00420f20
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x5eae94
call fcn.00407ff0
mov edx, dword [ebp - 0x4c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0x400
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
call fcn.00408db0
mov dword [ebp - 0x58], eax
sub edx, 0x80000000
mov dword [ebp - 0x54], edx
fild qword [ebp - 0x58]
fadd qword [0x5eae68]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x60]
mov eax, 0x5eae7c
call fcn.00420f20
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 0x5eaed0
call fcn.00407ff0
mov edx, dword [ebp - 0x5c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0x400
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.00408db0
mov dword [ebp - 0x58], eax
sub edx, 0x80000000
mov dword [ebp - 0x54], edx
fild qword [ebp - 0x58]
fadd qword [0x5eae68]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x68]
mov eax, 0x5eae7c
call fcn.00420f20
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x5eaf0c
call fcn.00407ff0
mov edx, dword [ebp - 0x64]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0x400
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
call fcn.00408db0
mov dword [ebp - 0x58], eax
sub edx, 0x80000000
mov dword [ebp - 0x54], edx
fild qword [ebp - 0x58]
fadd qword [0x5eae68]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x70]
mov eax, 0x5eae7c
call fcn.00420f20
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 0x5eaf3c
call fcn.00407ff0
mov edx, dword [ebp - 0x6c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0x400
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00408db0
mov dword [ebp - 0x58], eax
sub edx, 0x80000000
mov dword [ebp - 0x54], edx
fild qword [ebp - 0x58]
fadd qword [0x5eae68]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x78]
mov eax, 0x5eae7c
call fcn.00420f20
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov edx, 0x5eaf6c
call fcn.00407ff0
mov edx, dword [ebp - 0x74]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0x400
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00408db0
mov dword [ebp - 0x58], eax
sub edx, 0x80000000
mov dword [ebp - 0x54], edx
fild qword [ebp - 0x58]
fadd qword [0x5eae68]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x80]
mov eax, 0x5eae7c
call fcn.00420f20
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
mov edx, 0x5eafa4
call fcn.00407ff0
mov edx, dword [ebp - 0x7c]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0
push 0x400
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408db0
mov dword [ebp - 0x58], eax
sub edx, 0x80000000
mov dword [ebp - 0x54], edx
fild qword [ebp - 0x58]
fadd qword [0x5eae68]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x88]
mov eax, 0x5eae7c
call fcn.00420f20
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, 0x5eafdc
call fcn.00407ff0
mov edx, dword [ebp - 0x84]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5eae28
lea eax, [ebp - 0x88]
mov edx, 0xc
call fcn.00406f0c
lea eax, [ebp - 0x50]
mov edx, 4
call fcn.00406f0c
ret