Function at 0x40acf0
Capabilities:
Check os version
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 8], esi
call fcn.00409a10
mov ecx, 0x25
xor eax, eax
lea edi, [ebp - 0xbc]
push str._System_Info__r_n
rep stosd dword es:[edi], eax
push esi
mov dword [ebp - 0xbc], 0x94
call fcn.00409bc0
add esp, 8
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40af47
mov cl, byte [0x439068]
xor eax, eax
mov byte [ebp - 0x1bc], cl
mov ecx, 0x3f
lea edi, [ebp - 0x1bb]
mov esi, 0x439068
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0xac]
xor ebx, ebx
cmp eax, 2
mov dword [ebp - 4], esi
jne 0x40ae1a
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb4]
cmp edx, 4
jne 0x40ad97
test ecx, ecx
jne 0x40adb6
mov dword [ebp - 4], str.Windows_NT_4.0
jmp 0x40adb6
cmp edx, 5
jne 0x40adb6
mov eax, ecx
sub eax, 0
je 0x40adaf
dec eax
jne 0x40adb6
mov dword [ebp - 4], str.Windows_XP
jmp 0x40adb6
mov dword [ebp - 4], str.Windows_2000
mov eax, dword [ebp - 0xb0]
push eax
push ecx
push edx
lea ecx, [ebp - 0x1bc]
push str._lu._lu._lu
push ecx
call dword [sym.imp.PNCRT.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0xa8]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40ae02
test cl, cl
je 0x40adfe
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40ae02
add eax, 2
add esi, 2
test cl, cl
jne 0x40adda
xor eax, eax
jmp 0x40ae07
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40af17
lea ebx, [ebp - 0xa8]
jmp 0x40af11
cmp eax, 1
jne 0x40af17
mov eax, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xb4]
cmp eax, 4
jne 0x40aee0
test edi, edi
je 0x40ae9c
cmp edi, 0xa
je 0x40ae56
cmp edi, 0x5a
jne 0x40aee0
mov dword [ebp - 4], str.Windows_Me
jmp 0x40aee0
mov dword [ebp - 4], str.Windows_98
mov esi, 0x411600
lea eax, [ebp - 0xa8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ae8c
test cl, cl
je 0x40ae88
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ae8c
add eax, 2
add esi, 2
test cl, cl
jne 0x40ae68
xor eax, eax
jmp 0x40ae91
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40aee0
mov ebx, str.Second_Edition
jmp 0x40aee0
mov dword [ebp - 4], str.Windows_95
mov esi, 0x4115e0
lea eax, [ebp - 0xa8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40aed2
test cl, cl
je 0x40aece
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40aed2
add eax, 2
add esi, 2
test cl, cl
jne 0x40aeae
xor eax, eax
jmp 0x40aed7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40aee0
mov ebx, str.OSR2
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xb8]
lea eax, [ebp - 0xa8]
and ecx, 0xffff
push eax
push ecx
push edi
push edx
lea eax, [ebp - 0x1bc]
push str._lu._lu._hu__s
push eax
call dword [sym.imp.PNCRT.dll_sprintf]
add esp, 0x18
test ebx, ebx
mov eax, ebx
jne 0x40af1c
mov eax, 0x439068
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 8]
push eax
push ecx
push str.Operating_System:__s__s_r_n
push esi
call fcn.00409bc0
add esp, 0x10
lea edx, [ebp - 0x1bc]
push edx
push str.Version:__s_r_n
push esi
call fcn.00409bc0
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x40af8f
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
push esi
call edi
push 0xa
push esi
mov ebx, eax
call edi
push 0xc
push esi
mov dword [ebp - 4], eax
call edi
mov ecx, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
push str.Primary_Monitor_Resolution:__dx_d__d_Bit_Color_r_n
push ecx
call fcn.00409bc0
add esp, 0x14
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x28]
lea edx, [ebp - 0x28]
rep stosd dword es:[edi], eax
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 8]
push eax
push str.Total_Physical_RAM:__lu_Bytes_r_n
push esi
call fcn.00409bc0
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push ecx
push str.Free_Physical_RAM:__lu_Bytes_r_n
push esi
call fcn.00409bc0
mov edx, dword [ebp - 0x18]
add esp, 0xc
push edx
push str.Pagefile_Commit_Limit:__lu_Bytes_r_n
push esi
call fcn.00409bc0
mov eax, dword [ebp - 0x14]
add esp, 0xc
push eax
push str.Pagefile_Commit_Available:__lu_Bytes_r_n
push esi
call fcn.00409bc0
add esp, 0xc
push str.Task_List:_r_n
push esi
call fcn.00409bc0
add esp, 8
mov ecx, esi
push 0x40aa80
call fcn.0040a6d0
push 0x411350
push esi
call fcn.00409bc0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret