Function at 0x1000391d
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
push ebx
push esi
push edi
mov ebx, 0x254
xor edi, edi
push ebx
lea eax, [ebp - 0x27c]
push edi
push eax
call dword [0x1000bf0c]
lea eax, [ebp - 0x27b]
push 0x20
push eax
push 0x1000b564
push str.Group
push str.Setting
mov byte [ebp - 0x27c], 0xc8
call fcn.10006d5a
push 0x10
lea eax, [ebp - 0x28]
pop esi
push esi
push edi
push eax
call dword [0x1000bf0c]
add esp, 0x2c
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
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.10003640
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 0x100039fa
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.1000367b
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.100036d9
mov dword [ebp - 0x160], eax
call fcn.100037bb
mov esi, 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 esi
lea eax, [ebp - 0x140]
push 0x1000aaf4
push eax
call esi
lea eax, [ebp - 0xbc]
push 0x1000aba8
push eax
call esi
mov dword [ebp - 0x68], edi
call fcn.100038ad
push eax
lea eax, [ebp - 0x9c]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
xor eax, eax
pop ecx
push 1
pop esi
cmp dword [0x1000b684], esi
sete al
mov dword [ebp - 0x64], eax
xor eax, eax
cmp dword [0x1000b688], esi
sete al
mov dword [ebp - 0x60], eax
xor eax, eax
cmp dword [0x1000b68c], esi
sete al
mov dword [ebp - 0x5c], eax
xor eax, eax
cmp dword [0x1000b690], esi
sete al
mov dword [ebp - 0x58], eax
xor eax, eax
cmp dword [0x1000b694], esi
sete al
mov dword [ebp - 0x54], eax
xor eax, eax
cmp dword [0x1000b698], esi
sete al
mov dword [ebp - 0x50], eax
xor eax, eax
cmp dword [0x1000b69c], esi
sete al
mov dword [ebp - 0x4c], eax
xor eax, eax
cmp dword [0x1000b6a0], esi
sete al
mov dword [ebp - 0x48], eax
xor eax, eax
cmp dword [0x1000b6a4], esi
sete al
mov dword [ebp - 0x44], eax
xor eax, eax
cmp dword [0x1000b6a8], esi
mov dword [ebp - 0x18], 8
sete al
mov dword [ebp - 0x40], eax
xor eax, eax
cmp dword [0x1000b6ac], esi
sete al
mov dword [ebp - 0x3c], eax
xor eax, eax
cmp dword [0x1000b6b0], esi
sete al
mov dword [ebp - 0x38], eax
xor eax, eax
cmp dword [0x1000b6b4], esi
sete al
mov dword [ebp - 0x34], eax
xor eax, eax
cmp dword [0x1000b6b8], esi
sete al
mov dword [ebp - 0x30], eax
xor eax, eax
cmp dword [0x1000b6bc], esi
sete al
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetLastInputInfo]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x14]
cmp eax, 0x2bf20
jbe 0x10003b9c
mov dword [ebp - 0x68], esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.10006c32
test al, al
je 0x10003bdf
mov eax, dword [esi + 4]
mov dword [ebp - 0x128], eax
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0x124], eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x120]
push eax
call sub.MSVCRT.dll_strcpy
add esi, 0x3a
lea eax, [ebp - 0xee]
push esi
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0x10
call fcn.1000380b
and byte [ebp - 0x320], 0
push 0x18
mov edx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x31f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3e8
cmp edx, ecx
stosb byte es:[edi], al
jl 0x10003c13
mov eax, edx
cdq
idiv ecx
push eax
push str._u_Gbps
jmp 0x10003c19
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 ebx
push eax
call fcn.1000192d
pop edi
pop esi
pop ebx
leave
ret