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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8a95
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x4f4320]
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.00479a10
add esp, 0xc
mov dword [ebp - 0x174], 0x11c
lea edx, [ebp - 0x174]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x4d1904
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.0x41c40e.3
mov edx, dword [ebp - 0x17c]
jmp dword [edx*4 + 0x41c68c]
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
je 0x41c43e
cmp dword [ebp - 0x180], 0xa
je 0x41c46e
cmp dword [ebp - 0x180], 0x5a
je 0x41c47d
jmp 0x41c48a
cmp dword [ebp - 0x164], 2
jne 0x41c456
push str.Microsoft_Windows_NT_4.0
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c46c
cmp dword [ebp - 0x164], 1
jne 0x41c46c
push str.Microsoft_Windows_95
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c48a
push str.Microsoft_Windows_98
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c48a
push str.Microsoft_Windows_Me
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c627
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x184], ecx
cmp dword [ebp - 0x184], 0
je 0x41c4b8
cmp dword [ebp - 0x184], 1
je 0x41c4c7
cmp dword [ebp - 0x184], 2
je 0x41c4d6
jmp 0x41c504
push str.Microsoft_Windows_2000
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c504
push str.Microsoft_Windows_XP
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c504
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x41c4f7
movzx eax, word [ebp - 0x50]
cmp eax, 9
jne 0x41c4f7
push str.Microsoft_Windows_XP_Professional_x64_Edition
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c504
push str.Microsoft_Windows_Server_2003
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c627
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x188], ecx
cmp dword [ebp - 0x188], 0
je 0x41c535
cmp dword [ebp - 0x188], 1
je 0x41c55f
cmp dword [ebp - 0x188], 2
je 0x41c586
jmp 0x41c5cc
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x41c54d
push str.Microsoft_Windows_Vista
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c55a
push str.Microsoft_Windows_Server_2008
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c5f1
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x41c577
push str.Microsoft_Windows_7
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c584
push str.Microsoft_Windows_Server_2008_R2
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c5f1
movzx ecx, byte [ebp - 0x5a]
cmp ecx, 1
jne 0x41c5bd
push 4
push 6
call fcn.0041c6b0
add esp, 8
test eax, eax
je 0x41c5ae
push str.Microsoft_Windows_10
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c5bb
push str.Microsoft_Windows_8
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c5ca
push str.Microsoft_Windows_Server_2012
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c5f1
movzx edx, byte [ebp - 0x5a]
cmp edx, 1
jne 0x41c5e4
push str.Microsoft_Windows_8.1
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c5f1
push str.Microsoft_Windows_Server_2012_R2
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c627
movzx eax, byte [ebp - 0x5a]
cmp eax, 1
jne 0x41c60b
push str.Microsoft_Windows_10_Insider_Preview
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c618
push str.Microsoft_Windows_Server_Technical_Preview
lea ecx, [ebp - 0x2c]
call fcn.00403660
jmp 0x41c627
push str.Unknown_Operating_System
lea ecx, [ebp - 0x2c]
call fcn.00403660
cmp dword [ebp + 0xc], 0
je 0x41c649
push 0x4d1d70
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.0047a020
mov esp, ebp
pop ebp
ret