Function at 0x1087375
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.01019281
mov dword [ebp - 0x138], eax
call fcn.0108254d
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x10873a7
call fcn.01079481
push 0x108764c
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x1087630
push esi
push edi
lea ecx, [ebp - 0x170]
call fcn.010871fa
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.01081a0b
push 5
pop esi
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x12c]
call fcn.01081dae
mov dword [ebp + esi*4 - 0x198], eax
inc esi
cmp esi, 0xa
jl 0x10873e8
cmp dword [ebp - 0x128], ebx
je 0x108741b
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 0x1087532
cmp dword [ebp - 0x134], 0xabcdabcd
je 0x1087532
call fcn.01081a9d
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 0x10874b9
mov eax, dword [ecx + 0x10876e8]
cmp eax, dword [ecx + 0x1087660]
je 0x10874bb
xor esi, esi
mov eax, dword [ecx + 0x1087660]
cmp eax, dword [ebp - 0x134]
jne 0x10874db
mov eax, dword [ebp - 0x128]
cmp eax, dword [ecx + 0x1087664]
je 0x10874f1
cmp esi, ebx
je 0x10874f1
add ecx, 0x88
mov dword [ebp - 0x124], edx
cmp ecx, 0x2530
jae 0x1087532
jmp 0x108749d
mov dword [ebp - 0x128], ebx
xor edi, edi
lea esi, [ebp + edi*4 - 0x198]
cmp dword [esi], ebx
jne 0x108752c
push 1
lea eax, [ebp - 0x170]
push eax
mov eax, dword [ebp - 0x124]
imul eax, eax, 0x88
add eax, 0x1087668
push eax
lea ecx, [ebp - 0x128]
call fcn.01081e89
mov dword [esi], eax
inc edi
cmp edi, 0xa
jl 0x10874f9
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.01044b13
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 0x108760e
xor esi, esi
mov dword [ebp - 0x124], ebx
mov edi, dword [ebp + esi*4 - 0x198]
test edi, edi
je 0x10875ee
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.01081b3f
lea eax, [ebp - 0x15c]
push eax
push edi
call fcn.01081bac
add dword [ebp - 0x124], 0x9c40
inc esi
inc ebx
inc ebx
cmp ebx, 0x14
jl 0x108759c
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 0x1087610
lea ecx, [ebp - 0x170]
call fcn.010819e7
pop edi
pop esi
push dword [ebp - 0x138]
call fcn.010192b3
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.01001fef
leave
ret 4