Function at 0x100037c8
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2ec
push ebx
push esi
push edi
mov ebx, 0x220
xor edi, edi
push ebx
lea eax, [ebp - 0x248]
push edi
push eax
call dword [0x1000b4bc]
lea eax, [ebp - 0x247]
push 0x20
push eax
push 0x1000af14
push str.Group
push str.Setting
mov byte [ebp - 0x248], 0xc8
call fcn.10006af2
push 0x10
lea eax, [ebp - 0x28]
pop esi
push esi
push edi
push eax
call dword [0x1000b4bc]
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 [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.100034d1
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.10004818
add esp, 0xc
test eax, eax
je 0x100038a5
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.1000350c
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.1000356a
mov dword [ebp - 0x12c], eax
call fcn.1000364c
mov esi, 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 esi
lea eax, [ebp - 0x10c]
push 0x1000a5ac
push eax
call esi
lea eax, [ebp - 0x48]
push 0x1000a660
push eax
call esi
push 1
xor eax, eax
pop esi
mov dword [ebp - 0x88], edi
cmp dword [0x1000b034], esi
sete al
mov dword [ebp - 0x84], eax
xor eax, eax
cmp dword [0x1000b038], esi
sete al
mov dword [ebp - 0x80], eax
xor eax, eax
cmp dword [0x1000b03c], esi
sete al
mov dword [ebp - 0x7c], eax
xor eax, eax
cmp dword [0x1000b040], esi
sete al
mov dword [ebp - 0x78], eax
xor eax, eax
cmp dword [0x1000b044], esi
sete al
mov dword [ebp - 0x74], eax
xor eax, eax
cmp dword [0x1000b048], esi
sete al
mov dword [ebp - 0x70], eax
xor eax, eax
cmp dword [0x1000b04c], esi
sete al
mov dword [ebp - 0x6c], eax
xor eax, eax
cmp dword [0x1000b050], esi
sete al
mov dword [ebp - 0x68], eax
xor eax, eax
cmp dword [0x1000b054], esi
sete al
mov dword [ebp - 0x64], eax
xor eax, eax
cmp dword [0x1000b058], esi
sete al
mov dword [ebp - 0x60], eax
xor eax, eax
cmp dword [0x1000b05c], esi
sete al
mov dword [ebp - 0x5c], eax
xor eax, eax
cmp dword [0x1000b060], esi
mov dword [ebp - 0x18], 8
sete al
mov dword [ebp - 0x58], eax
xor eax, eax
cmp dword [0x1000b064], esi
sete al
mov dword [ebp - 0x54], eax
xor eax, eax
cmp dword [0x1000b068], esi
sete al
mov dword [ebp - 0x50], eax
xor eax, eax
cmp dword [0x1000b06c], esi
sete al
mov dword [ebp - 0x4c], 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 0x10003a39
mov dword [ebp - 0x88], esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.100069ca
test al, al
je 0x10003a7c
mov eax, dword [esi + 4]
mov dword [ebp - 0xf4], eax
mov eax, dword [esi + 0x7c]
mov dword [ebp - 0xf0], eax
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0xec]
push eax
call sub.MSVCRT.dll_strcpy
add esi, 0x3a
lea eax, [ebp - 0xba]
push esi
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0x10
call fcn.10003726
and byte [ebp - 0x2ec], 0
push 0x18
mov edx, eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x2eb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3e8
cmp edx, ecx
stosb byte es:[edi], al
jl 0x10003ab0
mov eax, edx
cdq
idiv ecx
push eax
push str._u_Gbps
jmp 0x10003ab6
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 ebx
push eax
call fcn.10001879
pop edi
pop esi
pop ebx
leave
ret