Function at 0x10846e5
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x10b1090]
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 0x1084952
cmp dword [ebp - 0x138], 0xabcdabcd
je 0x1084952
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0108c23b
test eax, eax
jl 0x1084952
lea eax, [ebp - 0x134]
push eax
push edi
push dword [ebp - 0x130]
call fcn.0108c131
test eax, eax
jl 0x10848d7
call fcn.01081105
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 0x10847da
mov ebx, dword [ecx + 0x10849e8]
cmp ebx, dword [ecx + 0x1084960]
je 0x10847dc
xor esi, esi
mov ebx, dword [ecx + 0x1084960]
cmp ebx, dword [ebp - 0x138]
jne 0x10847fc
mov ebx, dword [ebp - 0x124]
cmp ebx, dword [ecx + 0x1084964]
je 0x1084812
cmp esi, edi
je 0x1084812
add ecx, 0x88
mov eax, edx
cmp ecx, 0x1ed0
jae 0x10848ca
jmp 0x10847c1
xor ebx, ebx
imul eax, eax, 0x88
lea eax, [eax + 0x1084968]
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x140], eax
jmp 0x1084830
xor edi, edi
push edi
push edi
push dword [ebp - 0x140]
lea ecx, [ebp - 0x13c]
call fcn.010814f1
mov edi, eax
test edi, edi
je 0x10848c0
push 0xa
pop eax
sub eax, ebx
mov dword [ebp - 0x12c], eax
fild dword [ebp - 0x12c]
test eax, eax
jge 0x1084864
fadd dword [0x1086840]
fmul qword [0x1086838]
mov esi, dword [ebp - 0x134]
lea eax, [ebp - 0x124]
push eax
fadd qword [0x1086830]
push 0x100dc8c
push edi
fstp dword [ebp - 0x12c]
call dword [sym.imp.SHELL32.dll_SHCreateItemFromIDList]
test eax, eax
jl 0x10848b9
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 0x108482e
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.0108c18d
test eax, eax
jl 0x1084946
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
lea edx, [ebp - 0x12c]
push edx
push 0x10690a8
lea edx, [ebp - 0x13c]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x108493a
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x108492e
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.01001feb
leave
ret