Function at 0x1084785
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 0x10849f2
cmp dword [ebp - 0x138], 0xabcdabcd
je 0x10849f2
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0108c2d3
test eax, eax
jl 0x10849f2
lea eax, [ebp - 0x134]
push eax
push edi
push dword [ebp - 0x130]
call fcn.0108c1c9
test eax, eax
jl 0x1084977
call fcn.010811a5
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 0x108487a
mov ebx, dword [ecx + 0x1084a88]
cmp ebx, dword [ecx + 0x1084a00]
je 0x108487c
xor esi, esi
mov ebx, dword [ecx + 0x1084a00]
cmp ebx, dword [ebp - 0x138]
jne 0x108489c
mov ebx, dword [ebp - 0x124]
cmp ebx, dword [ecx + 0x1084a04]
je 0x10848b2
cmp esi, edi
je 0x10848b2
add ecx, 0x88
mov eax, edx
cmp ecx, 0x1ed0
jae 0x108496a
jmp 0x1084861
xor ebx, ebx
imul eax, eax, 0x88
lea eax, [eax + 0x1084a08]
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x140], eax
jmp 0x10848d0
xor edi, edi
push edi
push edi
push dword [ebp - 0x140]
lea ecx, [ebp - 0x13c]
call fcn.01081591
mov edi, eax
test edi, edi
je 0x1084960
push 0xa
pop eax
sub eax, ebx
mov dword [ebp - 0x12c], eax
fild dword [ebp - 0x12c]
test eax, eax
jge 0x1084904
fadd dword [0x10868e0]
fmul qword [0x10868d8]
mov esi, dword [ebp - 0x134]
lea eax, [ebp - 0x124]
push eax
fadd qword [0x10868d0]
push 0x100dc8c
push edi
fstp dword [ebp - 0x12c]
call dword [sym.imp.SHELL32.dll_SHCreateItemFromIDList]
test eax, eax
jl 0x1084959
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 0x10848ce
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.0108c225
test eax, eax
jl 0x10849e6
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
lea edx, [ebp - 0x12c]
push edx
push 0x10690b0
lea edx, [ebp - 0x13c]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x10849da
mov eax, dword [ebp - 0x128]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x10849ce
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