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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba39b
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x4e3260]
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.0046ee70
add esp, 0xc
mov dword [ebp - 0x174], 0x11c
lea edx, [ebp - 0x174]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x4c2e4c
lea ecx, [ebp - 0x2c]
call fcn.00401610
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.0x41a94e.3
mov edx, dword [ebp - 0x17c]
jmp dword [edx*4 + 0x41abac]
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
je 0x41a97e
cmp dword [ebp - 0x180], 0xa
je 0x41a9ae
cmp dword [ebp - 0x180], 0x5a
je 0x41a9bd
jmp 0x41a9ca
cmp dword [ebp - 0x164], 2
jne 0x41a996
push str.Microsoft_Windows_NT_4.0
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41a9ac
cmp dword [ebp - 0x164], 1
jne 0x41a9ac
push str.Microsoft_Windows_95
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41a9ca
push str.Microsoft_Windows_98
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41a9ca
push str.Microsoft_Windows_Me
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41ab67
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x184], ecx
cmp dword [ebp - 0x184], 0
je 0x41a9f8
cmp dword [ebp - 0x184], 1
je 0x41aa07
cmp dword [ebp - 0x184], 2
je 0x41aa16
jmp 0x41aa44
push str.Microsoft_Windows_2000
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41aa44
push str.Microsoft_Windows_XP
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41aa44
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x41aa37
movzx eax, word [ebp - 0x50]
cmp eax, 9
jne 0x41aa37
push str.Microsoft_Windows_XP_Professional_x64_Edition
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41aa44
push str.Microsoft_Windows_Server_2003
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41ab67
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x188], ecx
cmp dword [ebp - 0x188], 0
je 0x41aa75
cmp dword [ebp - 0x188], 1
je 0x41aa9f
cmp dword [ebp - 0x188], 2
je 0x41aac6
jmp 0x41ab0c
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x41aa8d
push str.Microsoft_Windows_Vista
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41aa9a
push str.Microsoft_Windows_Server_2008
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41ab31
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x41aab7
push str.Microsoft_Windows_7
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41aac4
push str.Microsoft_Windows_Server_2008_R2
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41ab31
movzx ecx, byte [ebp - 0x5a]
cmp ecx, 1
jne 0x41aafd
push 4
push 6
call fcn.0041abd0
add esp, 8
test eax, eax
je 0x41aaee
push str.Microsoft_Windows_10
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41aafb
push str.Microsoft_Windows_8
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41ab0a
push str.Microsoft_Windows_Server_2012
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41ab31
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x41ab24
push str.Microsoft_Windows_8.1
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41ab31
push str.Microsoft_Windows_Server_2012_R2
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41ab67
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x41ab4b
push str.Microsoft_Windows_10_Insider_Preview
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41ab58
push str.Microsoft_Windows_Server_Technical_Preview
lea ecx, [ebp - 0x2c]
call fcn.00403490
jmp 0x41ab67
push str.Unknown_Operating_System
lea ecx, [ebp - 0x2c]
call fcn.00403490
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403440
mov edx, dword [ebp - 0x178]
or edx, 1
mov dword [ebp - 0x178], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401650
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.0046f480
mov esp, ebp
pop ebp
ret