40caf3:	c7 43 30 d8 8f 40 00 	movl   $0x408fd8,0x30(%ebx)
40cafa:	31 c0                	xor    %eax,%eax
40cafc:	e8 6b a5 ff ff       	call   0x40706c
40cb01:	89 43 24             	mov    %eax,0x24(%ebx)
40cb04:	c7 40 39 48 ce 40 00 	movl   $0x40ce48,0x39(%eax)
40cb0b:	89 58 3d             	mov    %ebx,0x3d(%eax)
40cb0e:	e8 e1 dd ff ff       	call   0x40a8f4
40cb13:	31 d2                	xor    %edx,%edx
40cb15:	8b 4b 2c             	mov    0x2c(%ebx),%ecx
40cb18:	e3 05                	jecxz  0x40cb1f
40cb1a:	e8 2d da ff ff       	call   0x40a54c
40cb1f:	8b 43 24             	mov    0x24(%ebx),%eax
40cb22:	8b 48 1c             	mov    0x1c(%eax),%ecx
40cb25:	41                   	inc    %ecx
40cb26:	e2 11                	loop   0x40cb39
40cb28:	50                   	push   %eax
40cb29:	89 4b 38             	mov    %ecx,0x38(%ebx)
40cb2c:	51                   	push   %ecx
40cb2d:	e8 9e 7d ff ff       	call   0x4048d0
40cb32:	92                   	xchg   %eax,%edx
40cb33:	58                   	pop    %eax
40cb34:	e8 ef dc ff ff       	call   0x40a828
40cb39:	8b 4b 38             	mov    0x38(%ebx),%ecx
40cb3c:	41                   	inc    %ecx
40cb3d:	e2 14                	loop   0x40cb53
40cb3f:	ff 73 20             	push   0x20(%ebx)
40cb42:	8b 43 24             	mov    0x24(%ebx),%eax
40cb45:	e8 e6 dd ff ff       	call   0x40a930
40cb4a:	50                   	push   %eax
40cb4b:	e8 08 7e ff ff       	call   0x404958
40cb50:	89 43 38             	mov    %eax,0x38(%ebx)
40cb53:	c7 43 34 c4 ca 40 00 	movl   $0x40cac4,0x34(%ebx)
40cb5a:	8b 43 24             	mov    0x24(%ebx),%eax
40cb5d:	5b                   	pop    %ebx
40cb5e:	c3                   	ret
40cb5f:	90                   	nop
40cb60:	51                   	push   %ecx
40cb61:	8b 48 1c             	mov    0x1c(%eax),%ecx
40cb64:	e3 03                	jecxz  0x40cb69
40cb66:	8b 48 18             	mov    0x18(%eax),%ecx
40cb69:	85 c9                	test   %ecx,%ecx
40cb6b:	59                   	pop    %ecx
40cb6c:	0f 94 c0             	sete   %al
40cb6f:	c3                   	ret
40cb70:	50                   	push   %eax
40cb71:	92                   	xchg   %eax,%edx
40cb72:	e8 81 df ff ff       	call   0x40aaf8
40cb77:	92                   	xchg   %eax,%edx
40cb78:	58                   	pop    %eax
40cb79:	52                   	push   %edx
40cb7a:	e8 25 c8 ff ff       	call   0x4093a4
40cb7f:	58                   	pop    %eax
40cb80:	e8 8b d6 ff ff       	call   0x40a210
40cb85:	c3                   	ret
40cb86:	8b c0                	mov    %eax,%eax
40cb88:	53                   	push   %ebx
40cb89:	89 c3                	mov    %eax,%ebx
40cb8b:	31 d2                	xor    %edx,%edx
40cb8d:	e8 26 c9 ff ff       	call   0x4094b8
40cb92:	89 d8                	mov    %ebx,%eax
40cb94:	e8 5f c4 ff ff       	call   0x408ff8
40cb99:	85 c0                	test   %eax,%eax
40cb9b:	74 25                	je     0x40cbc2
40cb9d:	80 7b 72 00          	cmpb   $0x0,0x72(%ebx)
40cba1:	74 17                	je     0x40cbba
40cba3:	8b 43 45             	mov    0x45(%ebx),%eax
40cba6:	50                   	push   %eax
40cba7:	50                   	push   %eax
40cba8:	6a 00                	push   $0x0
40cbaa:	e8 71 7c ff ff       	call   0x404820
40cbaf:	89 c2                	mov    %eax,%edx
40cbb1:	87 43 41             	xchg   %eax,0x41(%ebx)
40cbb4:	59                   	pop    %ecx
40cbb5:	e8 8a 5d ff ff       	call   0x402944
40cbba:	31 c0                	xor    %eax,%eax
40cbbc:	88 43 72             	mov    %al,0x72(%ebx)
40cbbf:	87 43 20             	xchg   %eax,0x20(%ebx)
40cbc2:	5b                   	pop    %ebx
40cbc3:	c3                   	ret
40cbc4:	53                   	push   %ebx
40cbc5:	89 c3                	mov    %eax,%ebx
40cbc7:	e8 94 ff ff ff       	call   0x40cb60
40cbcc:	74 28                	je     0x40cbf6
40cbce:	89 d8                	mov    %ebx,%eax
40cbd0:	52                   	push   %edx
40cbd1:	e8 f2 c8 ff ff       	call   0x4094c8
40cbd6:	5a                   	pop    %edx
40cbd7:	39 d0                	cmp    %edx,%eax
40cbd9:	74 1b                	je     0x40cbf6
40cbdb:	85 d2                	test   %edx,%edx
40cbdd:	89 d8                	mov    %ebx,%eax
40cbdf:	75 07                	jne    0x40cbe8
40cbe1:	5b                   	pop    %ebx
40cbe2:	42                   	inc    %edx
40cbe3:	e9 d0 c8 ff ff       	jmp    0x4094b8
40cbe8:	88 53 49             	mov    %dl,0x49(%ebx)
40cbeb:	31 d2                	xor    %edx,%edx
40cbed:	e8 c6 c8 ff ff       	call   0x4094b8
40cbf2:	93                   	xchg   %eax,%ebx
40cbf3:	83 f8 00             	cmp    $0x0,%eax
40cbf6:	5b                   	pop    %ebx
40cbf7:	0f 85 17 00 00 00    	jne    0x40cc14
40cbfd:	c3                   	ret
40cbfe:	8b c0                	mov    %eax,%eax
40cc00:	0f b7 50 0e          	movzwl 0xe(%eax),%edx
40cc04:	8b 40 04             	mov    0x4(%eax),%eax
40cc07:	f7 e2                	mul    %edx
40cc09:	83 c0 1f             	add    $0x1f,%eax
40cc0c:	c1 e8 03             	shr    $0x3,%eax
40cc0f:	83 e0 fc             	and    $0xfffffffc,%eax
40cc12:	c3                   	ret
40cc13:	90                   	nop
40cc14:	50                   	push   %eax
40cc15:	e8 46 ff ff ff       	call   0x40cb60
40cc1a:	58                   	pop    %eax
40cc1b:	0f 84 e4 01 00 00    	je     0x40ce05
40cc21:	60                   	pusha
40cc22:	89 c3                	mov    %eax,%ebx
40cc24:	ff 53 34             	call   *0x34(%ebx)
40cc27:	31 c0                	xor    %eax,%eax
40cc29:	89 43 28             	mov    %eax,0x28(%ebx)
40cc2c:	89 43 56             	mov    %eax,0x56(%ebx)
40cc2f:	89 43 5a             	mov    %eax,0x5a(%ebx)
40cc32:	8b 73 1c             	mov    0x1c(%ebx),%esi
40cc35:	8b 7b 18             	mov    0x18(%ebx),%edi
40cc38:	8b 4b 41             	mov    0x41(%ebx),%ecx
40cc3b:	e3 11                	jecxz  0x40cc4e
40cc3d:	8b 43 3d             	mov    0x3d(%ebx),%eax
40cc40:	8b 70 04             	mov    0x4(%eax),%esi
40cc43:	8b 78 08             	mov    0x8(%eax),%edi
40cc46:	85 ff                	test   %edi,%edi
40cc48:	7d 23                	jge    0x40cc6d
40cc4a:	f7 df                	neg    %edi
40cc4c:	eb 1f                	jmp    0x40cc6d
40cc4e:	8b 4b 20             	mov    0x20(%ebx),%ecx
40cc51:	e3 1a                	jecxz  0x40cc6d
40cc53:	83 c4 e8             	add    $0xffffffe8,%esp
40cc56:	54                   	push   %esp
40cc57:	6a 18                	push   $0x18
40cc59:	51                   	push   %ecx
40cc5a:	e8 f5 82 ff ff       	call   0x404f54
40cc5f:	91                   	xchg   %eax,%ecx
40cc60:	e3 08                	jecxz  0x40cc6a
40cc62:	8b 74 24 04          	mov    0x4(%esp),%esi
40cc66:	8b 7c 24 08          	mov    0x8(%esp),%edi
40cc6a:	83 c4 18             	add    $0x18,%esp
40cc6d:	6a 00                	push   $0x0
40cc6f:	e8 5c 7c ff ff       	call   0x4048d0
40cc74:	50                   	push   %eax
40cc75:	80 7b 3c 01          	cmpb   $0x1,0x3c(%ebx)
40cc79:	0f 85 9e 00 00 00    	jne    0x40cd1d
40cc7f:	6a 00                	push   $0x0
40cc81:	e8 c2 7d ff ff       	call   0x404a48
40cc86:	50                   	push   %eax
40cc87:	ff 73 18             	push   0x18(%ebx)
40cc8a:	ff 73 1c             	push   0x1c(%ebx)
40cc8d:	50                   	push   %eax
40cc8e:	e8 35 7c ff ff       	call   0x4048c8
40cc93:	95                   	xchg   %eax,%ebp
40cc94:	6a 00                	push   $0x0
40cc96:	e8 5d 7e ff ff       	call   0x404af8
40cc9b:	5a                   	pop    %edx
40cc9c:	52                   	push   %edx
40cc9d:	55                   	push   %ebp
40cc9e:	52                   	push   %edx
40cc9f:	e8 b4 7c ff ff       	call   0x404958
40cca4:	50                   	push   %eax
40cca5:	ff 73 18             	push   0x18(%ebx)
40cca8:	ff 73 1c             	push   0x1c(%ebx)
40ccab:	6a 00                	push   $0x0
40ccad:	6a 00                	push   $0x0
40ccaf:	8b 43 2c             	mov    0x2c(%ebx),%eax
40ccb2:	e8 ad d7 ff ff       	call   0x40a464
40ccb7:	50                   	push   %eax
40ccb8:	e8 33 7c ff ff       	call   0x4048f0
40ccbd:	89 e2                	mov    %esp,%edx
40ccbf:	50                   	push   %eax
40ccc0:	50                   	push   %eax
40ccc1:	52                   	push   %edx
40ccc2:	ff 74 24 20          	push   0x20(%esp)
40ccc6:	e8 5d 7d ff ff       	call   0x404a28
40cccb:	e8 30 7c ff ff       	call   0x404900
40ccd0:	83 c4 10             	add    $0x10,%esp
40ccd3:	8b 4b 41             	mov    0x41(%ebx),%ecx
40ccd6:	e3 22                	jecxz  0x40ccfa
40ccd8:	ff 74 24 04          	push   0x4(%esp)
40ccdc:	e8 77 7c ff ff       	call   0x404958
40cce1:	6a 00                	push   $0x0
40cce3:	ff 73 3d             	push   0x3d(%ebx)
40cce6:	ff 73 41             	push   0x41(%ebx)
40cce9:	ff 73 18             	push   0x18(%ebx)
40ccec:	6a 00                	push   $0x0
40ccee:	55                   	push   %ebp
40ccef:	ff 74 24 18          	push   0x18(%esp)
40ccf3:	e8 80 7c ff ff       	call   0x404978
40ccf8:	eb 14                	jmp    0x40cd0e
40ccfa:	8b 54 24 04          	mov    0x4(%esp),%edx
40ccfe:	52                   	push   %edx
40ccff:	89 d8                	mov    %ebx,%eax
40cd01:	31 c9                	xor    %ecx,%ecx
40cd03:	51                   	push   %ecx
40cd04:	e8 c3 fa ff ff       	call   0x40c7cc
40cd09:	e8 4a 7c ff ff       	call   0x404958
40cd0e:	89 d8                	mov    %ebx,%eax
40cd10:	e8 3f fa ff ff       	call   0x40c754
40cd15:	89 6b 20             	mov    %ebp,0x20(%ebx)
40cd18:	e9 d5 00 00 00       	jmp    0x40cdf2
40cd1d:	0f b6 43 49          	movzbl 0x49(%ebx),%eax
40cd21:	91                   	xchg   %eax,%ecx
40cd22:	8a 89 3c 64 42 00    	mov    0x42643c(%ecx),%cl
40cd28:	0f b6 05 18 61 42 00 	movzbl 0x426118,%eax
40cd2f:	e3 f0                	jecxz  0x40cd21
40cd31:	31 ed                	xor    %ebp,%ebp
40cd33:	8b 43 1c             	mov    0x1c(%ebx),%eax
40cd36:	8b 53 18             	mov    0x18(%ebx),%edx
40cd39:	e8 02 f9 ff ff       	call   0x40c640
40cd3e:	50                   	push   %eax
40cd3f:	80 7b 49 05          	cmpb   $0x5,0x49(%ebx)
40cd43:	75 05                	jne    0x40cd4a
40cd45:	e8 8e f9 ff ff       	call   0x40c6d8
40cd4a:	58                   	pop    %eax
40cd4b:	50                   	push   %eax
40cd4c:	e8 af fe ff ff       	call   0x40cc00
40cd51:	8b 53 18             	mov    0x18(%ebx),%edx
40cd54:	f7 e2                	mul    %edx
40cd56:	50                   	push   %eax
40cd57:	50                   	push   %eax
40cd58:	6a 00                	push   $0x0
40cd5a:	e8 c1 7a ff ff       	call   0x404820
40cd5f:	50                   	push   %eax
40cd60:	6a 00                	push   $0x0
40cd62:	ff 74 24 0c          	push   0xc(%esp)
40cd66:	50                   	push   %eax
40cd67:	8b 43 18             	mov    0x18(%ebx),%eax
40cd6a:	39 f8                	cmp    %edi,%eax
40cd6c:	7e 02                	jle    0x40cd70
40cd6e:	89 f8                	mov    %edi,%eax
40cd70:	50                   	push   %eax
40cd71:	6a 00                	push   $0x0
40cd73:	89 d8                	mov    %ebx,%eax
40cd75:	e8 7e c2 ff ff       	call   0x408ff8
40cd7a:	50                   	push   %eax
40cd7b:	ff 74 24 24          	push   0x24(%esp)
40cd7f:	e8 94 7b ff ff       	call   0x404918
40cd84:	8b 53 18             	mov    0x18(%ebx),%edx
40cd87:	39 fa                	cmp    %edi,%edx
40cd89:	7e 02                	jle    0x40cd8d
40cd8b:	89 fa                	mov    %edi,%edx
40cd8d:	39 d0                	cmp    %edx,%eax
40cd8f:	74 43                	je     0x40cdd4
40cd91:	e8 92 7a ff ff       	call   0x404828
40cd96:	31 c0                	xor    %eax,%eax
40cd98:	50                   	push   %eax
40cd99:	89 e2                	mov    %esp,%edx
40cd9b:	8b 4c 24 08          	mov    0x8(%esp),%ecx
40cd9f:	50                   	push   %eax
40cda0:	50                   	push   %eax
40cda1:	52                   	push   %edx
40cda2:	6a 00                	push   $0x0
40cda4:	51                   	push   %ecx
40cda5:	ff 74 24 20          	push   0x20(%esp)
40cda9:	e8 2a 7b ff ff       	call   0x4048d8
40cdae:	83 f6 ff             	xor    $0xffffffff,%esi
40cdb1:	95                   	xchg   %eax,%ebp
40cdb2:	55                   	push   %ebp
40cdb3:	ff 74 24 10          	push   0x10(%esp)
40cdb7:	e8 9c 7b ff ff       	call   0x404958
40cdbc:	50                   	push   %eax
40cdbd:	8b 54 24 10          	mov    0x10(%esp),%edx
40cdc1:	31 c9                	xor    %ecx,%ecx
40cdc3:	51                   	push   %ecx
40cdc4:	89 d8                	mov    %ebx,%eax
40cdc6:	e8 01 fa ff ff       	call   0x40c7cc
40cdcb:	ff 74 24 10          	push   0x10(%esp)
40cdcf:	e8 84 7b ff ff       	call   0x404958
40cdd4:	89 d8                	mov    %ebx,%eax
40cdd6:	e8 79 f9 ff ff       	call   0x40c754
40cddb:	8f 43 41             	pop    0x41(%ebx)
40cdde:	8f 43 45             	pop    0x45(%ebx)
40cde1:	8f 43 3d             	pop    0x3d(%ebx)
40cde4:	89 6b 20             	mov    %ebp,0x20(%ebx)
40cde7:	85 f6                	test   %esi,%esi
40cde9:	c6 43 72 00          	movb   $0x0,0x72(%ebx)
40cded:	7d 03                	jge    0x40cdf2
40cdef:	fe 43 72             	incb   0x72(%ebx)
40cdf2:	8b 4b 4a             	mov    0x4a(%ebx),%ecx
40cdf5:	e3 08                	jecxz  0x40cdff
40cdf7:	5a                   	pop    %edx
40cdf8:	52                   	push   %edx
40cdf9:	57                   	push   %edi
40cdfa:	87 ce                	xchg   %ecx,%esi
40cdfc:	93                   	xchg   %eax,%ebx
40cdfd:	ff d6                	call   *%esi
40cdff:	e8 f4 7a ff ff       	call   0x4048f8
40ce04:	61                   	popa
40ce05:	c3                   	ret
40ce06:	8b c0                	mov    %eax,%eax
40ce08:	8b 48 3d             	mov    0x3d(%eax),%ecx
40ce0b:	e3 23                	jecxz  0x40ce30
40ce0d:	8b 49 08             	mov    0x8(%ecx),%ecx
40ce10:	85 c9                	test   %ecx,%ecx
40ce12:	7c 05                	jl     0x40ce19
40ce14:	29 d1                	sub    %edx,%ecx
40ce16:	49                   	dec    %ecx
40ce17:	89 ca                	mov    %ecx,%edx
40ce19:	8b 48 28             	mov    0x28(%eax),%ecx
40ce1c:	41                   	inc    %ecx
40ce1d:	ff 70 41             	push   0x41(%eax)
40ce20:	e2 08                	loop   0x40ce2a
40ce22:	52                   	push   %edx
40ce23:	e8 0c 00 00 00       	call   0x40ce34
40ce28:	5a                   	pop    %edx
40ce29:	91                   	xchg   %eax,%ecx
40ce2a:	91                   	xchg   %eax,%ecx
40ce2b:	f7 e2                	mul    %edx
40ce2d:	59                   	pop    %ecx
40ce2e:	01 c1                	add    %eax,%ecx
40ce30:	91                   	xchg   %eax,%ecx
40ce31:	c3                   	ret
40ce32:	8b c0                	mov    %eax,%eax
40ce34:	8b 48 3d             	mov    0x3d(%eax),%ecx
40ce37:	e3 0c                	jecxz  0x40ce45
40ce39:	50                   	push   %eax
40ce3a:	91                   	xchg   %eax,%ecx
40ce3b:	e8 c0 fd ff ff       	call   0x40cc00
40ce40:	91                   	xchg   %eax,%ecx
40ce41:	58                   	pop    %eax
40ce42:	89 48 28             	mov    %ecx,0x28(%eax)
40ce45:	91                   	xchg   %eax,%ecx
40ce46:	c3                   	ret
40ce47:	90                   	nop
40ce48:	50                   	push   %eax
40ce49:	92                   	xchg   %eax,%edx
40ce4a:	e8 a5 da ff ff       	call   0x40a8f4
40ce4f:	8b 50 2d             	mov    0x2d(%eax),%edx
40ce52:	58                   	pop    %eax
40ce53:	89 40 2c             	mov    %eax,0x2c(%eax)
40ce56:	e8 31 01 00 00       	call   0x40cf8c
40ce5b:	c3                   	ret
40ce5c:	50                   	push   %eax
40ce5d:	e8 92 00 00 00       	call   0x40cef4
40ce62:	58                   	pop    %eax
40ce63:	8b 48 20             	mov    0x20(%eax),%ecx
40ce66:	e3 0b                	jecxz  0x40ce73
40ce68:	e8 1b fd ff ff       	call   0x40cb88
40ce6d:	50                   	push   %eax
40ce6e:	e8 8d 7a ff ff       	call   0x404900
40ce73:	c3                   	ret
40ce74:	60                   	pusha
40ce75:	93                   	xchg   %eax,%ebx