Function at 0x10004aeb
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
push ebx
push esi
mov esi, 0x254
push edi
xor ebx, ebx
push esi
lea eax, [ebp - 0x27c]
push ebx
push eax
call dword [0x1000bf0c]
lea eax, [ebp - 0x27b]
push 0x20
push eax
push 0x1000aa42
push str.Group
push str.Setting
mov byte [ebp - 0x27c], 0xc8
call fcn.10006d5a
push 0x10
lea eax, [ebp - 0x28]
pop edi
push edi
push ebx
push eax
call dword [0x1000bf0c]
add esp, 0x2c
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x48]
call dword [0x1000bf48]
lea eax, [ebp - 0x24]
push 4
push eax
lea eax, [ebp - 0x258]
push eax
call dword [0x1000bf08]
lea eax, [ebp - 0x254]
push 0x32
push eax
call fcn.1000487c
add esp, 0x14
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x9c
push eax
call dword [0x1000be58]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10004a33
add esp, 0xc
test eax, eax
je 0x10004bc8
mov eax, dword [ebp - 4]
mov dword [ebp - 0x184], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x178]
push eax
call fcn.1000481e
pop ecx
lea eax, [ebp - 0x2bc]
push eax
mov dword [ebp - 0x2bc], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x2b4]
mov edx, dword [ebp - 0x2b0]
push 0x14
pop ecx
call fcn.10007740
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x164], eax
call fcn.1000473c
mov dword [ebp - 0x160], eax
call fcn.100048b7
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1000ab88
test eax, eax
setne al
mov byte [ebp - 0x15c], al
lea eax, [ebp - 0x154]
push eax
call edi
lea eax, [ebp - 0x140]
push 0x1000aaf4
push eax
call edi
lea eax, [ebp - 0xbc]
push 0x1000aba8
push eax
call edi
mov dword [ebp - 0x68], ebx
call fcn.10004a7b
push eax
lea eax, [ebp - 0x9c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
lea eax, [ebp - 0x18]
pop ecx
mov dword [ebp - 0x64], ebx
push eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], 8
call dword [sym.imp.USER32.dll_GetLastInputInfo]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x2bf20
jbe 0x10004cc6
mov dword [ebp - 0x68], 1
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.10006c32
test al, al
je 0x10004d09
mov eax, dword [edi + 4]
mov dword [ebp - 0x128], eax
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0x124], eax
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x120]
push eax
call sub.MSVCRT.dll_strcpy
add edi, 0x3a
lea eax, [ebp - 0xee]
push edi
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0x10
call fcn.10004991
push 0x18
mov edx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x31f]
mov byte [ebp - 0x320], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3e8
cmp edx, ecx
stosb byte es:[edi], al
jl 0x10004d3c
mov eax, edx
cdq
idiv ecx
push eax
push str._u_Gbps
jmp 0x10004d42
push edx
push str._u_Mbps
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.MSVCRT.dll_printf]
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x27c]
push esi
push eax
call fcn.1000192d
pop edi
pop esi
pop ebx
leave
ret