Function at 0x10831ed
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x10b0090]
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 0x108345a
cmp dword [ebp - 0x138], 0xabcdabcd
je 0x108345a
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0108ace7
test eax, eax
jl 0x108345a
lea eax, [ebp - 0x134]
push eax
push edi
push dword [ebp - 0x130]
call fcn.0108abdd
test eax, eax
jl 0x10833df
call fcn.0107fc0d
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 0x10832e2
mov ebx, dword [ecx + 0x10834f0]
cmp ebx, dword [ecx + 0x1083468]
je 0x10832e4
xor esi, esi
mov ebx, dword [ecx + 0x1083468]
cmp ebx, dword [ebp - 0x138]
jne 0x1083304
mov ebx, dword [ebp - 0x124]
cmp ebx, dword [ecx + 0x108346c]
je 0x108331a
cmp esi, edi
je 0x108331a
add ecx, 0x88
mov eax, edx
cmp ecx, 0x1ed0
jae 0x10833d2
jmp 0x10832c9
xor ebx, ebx
imul eax, eax, 0x88
lea eax, [eax + 0x1083470]
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x140], eax
jmp 0x1083338
xor edi, edi
push edi
push edi
push dword [ebp - 0x140]
lea ecx, [ebp - 0x13c]
call fcn.0107fff9
mov edi, eax
test edi, edi
je 0x10833c8
push 0xa
pop eax
sub eax, ebx
mov dword [ebp - 0x12c], eax
fild dword [ebp - 0x12c]
test eax, eax
jge 0x108336c
fadd dword [0x1085348]
fmul qword [0x1085340]
mov esi, dword [ebp - 0x134]
lea eax, [ebp - 0x124]
push eax
fadd qword [0x1085338]
push 0x100f584
push edi
fstp dword [ebp - 0x12c]
call dword [sym.imp.SHELL32.dll_SHCreateItemFromIDList]
test eax, eax
jl 0x10833c1
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 0x1083336
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.0108ac39
test eax, eax
jl 0x108344e
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
lea edx, [ebp - 0x12c]
push edx
push 0x1066200
lea edx, [ebp - 0x13c]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x1083442
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x1083436
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.0100204d
leave
ret