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

Disassembly:
push 0xffffffffffffffff
push 0x5152e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov eax, dword [0x5594e8]
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 0x4a7824
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4a77ca
cmp dword [esp + 0x40], 1
jne 0x4a786b
push str.Windows95
lea ecx, [esi + 0x8b4]
call fcn.004020d0
cmp dword [esp + 0x34], 4
jne 0x4a7824
cmp dword [esp + 0x38], 0xa
jne 0x4a77fb
mov eax, str.Windows98
lea ecx, [esi + 0x8b4]
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a77e0
sub eax, edi
push eax
push str.Windows98
call fcn.00401ee0
cmp dword [esp + 0x34], 4
jne 0x4a7824
cmp dword [esp + 0x38], 0x5a
jne 0x4a785f
mov eax, str.WindowsMe
lea ecx, [esi + 0x8b4]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a7810
sub eax, edi
push eax
push str.WindowsMe
call fcn.00401ee0
cmp dword [esp + 0x34], 3
jne 0x4a7858
cmp dword [esp + 0x38], 0x33
jne 0x4a78e4
mov eax, str.WindowsNT351
lea ecx, [esi + 0x8b4]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a7844
sub eax, edi
push eax
push str.WindowsNT351
call fcn.00401ee0
cmp dword [esp + 0x34], 4
jne 0x4a7882
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4a78e4
cmp dword [esp + 0x40], 2
jne 0x4a78e4
push str.WindowsNT40
lea ecx, [esi + 0x8b4]
call fcn.004020d0
cmp dword [esp + 0x34], 5
jne 0x4a78e4
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4a78bb
mov eax, str.Windows2000
lea ecx, [esi + 0x8b4]
lea edi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a78a0
sub eax, edi
push eax
push str.Windows2000
call fcn.00401ee0
cmp dword [esp + 0x34], 5
jne 0x4a78e4
cmp dword [esp + 0x38], 1
jne 0x4a78e4
mov eax, str.WindowsXP
lea ecx, [esi + 0x8b4]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a78d0
sub eax, edi
push eax
push str.WindowsXP
call fcn.00401ee0
mov ecx, dword [esi + 0x8b4]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Operating_system_version_:__s
call fcn.00402110
lea edx, [esp + 0x10]
push edx
push esi
call fcn.004a7680
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.00402110
mov ecx, dword [0x55cd0c]
mov edx, dword [ecx + 0x85c]
push edx
call fcn.00475320
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 0x4a796a
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.00402110
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.004a7680
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.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x85c]
push ecx
call fcn.00475320
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 0x4a79ea
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.00402110
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.004a7680
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.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x85c]
push ecx
call fcn.00475320
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 0x4a7a6a
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.00402110
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.004a7680
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.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x85c]
push ecx
call fcn.00475320
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 0x4a7aea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x40]
cmp eax, 1
jne 0x4a7b1c
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.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x85c]
push ecx
jmp 0x4a7b49
cmp eax, 2
jne 0x4a7b51
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.00402110
mov edx, dword [0x55cd0c]
mov eax, dword [edx + 0x85c]
push eax
call fcn.00475320
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.00402110
lea edx, [esp + 0x10]
push edx
push esi
call fcn.004a7680
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.00402110
mov ecx, dword [0x55cd0c]
mov edx, dword [ecx + 0x85c]
push edx
call fcn.00475320
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 0x4a7bd2
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.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x85c]
push ecx
call fcn.00475320
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.00402110
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.004a7680
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.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x85c]
push ecx
call fcn.00475320
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 0x4a7c94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
shr eax, 0xa
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.dwTotalPhys:__dK
call fcn.00402110
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.004a7680
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.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x85c]
push ecx
call fcn.00475320
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 0x4a7d17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
shr eax, 0xa
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.dwAvailPhys:__dK
call fcn.00402110
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.004a7680
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.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x85c]
push ecx
call fcn.00475320
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 0x4a7d9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
shr eax, 0xa
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.dwTotalPageFile:__dK
call fcn.00402110
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.004a7680
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.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x85c]
push ecx
call fcn.00475320
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 0x4a7e1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
shr eax, 0xa
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.dwAvailPageFile:__dK
call fcn.00402110
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.004a7680
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.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x85c]
push ecx
call fcn.00475320
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 0x4a7ea0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
shr eax, 0xa
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push str.dwTotalVirtual:__dK
call fcn.00402110
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.004a7680
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.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x85c]
push ecx
call fcn.00475320
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 0x4a7f23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
shr eax, 0xa
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.dwAvailVirtual:__dK
call fcn.00402110
lea ecx, [esp + 0x14]
push ecx
push esi
call fcn.004a7680
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.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x85c]
push ecx
call fcn.00475320
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 0x4a7fa4
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.004ecf23