Function at 0x10024b70
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100bf8ed
mov eax, dword fs:[0]
push eax
sub esp, 0x140
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10119a70]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x58], ebp
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x18]
sub edx, dword [ecx + 0x10]
mov eax, dword [esi + 0x5c]
mov ebx, 1
add edx, ebx
cmp eax, edx
mov dword [esp + 0x15c], ebp
jl 0x10024bcb
mov eax, dword [ecx + 0x18]
sub eax, dword [ecx + 0x10]
add eax, ebx
mov edi, dword [ecx + 0x1c]
sub edi, dword [ecx + 0x14]
mov edx, dword [esi + 0xc4]
add edi, ebx
cmp edx, edi
jge 0x10024be1
mov edi, edx
jmp 0x10024be9
mov edi, dword [ecx + 0x1c]
sub edi, dword [ecx + 0x14]
add edi, ebx
cmp edi, edx
je 0x10024c05
fild dword [esi + 0xc8]
mov eax, dword [esi + 0x58]
sub esp, 8
mov ecx, esi
fstp qword [esp]
push edi
push eax
call fcn.10024b20
fld1
dec eax
mov dword [esp + 0x28], eax
fstp qword [esp + 0x5c]
mov eax, dword [esi + 0x2c]
dec edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], edi
cmp eax, 0x3a98
jae 0x10024c43
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
test eax, eax
jge 0x10024c39
fadd qword [0x100d0430]
fdiv qword [0x100d0448]
fstp qword [esp + 0x5c]
lea ecx, [esp + 0x30]
call dword [0x100cccf4]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov edi, dword [esp + 0x164]
add ecx, ebx
push 5
lea edx, [esp + 0x48]
add eax, ebx
mov dword [esp + 0x48], ecx
push edx
mov ecx, edi
mov dword [esp + 0x164], ebx
mov dword [esp + 0x50], eax
call dword [0x100ccb44]
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], ebx
call dword [0x100ccd0c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 2
call dword [0x100ccb40]
mov ebx, dword [0x100ccb3c]
mov edi, eax
push 2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], edi
call ebx
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
inc eax
inc ecx
dec eax
dec ecx
mov dword [esp + 0x40], eax
xor edx, edx
push 1
lea eax, [esp + 0x38]
mov dword [esp + 0x40], ecx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
call dword [0x100ccb38]
push edi
lea ecx, [esp + 0x1c]
call ebx
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
inc ecx
mov eax, ecx
cdq
sub eax, edx
fstp qword [esp + 0xc4]
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, ecx
fild dword [esp + 0x14]
cdq
sub eax, edx
fstp qword [esp + 0xcc]
sar eax, 1
fldz
mov dword [esp + 0x14], eax
fstp qword [esp + 0xb4]
fild dword [esp + 0x14]
mov ebx, dword [0x100ccb34]
fstp qword [esp + 0xbc]
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x11c]
call ebx
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
sub edi, dword [esp + 0x20]
inc ecx
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
inc edi
mov dword [esp + 0x14], edi
fild dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, edi
cdq
sub eax, edx
fstp qword [esp + 0x94]
fild dword [esp + 0x14]
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, ecx
cdq
fstp qword [esp + 0x9c]
fild dword [esp + 0x14]
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
fstp qword [esp + 0xa4]
lea eax, [esp + 0x94]
fild dword [esp + 0x14]
push eax
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0xdc]
fstp qword [esp + 0xb4]
mov byte [esp + 0x164], 3
call ebx
fldz
mov edi, dword [0x100ccb30]
lea ebx, [esi + 0xcc]
push ebx
sub esp, 8
lea ecx, [esp + 0x120]
fstp qword [esp]
mov byte [esp + 0x168], 4
call edi
fld1
lea eax, [esi + 0xdc]
push eax
sub esp, 8
lea ecx, [esp + 0x120]
fstp qword [esp]
call edi
fldz
lea eax, [esi + 0xdc]
push eax
sub esp, 8
lea ecx, [esp + 0xe0]
fstp qword [esp]
call edi
fld1
push ebx
sub esp, 8
lea ecx, [esp + 0xe0]
fstp qword [esp]
call edi
mov edi, dword [0x100ccb2c]
lea edx, [esp + 0x114]
push edx
lea ecx, [esp + 0x54]
call edi
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x160], 5
call edi
xor ebx, ebx
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x160], 6
call dword [0x100ccce8]
mov edi, dword [0x100ccce0]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x1c]
call edi
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
inc eax
cdq
sub eax, edx
inc ecx
dec ecx
sar eax, 1
push 1
lea edx, [esp + 0x38]
dec eax
mov dword [esp + 0x44], ecx
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
call dword [0x100ccb28]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call edi
mov ebx, dword [esp + 0x28]
sub ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
inc ebx
mov eax, ebx
cdq
sub eax, edx
mov edi, eax
mov eax, ebx
cdq
sub eax, edx
inc ecx
sar eax, 1
sar edi, 1
lea edx, [eax + edi - 1]
dec ecx
push 1
lea eax, [esp + 0x38]
mov dword [esp + 0x44], ecx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], edx
call dword [0x100ccb28]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
inc ecx
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esi + 0x80]
cdq
sub eax, edx
sar edi, 1
sar eax, 1
mov edx, edi
sub edx, eax
js 0x10025177
jmp 0x10024f70
mov eax, dword [esp + 0x2c]
fild dword [esi + 0xc8]
sub eax, dword [esp + 0x24]
sub esp, 8
fstp qword [esp]
push ecx
inc eax
push eax
push ebp
mov ecx, esi
mov dword [esp + 0x48], eax
call fcn.10024aa0
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fmul qword [esp + 0x5c]
call fcn.100bb8c0
mov ebx, eax
cmp ebx, 6
jge 0x10024fb9
and eax, 0x80000001
jns 0x10024fb7
dec eax
or eax, 0xfffffffe
inc eax
sub ebx, eax
cmp ebx, 2
jl 0x10025177
mov eax, dword [esi + 0x80]
cmp ebx, eax
jge 0x10024fd0
mov ebx, eax
jmp 0x10024fd9
cmp ebx, 2
jl 0x10025177
mov eax, ebx
fld qword [0x100d0440]
cdq
fcomp qword [esi + 0x98]
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0x80]
cdq
sub eax, edx
mov edx, dword [esi + 0x80]
sar eax, 1
sub edi, eax
sar ecx, 1
sub ecx, dword [esp + 0x1c]
lea eax, [edi + ebp]
lea edx, [eax + edx - 1]
mov dword [esp + 0x64], eax
lea eax, [ecx + ebx - 1]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x6c], edx
cdq
sub eax, edx
sar eax, 1
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x80]
sub edi, ebp
lea edx, [eax + ebx - 1]
mov dword [esp + 0x78], eax
lea ecx, [edi + ecx - 1]
fnstsw ax
mov dword [esp + 0x74], edi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
test ah, 0x44
jp 0x10025076
mov eax, dword [esi + 0x80]
add eax, eax
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jmp 0x1002507c
fld qword [esi + 0x98]
call fcn.100bb8c0
mov edi, dword [esi + 0x88]
mov dword [esp + 0x1c], eax
test edi, edi
jg 0x10025094
mov edi, 2
fild dword [esp + 0x1c]
sub esp, 0x28
lea edx, [esp + 0x8c]
mov ecx, esp
fst qword [esp + 0x5c]
mov dword [esp + 0x44], esp
fstp qword [esp + 0x20]
push edx
call dword [0x100cca64]
lea eax, [esp + 0x3c]
push eax
call fcn.10068900
fld qword [esp + 0x60]
add esp, 4
lea edx, [esp + 0x9c]
fstp qword [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x188], 7
call dword [0x100cca64]
lea eax, [esp + 0x74]
push eax
call fcn.10068900
add esp, 0x2c
mov ebx, dword [0x100ccb24]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x160], 8
call ebx
test ebp, ebp
je 0x1002511d
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x34]
call ebx
mov eax, dword [esi + 0x80]
cdq
sub eax, edx
sar eax, 1
add eax, edi
mov edi, dword [0x100ccccc]
lea ecx, [esp + 0x4c]
add ebp, eax
mov byte [esp + 0x15c], 7
call edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], 6
call edi
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
inc ecx
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esi + 0x80]
cdq
sub eax, edx
sar edi, 1
sar eax, 1
mov edx, edi
sub edx, eax
cmp ebp, edx
jle 0x10024f70
push 0
lea ecx, [esp + 0x34]
call dword [0x100ccb20]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x78]
call dword [0x100cca64]
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x34]
call dword [0x100ccb1c]
mov esi, dword [0x100ccb3c]
push 2
lea ecx, [esp + 0x1c]
call esi
push 1
push 1
lea ecx, [esp + 0x20]
call dword [0x100cccd8]
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x1c]
call dword [0x100cccd4]
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x1c]
call esi
mov esi, dword [0x100cccdc]
lea ecx, [esp + 0x54]
mov byte [esp + 0x15c], 5
call esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x15c], 4
call esi
lea ecx, [esp + 0xd4]
mov byte [esp + 0x15c], 3
call dword [0x100ccb18]
lea ecx, [esp + 0x114]
mov byte [esp + 0x15c], 2
call dword [0x100ccb18]
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 1
call dword [0x100cccbc]
lea ecx, [esp + 0x30]
mov byte [esp + 0x15c], 0
call dword [0x100ccccc]
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret 4