Function at 0x108507d
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0x120]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], 6
mov dword [ebp - 0x118], 1
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x138]
push eax
push edi
push edi
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
test eax, eax
je 0x10852ea
cmp dword [ebp - 0x138], 0xabcdabcd
je 0x10852ea
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0108cbaf
test eax, eax
jl 0x10852ea
lea eax, [ebp - 0x134]
push eax
push edi
push dword [ebp - 0x130]
call fcn.0108caa5
test eax, eax
jl 0x108526f
call fcn.01081a9d
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
xor eax, eax
xor ecx, ecx
push ebx
xor esi, esi
lea edx, [eax + 1]
inc esi
cmp edx, 0x3a
je 0x1085172
mov ebx, dword [ecx + 0x1085380]
cmp ebx, dword [ecx + 0x10852f8]
je 0x1085174
xor esi, esi
mov ebx, dword [ecx + 0x10852f8]
cmp ebx, dword [ebp - 0x138]
jne 0x1085194
mov ebx, dword [ebp - 0x124]
cmp ebx, dword [ecx + 0x10852fc]
je 0x10851aa
cmp esi, edi
je 0x10851aa
add ecx, 0x88
mov eax, edx
cmp ecx, 0x1ed0
jae 0x1085262
jmp 0x1085159
xor ebx, ebx
imul eax, eax, 0x88
lea eax, [eax + 0x1085300]
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x140], eax
jmp 0x10851c8
xor edi, edi
push edi
push edi
push dword [ebp - 0x140]
lea ecx, [ebp - 0x13c]
call fcn.01081e89
mov edi, eax
test edi, edi
je 0x1085258
push 0xa
pop eax
sub eax, ebx
mov dword [ebp - 0x12c], eax
fild dword [ebp - 0x12c]
test eax, eax
jge 0x10851fc
fadd dword [0x10871d8]
fmul qword [0x10871d0]
mov esi, dword [ebp - 0x134]
lea eax, [ebp - 0x124]
push eax
fadd qword [0x10871c8]
push 0x100dc8c
push edi
fstp dword [ebp - 0x12c]
call dword [sym.imp.SHELL32.dll_SHCreateItemFromIDList]
test eax, eax
jl 0x1085251
mov eax, dword [esi]
lea ecx, [ebp - 0x148]
push ecx
lea ecx, [ebp - 0x12c]
push ecx
push dword [ebp - 0x124]
push esi
call dword [eax + 0x28]
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.SHELL32.dll_ILFree]
inc ebx
cmp ebx, 0xa
jb 0x10851c6
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop ebx
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x130]
call fcn.0108cb01
test eax, eax
jl 0x10852de
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
lea edx, [ebp - 0x12c]
push edx
push 0x10693a8
lea edx, [ebp - 0x13c]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x10852d2
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x10852c6
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x130]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01001fef
leave
ret