Function at 0x10854e5
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x10b0090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
call fcn.010185f7
mov dword [ebp - 0x138], eax
call fcn.010806bd
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x1085517
call fcn.01077399
push 0x10857bc
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x10857a0
push esi
push edi
lea ecx, [ebp - 0x170]
call fcn.0108536a
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.0107fb7b
push 5
pop esi
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x12c]
call fcn.0107ff1e
mov dword [ebp + esi*4 - 0x198], eax
inc esi
cmp esi, 0xa
jl 0x1085558
cmp dword [ebp - 0x128], ebx
je 0x108558b
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 0x10856a2
cmp dword [ebp - 0x134], 0xabcdabcd
je 0x10856a2
call fcn.0107fc0d
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 0x1085629
mov eax, dword [ecx + 0x1085858]
cmp eax, dword [ecx + 0x10857d0]
je 0x108562b
xor esi, esi
mov eax, dword [ecx + 0x10857d0]
cmp eax, dword [ebp - 0x134]
jne 0x108564b
mov eax, dword [ebp - 0x128]
cmp eax, dword [ecx + 0x10857d4]
je 0x1085661
cmp esi, ebx
je 0x1085661
add ecx, 0x88
mov dword [ebp - 0x124], edx
cmp ecx, 0x2530
jae 0x10856a2
jmp 0x108560d
mov dword [ebp - 0x128], ebx
xor edi, edi
lea esi, [ebp + edi*4 - 0x198]
cmp dword [esi], ebx
jne 0x108569c
push 1
lea eax, [ebp - 0x170]
push eax
mov eax, dword [ebp - 0x124]
imul eax, eax, 0x88
add eax, 0x10857d8
push eax
lea ecx, [ebp - 0x128]
call fcn.0107fff9
mov dword [esi], eax
inc edi
cmp edi, 0xa
jl 0x1085669
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.0106d2be
add eax, 0xc0000000
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0x130]
push eax
push 0x1004284
push 3
push ebx
adc edx, 0xffffffff
push 0x1004274
mov dword [ebp - 0x140], edx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x108577e
xor esi, esi
mov dword [ebp - 0x124], ebx
mov edi, dword [ebp + esi*4 - 0x198]
test edi, edi
je 0x108575e
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.0107fcaf
lea eax, [ebp - 0x15c]
push eax
push edi
call fcn.0107fd1c
add dword [ebp - 0x124], 0x9c40
inc esi
inc ebx
inc ebx
cmp ebx, 0x14
jl 0x108570c
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 0x1085780
lea ecx, [ebp - 0x170]
call fcn.0107fb57
pop edi
pop esi
push dword [ebp - 0x138]
call fcn.0101959d
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0100204d
leave
ret 4