Function at 0x425f40
Capabilities:
Check os version
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x52b95d
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x580ca0]
xor eax, esp
mov dword [esp + 0x1d8], eax
mov eax, dword [0x580ca0]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
lea eax, [esp + 0xbc]
mov dword [esp + 4], 0
push eax
mov dword [esp + 0xc], esi
mov dword [esp + 0xc0], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je case.default.0x4260ce
lea ecx, [esp + 0x98]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0xc0]
add eax, 0xfffffffc
cmp eax, 6
ja case.default.0x4260ce
jmp dword [eax*4 + 0x426294]
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x426007
cmp eax, 0xa
je 0x425ff6
cmp eax, 0x5a
jne case.default.0x4260ce
push str.Windows_Me
mov ecx, esi
call fcn.00403470
jmp 0x42626b
push str.Windows_98
mov ecx, esi
call fcn.00403470
jmp 0x42626b
mov eax, dword [esp + 0xcc]
cmp eax, 2
jne 0x426024
push str.Windows_NT_4.0
mov ecx, esi
call fcn.00403470
jmp 0x42626b
cmp eax, 1
jne case.default.0x4260ce
push str.Windows_95
mov ecx, esi
call fcn.00403470
jmp 0x42626b
mov eax, dword [esp + 0xc4]
sub eax, 0
je 0x4260ad
sub eax, 1
je 0x42609c
sub eax, 1
jne case.default.0x4260ce
mov al, byte [esp + 0x1d6]
cmp al, 1
jne 0x426083
cmp word [esp + 0x98], 9
jne case.default.0x4260ce
push str.Windows_XP_Professional_x64_Edition
mov ecx, esi
call fcn.00403470
jmp 0x42626b
cmp al, 3
jne case.default.0x4260ce
push str.Windows_Server_2003
mov ecx, esi
call fcn.00403470
jmp 0x42626b
push str.Windows_XP
mov ecx, esi
call fcn.00403470
jmp 0x42626b
push str.Windows_2000
mov ecx, esi
call fcn.00403470
jmp 0x42626b
mov eax, dword [esp + 0xc4]
cmp eax, 3
ja case.default.0x4260ce
jmp dword [eax*4 + 0x4262b0]
cmp byte [esp + 0x1d6], 1
mov ecx, esi
jne 0x4260f0
push str.Windows_Vista
call fcn.00403470
jmp 0x42626b
push str.Windows_Server_2008
call fcn.00403470
jmp 0x42626b
cmp byte [esp + 0x1d6], 1
mov ecx, esi
jne 0x42611a
push str.Windows_7
call fcn.00403470
jmp 0x42626b
push str.Windows_Server_2008_R2
call fcn.00403470
jmp 0x42626b
cmp byte [esp + 0x1d6], 1
mov ecx, esi
jne 0x426144
push str.Windows_8
call fcn.00403470
jmp 0x42626b
push str.Windows_Server_2012
call fcn.00403470
jmp 0x42626b
cmp byte [esp + 0x1d6], 1
mov ecx, esi
jne 0x42616e
push str.Windows_8.1
call fcn.00403470
jmp 0x42626b
push str.Windows_Server_2012_R2
call fcn.00403470
jmp 0x42626b
cmp dword [esp + 0xc4], 0
jne case.default.0x4260ce
cmp byte [esp + 0x1d6], 1
mov ecx, esi
jne 0x4261a2
push str.Windows_10
call fcn.00403470
jmp 0x42626b
push str.Windows_Server_2016_Techical_Preview
call fcn.00403470
jmp 0x42626b
lea edx, [esp + 0xc]
push edx
call fcn.00426a70
lea eax, [esp + 0x14]
push str.Windows_NT
push eax
mov dword [esp + 0x1f0], 1
call fcn.004296c0
add esp, 8
push 0x5513fc
push ecx
mov ecx, dword [esp + 0xc8]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.004268f0
add esp, 4
push eax
call fcn.004296c0
mov eax, dword [esp + 0xcc]
add esp, 8
push 0x5513fc
push ecx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004268f0
add esp, 4
push eax
call fcn.004296c0
mov edx, dword [esp + 0xd0]
add esp, 8
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004268f0
mov ecx, esi
lea eax, [esp + 0xc]
call fcn.00426b90
lea ecx, [esp + 0x60]
mov dword [esp + 4], 1
mov byte [esp + 0x1e8], 0
call fcn.00426b00
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x64], vtable.std::ios_base.0
call fcn.00483053
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.004ba1db
add esp, 0x1e8
ret