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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f04a
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x102ac760]
xor eax, ebp
mov dword [ebp - 0x34], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x174], 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x154], 0x11c
lea ecx, [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100fea97
lea ecx, [ebp - 0x170]
call fcn.10005f00
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x198], edx
cmp dword [ebp - 0x198], 4
je 0x100fe864
cmp dword [ebp - 0x198], 5
je 0x100fe8ea
cmp dword [ebp - 0x198], 6
je 0x100fe99d
jmp 0x100fea50
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
je 0x100fe88d
cmp dword [ebp - 0x19c], 0xa
je 0x100fe8c3
cmp dword [ebp - 0x19c], 0x5a
je 0x100fe8d5
jmp 0x100fe8e5
cmp dword [ebp - 0x144], 2
jne 0x100fe8a8
push str.nt4.0
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fe8c1
cmp dword [ebp - 0x144], 1
jne 0x100fe8c1
push 0x10288d10
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fe8e5
push 0x10288d14
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fe8e5
push 0x10288d18
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fea60
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x1a0], ecx
cmp dword [ebp - 0x1a0], 0
je 0x100fe916
cmp dword [ebp - 0x1a0], 1
je 0x100fe928
cmp dword [ebp - 0x1a0], 2
je 0x100fe93a
jmp 0x100fe998
push str.2000
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fe998
push 0x10288d24
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fe998
movzx edx, byte [ebp - 0x3a]
cmp edx, 1
jne 0x100fe95e
movzx eax, word [ebp - 0x30]
cmp eax, 9
jne 0x100fe95e
push 0x10288d28
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fe998
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x100fe97c
push 0x10288d2c
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fe998
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x100fe998
push str.2003
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fea60
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x1a4], ecx
cmp dword [ebp - 0x1a4], 0
je 0x100fe9c9
cmp dword [ebp - 0x1a4], 1
je 0x100fe9f6
cmp dword [ebp - 0x1a4], 2
je 0x100fea23
jmp 0x100fea4e
movzx edx, byte [ebp - 0x3a]
cmp edx, 1
jne 0x100fe9e4
push str.vista
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fe9f4
push 0x10288d44
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fea4e
movzx eax, byte [ebp - 0x3a]
cmp eax, 1
jne 0x100fea11
push str.win7
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fea21
push str.2008
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fea4e
movzx ecx, byte [ebp - 0x3a]
cmp ecx, 1
jne 0x100fea3e
push str.win8
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fea4e
push str.2012
lea ecx, [ebp - 0x170]
call fcn.10005f20
jmp 0x100fea60
push 0x10288d6c
lea ecx, [ebp - 0x170]
call fcn.10005f20
lea edx, [ebp - 0x170]
push edx
mov ecx, dword [ebp + 8]
call fcn.10003120
mov eax, dword [ebp - 0x174]
or eax, 1
mov dword [ebp - 0x174], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.10003150
mov eax, dword [ebp + 8]
jmp 0x100feab6
push str.unknow
mov ecx, dword [ebp + 8]
call fcn.100043e0
mov ecx, dword [ebp - 0x174]
or ecx, 1
mov dword [ebp - 0x174], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.100b2738
mov esp, ebp
pop ebp
ret