Function at 0x4b97f0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3933
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x599224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTimes]
test eax, eax
je 0x4b9840
mov byte [ebp - 0x51], 1
jmp 0x4b9844
mov byte [ebp - 0x51], 0
mov al, byte [ebp - 0x51]
mov byte [ebp - 0x65], al
mov ecx, dword [0x59cde4]
shl ecx, 0x1f
or ecx, dword [0x59cde0]
xor edx, edx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x7c]
shl eax, 0x1f
or eax, dword [ebp - 0x80]
xor ecx, ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x5c]
sub edx, dword [ebp - 0x64]
mov dword [ebp - 0x94], edx
mov eax, dword [0x59cddc]
shl eax, 0x1f
or eax, dword [0x59cdd8]
xor ecx, ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x84]
shl edx, 0x1f
or edx, dword [ebp - 0x88]
xor eax, eax
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x64]
mov dword [ebp - 0x6c], ecx
mov edx, dword [0x59cdc0]
shl edx, 0x1f
or edx, dword [0x59cdbc]
xor eax, eax
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x8c]
shl ecx, 0x1f
or ecx, dword [ebp - 0x90]
xor edx, edx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x64]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x70]
sub ecx, dword [ebp - 0x94]
imul eax, ecx, 0x64
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x70]
cdq
idiv ecx
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x7c]
mov dword [0x59cde0], edx
mov dword [0x59cde4], eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
mov dword [0x59cdd8], ecx
mov dword [0x59cddc], edx
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x8c]
mov dword [0x59cdbc], eax
mov dword [0x59cdc0], ecx
push str.CPU_:__1_
lea ecx, [ebp - 0xa4]
call dword [0x4d65e4]
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 4], 0
mov byte [ebp - 0x52], 0x20
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
movzx eax, byte [ebp - 0x52]
push eax
call dword [0x4d66ec]
push 0xa
push 0
mov ecx, dword [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0xa0]
call dword [0x4d65f0]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call dword [0x4d65f8]
call fcn.004b9b20
mov dword [ebp - 0xa8], eax
cvtsi2sd xmm0, dword [ebp - 0xa8]
divsd xmm0, qword [0x57cf40]
movsd qword [ebp - 0xb0], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0xb0]
movsd qword [esp], xmm0
push str.cpu:_.02f_GHz
push 0
push 0
push 0
lea ecx, [ebp - 0xe8]
call dword [0x4d61e8]
push eax
call dword [0x4d64c8]
add esp, 0x10
cvtsd2ss xmm0, qword [ebp - 0xb0]
mov eax, dword [ebp - 0x74]
movss dword [eax + 0x68], xmm0
mov dword [ebp - 0x50], 0x40
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x4b9a44
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call dword [0x4d65f8]
jmp 0x4b9afb
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
call fcn.004c3c40
divsd xmm0, qword [0x57cf50]
movsd qword [ebp - 0xcc], xmm0
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
call fcn.004c3c40
divsd xmm0, qword [0x57cf50]
movsd qword [ebp - 0xc4], xmm0
movsd xmm0, qword [ebp - 0xc4]
subsd xmm0, qword [ebp - 0xcc]
movsd qword [ebp - 0xd4], xmm0
movsd xmm0, qword [ebp - 0xd4]
divsd xmm0, qword [0x57cf38]
movsd qword [ebp - 0xb8], xmm0
sub esp, 8
movsd xmm0, qword [ebp - 0xb8]
movsd qword [esp], xmm0
push str.use_mem:_.02f_GB
push 0
push 0
push 0
lea ecx, [ebp - 0xfc]
call dword [0x4d61e8]
push eax
call dword [0x4d64c8]
add esp, 0x10
cvtsd2ss xmm0, qword [ebp - 0xb8]
mov edx, dword [ebp - 0x74]
movss dword [edx + 0x78], xmm0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call dword [0x4d65f8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046fb55
mov esp, ebp
pop ebp
ret