Function at 0x1000485c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
push ebx
push esi
mov esi, 0x220
push edi
xor ebx, ebx
push esi
lea eax, [ebp - 0x248]
push ebx
push eax
call dword [0x1000b4bc]
lea eax, [ebp - 0x247]
push 0x20
push eax
push 0x1000a4fa
push str.Group
push str.Setting
mov byte [ebp - 0x248], 0xc8
call fcn.10006aee
push 0x10
lea eax, [ebp - 0x28]
pop edi
push edi
push ebx
push eax
call dword [0x1000b4bc]
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 [0x1000b4f8]
lea eax, [ebp - 0x24]
push 4
push eax
lea eax, [ebp - 0x224]
push eax
call dword [0x1000b4b8]
lea eax, [ebp - 0x220]
push 0x32
push eax
call fcn.1000431f
add esp, 0x14
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x1ec], 0x9c
push eax
call dword [0x1000b408]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.10004814
add esp, 0xc
test eax, eax
je 0x10004939
mov eax, dword [ebp - 4]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x144]
push eax
call fcn.1000427b
pop ecx
lea eax, [ebp - 0x288]
push eax
mov dword [ebp - 0x288], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x280]
mov edx, dword [ebp - 0x27c]
push 0x14
pop ecx
call fcn.10007430
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x130], eax
call fcn.100040bd
mov dword [ebp - 0x12c], eax
call fcn.100043dc
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1000a640
test eax, eax
setne al
mov byte [ebp - 0x128], al
lea eax, [ebp - 0x120]
push eax
call edi
lea eax, [ebp - 0x10c]
push 0x1000a5ac
push eax
call edi
lea eax, [ebp - 0x48]
push 0x1000a660
push eax
call edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x88], ebx
push eax
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
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 - 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 0x10004a29
mov dword [ebp - 0x88], 1
mov edi, dword [ebp + 0xc]
mov ecx, edi
call fcn.100069c6
test al, al
je 0x10004a6c
mov eax, dword [edi + 4]
mov dword [ebp - 0xf4], eax
mov eax, dword [edi + 0x7c]
mov dword [ebp - 0xf0], eax
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0xec]
push eax
call sub.MSVCRT.dll_strcpy
add edi, 0x3a
lea eax, [ebp - 0xba]
push edi
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0x10
call fcn.10004772
push 0x18
mov edx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x2eb]
mov byte [ebp - 0x2ec], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3e8
cmp edx, ecx
stosb byte es:[edi], al
jl 0x10004a9f
mov eax, edx
cdq
idiv ecx
push eax
push str._u_Gbps
jmp 0x10004aa5
push edx
push str._u_Mbps
lea eax, [ebp - 0x2ec]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x2ec]
push eax
call dword [sym.imp.MSVCRT.dll_printf]
mov ecx, dword [ebp + 8]
add esp, 0x10
lea eax, [ebp - 0x248]
push esi
push eax
call fcn.10001879
pop edi
pop esi
pop ebx
leave
ret