Function at 0x482610
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4dc6e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x24]
push esi
mov esi, dword [ebp + 0x14]
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 0x10]
push eax
movsd qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x24], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [0x4ea110]
test eax, eax
je 0x48275c
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x40
push ecx
call eax
mov ecx, dword [ebp + 8]
mov eax, ecx
mov edx, dword [ebp + 0xc]
or eax, edx
je 0x4826ab
call fcn.004939cf
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
movsd qword [ebp - 0x74], xmm0
call fcn.004939cf
movsd xmm1, qword [ebp - 0x74]
divsd xmm1, xmm0
mulsd xmm1, qword [0x4ba8c0]
movsd qword [ebp - 0x6c], xmm1
jmp 0x4828e3
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
call fcn.004939cf
mulsd xmm0, qword [0x4ba8a0]
mov eax, dword [0x4f6850]
movsd qword [eax + 0x28], xmm0
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
call fcn.004939cf
mulsd xmm0, qword [0x4ba8a0]
mov eax, dword [0x4f6864]
movsd qword [eax + 0x28], xmm0
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x58]
sbb edx, dword [ebp - 0x50]
call fcn.0049393e
mov ecx, dword [ebp - 0x4c]
movapd xmm1, xmm0
mulsd xmm1, qword [0x4ba8a0]
sub ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
sbb edx, dword [ebp - 0x40]
movsd qword [ebp - 0x74], xmm1
call fcn.004939cf
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
movsd qword [ebp - 0x7c], xmm0
mulsd xmm0, qword [0x4ba8c0]
movsd qword [ebp - 0x6c], xmm0
call fcn.004939cf
movsd xmm3, qword [ebp - 0x7c]
movsd xmm1, qword [ebp - 0x6c]
mulsd xmm3, qword [0x4ba8a0]
mov ecx, dword [ebp - 0x14]
movsd xmm4, qword [ebp - 0x74]
movsd xmm5, qword [0x4ba8c0]
jmp 0x482855
mov ecx, dword [ebp + 8]
mov eax, ecx
mov edx, dword [ebp + 0xc]
or eax, edx
je 0x48279a
call fcn.004939cf
mov eax, dword [ebp - 0x14]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x4bac10]
divsd xmm0, xmm1
mulsd xmm0, qword [0x4ba8c0]
movsd qword [ebp - 0x6c], xmm0
jmp 0x4828e3
mov eax, dword [ebp - 0x14]
movsd xmm2, qword [0x4ba8a0]
movsd xmm5, qword [0x4ba8c0]
movd xmm0, eax
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x4bac10]
mov eax, dword [0x4f6850]
mulsd xmm0, xmm2
movsd qword [eax + 0x28], xmm0
mov eax, dword [ebp - 0x1c]
movd xmm0, eax
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x4bac10]
mov eax, dword [0x4f6864]
mulsd xmm0, xmm2
movsd qword [eax + 0x28], xmm0
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movd xmm4, eax
shr eax, 0x1f
cvtdq2pd xmm4, xmm4
movd xmm0, ecx
addsd xmm4, qword [eax*8 + 0x4bac10]
mov eax, ecx
sub eax, dword [ebp - 0x10]
cvtdq2pd xmm0, xmm0
movd xmm3, eax
cvtdq2pd xmm3, xmm3
shr eax, 0x1f
mulsd xmm4, xmm2
addsd xmm3, qword [eax*8 + 0x4bac10]
mov eax, ecx
shr eax, 0x1f
movsd qword [ebp - 0x74], xmm4
movapd xmm1, xmm3
mulsd xmm3, xmm2
addsd xmm0, qword [eax*8 + 0x4bac10]
mulsd xmm1, xmm5
divsd xmm1, xmm0
movsd qword [ebp - 0x7c], xmm3
movsd qword [ebp - 0x6c], xmm1
xorps xmm1, xmm1
comisd xmm1, xmm3
jbe 0x48288d
shr ecx, 0xa
movsd qword [ebp - 0x6c], xmm5
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4bac10]
movsd qword [ebp - 0x7c], xmm0
push 0
sub esp, 0x10
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm4
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [0x4f6864]
call fcn.0043cb30
add esp, 0x20
xorps xmm0, xmm0
push 0
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x7c]
movsd qword [esp], xmm0
push dword [ebp - 0x80]
push dword [ebp - 0x84]
push dword [0x4f6850]
call fcn.0043cb30
add esp, 0x20
movsd xmm1, qword [ebp - 0x74]
test edi, edi
je 0x4828f5
movsd xmm0, qword [ebp - 0x7c]
movsd qword [edi], xmm0
test esi, esi
je 0x4828fd
movsd qword [esi], xmm1
fld qword [ebp - 0x6c]
test ebx, ebx
je 0x482912
mov eax, dword [0x4f6864]
movsd xmm0, qword [eax + 0x28]
movsd qword [ebx], xmm0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048fc6c
mov esp, ebp
pop ebp
ret