Function at 0x562d88
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
xor edx, edx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5633f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x44], 0x20
lea eax, [ebp - 0x44]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x3c]
shr eax, 0x14
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x64], 0x20
lea eax, [ebp - 0x64]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x58]
shr eax, 0x14
mov dword [ebp - 0x10], eax
push 0
push 0
mov eax, dword [ebx + 0x3ac]
mov eax, dword [eax + 0x2f8]
call fcn.0054a078
mov eax, dword [ebp - 0x3c]
shr eax, 0x14
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
fild qword [ebp - 0x6c]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebx + 0x3ac]
mov eax, dword [eax + 0x2f8]
call fcn.0054a110
push 0
push 0
mov eax, dword [ebx + 0x3ac]
mov eax, dword [eax + 0x2f8]
call fcn.00548f60
xor edx, edx
mov eax, dword [ebx + 0x3ac]
call fcn.00551a30
mov esi, eax
mov edx, 1
mov eax, dword [ebx + 0x3ac]
call fcn.00551a30
call fcn.0054f924
test eax, eax
jle 0x562ef1
mov eax, dword [esi + 0x84]
mov edx, 1
mov ecx, dword [eax]
call dword [ecx + 0xc]
fstp qword [ebp - 0x6c]
wait
mov eax, dword [esi + 0x84]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
fsubr qword [ebp - 0x6c]
fstp qword [ebp - 0x20]
wait
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xa0]
mov eax, dword [esi + 0x84]
call fcn.0054c9c8
fadd qword [ebp - 0x20]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x58]
shr eax, 0x14
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
fild qword [ebp - 0x6c]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, 0x20000000
xor edx, edx
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0x90]
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x58]
shr eax, 0x14
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x70]
call fcn.0040958c
lea eax, [ebp - 0x70]
mov edx, 0x563408
call fcn.00404ce8
mov edx, dword [ebp - 0x70]
mov eax, dword [ebx + 0x3c4]
call fcn.0046cef4
mov edx, 1
mov eax, dword [ebx + 0x3ac]
call fcn.00551a30
mov esi, eax
mov edx, 1
mov eax, dword [ebx + 0x3ac]
call fcn.00551a30
call fcn.0054f924
test eax, eax
jle 0x562fc1
mov eax, dword [esi + 0x84]
mov edx, 1
mov ecx, dword [eax]
call dword [ecx + 0xc]
fstp qword [ebp - 0x6c]
wait
mov eax, dword [esi + 0x84]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
fsubr qword [ebp - 0x6c]
fstp qword [ebp - 0x20]
wait
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xa0]
mov eax, dword [esi + 0x84]
call fcn.0054c9c8
fadd qword [ebp - 0x20]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x50]
shr eax, 0x14
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
fild qword [ebp - 0x6c]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov ecx, 0x20000000
xor edx, edx
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0x90]
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x50]
shr eax, 0x14
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x74]
call fcn.0040958c
lea eax, [ebp - 0x74]
mov edx, 0x563408
call fcn.00404ce8
mov edx, dword [ebp - 0x74]
mov eax, dword [ebx + 0x3c0]
call fcn.0046cef4
call fcn.00562cec
fstp qword [ebp - 8]
wait
fld qword [ebp - 8]
call fcn.00402c38
mov edx, eax
mov eax, dword [ebx + 0x31c]
call fcn.004d1204
push 0
push 0
mov eax, dword [ebx + 0x300]
mov eax, dword [eax + 0x2f8]
call fcn.0054a078
push 0x40590000
push 0
mov eax, dword [ebx + 0x300]
mov eax, dword [eax + 0x2f8]
call fcn.0054a110
push 0
push 0
mov eax, dword [ebx + 0x300]
mov eax, dword [eax + 0x2f8]
call fcn.00548f60
mov eax, dword [ebx + 0x300]
call fcn.005526bc
dec eax
test eax, eax
jl 0x563103
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x300]
call fcn.00551a30
mov esi, eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x300]
call fcn.00551a30
call fcn.0054f924
test eax, eax
jle 0x5630f7
mov edx, 1
mov eax, dword [esi + 0x84]
mov ecx, dword [eax]
call dword [ecx + 0xc]
fstp qword [ebp - 0x6c]
wait
xor edx, edx
mov eax, dword [esi + 0x84]
mov ecx, dword [eax]
call dword [ecx + 0xc]
fsubr qword [ebp - 0x6c]
fstp qword [ebp - 0x20]
wait
xor edx, edx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xa0]
mov eax, dword [esi + 0x84]
call fcn.0054c9c8
fadd qword [ebp - 0x20]
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 4]
push dword [ebp - 8]
mov ecx, 0x20000000
xor edx, edx
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0x90]
inc dword [ebp - 0x14]
dec dword [ebp - 0x24]
jne 0x563070
fld qword [ebp - 8]
call fcn.00402c44
push edx
push eax
lea eax, [ebp - 0x78]
call fcn.0040958c
lea eax, [ebp - 0x78]
mov edx, 0x563414
call fcn.00404ce8
mov edx, dword [ebp - 0x78]
mov eax, dword [ebx + 0x304]
call fcn.0046cef4
xor edx, edx
mov eax, dword [ebx + 0x3a8]
call fcn.004d10a4
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x3a8]
call fcn.004d1154
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3a8]
call fcn.004d1204
xor edx, edx
mov eax, dword [ebx + 0x31c]
call fcn.004d10a4
mov edx, 0x64
mov eax, dword [ebx + 0x31c]
call fcn.004d1154
fld qword [ebp - 8]
call fcn.00402c44
mov edx, eax
mov eax, dword [ebx + 0x31c]
call fcn.004d1204
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x80], eax
fild qword [ebp - 0x84]
fdiv dword [0x563418]
call fcn.00402c38
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0x10
lea edx, [ebp - 0x6c]
xor ecx, ecx
mov eax, 0x563424
call fcn.0040a520
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebx + 0x368]
call fcn.0046cef4
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x80], eax
fild qword [ebp - 0x84]
fdiv dword [0x563418]
call fcn.00402c38
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0x10
lea edx, [ebp - 0x6c]
xor ecx, ecx
mov eax, 0x563424
call fcn.0040a520
mov edx, dword [ebp - 0x90]
mov eax, dword [ebx + 0x36c]
call fcn.0046cef4
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x80], eax
fild qword [ebp - 0x84]
fdiv dword [0x563418]
call fcn.00402c38
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0x10
lea edx, [ebp - 0x6c]
xor ecx, ecx
mov eax, 0x563424
call fcn.0040a520
mov edx, dword [ebp - 0x94]
mov eax, dword [ebx + 0x370]
call fcn.0046cef4
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x80], eax
fild qword [ebp - 0x84]
fdiv dword [0x563418]
call fcn.00402c38
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0x10
lea edx, [ebp - 0x6c]
xor ecx, ecx
mov eax, 0x563424
call fcn.0040a520
mov edx, dword [ebp - 0x98]
mov eax, dword [ebx + 0x38c]
call fcn.0046cef4
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x80], eax
fild qword [ebp - 0x84]
fdiv dword [0x563418]
call fcn.00402c38
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0x10
lea edx, [ebp - 0x6c]
xor ecx, ecx
mov eax, 0x563424
call fcn.0040a520
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebx + 0x394]
call fcn.0046cef4
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x38]
mov dword [ebp - 0x84], eax
xor eax, eax
mov dword [ebp - 0x80], eax
fild qword [ebp - 0x84]
fdiv dword [0x563418]
call fcn.00402c38
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], edx
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0x10
lea edx, [ebp - 0x6c]
xor ecx, ecx
mov eax, 0x563424
call fcn.0040a520
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebx + 0x390]
call fcn.0046cef4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5633fa
lea eax, [ebp - 0xa0]
mov edx, 5
call fcn.00404a44
lea eax, [ebp - 0x7c]
mov edx, 4
call fcn.00404a44
ret