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

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 0x10030977
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xe4
mov eax, dword [0x10042040]
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 - 0xc0], esi
mov dword [ebp - 0xc8], esi
xorps xmm0, xmm0
mov dword [ebp - 0xc4], 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0xc
mov dword [esi + 0x14], 0xf
movq xmm0, qword [0x1003ced0]
movq qword [esi], xmm0
mov eax, dword [0x1003ced8]
mov dword [esi + 8], eax
mov byte [esi + 0xc], 0
mov dword [ebp - 4], 0
push str.ntdll.dll
mov dword [ebp - 0xc4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.RtlGetNtVersionNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0xc0]
push ecx
call eax
mov eax, dword [ebp - 0xc0]
cmp eax, 6
jne 0x1000c0e1
cmp dword [ebp - 0xbc], 3
jne 0x1000c0fa
push 0xb
push str.Windows_8.1
jmp 0x1000c27f
cmp eax, 0xa
jne 0x1000c0fa
cmp dword [ebp - 0xbc], 0
jne 0x1000c0fa
push eax
push str.Windows_10
jmp 0x1000c27f
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1000c2a0
mov eax, dword [ebp - 0xb4]
sub eax, 4
je 0x1000c239
sub eax, 1
je 0x1000c1c8
sub eax, 1
je 0x1000c14f
push 0xc
push 0x1003ced0
jmp 0x1000c27f
mov eax, dword [ebp - 0xb0]
sub eax, 0
je 0x1000c1a8
sub eax, 1
je 0x1000c188
sub eax, 1
jne 0x1000c286
cmp byte [ebp - 0x1e], 1
mov ecx, esi
jne 0x1000c17c
push 9
push str.Windows_8
jmp 0x1000c281
push 0x13
push str.Windows_Server_2012
jmp 0x1000c281
cmp byte [ebp - 0x1e], 1
mov ecx, esi
jne 0x1000c19c
push 9
push str.Windows_7
jmp 0x1000c281
push 0x16
push str.Windows_Server_2008_R2
jmp 0x1000c281
cmp byte [ebp - 0x1e], 1
mov ecx, esi
jne 0x1000c1bc
push 0xd
push str.Windows_Vista
jmp 0x1000c281
push 0x13
push str.Windows_Server_2008
jmp 0x1000c281
mov eax, dword [ebp - 0xb0]
sub eax, 0
je 0x1000c230
sub eax, 1
je 0x1000c227
sub eax, 1
jne 0x1000c286
cmp byte [ebp - 0x1e], 1
jne 0x1000c1fd
cmp word [ebp - 0xf0], 9
jne 0x1000c1fd
push 0x23
push str.Windows_XP_Professional_x64_Edition
jmp 0x1000c27f
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x1000c212
push 0x13
push str.Windows_Server_2003
jmp 0x1000c27f
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1000c286
push 0x16
push str.Windows_Server_2003_R2
jmp 0x1000c27f
push 0xa
push str.Windows_XP
jmp 0x1000c27f
push 0xc
push str.Windows_2000
jmp 0x1000c27f
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x1000c25f
cmp eax, 0xa
je 0x1000c256
cmp eax, 0x5a
jne 0x1000c286
push 0xa
push str.Windows_Me
jmp 0x1000c27f
push 0xa
push str.Windows_98
jmp 0x1000c27f
mov eax, dword [ebp - 0xa8]
cmp eax, 2
jne 0x1000c273
push 0xe
push str.Windows_NT_4.0
jmp 0x1000c27f
cmp eax, 1
jne 0x1000c286
push 0xa
push str.Windows_95
mov ecx, esi
call fcn.1000c2d0
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1000c290
mov eax, dword [esi]
push eax
push 0x1003cf10
call fcn.1000bfc0
add esp, 8
jmp 0x1000c2ad
push 0x1003d038
call fcn.1000bfc0
add esp, 4
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.10011882
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret