409a3b:	b8 13 00 00 00       	mov    $0x13,%eax
409a40:	80 f9 00             	cmp    $0x0,%cl
409a43:	75 17                	jne    0x409a5c
409a45:	8b 45 0c             	mov    0xc(%ebp),%eax
409a48:	83 f8 02             	cmp    $0x2,%eax
409a4b:	7d 05                	jge    0x409a52
409a4d:	b8 02 00 00 00       	mov    $0x2,%eax
409a52:	83 f8 12             	cmp    $0x12,%eax
409a55:	7e 05                	jle    0x409a5c
409a57:	b8 12 00 00 00       	mov    $0x12,%eax
409a5c:	89 45 0c             	mov    %eax,0xc(%ebp)
409a5f:	50                   	push   %eax
409a60:	b8 0f 27 00 00       	mov    $0x270f,%eax
409a65:	80 7d 10 02          	cmpb   $0x2,0x10(%ebp)
409a69:	72 03                	jb     0x409a6e
409a6b:	8b 45 08             	mov    0x8(%ebp),%eax
409a6e:	50                   	push   %eax
409a6f:	8d 45 d4             	lea    -0x2c(%ebp),%eax
409a72:	e8 5d 02 00 00       	call   0x409cd4
409a77:	8b 7d fc             	mov    -0x4(%ebp),%edi
409a7a:	0f b7 45 d4          	movzwl -0x2c(%ebp),%eax
409a7e:	2d ff 7f 00 00       	sub    $0x7fff,%eax
409a83:	83 f8 02             	cmp    $0x2,%eax
409a86:	73 1a                	jae    0x409aa2
409a88:	89 c1                	mov    %eax,%ecx
409a8a:	e8 70 00 00 00       	call   0x409aff
409a8f:	8d b4 49 f0 9a 40 00 	lea    0x409af0(%ecx,%ecx,2),%esi
409a96:	03 75 ec             	add    -0x14(%ebp),%esi
409a99:	b9 03 00 00 00       	mov    $0x3,%ecx
409a9e:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)
409aa0:	eb 2d                	jmp    0x409acf
409aa2:	8d 75 d7             	lea    -0x29(%ebp),%esi
409aa5:	0f b6 5d 10          	movzbl 0x10(%ebp),%ebx
409aa9:	80 fb 01             	cmp    $0x1,%bl
409aac:	74 10                	je     0x409abe
409aae:	80 fb 04             	cmp    $0x4,%bl
409ab1:	77 09                	ja     0x409abc
409ab3:	0f bf 45 d4          	movswl -0x2c(%ebp),%eax
409ab7:	3b 45 0c             	cmp    0xc(%ebp),%eax
409aba:	7e 02                	jle    0x409abe
409abc:	b3 00                	mov    $0x0,%bl
409abe:	8d 1c 9d dc 9a 40 00 	lea    0x409adc(,%ebx,4),%ebx
409ac5:	03 5d ec             	add    -0x14(%ebp),%ebx
409ac8:	8b 1b                	mov    (%ebx),%ebx
409aca:	03 5d ec             	add    -0x14(%ebp),%ebx
409acd:	ff d3                	call   *%ebx
409acf:	89 f8                	mov    %edi,%eax
409ad1:	2b 45 fc             	sub    -0x4(%ebp),%eax
409ad4:	5b                   	pop    %ebx
409ad5:	5e                   	pop    %esi
409ad6:	5f                   	pop    %edi
409ad7:	e9 f1 01 00 00       	jmp    0x409ccd
409adc:	09 9b 40 00 65 9b    	or     %ebx,-0x649affc0(%ebx)
409ae2:	40                   	inc    %eax
409ae3:	00 9c 9b 40 00 9c 9b 	add    %bl,-0x6463ffc0(%ebx,%ebx,4)
409aea:	40                   	inc    %eax
409aeb:	00 06                	add    %al,(%esi)
409aed:	9c                   	pushf
409aee:	40                   	inc    %eax
409aef:	00 49 4e             	add    %cl,0x4e(%ecx)
409af2:	46                   	inc    %esi
409af3:	4e                   	dec    %esi
409af4:	41                   	inc    %ecx
409af5:	4e                   	dec    %esi
409af6:	ac                   	lods   %ds:(%esi),%al
409af7:	08 c0                	or     %al,%al
409af9:	75 03                	jne    0x409afe
409afb:	b0 30                	mov    $0x30,%al
409afd:	4e                   	dec    %esi
409afe:	c3                   	ret
409aff:	80 7d d6 00          	cmpb   $0x0,-0x2a(%ebp)
409b03:	74 03                	je     0x409b08
409b05:	b0 2d                	mov    $0x2d,%al
409b07:	aa                   	stos   %al,%es:(%edi)
409b08:	c3                   	ret
409b09:	e8 f1 ff ff ff       	call   0x409aff
409b0e:	0f bf 4d d4          	movswl -0x2c(%ebp),%ecx
409b12:	31 d2                	xor    %edx,%edx
409b14:	3b 4d 0c             	cmp    0xc(%ebp),%ecx
409b17:	7f 1d                	jg     0x409b36
409b19:	83 f9 fd             	cmp    $0xfffffffd,%ecx
409b1c:	7c 18                	jl     0x409b36
409b1e:	09 c9                	or     %ecx,%ecx
409b20:	7f 1a                	jg     0x409b3c
409b22:	b0 30                	mov    $0x30,%al
409b24:	aa                   	stos   %al,%es:(%edi)
409b25:	80 3e 00             	cmpb   $0x0,(%esi)
409b28:	74 3a                	je     0x409b64
409b2a:	8a 45 fb             	mov    -0x5(%ebp),%al
409b2d:	aa                   	stos   %al,%es:(%edi)
409b2e:	f7 d9                	neg    %ecx
409b30:	b0 30                	mov    $0x30,%al
409b32:	f3 aa                	rep stos %al,%es:(%edi)
409b34:	eb 1a                	jmp    0x409b50
409b36:	b9 01 00 00 00       	mov    $0x1,%ecx
409b3b:	42                   	inc    %edx
409b3c:	ac                   	lods   %ds:(%esi),%al
409b3d:	08 c0                	or     %al,%al
409b3f:	74 17                	je     0x409b58
409b41:	aa                   	stos   %al,%es:(%edi)
409b42:	e2 f8                	loop   0x409b3c
409b44:	ac                   	lods   %ds:(%esi),%al
409b45:	08 c0                	or     %al,%al
409b47:	74 13                	je     0x409b5c
409b49:	88 c4                	mov    %al,%ah
409b4b:	8a 45 fb             	mov    -0x5(%ebp),%al
409b4e:	66 ab                	stos   %ax,%es:(%edi)
409b50:	ac                   	lods   %ds:(%esi),%al
409b51:	08 c0                	or     %al,%al
409b53:	74 07                	je     0x409b5c
409b55:	aa                   	stos   %al,%es:(%edi)
409b56:	eb f8                	jmp    0x409b50
409b58:	b0 30                	mov    $0x30,%al
409b5a:	f3 aa                	rep stos %al,%es:(%edi)
409b5c:	09 d2                	or     %edx,%edx
409b5e:	74 04                	je     0x409b64
409b60:	31 c0                	xor    %eax,%eax
409b62:	eb 1e                	jmp    0x409b82
409b64:	c3                   	ret
409b65:	e8 95 ff ff ff       	call   0x409aff
409b6a:	e8 87 ff ff ff       	call   0x409af6
409b6f:	8a 65 fb             	mov    -0x5(%ebp),%ah
409b72:	66 ab                	stos   %ax,%es:(%edi)
409b74:	8b 4d 0c             	mov    0xc(%ebp),%ecx
409b77:	49                   	dec    %ecx
409b78:	e8 79 ff ff ff       	call   0x409af6
409b7d:	aa                   	stos   %al,%es:(%edi)
409b7e:	e2 f8                	loop   0x409b78
409b80:	b4 2b                	mov    $0x2b,%ah
409b82:	8b 4d 08             	mov    0x8(%ebp),%ecx
409b85:	83 f9 04             	cmp    $0x4,%ecx
409b88:	76 02                	jbe    0x409b8c
409b8a:	31 c9                	xor    %ecx,%ecx
409b8c:	b0 45                	mov    $0x45,%al
409b8e:	8a 5d d7             	mov    -0x29(%ebp),%bl
409b91:	0f bf 55 d4          	movswl -0x2c(%ebp),%edx
409b95:	4a                   	dec    %edx
409b96:	e8 21 fe ff ff       	call   0x4099bc
409b9b:	c3                   	ret
409b9c:	e8 5e ff ff ff       	call   0x409aff
409ba1:	8b 55 08             	mov    0x8(%ebp),%edx
409ba4:	83 fa 12             	cmp    $0x12,%edx
409ba7:	72 05                	jb     0x409bae
409ba9:	ba 12 00 00 00       	mov    $0x12,%edx
409bae:	0f bf 4d d4          	movswl -0x2c(%ebp),%ecx
409bb2:	09 c9                	or     %ecx,%ecx
409bb4:	7f 05                	jg     0x409bbb
409bb6:	b0 30                	mov    $0x30,%al
409bb8:	aa                   	stos   %al,%es:(%edi)
409bb9:	eb 2a                	jmp    0x409be5
409bbb:	31 db                	xor    %ebx,%ebx
409bbd:	80 7d 10 02          	cmpb   $0x2,0x10(%ebp)
409bc1:	74 0a                	je     0x409bcd
409bc3:	89 c8                	mov    %ecx,%eax
409bc5:	48                   	dec    %eax
409bc6:	b3 03                	mov    $0x3,%bl
409bc8:	f6 f3                	div    %bl
409bca:	88 e3                	mov    %ah,%bl
409bcc:	43                   	inc    %ebx
409bcd:	e8 24 ff ff ff       	call   0x409af6
409bd2:	aa                   	stos   %al,%es:(%edi)
409bd3:	49                   	dec    %ecx
409bd4:	74 0f                	je     0x409be5
409bd6:	4b                   	dec    %ebx
409bd7:	75 f4                	jne    0x409bcd
409bd9:	8a 45 fa             	mov    -0x6(%ebp),%al
409bdc:	84 c0                	test   %al,%al
409bde:	74 ed                	je     0x409bcd
409be0:	aa                   	stos   %al,%es:(%edi)
409be1:	b3 03                	mov    $0x3,%bl
409be3:	eb e8                	jmp    0x409bcd
409be5:	09 d2                	or     %edx,%edx
409be7:	74 1c                	je     0x409c05
409be9:	8a 45 fb             	mov    -0x5(%ebp),%al
409bec:	84 c0                	test   %al,%al
409bee:	74 01                	je     0x409bf1
409bf0:	aa                   	stos   %al,%es:(%edi)
409bf1:	e3 09                	jecxz  0x409bfc
409bf3:	b0 30                	mov    $0x30,%al
409bf5:	aa                   	stos   %al,%es:(%edi)
409bf6:	4a                   	dec    %edx
409bf7:	74 0c                	je     0x409c05
409bf9:	41                   	inc    %ecx
409bfa:	75 f9                	jne    0x409bf5
409bfc:	e8 f5 fe ff ff       	call   0x409af6
409c01:	aa                   	stos   %al,%es:(%edi)
409c02:	4a                   	dec    %edx
409c03:	75 f7                	jne    0x409bfc
409c05:	c3                   	ret
409c06:	31 db                	xor    %ebx,%ebx
409c08:	8a 5d f3             	mov    -0xd(%ebp),%bl
409c0b:	b9 03 00 00 00       	mov    $0x3,%ecx
409c10:	80 7d d6 00          	cmpb   $0x0,-0x2a(%ebp)
409c14:	74 08                	je     0x409c1e
409c16:	8a 5d f2             	mov    -0xe(%ebp),%bl
409c19:	b9 0f 04 00 00       	mov    $0x40f,%ecx
409c1e:	38 cb                	cmp    %cl,%bl
409c20:	76 02                	jbe    0x409c24
409c22:	88 cb                	mov    %cl,%bl
409c24:	00 eb                	add    %ch,%bl
409c26:	8d 9c 9b 69 9c 40 00 	lea    0x409c69(%ebx,%ebx,4),%ebx
409c2d:	03 5d ec             	add    -0x14(%ebp),%ebx
409c30:	b9 05 00 00 00       	mov    $0x5,%ecx
409c35:	8a 03                	mov    (%ebx),%al
409c37:	3c 40                	cmp    $0x40,%al
409c39:	74 1e                	je     0x409c59
409c3b:	51                   	push   %ecx
409c3c:	53                   	push   %ebx
409c3d:	3c 24                	cmp    $0x24,%al
409c3f:	74 07                	je     0x409c48
409c41:	3c 2a                	cmp    $0x2a,%al
409c43:	74 0a                	je     0x409c4f
409c45:	aa                   	stos   %al,%es:(%edi)
409c46:	eb 0c                	jmp    0x409c54
409c48:	e8 0d 00 00 00       	call   0x409c5a
409c4d:	eb 05                	jmp    0x409c54
409c4f:	e8 4d ff ff ff       	call   0x409ba1
409c54:	5b                   	pop    %ebx
409c55:	59                   	pop    %ecx
409c56:	43                   	inc    %ebx
409c57:	e2 dc                	loop   0x409c35
409c59:	c3                   	ret
409c5a:	56                   	push   %esi
409c5b:	8b 75 f4             	mov    -0xc(%ebp),%esi
409c5e:	85 f6                	test   %esi,%esi
409c60:	74 05                	je     0x409c67
409c62:	8b 4e fc             	mov    -0x4(%esi),%ecx
409c65:	f3 a4                	rep movsb %ds:(%esi),%es:(%edi)
409c67:	5e                   	pop    %esi
409c68:	c3                   	ret
409c69:	24 2a                	and    $0x2a,%al
409c6b:	40                   	inc    %eax
409c6c:	40                   	inc    %eax
409c6d:	40                   	inc    %eax
409c6e:	2a 24 40             	sub    (%eax,%eax,2),%ah
409c71:	40                   	inc    %eax
409c72:	40                   	inc    %eax
409c73:	24 20                	and    $0x20,%al
409c75:	2a 40 40             	sub    0x40(%eax),%al
409c78:	2a 20                	sub    (%eax),%ah
409c7a:	24 40                	and    $0x40,%al
409c7c:	40                   	inc    %eax
409c7d:	28 24 2a             	sub    %ah,(%edx,%ebp,1)
409c80:	29 40 2d             	sub    %eax,0x2d(%eax)
409c83:	24 2a                	and    $0x2a,%al
409c85:	40                   	inc    %eax
409c86:	40                   	inc    %eax
409c87:	24 2d                	and    $0x2d,%al
409c89:	2a 40 40             	sub    0x40(%eax),%al
409c8c:	24 2a                	and    $0x2a,%al
409c8e:	2d 40 40 28 2a       	sub    $0x2a284040,%eax
409c93:	24 29                	and    $0x29,%al
409c95:	40                   	inc    %eax
409c96:	2d 2a 24 40 40       	sub    $0x4040242a,%eax
409c9b:	2a 2d 24 40 40 2a    	sub    0x2a404024,%ch
409ca1:	24 2d                	and    $0x2d,%al
409ca3:	40                   	inc    %eax
409ca4:	40                   	inc    %eax
409ca5:	2d 2a 20 24 40       	sub    $0x4024202a,%eax
409caa:	2d 24 20 2a 40       	sub    $0x402a2024,%eax
409caf:	2a 20                	sub    (%eax),%ah
409cb1:	24 2d                	and    $0x2d,%al
409cb3:	40                   	inc    %eax
409cb4:	24 20                	and    $0x20,%al
409cb6:	2a 2d 40 24 20 2d    	sub    0x2d202440,%ch
409cbc:	2a 40 2a             	sub    0x2a(%eax),%al
409cbf:	2d 20 24 40 28       	sub    $0x28402420,%eax
409cc4:	24 20                	and    $0x20,%al
409cc6:	2a 29                	sub    (%ecx),%ch
409cc8:	28 2a                	sub    %ch,(%edx)
409cca:	20 24 29             	and    %ah,(%ecx,%ebp,1)
409ccd:	8b e5                	mov    %ebp,%esp
409ccf:	5d                   	pop    %ebp
409cd0:	c2 0c 00             	ret    $0xc
409cd3:	90                   	nop
409cd4:	55                   	push   %ebp
409cd5:	8b ec                	mov    %esp,%ebp
409cd7:	83 c4 e0             	add    $0xffffffe0,%esp
409cda:	57                   	push   %edi
409cdb:	56                   	push   %esi
409cdc:	53                   	push   %ebx
409cdd:	89 c3                	mov    %eax,%ebx
409cdf:	89 d6                	mov    %edx,%esi
409ce1:	c7 45 fc 00 00 00 00 	movl   $0x0,-0x4(%ebp)
409ce8:	80 f9 00             	cmp    $0x0,%cl
409ceb:	74 0a                	je     0x409cf7
409ced:	e8 31 01 00 00       	call   0x409e23
409cf2:	e9 00 02 00 00       	jmp    0x409ef7
409cf7:	e8 05 00 00 00       	call   0x409d01
409cfc:	e9 f6 01 00 00       	jmp    0x409ef7
409d01:	66 8b 46 08          	mov    0x8(%esi),%ax
409d05:	89 c2                	mov    %eax,%edx
409d07:	25 ff 7f 00 00       	and    $0x7fff,%eax
409d0c:	74 1e                	je     0x409d2c
409d0e:	3d ff 7f 00 00       	cmp    $0x7fff,%eax
409d13:	75 22                	jne    0x409d37
409d15:	66 f7 46 06 00 80    	testw  $0x8000,0x6(%esi)
409d1b:	74 11                	je     0x409d2e
409d1d:	83 3e 00             	cmpl   $0x0,(%esi)
409d20:	75 09                	jne    0x409d2b
409d22:	81 7e 04 00 00 00 80 	cmpl   $0x80000000,0x4(%esi)
409d29:	74 03                	je     0x409d2e
409d2b:	40                   	inc    %eax
409d2c:	31 d2                	xor    %edx,%edx
409d2e:	c6 43 03 00          	movb   $0x0,0x3(%ebx)
409d32:	e9 cd 00 00 00       	jmp    0x409e04
409d37:	db 2e                	fldt   (%esi)
409d39:	2d ff 3f 00 00       	sub    $0x3fff,%eax
409d3e:	69 c0 10 4d 00 00    	imul   $0x4d10,%eax,%eax
409d44:	c1 f8 10             	sar    $0x10,%eax
409d47:	40                   	inc    %eax
409d48:	89 45 f8             	mov    %eax,-0x8(%ebp)
409d4b:	b8 12 00 00 00       	mov    $0x12,%eax
409d50:	2b 45 f8             	sub    -0x8(%ebp),%eax
409d53:	d9 e1                	fabs
409d55:	53                   	push   %ebx
409d56:	8b 5d fc             	mov    -0x4(%ebp),%ebx
409d59:	e8 72 96 ff ff       	call   0x4033d0
409d5e:	5b                   	pop    %ebx
409d5f:	d9 fc                	frndint
409d61:	8b 7d fc             	mov    -0x4(%ebp),%edi
409d64:	db af 68 08 46 00    	fldt   0x460868(%edi)
409d6a:	d8 d9                	fcomp  %st(1)
409d6c:	9b dd 7d f6          	fstsw  -0xa(%ebp)
409d70:	9b                   	fwait
409d71:	66 f7 45 f6 00 41    	testw  $0x4100,-0xa(%ebp)
409d77:	74 09                	je     0x409d82
409d79:	da b7 74 08 46 00    	fidivl 0x460874(%edi)
409d7f:	ff 45 f8             	incl   -0x8(%ebp)
409d82:	df 75 e8             	fbstp  -0x18(%ebp)
409d85:	8d 7b 03             	lea    0x3(%ebx),%edi
409d88:	ba 09 00 00 00       	mov    $0x9,%edx
409d8d:	9b                   	fwait
409d8e:	8a 44 2a e7          	mov    -0x19(%edx,%ebp,1),%al
409d92:	88 c4                	mov    %al,%ah
409d94:	c0 e8 04             	shr    $0x4,%al
409d97:	80 e4 0f             	and    $0xf,%ah
409d9a:	66 05 30 30          	add    $0x3030,%ax
409d9e:	66 ab                	stos   %ax,%es:(%edi)
409da0:	4a                   	dec    %edx
409da1:	75 eb                	jne    0x409d8e
409da3:	32 c0                	xor    %al,%al
409da5:	aa                   	stos   %al,%es:(%edi)
409da6:	8b 7d f8             	mov    -0x8(%ebp),%edi
409da9:	03 7d 08             	add    0x8(%ebp),%edi
409dac:	79 07                	jns    0x409db5
409dae:	31 c0                	xor    %eax,%eax
409db0:	e9 77 ff ff ff       	jmp    0x409d2c
409db5:	3b 7d 0c             	cmp    0xc(%ebp),%edi
409db8:	72 03                	jb     0x409dbd