Function at 0x10005860
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x320
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x254
lea eax, [esp + 0x3c]
push ebx
push eax
call dword [0x1000e03c]
lea ecx, [esp + 0x45]
push 0x20
push ecx
push 0x1000ca42
push str.Group
push str.Setting
mov byte [esp + 0x58], 0xc8
call fcn.100081d0
push 0x10
lea edx, [esp + 0x4c]
push ebx
push edx
call dword [0x1000e03c]
mov edx, dword [esp + 0x360]
add esp, 0x2c
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [edx + 0x48]
push ecx
push eax
mov dword [esp + 0x24], 0x10
call dword [0x1000e078]
lea ecx, [esp + 0x2c]
push 4
lea edx, [esp + 0x60]
push ecx
push edx
call dword [0x1000e038]
lea eax, [esp + 0x6c]
push 0x32
push eax
call fcn.10005690
add esp, 0x14
lea ecx, [esp + 0x94]
mov dword [esp + 0x94], 0x9c
push ecx
call dword [0x1000df88]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.10005780
add esp, 0xc
test eax, eax
je 0x10005947
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x130], edx
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], ecx
lea edx, [esp + 0x13c]
push edx
call fcn.10005620
add esp, 4
lea eax, [esp + 0x28c]
mov dword [esp + 0x28c], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x294]
mov edx, dword [esp + 0x298]
mov ecx, 0x14
call fcn.10008d00
mov ecx, dword [esp + 0x33c]
mov dword [esp + 0x15c], eax
mov dword [esp + 0x150], ecx
call fcn.100054f0
mov dword [esp + 0x154], eax
call fcn.10003e80
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1000cb88
test eax, eax
lea eax, [esp + 0x164]
setne dl
push eax
mov byte [esp + 0x160], dl
call esi
lea ecx, [esp + 0x174]
push 0x1000caf4
push ecx
call esi
lea edx, [esp + 0x1f8]
push str.x_b_ap
push edx
call esi
mov dword [esp + 0x24c], ebx
call fcn.100057d0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x218]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
mov dword [esp + 0x250], ebx
push ecx
mov dword [esp + 0x258], ebx
mov dword [esp + 0x25c], ebx
mov dword [esp + 0x260], ebx
mov dword [esp + 0x264], ebx
mov dword [esp + 0x268], ebx
mov dword [esp + 0x26c], ebx
mov dword [esp + 0x270], ebx
mov dword [esp + 0x274], ebx
mov dword [esp + 0x278], ebx
mov dword [esp + 0x27c], ebx
mov dword [esp + 0x280], ebx
mov dword [esp + 0x284], ebx
mov dword [esp + 0x288], ebx
mov dword [esp + 0x28c], ebx
mov dword [esp + 0x24], 8
call dword [sym.imp.USER32.dll_GetLastInputInfo]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x24]
cmp eax, 0x2bf20
jbe 0x10005ab7
mov dword [esp + 0x24c], 1
mov ebp, dword [esp + 0x338]
mov ecx, ebp
call fcn.10008030
test al, al
je 0x10005b2b
mov eax, dword [ebp + 0x7c]
lea edi, [ebp + 8]
mov dword [esp + 0x190], eax
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x18c], edx
lea edx, [esp + 0x194]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [esp + 0x1c6]
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp + 0x3a]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10003ee0
mov edx, eax
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x2cd]
mov byte [esp + 0x2cc], bl
cmp edx, 0x3e8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop edi
pop esi
pop ebp
pop ebx
jl 0x10005b87
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0x2c0]
push str._u_Gbps
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x2c8]
push eax
jmp 0x10005ba3
push edx
lea ecx, [esp + 0x2c0]
push str._u_Mbps
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0x2c8]
push edx
call dword [sym.imp.MSVCRT.dll_printf]
mov ecx, dword [esp + 0x334]
add esp, 0x10
lea eax, [esp + 0x28]
push 0x254
push eax
call fcn.10001af0
add esp, 0x320
ret