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

Disassembly:
push 0xffffffffffffffff
push 0x45bd84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov eax, dword [0x47b258]
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 0x42dd34
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x42dcda
cmp dword [esp + 0x40], 1
jne 0x42dd7b
push str.Windows95
lea ecx, [esi + 0x90]
call fcn.004022f0
cmp dword [esp + 0x34], 4
jne 0x42dd34
cmp dword [esp + 0x38], 0xa
jne 0x42dd0b
mov eax, str.Windows98
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42dcf0
sub eax, edi
push eax
push str.Windows98
call fcn.004021e0
cmp dword [esp + 0x34], 4
jne 0x42dd34
cmp dword [esp + 0x38], 0x5a
jne 0x42dd6f
mov eax, str.WindowsMe
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42dd20
sub eax, edi
push eax
push str.WindowsMe
call fcn.004021e0
cmp dword [esp + 0x34], 3
jne 0x42dd68
cmp dword [esp + 0x38], 0x33
jne 0x42ddf4
mov eax, str.WindowsNT351
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42dd54
sub eax, edi
push eax
push str.WindowsNT351
call fcn.004021e0
cmp dword [esp + 0x34], 4
jne 0x42dd92
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x42ddf4
cmp dword [esp + 0x40], 2
jne 0x42ddf4
push str.WindowsNT40
lea ecx, [esi + 0x90]
call fcn.004022f0
cmp dword [esp + 0x34], 5
jne 0x42ddf4
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x42ddcb
mov eax, str.Windows2000
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42ddb0
sub eax, edi
push eax
push str.Windows2000
call fcn.004021e0
cmp dword [esp + 0x34], 5
jne 0x42ddf4
cmp dword [esp + 0x38], 1
jne 0x42ddf4
mov eax, str.WindowsXP
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x42dde0
sub eax, edi
push eax
push str.WindowsXP
call fcn.004021e0
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.00402330
lea edx, [esp + 0x10]
push edx
push esi
call fcn.0042d820
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.00402330
mov ecx, dword [0x47c170]
mov edx, dword [ecx + 4]
push edx
call fcn.0041fde0
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 0x42de77
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.00402330
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042d820
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.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041fde0
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 0x42def4
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.00402330
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042d820
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.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041fde0
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 0x42df71
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.00402330
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042d820
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.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041fde0
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 0x42dfee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x40]
cmp eax, 1
jne 0x42e01d
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.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
jmp 0x42e047
cmp eax, 2
jne 0x42e04f
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.00402330
mov edx, dword [0x47c170]
mov eax, dword [edx + 4]
push eax
call fcn.0041fde0
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.00402330
lea edx, [esp + 0x10]
push edx
push esi
call fcn.0042d820
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.00402330
mov ecx, dword [0x47c170]
mov edx, dword [ecx + 4]
push edx
call fcn.0041fde0
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 0x42e0cd
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.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041fde0
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.00402330
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042d820
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.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041fde0
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 0x42e189
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.00402330
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042d820
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.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041fde0
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 0x42e206
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.00402330
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042d820
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.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041fde0
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 0x42e283
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.00402330
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042d820
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.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041fde0
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 0x42e300
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.00402330
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042d820
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.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041fde0
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 0x42e37d
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.00402330
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.0042d820
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.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041fde0
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 0x42e3fa
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.00402330
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.0042d820
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.00402330
mov eax, dword [0x47c170]
mov ecx, dword [eax + 4]
push ecx
call fcn.0041fde0
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 0x42e475
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.0043eeae