Function at 0x47e660
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eeb71
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], edi
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 2
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov byte [ebp - 4], 3
wait
push str.SELECT__from_Win32_ComputerSystem
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov bl, 4
mov byte [ebp - 4], bl
push edi
lea ecx, [ebp - 0x38]
call fcn.00426b40
test al, al
je 0x47e843
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x38]
call fcn.00426d20
mov esi, eax
mov ecx, dword [esi]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
push 1
push 0xffffffffffffffff
push esi
mov ecx, dword [ecx + 0x10]
call ecx
push str.Model
mov edx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.0040fd90
add esp, 0xc
mov byte [ebp - 4], 5
push eax
mov ecx, 0x103abb0
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push str.Manufacturer
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0040fd90
add esp, 0xc
mov byte [ebp - 4], 6
push eax
mov ecx, 0x103ad98
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [esi]
push esi
mov ecx, dword [eax + 8]
call ecx
push str.SELECT__from_Win32_DiskDrive
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov edx, dword [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x38]
call fcn.00426d20
mov esi, eax
cmp esi, edi
je 0x47e83b
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
push esi
mov eax, dword [eax + 0x10]
call eax
cmp dword [ebp - 0x30], edi
je 0x47e83b
push str.MediaType
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0040fd90
add esp, 0xc
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push str.Fixed_hard_disk_media
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
mov eax, dword [ebp - 0x1c]
jne 0x47e997
push str.Size
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0040fd90
mov byte [ebp - 4], 8
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR90.dll__atoi64]
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esi]
push esi
mov ecx, dword [eax + 8]
call ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
wait
mov dword [ebp - 4], 2
lea edx, [ebp - 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x90]
mov dword [0x10388d4], eax
mov dword [ebp - 0x80], 0x40
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x18], edx
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
and ecx, 0x80000000
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edi
fild qword [ebp - 0x18]
fchs
faddp st(1)
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x3c]
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
and ecx, 0x80000000
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edi
fild qword [ebp - 0x18]
fchs
faddp st(1)
fld qword [0x514358]
fmul st(2), st(0)
fxch st(2)
fstp qword [0x1038ae8]
fmulp st(1)
fstp qword [0x1038af0]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 0xa
sub esp, 8
fld qword [0x1038af0]
fstp qword [esp]
mov ecx, dword [ebp - 0x7c]
push ecx
sub esp, 8
fld qword [0x1038ae8]
fstp qword [esp]
mov edx, dword [0x10388d4]
push edx
mov eax, dword [0x103abb0]
push eax
mov ecx, dword [0x103ad98]
push ecx
push str._s___s___d___.1f___d___.1f
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
mov eax, dword [ebp - 0x20]
push eax
push str.GetHW___s_
push 8
call fcn.0043d500
add esp, 0x34
lea ecx, [ebp - 0x20]
push ecx
mov esi, dword [ebp + 8]
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_300]
or dword [ebp - 0x28], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.004097e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
jmp 0x47e792