Function at 0x10869dd
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.01081bb5
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x1086a0f
call fcn.01078a91
push 0x1086cb4
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x1086c98
push esi
push edi
lea ecx, [ebp - 0x170]
call fcn.01086862
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.01081073
push 5
pop esi
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x12c]
call fcn.01081416
mov dword [ebp + esi*4 - 0x198], eax
inc esi
cmp esi, 0xa
jl 0x1086a50
cmp dword [ebp - 0x128], ebx
je 0x1086a83
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 0x1086b9a
cmp dword [ebp - 0x134], 0xabcdabcd
je 0x1086b9a
call fcn.01081105
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 0x1086b21
mov eax, dword [ecx + 0x1086d50]
cmp eax, dword [ecx + 0x1086cc8]
je 0x1086b23
xor esi, esi
mov eax, dword [ecx + 0x1086cc8]
cmp eax, dword [ebp - 0x134]
jne 0x1086b43
mov eax, dword [ebp - 0x128]
cmp eax, dword [ecx + 0x1086ccc]
je 0x1086b59
cmp esi, ebx
je 0x1086b59
add ecx, 0x88
mov dword [ebp - 0x124], edx
cmp ecx, 0x2530
jae 0x1086b9a
jmp 0x1086b05
mov dword [ebp - 0x128], ebx
xor edi, edi
lea esi, [ebp + edi*4 - 0x198]
cmp dword [esi], ebx
jne 0x1086b94
push 1
lea eax, [ebp - 0x170]
push eax
mov eax, dword [ebp - 0x124]
imul eax, eax, 0x88
add eax, 0x1086cd0
push eax
lea ecx, [ebp - 0x128]
call fcn.010814f1
mov dword [esi], eax
inc edi
cmp edi, 0xa
jl 0x1086b61
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 0x1086c76
xor esi, esi
mov dword [ebp - 0x124], ebx
mov edi, dword [ebp + esi*4 - 0x198]
test edi, edi
je 0x1086c56
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.010811a7
lea eax, [ebp - 0x15c]
push eax
push edi
call fcn.01081214
add dword [ebp - 0x124], 0x9c40
inc esi
inc ebx
inc ebx
cmp ebx, 0x14
jl 0x1086c04
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 0x1086c78
lea ecx, [ebp - 0x170]
call fcn.0108104f
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