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

Disassembly:
push 0xffffffffffffffff
push 0x5d05dd
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x66a8c4]
xor eax, esp
mov dword [esp + 0x1d0], eax
mov eax, dword [0x66a8c4]
xor eax, esp
push eax
lea eax, [esp + 0x1d8]
mov dword fs:[0], eax
lea eax, [esp + 0xb8]
mov dword [esp + 4], 0
push eax
mov dword [esp + 0xc], esi
mov dword [esp + 0xbc], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je case.default.0x41a8f8
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0xbc]
add eax, 0xfffffffc
cmp eax, 6
ja case.default.0x41a8f8
jmp dword [eax*4 + 0x41aaa0]
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x41a834
cmp eax, 0xa
je 0x41a823
cmp eax, 0x5a
jne case.default.0x41a8f8
push str.Windows_Me
mov ecx, esi
call fcn.00404560
jmp 0x41aa77
push str.Windows_98
mov ecx, esi
call fcn.00404560
jmp 0x41aa77
mov eax, dword [esp + 0xc8]
cmp eax, 2
jne 0x41a851
push str.Windows_NT_4.0
mov ecx, esi
call fcn.00404560
jmp 0x41aa77
cmp eax, 1
jne case.default.0x41a8f8
push str.Windows_95
mov ecx, esi
call fcn.00404560
jmp 0x41aa77
mov eax, dword [esp + 0xc0]
sub eax, 0
je 0x41a8d7
sub eax, 1
je 0x41a8c6
sub eax, 1
jne case.default.0x41a8f8
mov al, byte [esp + 0x1d2]
cmp al, 1
jne 0x41a8ad
cmp word [esp + 0xc], 9
jne case.default.0x41a8f8
push str.Windows_XP_Professional_x64_Edition
mov ecx, esi
call fcn.00404560
jmp 0x41aa77
cmp al, 3
jne case.default.0x41a8f8
push str.Windows_Server_2003
mov ecx, esi
call fcn.00404560
jmp 0x41aa77
push str.Windows_XP
mov ecx, esi
call fcn.00404560
jmp 0x41aa77
push str.Windows_2000
mov ecx, esi
call fcn.00404560
jmp 0x41aa77
mov eax, dword [esp + 0xc0]
cmp eax, 3
ja case.default.0x41a8f8
jmp dword [eax*4 + 0x41aabc]
cmp byte [esp + 0x1d2], 1
mov ecx, esi
jne 0x41a91a
push str.Windows_Vista
call fcn.00404560
jmp 0x41aa77
push str.Windows_Server_2008
call fcn.00404560
jmp 0x41aa77
cmp byte [esp + 0x1d2], 1
mov ecx, esi
jne 0x41a944
push str.Windows_7
call fcn.00404560
jmp 0x41aa77
push str.Windows_Server_2008_R2
call fcn.00404560
jmp 0x41aa77
cmp byte [esp + 0x1d2], 1
mov ecx, esi
jne 0x41a96e
push str.Windows_8
call fcn.00404560
jmp 0x41aa77
push str.Windows_Server_2012
call fcn.00404560
jmp 0x41aa77
cmp byte [esp + 0x1d2], 1
mov ecx, esi
jne 0x41a998
push str.Windows_8.1
call fcn.00404560
jmp 0x41aa77
push str.Windows_Server_2012_R2
call fcn.00404560
jmp 0x41aa77
cmp dword [esp + 0xc0], 0
jne case.default.0x41a8f8
cmp byte [esp + 0x1d2], 1
mov ecx, esi
jne 0x41a9cc
push str.Windows_10
call fcn.00404560
jmp 0x41aa77
push str.Windows_Server_2016_Techical_Preview
call fcn.00404560
jmp 0x41aa77
push 1
push 3
lea ecx, [esp + 0x38]
call fcn.0040eda0
lea edx, [esp + 0x38]
push str.Windows_NT
push edx
mov dword [esp + 0x1e8], 1
call fcn.0040d9b0
mov eax, dword [esp + 0xc4]
add esp, 8
push 0x603290
push eax
lea ecx, [esp + 0x40]
call fcn.00412310
push eax
call fcn.0040d9b0
mov ecx, dword [esp + 0xc8]
add esp, 8
push 0x603290
push ecx
lea ecx, [esp + 0x40]
call fcn.00412310
push eax
call fcn.0040d9b0
mov edx, dword [esp + 0xcc]
add esp, 8
push edx
lea ecx, [esp + 0x3c]
call fcn.00412310
push esi
lea ecx, [esp + 0x34]
call fcn.0040eed0
lea ecx, [esp + 0x30]
mov dword [esp + 4], 1
mov byte [esp + 0x1e0], 0
call fcn.0040ed70
mov eax, esi
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x1d0]
xor ecx, esp
call fcn.00590c4b
add esp, 0x1e0
ret