Function at 0x1000bee3
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x338
lea ebp, [esp - 4]
mov eax, dword [0x10030010]
xor eax, ebp
mov dword [ebp + 0x338], eax
push 0x64
mov eax, 0x10023df5
call fcn.1000f839
push 0x11c
xor esi, esi
xor ebx, ebx
lea eax, [ebp]
mov edi, ecx
push esi
inc ebx
push eax
mov dword [edi + 0xc], ebx
call fcn.1000ea40
add esp, 0xc
lea eax, [ebp]
push eax
mov dword [ebp], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1000bf51
lea eax, [ebp]
push eax
mov dword [ebp], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1000c146
cmp dword [ebp + 4], 6
lea eax, [ebp - 0x1c]
push eax
jb 0x1000c03e
mov dword [edi + 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
push 0x1fe
mov word [ebp + 0x138], ax
lea eax, [ebp + 0x13a]
push esi
push eax
call fcn.1000ea40
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
push str.__04d__02d__02d__02d:_02d:_02d:_04d_
lea eax, [ebp + 0x138]
push 0x100
push eax
call fcn.10001366
add esp, 0x34
push esi
lea ecx, [ebp + 0x11c]
mov dword [ebp + 0x134], 7
call fcn.10001eb4
push str.Notice__CASUTaskScheduler::GetTaskSchedulerApiVersion__Using_Task_API_2.0__Vista_._n
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], esi
call fcn.10005331
mov edi, eax
lea eax, [ebp + 0x138]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.10005331
push edi
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 2
call fcn.10005810
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp + 0x11c]
mov byte [ebp - 4], 3
call fcn.10004a1c
push esi
push ebx
lea ecx, [ebp - 0x54]
call fcn.10002b3e
push esi
push ebx
lea ecx, [ebp - 0x38]
call fcn.10002b3e
lea ecx, [ebp - 0x70]
jmp 0x1000c116
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
push 0x1fe
mov word [ebp + 0x138], ax
lea eax, [ebp + 0x13a]
push esi
push eax
call fcn.1000ea40
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
push str.__04d__02d__02d__02d:_02d:_02d:_04d_
lea eax, [ebp + 0x138]
push 0x100
push eax
call fcn.10001366
add esp, 0x34
push esi
lea ecx, [ebp + 0x11c]
mov dword [ebp + 0x134], 7
call fcn.10001eb4
push str.Notice__CASUTaskScheduler::GetTaskSchedulerApiVersion__Using_Task_API_1.0__2000_XP_._n
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 4
call fcn.10005331
mov edi, eax
lea eax, [ebp + 0x138]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.10005331
push edi
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 6
call fcn.10005810
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp + 0x11c]
mov byte [ebp - 4], 7
call fcn.10004a1c
push esi
push ebx
lea ecx, [ebp - 0x70]
call fcn.10002b3e
push esi
push ebx
lea ecx, [ebp - 0x38]
call fcn.10002b3e
lea ecx, [ebp - 0x54]
push esi
push ebx
call fcn.10002b3e
cmp dword [ebp + 0x134], 8
mov eax, dword [ebp + 0x120]
jae 0x1000c132
lea eax, [ebp + 0x120]
push eax
call fcn.1000fb24
pop ecx
push esi
push ebx
lea ecx, [ebp + 0x11c]
call fcn.10002b3e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x338]
xor ecx, ebp
call fcn.1000ef75
add ebp, 0x33c
leave
ret