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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2aac
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x4ed20c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x178], 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x11c
push 0
lea ecx, [ebp - 0x174]
push ecx
call fcn.00474d50
add esp, 0xc
mov dword [ebp - 0x174], 0x11c
lea edx, [ebp - 0x174]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x4cb9fc
lea ecx, [ebp - 0x2c]
call fcn.00401600
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
sub ecx, 4
mov dword [ebp - 0x17c], ecx
cmp dword [ebp - 0x17c], 6
ja case.0x41a64e.3
mov edx, dword [ebp - 0x17c]
jmp dword [edx*4 + 0x41a8cc]
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
je 0x41a67e
cmp dword [ebp - 0x180], 0xa
je 0x41a6ae
cmp dword [ebp - 0x180], 0x5a
je 0x41a6bd
jmp 0x41a6ca
cmp dword [ebp - 0x164], 2
jne 0x41a696
push str.Microsoft_Windows_NT_4.0
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a6ac
cmp dword [ebp - 0x164], 1
jne 0x41a6ac
push str.Microsoft_Windows_95
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a6ca
push str.Microsoft_Windows_98
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a6ca
push str.Microsoft_Windows_Me
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a867
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x184], ecx
cmp dword [ebp - 0x184], 0
je 0x41a6f8
cmp dword [ebp - 0x184], 1
je 0x41a707
cmp dword [ebp - 0x184], 2
je 0x41a716
jmp 0x41a744
push str.Microsoft_Windows_2000
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a744
push str.Microsoft_Windows_XP
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a744
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x41a737
movzx eax, word [ebp - 0x50]
cmp eax, 9
jne 0x41a737
push str.Microsoft_Windows_XP_Professional_x64_Edition
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a744
push str.Microsoft_Windows_Server_2003
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a867
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x188], ecx
cmp dword [ebp - 0x188], 0
je 0x41a775
cmp dword [ebp - 0x188], 1
je 0x41a79f
cmp dword [ebp - 0x188], 2
je 0x41a7c6
jmp 0x41a80c
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x41a78d
push str.Microsoft_Windows_Vista
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a79a
push str.Microsoft_Windows_Server_2008
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a831
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x41a7b7
push str.Microsoft_Windows_7
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a7c4
push str.Microsoft_Windows_Server_2008_R2
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a831
movzx ecx, byte [ebp - 0x5a]
cmp ecx, 1
jne 0x41a7fd
push 4
push 6
call fcn.0041a8f0
add esp, 8
test eax, eax
je 0x41a7ee
push str.Microsoft_Windows_10
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a7fb
push str.Microsoft_Windows_8
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a80a
push str.Microsoft_Windows_Server_2012
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a831
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x41a824
push str.Microsoft_Windows_8.1
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a831
push str.Microsoft_Windows_Server_2012_R2
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a867
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x41a84b
push str.Microsoft_Windows_10_Insider_Preview
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a858
push str.Microsoft_Windows_Server_Technical_Preview
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41a867
push str.Unknown_Operating_System
lea ecx, [ebp - 0x2c]
call fcn.00403660
cmp dword [ebp + 0xc], 0
je 0x41a889
push 0x4cbe68
lea ecx, [ebp - 0x2c]
call fcn.00403690
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00403690
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00403610
mov eax, dword [ebp - 0x178]
or eax, 1
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401640
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474a3e
mov esp, ebp
pop ebp
ret