Function at 0x1086a7d
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
call fcn.010191d1
mov dword [ebp - 0x138], eax
call fcn.01081c55
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x1086aaf
call fcn.01078bf1
push 0x1086d54
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x1086d38
push esi
push edi
lea ecx, [ebp - 0x170]
call fcn.01086902
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x194]
mov dword [ebp - 0x198], ebx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x12c]
call fcn.01081113
push 5
pop esi
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x12c]
call fcn.010814b6
mov dword [ebp + esi*4 - 0x198], eax
inc esi
cmp esi, 0xa
jl 0x1086af0
cmp dword [ebp - 0x128], ebx
je 0x1086b23
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0x11c
push esi
lea eax, [ebp - 0x120]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor edi, edi
lea eax, [ebp - 0x120]
inc edi
push eax
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], 6
mov dword [ebp - 0x118], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x134]
push eax
push ebx
push ebx
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
test eax, eax
je 0x1086c3a
cmp dword [ebp - 0x134], 0xabcdabcd
je 0x1086c3a
call fcn.010811a5
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], ebx
xor ecx, ecx
mov edx, dword [ebp - 0x124]
inc edx
mov esi, edi
cmp edx, 0x46
je 0x1086bc1
mov eax, dword [ecx + 0x1086df0]
cmp eax, dword [ecx + 0x1086d68]
je 0x1086bc3
xor esi, esi
mov eax, dword [ecx + 0x1086d68]
cmp eax, dword [ebp - 0x134]
jne 0x1086be3
mov eax, dword [ebp - 0x128]
cmp eax, dword [ecx + 0x1086d6c]
je 0x1086bf9
cmp esi, ebx
je 0x1086bf9
add ecx, 0x88
mov dword [ebp - 0x124], edx
cmp ecx, 0x2530
jae 0x1086c3a
jmp 0x1086ba5
mov dword [ebp - 0x128], ebx
xor edi, edi
lea esi, [ebp + edi*4 - 0x198]
cmp dword [esi], ebx
jne 0x1086c34
push 1
lea eax, [ebp - 0x170]
push eax
mov eax, dword [ebp - 0x124]
imul eax, eax, 0x88
add eax, 0x1086d70
push eax
lea ecx, [ebp - 0x128]
call fcn.01081591
mov dword [esi], eax
inc edi
cmp edi, 0xa
jl 0x1086c01
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x15c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x144]
push eax
mov dword [ebp - 0x15c], 0x24
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 0x144]
push eax
call fcn.0104b44b
add eax, 0xc0000000
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x130]
push eax
push 0x1004868
push 3
push ebx
adc edx, 0xffffffff
push 0x1004858
mov dword [ebp - 0x140], edx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x1086d16
xor esi, esi
mov dword [ebp - 0x124], ebx
mov edi, dword [ebp + esi*4 - 0x198]
test edi, edi
je 0x1086cf6
push 0xe
pop eax
sub eax, esi
mov dword [ebp - 0x150], eax
push 0x15
pop eax
sub eax, ebx
mov dword [ebp - 0x14c], eax
mov eax, 0x668a0
sub eax, dword [ebp - 0x124]
mov dword [ebp - 0x148], eax
lea eax, [ebp - 0x15c]
push eax
push edi
push dword [ebp - 0x130]
call fcn.01081247
lea eax, [ebp - 0x15c]
push eax
push edi
call fcn.010812b4
add dword [ebp - 0x124], 0x9c40
inc esi
inc ebx
inc ebx
cmp ebx, 0x14
jl 0x1086ca4
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
xor esi, esi
push dword [ebp + esi*4 - 0x198]
call dword [sym.imp.SHELL32.dll_ILFree]
inc esi
cmp esi, 0xa
jl 0x1086d18
lea ecx, [ebp - 0x170]
call fcn.010810ef
pop edi
pop esi
push dword [ebp - 0x138]
call fcn.01019203
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.01001feb
leave
ret 4