Function at 0x42ebf0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x144]
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0
xor eax, eax
push fcn.0042ebe0
push ebp
push 0x458210
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
fldz
fld qword [eax + 0x198]
fcompp
fnstsw ax
sahf
jp 0x42ec34
je 0x42ee9d
mov esi, esi
xor eax, eax
push 0x42ee2f
push ebp
push 0x458590
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 1
xor eax, eax
push fcn.0042ebd0
push ebp
push 0x458210
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00487b10
mov dword [ebp - 8], 2
fldz
fstp qword [ebp - 0x28]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0044fd10
mov edx, eax
test edx, edx
jl 0x42ed60
mov dword [ebp - 0xc], 0xffffffff
lea esi, [esi]
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp - 0xc]
imul eax, eax, 0xd8
add eax, ecx
cmp dword [eax + 0xc8], 0xffffffff
je 0x42ed54
fldz
fld qword [eax + 0xa0]
fcompp
fnstsw ax
sahf
jp 0x42ecdf
je 0x42ed54
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebp - 0xc]
imul eax, eax, 0xd8
fld qword [ebx + 0x198]
fld qword [ecx + eax + 0xa0]
fcompp
fnstsw ax
sahf
jp 0x42ed0a
jbe 0x42ed0a
add dword [ebp - 0x10], 1
jmp 0x42ed0e
add dword [ebp - 0x14], 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
mov eax, dword [ebp - 0xc]
imul eax, eax, 0xd8
fld qword [ebp - 0x28]
fld qword [ecx + eax + 0xa0]
fcompp
fnstsw ax
sahf
jp 0x42ed54
jbe 0x42ed54
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x30]
mov eax, dword [ebp - 0xc]
imul ecx, eax, 0xd8
mov eax, dword [ebx + ecx + 0xa0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + ecx + 0xa4]
mov dword [ebp - 0x24], eax
nop
cmp edx, dword [ebp - 0xc]
jg 0x42eca8
lea esi, [esi]
mov eax, dword [ebp - 0x10]
cmp eax, 0xa
jle 0x42ee14
cmp eax, dword [ebp - 0x14]
jle 0x42ee14
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov edx, str.root
call fcn.0042a540
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
mov edx, 0x4b080c
mov eax, str.LicensionFile
call fcn.00402d00
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, str.OfflineUrl
call fcn.00402d00
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov edx, str.root
call fcn.0042a470
mov eax, dword [ebp - 4]
call fcn.0042afb0
mov eax, dword [ebp - 0x18]
call fcn.00452cc0
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x34]
call fcn.0046cfe0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0xb
lea edx, [ebp - 0x30]
xor ecx, ecx
mov eax, 0x22
call fcn.00401dc0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042ebd0
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x42ee9d
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.0042ebe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret