Function at 0x41cef0
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5f4b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1bc
mov eax, dword [0x54c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c4], esi
push 0x110
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1c4], esi
push 0
push eax
mov dword [ebp - 0x1c0], 0x114
call fcn.004c5110
add esp, 0xc
lea eax, [ebp - 0x1c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1bc]
cmp eax, 5
jne 0x41cfb8
cmp dword [ebp - 0x1b8], 0
jne 0x41cfa6
push 0xc
push str.Windows_2000
jmp 0x41d00d
cmp dword [ebp - 0x1b8], 1
jne 0x41cfd4
push 0xa
push str.Windows_XP
jmp 0x41d00d
cmp eax, 6
jne 0x41cfcf
cmp dword [ebp - 0x1b8], 0
jne 0x41cfeb
push 0xc
push str.Windows_2003
jmp 0x41d00d
cmp eax, 5
jne 0x41cfe6
cmp dword [ebp - 0x1b8], 2
jne 0x41d015
push 0xd
push str.windows_vista
jmp 0x41d00d
cmp eax, 6
jne 0x41d015
cmp dword [ebp - 0x1b8], 1
jne 0x41cffd
push 9
push str.windows_7
jmp 0x41d00d
cmp dword [ebp - 0x1b8], 2
jne 0x41d015
push 0xa
push str.windows_10
lea ecx, [ebp - 0x2c]
call fcn.004194d0
mov edx, dword [ebp - 0x1b8]
lea ecx, [ebp - 0xa4]
call fcn.00418180
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
mov edx, dword [ebp - 0x1bc]
call fcn.00418180
mov byte [ebp - 4], 2
mov eax, 0x7ffffffe
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
cmp eax, 1
jb 0x41d19a
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
push 1
cmova eax, dword [ebp - 0x2c]
push 0x50dad8
push ecx
push eax
push ecx
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0x74]
call fcn.0041dea0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x1c4]
lea ecx, [ebp - 0x5c]
call fcn.0041dcf0
push 1
push 0x50d9a8
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.004195e0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
push dword [ebp - 0x1c4]
call fcn.0041dcf0
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x41d11f
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d115
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d19f
push ecx
push edx
call fcn.004c04a1
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.004177f0
lea ecx, [ebp - 0x74]
call fcn.004177f0
lea ecx, [ebp - 0x8c]
call fcn.004177f0
lea ecx, [ebp - 0xa4]
call fcn.004177f0
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x41d17b
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d171
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d19f
push ecx
push edx
call fcn.004c04a1
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c048e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00401570
call fcn.004cfc7c
int3