Function at 0x4dc6c8
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x4dc6d0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dc9f2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
call fcn.004cdb9c
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x4dca08
call fcn.00404978
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov dl, 1
mov eax, dword [0x41af60]
call fcn.004037ec
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4dc9c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004cdbd4
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4dc771
inc ebx
xor esi, esi
lea ecx, [ebp - 0x3c]
mov edx, esi
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x4dca38
call fcn.00404978
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0041e5a4
inc esi
dec ebx
jne 0x4dc745
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
push 0x4dca68
mov eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
call fcn.0048bd0c
push edx
push eax
lea eax, [ebp - 0x44]
call fcn.004093e0
push dword [ebp - 0x44]
push 0x4dca98
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.004049ec
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.0041e5a4
mov dl, 1
mov eax, dword [0x48b694]
call fcn.0043d390
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4dc991
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0043d430
mov edx, 0x4dcaa4
mov eax, dword [ebp - 0xc]
call fcn.0043d494
test al, al
je 0x4dc96e
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0043d6b4
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4dc97b
inc ebx
xor esi, esi
lea edx, [ebp - 0x4c]
lea eax, [esi + 1]
call fcn.004092f4
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov edx, 0x4dcadc
call fcn.00404978
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.0041e5a4
mov eax, dword [ebp - 0xc]
call fcn.0043d400
lea ecx, [ebp - 0x54]
mov edx, esi
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x50]
mov edx, 0x4dcaf0
call fcn.00404978
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0xc]
call fcn.0043d494
test al, al
je 0x4dc957
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x64]
mov edx, 0x4dcb28
mov eax, dword [ebp - 0xc]
call fcn.0043d8bc
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x4dcb3c
call fcn.0040a3bc
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.0041e5a4
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x6c]
mov edx, 0x4dcb5c
mov eax, dword [ebp - 0xc]
call fcn.0043d8bc
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x4dcb78
call fcn.0040a3bc
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.0041e5a4
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x74]
mov edx, 0x4dcb98
mov eax, dword [ebp - 0xc]
call fcn.0043d8bc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x4dcbb4
call fcn.0040a3bc
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.0041e5a4
lea eax, [ebp - 0x78]
push eax
mov edx, 0x4dcbd4
mov eax, dword [ebp - 0xc]
call fcn.0043d934
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0
lea edx, [ebp - 0x60]
xor ecx, ecx
mov eax, 0x4dcbe4
call fcn.0040a3bc
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.0041e5a4
jmp 0x4dc964
mov edx, 0x4dcc04
mov eax, dword [ebp - 4]
call fcn.0041e5a4
inc esi
dec ebx
jne 0x4dc81d
jmp 0x4dc97b
mov edx, 0x4dcc38
mov eax, dword [ebp - 4]
call fcn.0041e5a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dc998
mov eax, dword [ebp - 0xc]
call fcn.0040381c
ret