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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c0
mov eax, dword [0x4116b8]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a0], esi
call fcn.0040a550
xor eax, eax
mov ecx, 0x25
lea edi, [ebp - 0x98]
push str._System_Info__r_n
rep stosd dword es:[edi], eax
push esi
mov dword [ebp - 0x98], 0x94
call fcn.004093f0
add esp, 8
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x40ab2c
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x198], bl
mov ecx, 0x3f
lea edi, [ebp - 0x197]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x88]
cmp eax, 2
mov dword [ebp - 0x19c], 0x40e7b7
jne 0x40aa4b
mov edx, dword [ebp - 0x94]
cmp edx, 4
mov ecx, dword [ebp - 0x90]
jne 0x40a9e1
test ecx, ecx
jne 0x40aa06
mov dword [ebp - 0x19c], str.Windows_NT_4.0
jmp 0x40aa06
cmp edx, 5
jne 0x40aa06
mov eax, ecx
sub eax, 0
je 0x40a9fc
dec eax
jne 0x40aa06
mov dword [ebp - 0x19c], str.Windows_XP
jmp 0x40aa06
mov dword [ebp - 0x19c], str.Windows_2000
mov eax, dword [ebp - 0x8c]
push eax
push ecx
push edx
lea ecx, [ebp - 0x198]
push str._lu._lu._lu
push ecx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x14
mov edi, 0x40e7b7
lea esi, [ebp - 0x84]
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x40aaf9
lea ebx, [ebp - 0x84]
mov eax, ebx
jmp 0x40aafe
cmp eax, 1
jne 0x40aaf9
mov eax, dword [ebp - 0x94]
mov ecx, 4
cmp eax, ecx
mov eax, dword [ebp - 0x90]
jne 0x40aac5
test eax, eax
je 0x40aaa5
cmp eax, 0xa
je 0x40aa83
cmp eax, 0x5a
jne 0x40aac5
mov dword [ebp - 0x19c], str.Windows_Me
jmp 0x40aac5
mov edi, 0x40faf4
lea esi, [ebp - 0x84]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov dword [ebp - 0x19c], str.Windows_98
jne 0x40aac5
mov ebx, str.Second_Edition
jmp 0x40aac5
mov edi, 0x40fad4
lea esi, [ebp - 0x84]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov dword [ebp - 0x19c], str.Windows_95
jne 0x40aac5
mov ebx, str.OSR2
movzx edx, word [ebp - 0x8c]
lea ecx, [ebp - 0x84]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x198]
push str._lu._lu._hu__s
push ecx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x18
test ebx, ebx
je 0x40aaf9
mov eax, ebx
jmp 0x40aafe
mov eax, 0x40e7b7
mov edx, dword [ebp - 0x19c]
mov esi, dword [ebp - 0x1a0]
push eax
push edx
push str.Operating_System:__s__s_r_n
push esi
call fcn.004093f0
lea eax, [ebp - 0x198]
push eax
push str.Version:__s_r_n
push esi
call fcn.004093f0
add esp, 0x1c
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x40ab7d
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 - 0x19c], eax
call edi
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ebp - 0x1a0]
push eax
push ecx
push ebx
push str.Primary_Monitor_Resolution:__dx_d__d_Bit_Color_r_n
push edx
call fcn.004093f0
add esp, 0x14
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], eax
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1a8], eax
push ecx
mov dword [ebp - 0x1a4], eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [ebp - 0x1b8]
mov esi, dword [ebp - 0x1a0]
push edx
push str.Total_Physical_RAM:__lu_Bytes_r_n
push esi
call fcn.004093f0
mov eax, dword [ebp - 0x1b4]
push eax
push str.Free_Physical_RAM:__lu_Bytes_r_n
push esi
call fcn.004093f0
mov ecx, dword [ebp - 0x1b0]
push ecx
push str.Pagefile_Commit_Limit:__lu_Bytes_r_n
push esi
call fcn.004093f0
mov edx, dword [ebp - 0x1ac]
push edx
push str.Pagefile_Commit_Available:__lu_Bytes_r_n
push esi
call fcn.004093f0
push str.Task_List:_r_n
push esi
call fcn.004093f0
add esp, 0x38
push 0x40a440
mov ecx, esi
call fcn.0040a040
push 0x40f838
push esi
call fcn.004093f0
mov ecx, dword [ebp - 4]
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
call fcn.0040cc02
mov esp, ebp
pop ebp
ret