Function at 0x40a880
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.004095b0
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.00409750
add esp, 8
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40aad7
mov cl, byte [0x437278]
xor eax, eax
mov byte [ebp - 0x1bc], cl
mov ecx, 0x3f
lea edi, [ebp - 0x1bb]
mov esi, 0x437278
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 0x40a9aa
mov edx, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb4]
cmp edx, 4
jne 0x40a927
test ecx, ecx
jne 0x40a946
mov dword [ebp - 4], str.Windows_NT_4.0
jmp 0x40a946
cmp edx, 5
jne 0x40a946
mov eax, ecx
sub eax, 0
je 0x40a93f
dec eax
jne 0x40a946
mov dword [ebp - 4], str.Windows_XP
jmp 0x40a946
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 0x40a992
test cl, cl
je 0x40a98e
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40a992
add eax, 2
add esi, 2
test cl, cl
jne 0x40a96a
xor eax, eax
jmp 0x40a997
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40aaa7
lea ebx, [ebp - 0xa8]
jmp 0x40aaa1
cmp eax, 1
jne 0x40aaa7
mov eax, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xb4]
cmp eax, 4
jne 0x40aa70
test edi, edi
je 0x40aa2c
cmp edi, 0xa
je 0x40a9e6
cmp edi, 0x5a
jne 0x40aa70
mov dword [ebp - 4], str.Windows_Me
jmp 0x40aa70
mov dword [ebp - 4], str.Windows_98
mov esi, 0x410430
lea eax, [ebp - 0xa8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40aa1c
test cl, cl
je 0x40aa18
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40aa1c
add eax, 2
add esi, 2
test cl, cl
jne 0x40a9f8
xor eax, eax
jmp 0x40aa21
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40aa70
mov ebx, str.Second_Edition
jmp 0x40aa70
mov dword [ebp - 4], str.Windows_95
mov esi, 0x410410
lea eax, [ebp - 0xa8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40aa62
test cl, cl
je 0x40aa5e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40aa62
add eax, 2
add esi, 2
test cl, cl
jne 0x40aa3e
xor eax, eax
jmp 0x40aa67
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40aa70
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 0x40aaac
mov eax, 0x437278
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.00409750
add esp, 0x10
lea edx, [ebp - 0x1bc]
push edx
push str.Version:__s_r_n
push esi
call fcn.00409750
add esp, 0xc
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x40ab1f
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.00409750
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.00409750
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push ecx
push str.Free_Physical_RAM:__lu_Bytes_r_n
push esi
call fcn.00409750
mov edx, dword [ebp - 0x18]
add esp, 0xc
push edx
push str.Pagefile_Commit_Limit:__lu_Bytes_r_n
push esi
call fcn.00409750
mov eax, dword [ebp - 0x14]
add esp, 0xc
push eax
push str.Pagefile_Commit_Available:__lu_Bytes_r_n
push esi
call fcn.00409750
add esp, 0xc
push str.Task_List:_r_n
push esi
call fcn.00409750
add esp, 8
mov ecx, esi
push 0x40a610
call fcn.0040a260
push 0x410180
push esi
call fcn.00409750
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret