Function at 0x42e490
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4c35ee
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x4f2fb0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov esi, ecx
fldz
fst qword [esi + 0x40]
fst qword [esi + 0x38]
fstp qword [esi + 0x30]
fld qword [ebp + 8]
fstp qword [esi + 0x20]
fld qword [ebp + 0x10]
fstp qword [esi + 0x28]
fld qword [ebp + 0x18]
fst qword [esi + 0x48]
fmul qword [0x4c77d8]
call fcn.0049a420
fstp qword [esi + 0x50]
fld qword [ebp + 0x7c]
mov ecx, dword [ebp + 0x20]
fstp qword [esi + 0x58]
mov eax, dword [ebp + 0x6c]
fld qword [ebp + 0x8c]
mov edx, dword [ebp + 0x70]
fstp qword [esi + 0x60]
xor edi, edi
fld qword [ebp + 0x84]
mov dword [esi + 0xf0], ecx
fstp qword [esi + 0x68]
mov dword [esi + 0x10], edi
fld qword [ebp + 0x94]
mov dword [esi + 0x14], edi
fld qword [ebp + 0x9c]
mov dword [esi + 0xc8], edi
fadd st(1), st(0)
mov dword [esi + 0xb4], 1
fxch st(1)
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], edx
fstp qword [esi + 0x70]
mov dword [esi + 0xb0], edi
fldz
fst qword [esi + 0x148]
fld qword [ebp + 0x34]
fstp qword [esi + 0x78]
fld qword [ebp + 0x3c]
fstp qword [esi + 0x80]
fld qword [ebp + 0x44]
fstp qword [esi + 0x88]
fst qword [esi + 0xd0]
fst qword [esi + 0xd8]
fst qword [esi + 0xe0]
fld qword [ebp + 0x54]
fstp qword [esi + 0x90]
fld qword [ebp + 0x5c]
fstp qword [esi + 0x98]
fld qword [ebp + 0x64]
fchs
fstp qword [esi + 0xa0]
cmp ecx, edi
je 0x42e5ba
cmp ecx, 1
je 0x42e5ba
cmp ecx, 4
je 0x42e5ba
cmp ecx, 5
je 0x42e5ba
cmp ecx, 3
jne 0x42e5cf
fxch st(1)
fmul qword [0x4c77e8]
fdiv qword [ebp + 8]
fsubp st(1)
fstp qword [esi + 0x148]
jmp 0x42e5d3
fstp st(0)
fstp st(0)
mov eax, dword [ebp + 0x78]
fld qword [ebp + 0x18]
xor ebx, ebx
fabs
fld qword [0x4c77f8]
cmp eax, edi
setl bl
fcom st(1)
dec ebx
and ebx, eax
fnstsw ax
fstp st(1)
mov dword [ebp + 0x78], ebx
fld qword [ebp + 0x2c]
test ah, 0x41
jne 0x42e642
cmp ecx, 1
jne 0x42e642
fld st(0)
mov dword [esi + 0xf0], edi
fabs
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x42e623
fstp st(0)
fld qword [0x4c9268]
fstp qword [ebp + 0x24]
jmp 0x42e646
fmul qword [0x4c77d8]
call fcn.0049a420
fld1
fdivrp st(1)
fld qword [ebp + 8]
fmul qword [0x4c79a8]
fmulp st(1)
fstp qword [ebp + 0x24]
jmp 0x42e646
fstp st(0)
fstp st(0)
cmp ebx, 1
jne 0x42e65b
mov eax, dword [0x4f62c8]
push 0x6d
push eax
call fcn.0040dde0
add esp, 8
mov ecx, dword [0x4f62c8]
call fcn.0040da40
test eax, eax
jne 0x42eb80
mov eax, 2
cmp ebx, eax
jle 0x42e67f
mov dword [esi + 0xf0], eax
jmp 0x42e698
cmp dword [esi + 0xf0], eax
jne 0x42e698
mov ecx, dword [0x4f62c8]
push 0x6d
push ecx
call fcn.0040dde0
add esp, 8
mov ecx, dword [0x4f62c8]
call fcn.0040da40
test eax, eax
jne 0x42eb80
cmp ebx, edi
mov edi, dword [ebp + 0x74]
je 0x42e741
shl ebx, 4
lea ebx, [ebx + edi - 0x10]
mov ecx, ebx
call fcn.00466230
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.00466230
fld qword [eax]
mov edx, dword [esp + 0x24]
fcomp qword [edx]
fnstsw ax
test ah, 0x41
jne 0x42e73e
mov eax, dword [ebp + 0x78]
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x42e73e
mov edx, edi
mov ecx, ebx
mov dword [esp + 0x24], eax
mov ebx, dword [ecx + 8]
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [esp + 0x4c], ebx
mov ebx, dword [ecx + 0xc]
mov dword [esp + 0x50], ebx
mov ebx, dword [edx]
mov dword [ecx], ebx
mov ebx, dword [edx + 4]
mov dword [ecx + 4], ebx
mov ebx, dword [edx + 8]
mov dword [ecx + 8], ebx
mov ebx, dword [edx + 0xc]
mov dword [ecx + 0xc], ebx
mov dword [edx], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov eax, dword [esp + 0x50]
mov dword [edx + 0xc], eax
sub ecx, 0x10
add edx, 0x10
sub dword [esp + 0x24], 1
jne 0x42e6f2
mov edi, dword [ebp + 0x74]
mov ebx, dword [ebp + 0x78]
cmp dword [esi + 0xf0], 4
fld qword [ebp + 0x2c]
fst qword [esi + 0x38]
mov dword [esi + 0xcc], 0
jne 0x42e778
fmul qword [0x4c77d8]
call fcn.0049a420
fstp qword [esi + 0x40]
fld qword [ebp + 0x24]
mov ecx, esi
fstp qword [esi + 0x30]
call fcn.0042cdb0
fld qword [ebp + 0x2c]
mov ecx, dword [esi + 0xf0]
cmp ecx, 1
jne 0x42e794
fld st(0)
fabs
fcomp qword [0x4c77f8]
fnstsw ax
test ah, 5
jnp 0x42e7ae
fld qword [ebp + 0x24]
test ecx, ecx
jne 0x42e7bb
fld st(0)
fabs
fcomp qword [0x4c9260]
fnstsw ax
test ah, 0x41
jne 0x42e7bb
jmp 0x42e7b1
fld qword [ebp + 0x24]
mov dword [esi + 0xf0], 3
mov eax, dword [esi + 0xf0]
cmp eax, 5
ja case.default.0x42e7ca
jmp dword [eax*4 + 0x42eb98]
fstp st(1)
cmp ebx, 2
jne 0x42eaff
mov ecx, edi
fstp st(0)
call fcn.00466230
fld qword [eax]
lea ebx, [edi + 0x10]
fstp qword [esp + 0x34]
mov ecx, ebx
call fcn.00466230
fld qword [eax]
mov ecx, edi
fstp qword [esp + 0x2c]
call fcn.00466240
fld qword [eax]
mov ecx, ebx
fstp qword [esp + 0x24]
call fcn.00466240
fld qword [eax]
fsubr qword [esp + 0x24]
mov ebx, dword [ebp + 0x78]
fld st(0)
fabs
fcomp qword [0x4c77f8]
fnstsw ax
test ah, 5
jp 0x42e839
fstp st(0)
fld qword [0x4c9258]
fstp qword [esi + 0x30]
jmp 0x42eb08
fld qword [esp + 0x2c]
fsub qword [esp + 0x34]
fdivrp st(1)
fmul qword [0x4c79b0]
fstp qword [esi + 0x30]
jmp 0x42eb08
fstp st(0)
cmp ebx, 2
jne 0x42e914
mov ecx, edi
fstp st(0)
call fcn.00466230
fld qword [eax]
lea ebx, [edi + 0x10]
fstp qword [esp + 0x2c]
mov ecx, ebx
call fcn.00466230
fld qword [eax]
mov ecx, edi
fstp qword [esp + 0x3c]
call fcn.00466240
fld qword [eax]
mov ecx, ebx
fstp qword [esp + 0x34]
call fcn.00466240
fld qword [eax]
fsubr qword [esp + 0x34]
fst qword [esp + 0x44]
fabs
fcomp qword [0x4c77f8]
fnstsw ax
test ah, 5
jp 0x42e8b5
fldz
mov ebx, dword [ebp + 0x78]
fstp qword [esi + 0x38]
jmp 0x42eb08
fld1
fld st(0)
fdiv qword [esi + 0x50]
fmul qword [0x4c77e8]
fstp qword [esp + 0x24]
fld qword [esp + 0x2c]
fdiv qword [esi + 0x20]
fmul qword [esi + 0x50]
fsubp st(1)
call fcn.0049b0e0
fmul qword [esp + 0x24]
fstp qword [esp + 0x34]
fld qword [esp + 0x3c]
fdiv qword [esi + 0x20]
fmul qword [esi + 0x50]
fld1
fsubrp st(1)
call fcn.0049b0e0
fmul qword [esp + 0x24]
fsubr qword [esp + 0x34]
fdivr qword [esp + 0x44]
call fcn.00499190
fmul qword [0x4c77e8]
mov ebx, dword [ebp + 0x78]
fstp qword [esi + 0x38]
jmp 0x42eb08
fstp qword [esi + 0x38]
jmp 0x42eb08
fstp st(0)
fstp qword [esi + 0x38]
fld qword [ebp + 0x4c]
fmul qword [0x4c77d8]
call fcn.0049a420
fstp qword [esp + 0x44]
fld qword [ebp + 0x2c]
mov dword [esp + 0x24], 1
fld st(0)
fabs
fcomp qword [0x4c9250]
fnstsw ax
test ah, 5
jnp 0x42e957
mov dword [esp + 0x24], 0
fmul qword [0x4c77d8]
call fcn.0049a420
fild dword [esp + 0x24]
sub esp, 0x18
lea ecx, [esp + 0x6c]
fmul qword [esi + 0x50]
fld qword [esp + 0x5c]
fmul st(1), st(0)
fxch st(2)
faddp st(1)
fstp qword [esp + 0x10]
fld qword [0x4c7a40]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.00466250
mov ecx, dword [eax]
mov dword [esi + 0x128], ecx
mov edx, dword [eax + 4]
lea edi, [esi + 0x128]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0x14]
push edi
mov dword [edi + 0x14], edx
call fcn.004676e0
fld qword [esi + 0x70]
fmul qword [0x4c9248]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi + 8]
mov eax, dword [edx]
fstp qword [esp + 0x48]
fldz
lea ecx, [ecx + esi + 8]
push ecx
fstp qword [esp]
call eax
fdivr qword [esp + 0x44]
mov ecx, dword [edi]
mov edx, dword [edi + 4]
sub esp, 0x20
mov eax, esp
fstp qword [esp + 0x18]
mov dword [eax], ecx
mov ecx, dword [edi + 8]
mov dword [eax + 4], edx
mov edx, dword [edi + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [edi + 0x14]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
lea eax, [esp + 0x8c]
push eax
call fcn.00467870
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 0x10]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0x14]
mov eax, dword [esi + 8]
mov dword [edi + 0x14], edx
mov ecx, dword [eax + 4]
mov edi, dword [esi + ecx + 8]
add esp, 0x24
mov edx, ecx
add edi, 8
lea ecx, [esi + edx + 8]
push 1
fld qword [esi + 0x60]
mov eax, dword [ecx]
fmul qword [0x4c8f10]
mov edx, dword [eax + 0x18]
sub esp, 8
fstp qword [esp]
call edx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
mov edx, dword [edi]
sub esp, 8
lea ecx, [ecx + esi + 8]
fstp qword [esp]
call edx
fadd qword [esi + 0x148]
fstp qword [esi + 0x148]
jmp 0x42eb08
fstp st(1)
push 0x20
fstp qword [esi + 0x30]
call fcn.0047af44
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0xc0], 0
test eax, eax
je 0x42eac6
push 0
push 0
push edi
push ebx
mov ecx, eax
call fcn.00460b60
jmp 0x42eac8
xor eax, eax
push eax
mov dword [esp + 0xc4], 0xffffffff
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebx
call fcn.00424e80
fldz
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ecx
fstp qword [esp]
call edx
fsubr qword [esi + 0x148]
fstp qword [esi + 0x148]
jmp 0x42eb08
fstp st(1)
fstp qword [esi + 0x30]
jmp 0x42eb08
fstp st(1)
fstp st(0)
mov ecx, dword [0x4f62c8]
call fcn.0040da40
test eax, eax
jne 0x42eb80
mov ecx, esi
call fcn.0042b8a0
test ebx, ebx
je 0x42eb78
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
mov edi, dword [esi + ecx + 8]
mov eax, dword [ebp + 0x78]
mov edx, ecx
mov ebx, dword [esi + edx + 8]
mov ecx, dword [ebp + 0x74]
shl eax, 4
lea ecx, [eax + ecx - 0x10]
add edi, 8
add ebx, 0x18
call fcn.00466230
fld qword [eax]
mov edx, dword [esi + 8]
mov eax, dword [edx + 4]
mov edx, dword [ebx]
push 1
sub esp, 8
lea ecx, [eax + esi + 8]
fstp qword [esp]
call edx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
mov edx, dword [edi]
sub esp, 8
lea ecx, [ecx + esi + 8]
fstp qword [esp]
call edx
jmp 0x42eb7a
fldz
fstp qword [esi + 0x140]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x9c