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

Disassembly:
push 0xffffffffffffffff
push 0x4585d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov eax, dword [0x476a54]
xor eax, dword [esp + 0xcc]
push esi
mov dword [esp + 0xc0], eax
push edi
lea eax, [esp + 0x30]
push eax
mov esi, ecx
mov dword [esp + 0x34], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x34], 4
jne 0x42af14
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x42aeba
cmp dword [esp + 0x40], 1
jne 0x42af5b
push str.Windows95
lea ecx, [esi + 0x90]
call fcn.004022b0
cmp dword [esp + 0x34], 4
jne 0x42af14
cmp dword [esp + 0x38], 0xa
jne 0x42aeeb
mov eax, str.Windows98
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42aed0
sub eax, edi
push eax
push str.Windows98
call fcn.004021a0
cmp dword [esp + 0x34], 4
jne 0x42af14
cmp dword [esp + 0x38], 0x5a
jne 0x42af4f
mov eax, str.WindowsMe
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42af00
sub eax, edi
push eax
push str.WindowsMe
call fcn.004021a0
cmp dword [esp + 0x34], 3
jne 0x42af48
cmp dword [esp + 0x38], 0x33
jne 0x42afd4
mov eax, str.WindowsNT351
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42af34
sub eax, edi
push eax
push str.WindowsNT351
call fcn.004021a0
cmp dword [esp + 0x34], 4
jne 0x42af72
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x42afd4
cmp dword [esp + 0x40], 2
jne 0x42afd4
push str.WindowsNT40
lea ecx, [esi + 0x90]
call fcn.004022b0
cmp dword [esp + 0x34], 5
jne 0x42afd4
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x42afab
mov eax, str.Windows2000
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42af90
sub eax, edi
push eax
push str.Windows2000
call fcn.004021a0
cmp dword [esp + 0x34], 5
jne 0x42afd4
cmp dword [esp + 0x38], 1
jne 0x42afd4
mov eax, str.WindowsXP
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42afc0
sub eax, edi
push eax
push str.WindowsXP
call fcn.004021a0
mov ecx, dword [esi + 0x90]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Operating_system_version_:__s
call fcn.004022f0
lea edx, [esp + 0x10]
push edx
push esi
call fcn.0042aa00
add esp, 0x10
mov eax, dword [eax]
push eax
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._s__:__s
mov dword [esp + 0xe0], 0
call fcn.004022f0
mov ecx, dword [0x477970]
mov edx, dword [ecx + 4]
push edx
call fcn.0041f150
mov eax, dword [esp + 0x18]
or edi, 0xffffffff
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xd0], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b057
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.dwMajorVersion:__08x
call fcn.004022f0
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042aa00
add esp, 0x10
mov edx, dword [eax]
push edx
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._s__:__s
mov dword [esp + 0xe0], 1
call fcn.004022f0
mov eax, dword [0x477970]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041f150
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xd0], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b0d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x38]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.dwMinorVersion:__08x
call fcn.004022f0
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042aa00
add esp, 0x10
mov edx, dword [eax]
push edx
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._s__:__s
mov dword [esp + 0xe0], 2
call fcn.004022f0
mov eax, dword [0x477970]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041f150
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xd0], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b151
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.dwBuildNumber:__08x
call fcn.004022f0
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042aa00
add esp, 0x10
mov edx, dword [eax]
push edx
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._s__:__s
mov dword [esp + 0xe0], 3
call fcn.004022f0
mov eax, dword [0x477970]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041f150
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xd0], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b1ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x40]
cmp eax, 1
jne 0x42b1fd
push str.Platform_ID:_Windows_9x_based
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str._s__:__s
call fcn.004022f0
mov eax, dword [0x477970]
mov ecx, dword [eax + 4]
push ecx
jmp 0x42b227
cmp eax, 2
jne 0x42b22f
push str.Platform_ID:_Windows_NT_based
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str._s__:__s
call fcn.004022f0
mov edx, dword [0x477970]
mov eax, dword [edx + 4]
push eax
call fcn.0041f150
add esp, 0x10
lea ecx, [esp + 0x44]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.szCSDVersion:__s
call fcn.004022f0
lea edx, [esp + 0x10]
push edx
push esi
call fcn.0042aa00
add esp, 0x10
mov eax, dword [eax]
push eax
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._s__:__s
mov dword [esp + 0xe0], 4
call fcn.004022f0
mov ecx, dword [0x477970]
mov edx, dword [ecx + 4]
push edx
call fcn.0041f150
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xd0], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b2ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.Memory_information:
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str._s__:__s
call fcn.004022f0
mov eax, dword [0x477970]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041f150
add esp, 0x10
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.dwMemoryLoad:__d
call fcn.004022f0
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042aa00
add esp, 0x10
mov edx, dword [eax]
push edx
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._s__:__s
mov dword [esp + 0xe0], 5
call fcn.004022f0
mov eax, dword [0x477970]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041f150
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xd0], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b369
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.dwTotalPhys:__d
call fcn.004022f0
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042aa00
add esp, 0x10
mov edx, dword [eax]
push edx
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._s__:__s
mov dword [esp + 0xe0], 6
call fcn.004022f0
mov eax, dword [0x477970]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041f150
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xd0], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b3e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.dwAvailPhys:__d
call fcn.004022f0
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042aa00
add esp, 0x10
mov edx, dword [eax]
push edx
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._s__:__s
mov dword [esp + 0xe0], 7
call fcn.004022f0
mov eax, dword [0x477970]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041f150
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xd0], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b463
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.dwTotalPageFile:__d
call fcn.004022f0
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042aa00
add esp, 0x10
mov edx, dword [eax]
push edx
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._s__:__s
mov dword [esp + 0xe0], 8
call fcn.004022f0
mov eax, dword [0x477970]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041f150
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xd0], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b4e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.dwAvailPageFile:__d
call fcn.004022f0
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042aa00
add esp, 0x10
mov edx, dword [eax]
push edx
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._s__:__s
mov dword [esp + 0xe0], 9
call fcn.004022f0
mov eax, dword [0x477970]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041f150
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xd0], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b55d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.dwTotalVirtual:__d
call fcn.004022f0
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042aa00
add esp, 0x10
mov edx, dword [eax]
push edx
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str._s__:__s
mov dword [esp + 0xe0], 0xa
call fcn.004022f0
mov eax, dword [0x477970]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041f150
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xd0], edi
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42b5da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.dwAvailVirtual:__d
call fcn.004022f0
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.0042aa00
add esp, 0x10
mov edx, dword [eax]
push edx
push str.Uve::dumpSystemInfo
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str._s__:__s
mov dword [esp + 0xe0], 0xb
call fcn.004022f0
mov eax, dword [0x477970]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041f150
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xd0], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x42b655
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc4]
xor ecx, dword [esp + 0xd4]
pop edi
pop esi
add esp, 0xcc
jmp fcn.0043bfd6