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

Disassembly:
push 0xffffffffffffffff
push 0x458644
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 0x4255f4
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x42559a
cmp dword [esp + 0x40], 1
jne 0x42563b
push str.Windows95
lea ecx, [esi + 0x90]
call fcn.004022b0
cmp dword [esp + 0x34], 4
jne 0x4255f4
cmp dword [esp + 0x38], 0xa
jne 0x4255cb
mov eax, str.Windows98
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4255b0
sub eax, edi
push eax
push str.Windows98
call fcn.004021a0
cmp dword [esp + 0x34], 4
jne 0x4255f4
cmp dword [esp + 0x38], 0x5a
jne 0x42562f
mov eax, str.WindowsMe
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4255e0
sub eax, edi
push eax
push str.WindowsMe
call fcn.004021a0
cmp dword [esp + 0x34], 3
jne 0x425628
cmp dword [esp + 0x38], 0x33
jne 0x4256b4
mov eax, str.WindowsNT351
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x425614
sub eax, edi
push eax
push str.WindowsNT351
call fcn.004021a0
cmp dword [esp + 0x34], 4
jne 0x425652
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4256b4
cmp dword [esp + 0x40], 2
jne 0x4256b4
push str.WindowsNT40
lea ecx, [esi + 0x90]
call fcn.004022b0
cmp dword [esp + 0x34], 5
jne 0x4256b4
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x42568b
mov eax, str.Windows2000
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x425670
sub eax, edi
push eax
push str.Windows2000
call fcn.004021a0
cmp dword [esp + 0x34], 5
jne 0x4256b4
cmp dword [esp + 0x38], 1
jne 0x4256b4
mov eax, str.WindowsXP
lea ecx, [esi + 0x90]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4256a0
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.004250e0
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.00419450
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 0x425737
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.004250e0
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.00419450
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 0x4257b4
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.004250e0
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.00419450
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 0x425831
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.004250e0
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.00419450
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 0x4258ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x40]
cmp eax, 1
jne 0x4258dd
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 0x425907
cmp eax, 2
jne 0x42590f
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.00419450
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.004250e0
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.00419450
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 0x42598d
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.00419450
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.004250e0
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.00419450
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 0x425a49
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.004250e0
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.00419450
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 0x425ac6
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.004250e0
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.00419450
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 0x425b43
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.004250e0
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.00419450
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 0x425bc0
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.004250e0
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.00419450
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 0x425c3d
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.004250e0
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.00419450
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 0x425cba
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.004250e0
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.00419450
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 0x425d35
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.0043c4b6