Function at 0x4241c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e8c2
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
mov eax, dword [0x4c6374]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004793f0
add esp, 0xc
mov dword [ebp - 0x224], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x244], xmm0
push str.kernel32.dll
movups xmmword [ebp - 0x234], xmm0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x424260
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x424260
lea ecx, [ebp - 0x244]
push ecx
call eax
mov eax, dword [ebp - 0x244]
cmp ax, 9
je 0x424259
cmp ax, 6
jne 0x424260
push str._x64
jmp 0x424265
push str._x86
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0040edf0
add esp, 0xc
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x424389
push str.RtlGetNtVersionNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x424389
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
call eax
mov eax, dword [ebp - 0x21c]
cmp eax, 6
jne 0x424328
cmp dword [ebp - 0x220], 3
jne 0x424389
push str.Win8.1
lea ecx, [ebp - 0x238]
call fcn.00408ac0
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0
push ecx
mov edx, eax
lea ecx, [ebp - 0x37c]
call fcn.00416870
add esp, 4
mov ecx, esi
push eax
call fcn.00408a40
lea ecx, [ebp - 0x37c]
call fcn.0040f680
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f680
mov eax, dword [ebp - 0x21c]
cmp eax, 0xa
jne 0x424389
cmp dword [ebp - 0x220], 0
jne 0x424389
push str.Win10
lea ecx, [ebp - 0x37c]
call fcn.00408ac0
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x238]
call fcn.00416870
add esp, 4
mov ecx, esi
push eax
call fcn.00408a40
lea ecx, [ebp - 0x238]
call fcn.0040f680
lea ecx, [ebp - 0x37c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f680
push 0x118
lea eax, [ebp - 0x360]
push 0
push eax
call fcn.004793f0
add esp, 0xc
mov dword [ebp - 0x364], 0x11c
lea eax, [ebp - 0x364]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x424564
mov eax, dword [ebp - 0x360]
cmp eax, 5
jne 0x42442b
cmp dword [ebp - 0x35c], 1
jne 0x42442b
push str.WinXp
lea ecx, [ebp - 0x37c]
call fcn.00408ac0
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x238]
call fcn.00416870
add esp, 4
mov ecx, esi
push eax
call fcn.00408a40
lea ecx, [ebp - 0x238]
call fcn.0040f680
lea ecx, [ebp - 0x37c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f680
mov eax, dword [ebp - 0x360]
cmp byte [ebp - 0x24a], 1
jne 0x424564
cmp eax, 6
jne 0x424564
cmp dword [ebp - 0x35c], 0
jne 0x4244aa
push str.Vista
lea ecx, [ebp - 0x37c]
call fcn.00408ac0
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x238]
call fcn.00416870
add esp, 4
mov ecx, esi
push eax
call fcn.00408a40
lea ecx, [ebp - 0x238]
call fcn.0040f680
lea ecx, [ebp - 0x37c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f680
cmp dword [ebp - 0x360], 6
jne 0x424564
cmp dword [ebp - 0x35c], 1
jne 0x42450f
push str.Win7
lea ecx, [ebp - 0x37c]
call fcn.00408ac0
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x238]
call fcn.00416870
add esp, 4
mov ecx, esi
push eax
call fcn.00408a40
lea ecx, [ebp - 0x238]
call fcn.0040f680
lea ecx, [ebp - 0x37c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f680
cmp dword [ebp - 0x360], 6
jne 0x424564
cmp dword [ebp - 0x35c], 2
jne 0x424564
push str.Win8
lea ecx, [ebp - 0x3ac]
call fcn.00408ac0
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 5
push ecx
mov edx, eax
lea ecx, [ebp - 0x394]
call fcn.00416870
add esp, 4
mov ecx, esi
push eax
call fcn.00408a40
lea ecx, [ebp - 0x394]
call fcn.0040f680
lea ecx, [ebp - 0x3ac]
call fcn.0040f680
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475cda
mov esp, ebp
pop ebp
ret