Function at 0x42f2a0
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.0042f290
push ebp
push 0x459540
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
fldz
fld qword [eax + 0x1a0]
fcompp
fnstsw ax
sahf
jp 0x42f2e4
je 0x42f54d
mov esi, esi
xor eax, eax
push 0x42f4df
push ebp
push 0x4598c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 1
xor eax, eax
push fcn.0042f280
push ebp
push 0x459540
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00489710
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.00450be0
mov edx, eax
test edx, edx
jl 0x42f410
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 0x42f404
fldz
fld qword [eax + 0xa0]
fcompp
fnstsw ax
sahf
jp 0x42f38f
je 0x42f404
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebp - 0xc]
imul eax, eax, 0xd8
fld qword [ebx + 0x1a0]
fld qword [ecx + eax + 0xa0]
fcompp
fnstsw ax
sahf
jp 0x42f3ba
jbe 0x42f3ba
add dword [ebp - 0x10], 1
jmp 0x42f3be
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 0x42f404
jbe 0x42f404
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 0x42f358
lea esi, [esi]
mov eax, dword [ebp - 0x10]
cmp eax, 0xa
jle 0x42f4c4
cmp eax, dword [ebp - 0x14]
jle 0x42f4c4
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.0042ab70
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
mov edx, 0x4b9834
mov eax, str.LicensionFile
call fcn.00402d10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, str.OfflineUrl
call fcn.00402d10
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov edx, str.root
call fcn.0042aaa0
mov eax, dword [ebp - 4]
call fcn.0042b5e0
mov eax, dword [ebp - 0x18]
call fcn.00453e40
mov dword [ebp - 0x1c], 0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x34]
call fcn.0046e580
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.00401dd0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042f280
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x42f54d
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.0042f290
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret