40dc92:	e8 14 00 00 00       	call   0x40dcab
40dc97:	83 fb 01             	cmp    $0x1,%ebx
40dc9a:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40dc9d:	74 03                	je     0x40dca2
40dc9f:	8b 45 dc             	mov    -0x24(%ebp),%eax
40dca2:	e8 ef 5e ff ff       	call   0x403b96
40dca7:	c3                   	ret
40dca8:	8b 5d 08             	mov    0x8(%ebp),%ebx
40dcab:	6a 08                	push   $0x8
40dcad:	e8 3b 12 00 00       	call   0x40eeed
40dcb2:	59                   	pop    %ecx
40dcb3:	c3                   	ret
40dcb4:	8b ff                	mov    %edi,%edi
40dcb6:	55                   	push   %ebp
40dcb7:	8b ec                	mov    %esp,%ebp
40dcb9:	83 ec 10             	sub    $0x10,%esp
40dcbc:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
40dcc0:	75 1a                	jne    0x40dcdc
40dcc2:	e8 40 a0 ff ff       	call   0x407d07
40dcc7:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40dccd:	e8 5c 9f ff ff       	call   0x407c2e
40dcd2:	83 c8 ff             	or     $0xffffffff,%eax
40dcd5:	0b d0                	or     %eax,%edx
40dcd7:	e9 69 01 00 00       	jmp    0x40de45
40dcdc:	56                   	push   %esi
40dcdd:	ff 75 08             	push   0x8(%ebp)
40dce0:	e8 fb d8 ff ff       	call   0x40b5e0
40dce5:	59                   	pop    %ecx
40dce6:	8b 4d 08             	mov    0x8(%ebp),%ecx
40dce9:	8b f0                	mov    %eax,%esi
40dceb:	33 c0                	xor    %eax,%eax
40dced:	39 41 08             	cmp    %eax,0x8(%ecx)
40dcf0:	7d 03                	jge    0x40dcf5
40dcf2:	89 41 08             	mov    %eax,0x8(%ecx)
40dcf5:	53                   	push   %ebx
40dcf6:	57                   	push   %edi
40dcf7:	6a 01                	push   $0x1
40dcf9:	50                   	push   %eax
40dcfa:	50                   	push   %eax
40dcfb:	56                   	push   %esi
40dcfc:	e8 f5 05 00 00       	call   0x40e2f6
40dd01:	8b da                	mov    %edx,%ebx
40dd03:	83 c4 10             	add    $0x10,%esp
40dd06:	8b f8                	mov    %eax,%edi
40dd08:	89 7d f8             	mov    %edi,-0x8(%ebp)
40dd0b:	85 db                	test   %ebx,%ebx
40dd0d:	7f 0e                	jg     0x40dd1d
40dd0f:	0f 8c ec 00 00 00    	jl     0x40de01
40dd15:	85 ff                	test   %edi,%edi
40dd17:	0f 82 e4 00 00 00    	jb     0x40de01
40dd1d:	8b 45 08             	mov    0x8(%ebp),%eax
40dd20:	8b 40 0c             	mov    0xc(%eax),%eax
40dd23:	a8 c0                	test   $0xc0,%al
40dd25:	75 14                	jne    0x40dd3b
40dd27:	8b 45 08             	mov    0x8(%ebp),%eax
40dd2a:	8b 40 08             	mov    0x8(%eax),%eax
40dd2d:	99                   	cltd
40dd2e:	2b f8                	sub    %eax,%edi
40dd30:	8b c7                	mov    %edi,%eax
40dd32:	1b da                	sbb    %edx,%ebx
40dd34:	8b d3                	mov    %ebx,%edx
40dd36:	e9 07 01 00 00       	jmp    0x40de42
40dd3b:	8b c6                	mov    %esi,%eax
40dd3d:	83 e6 3f             	and    $0x3f,%esi
40dd40:	c1 f8 06             	sar    $0x6,%eax
40dd43:	6b ce 30             	imul   $0x30,%esi,%ecx
40dd46:	89 45 f4             	mov    %eax,-0xc(%ebp)
40dd49:	8b 04 85 c0 41 42 00 	mov    0x4241c0(,%eax,4),%eax
40dd50:	89 4d f0             	mov    %ecx,-0x10(%ebp)
40dd53:	8a 44 01 29          	mov    0x29(%ecx,%eax,1),%al
40dd57:	8b 4d 08             	mov    0x8(%ebp),%ecx
40dd5a:	88 45 ff             	mov    %al,-0x1(%ebp)
40dd5d:	8b 01                	mov    (%ecx),%eax
40dd5f:	2b 41 04             	sub    0x4(%ecx),%eax
40dd62:	8b 49 0c             	mov    0xc(%ecx),%ecx
40dd65:	99                   	cltd
40dd66:	8b f0                	mov    %eax,%esi
40dd68:	f6 c1 03             	test   $0x3,%cl
40dd6b:	74 7c                	je     0x40dde9
40dd6d:	80 7d ff 01          	cmpb   $0x1,-0x1(%ebp)
40dd71:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40dd74:	75 26                	jne    0x40dd9c
40dd76:	8b 7d f0             	mov    -0x10(%ebp),%edi
40dd79:	8b 04 8d c0 41 42 00 	mov    0x4241c0(,%ecx,4),%eax
40dd80:	f6 44 07 2d 02       	testb  $0x2,0x2d(%edi,%eax,1)
40dd85:	8b 7d f8             	mov    -0x8(%ebp),%edi
40dd88:	74 12                	je     0x40dd9c
40dd8a:	53                   	push   %ebx
40dd8b:	57                   	push   %edi
40dd8c:	ff 75 08             	push   0x8(%ebp)
40dd8f:	e8 39 02 00 00       	call   0x40dfcd
40dd94:	83 c4 0c             	add    $0xc,%esp
40dd97:	e9 a6 00 00 00       	jmp    0x40de42
40dd9c:	8b 04 8d c0 41 42 00 	mov    0x4241c0(,%ecx,4),%eax
40dda3:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40dda6:	f6 44 01 28 80       	testb  $0x80,0x28(%ecx,%eax,1)
40ddab:	74 5b                	je     0x40de08
40ddad:	8b 45 08             	mov    0x8(%ebp),%eax
40ddb0:	83 65 f0 00          	andl   $0x0,-0x10(%ebp)
40ddb4:	8b 08                	mov    (%eax),%ecx
40ddb6:	2b 48 04             	sub    0x4(%eax),%ecx
40ddb9:	8b 78 04             	mov    0x4(%eax),%edi
40ddbc:	39 38                	cmp    %edi,(%eax)
40ddbe:	1b ff                	sbb    %edi,%edi
40ddc0:	f7 d7                	not    %edi
40ddc2:	23 f9                	and    %ecx,%edi
40ddc4:	89 7d f4             	mov    %edi,-0xc(%ebp)
40ddc7:	8b 7d f8             	mov    -0x8(%ebp),%edi
40ddca:	74 3f                	je     0x40de0b
40ddcc:	8b 48 04             	mov    0x4(%eax),%ecx
40ddcf:	8b 7d f0             	mov    -0x10(%ebp),%edi
40ddd2:	80 39 0a             	cmpb   $0xa,(%ecx)
40ddd5:	75 06                	jne    0x40dddd
40ddd7:	83 c6 01             	add    $0x1,%esi
40ddda:	83 d2 00             	adc    $0x0,%edx
40dddd:	41                   	inc    %ecx
40ddde:	47                   	inc    %edi
40dddf:	3b 7d f4             	cmp    -0xc(%ebp),%edi
40dde2:	75 ee                	jne    0x40ddd2
40dde4:	8b 7d f8             	mov    -0x8(%ebp),%edi
40dde7:	eb 22                	jmp    0x40de0b
40dde9:	8b 45 08             	mov    0x8(%ebp),%eax
40ddec:	8b 40 0c             	mov    0xc(%eax),%eax
40ddef:	c1 e8 02             	shr    $0x2,%eax
40ddf2:	a8 01                	test   $0x1,%al
40ddf4:	75 12                	jne    0x40de08
40ddf6:	e8 0c 9f ff ff       	call   0x407d07
40ddfb:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40de01:	83 c8 ff             	or     $0xffffffff,%eax
40de04:	0b d0                	or     %eax,%edx
40de06:	eb 3a                	jmp    0x40de42
40de08:	8b 45 08             	mov    0x8(%ebp),%eax
40de0b:	8b cf                	mov    %edi,%ecx
40de0d:	0b cb                	or     %ebx,%ecx
40de0f:	74 2f                	je     0x40de40
40de11:	8b 40 0c             	mov    0xc(%eax),%eax
40de14:	a8 01                	test   $0x1,%al
40de16:	74 11                	je     0x40de29
40de18:	52                   	push   %edx
40de19:	56                   	push   %esi
40de1a:	53                   	push   %ebx
40de1b:	57                   	push   %edi
40de1c:	ff 75 08             	push   0x8(%ebp)
40de1f:	e8 25 00 00 00       	call   0x40de49
40de24:	83 c4 14             	add    $0x14,%esp
40de27:	eb 19                	jmp    0x40de42
40de29:	80 7d ff 01          	cmpb   $0x1,-0x1(%ebp)
40de2d:	75 0d                	jne    0x40de3c
40de2f:	6a 00                	push   $0x0
40de31:	6a 02                	push   $0x2
40de33:	52                   	push   %edx
40de34:	56                   	push   %esi
40de35:	e8 56 a2 00 00       	call   0x418090
40de3a:	8b f0                	mov    %eax,%esi
40de3c:	03 f7                	add    %edi,%esi
40de3e:	13 d3                	adc    %ebx,%edx
40de40:	8b c6                	mov    %esi,%eax
40de42:	5f                   	pop    %edi
40de43:	5b                   	pop    %ebx
40de44:	5e                   	pop    %esi
40de45:	8b e5                	mov    %ebp,%esp
40de47:	5d                   	pop    %ebp
40de48:	c3                   	ret
40de49:	8b ff                	mov    %edi,%edi
40de4b:	55                   	push   %ebp
40de4c:	8b ec                	mov    %esp,%ebp
40de4e:	83 ec 1c             	sub    $0x1c,%esp
40de51:	57                   	push   %edi
40de52:	ff 75 08             	push   0x8(%ebp)
40de55:	e8 86 d7 ff ff       	call   0x40b5e0
40de5a:	59                   	pop    %ecx
40de5b:	8b c8                	mov    %eax,%ecx
40de5d:	89 45 f4             	mov    %eax,-0xc(%ebp)
40de60:	8b d0                	mov    %eax,%edx
40de62:	c7 45 f8 02 00 00 00 	movl   $0x2,-0x8(%ebp)
40de69:	c1 fa 06             	sar    $0x6,%edx
40de6c:	83 e1 3f             	and    $0x3f,%ecx
40de6f:	6b c9 30             	imul   $0x30,%ecx,%ecx
40de72:	33 ff                	xor    %edi,%edi
40de74:	89 55 e4             	mov    %edx,-0x1c(%ebp)
40de77:	89 7d fc             	mov    %edi,-0x4(%ebp)
40de7a:	8b 04 95 c0 41 42 00 	mov    0x4241c0(,%edx,4),%eax
40de81:	89 45 e8             	mov    %eax,-0x18(%ebp)
40de84:	89 4d f0             	mov    %ecx,-0x10(%ebp)
40de87:	80 7c 08 29 01       	cmpb   $0x1,0x29(%eax,%ecx,1)
40de8c:	74 07                	je     0x40de95
40de8e:	c7 45 f8 01 00 00 00 	movl   $0x1,-0x8(%ebp)
40de95:	8b 45 08             	mov    0x8(%ebp),%eax
40de98:	8b 48 08             	mov    0x8(%eax),%ecx
40de9b:	89 4d ec             	mov    %ecx,-0x14(%ebp)
40de9e:	85 c9                	test   %ecx,%ecx
40dea0:	75 0b                	jne    0x40dead
40dea2:	8b 45 0c             	mov    0xc(%ebp),%eax
40dea5:	8b 55 10             	mov    0x10(%ebp),%edx
40dea8:	e9 1b 01 00 00       	jmp    0x40dfc8
40dead:	8b 08                	mov    (%eax),%ecx
40deaf:	2b 48 04             	sub    0x4(%eax),%ecx
40deb2:	53                   	push   %ebx
40deb3:	8b c1                	mov    %ecx,%eax
40deb5:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40deb8:	99                   	cltd
40deb9:	56                   	push   %esi
40deba:	8b f0                	mov    %eax,%esi
40debc:	8b da                	mov    %edx,%ebx
40debe:	8b 45 ec             	mov    -0x14(%ebp),%eax
40dec1:	99                   	cltd
40dec2:	03 f0                	add    %eax,%esi
40dec4:	8b 45 e8             	mov    -0x18(%ebp),%eax
40dec7:	13 da                	adc    %edx,%ebx
40dec9:	f6 44 08 28 80       	testb  $0x80,0x28(%eax,%ecx,1)
40dece:	0f 84 c6 00 00 00    	je     0x40df9a
40ded4:	6a 02                	push   $0x2
40ded6:	57                   	push   %edi
40ded7:	57                   	push   %edi
40ded8:	ff 75 f4             	push   -0xc(%ebp)
40dedb:	e8 16 04 00 00       	call   0x40e2f6
40dee0:	83 c4 10             	add    $0x10,%esp
40dee3:	3b 45 0c             	cmp    0xc(%ebp),%eax
40dee6:	75 40                	jne    0x40df28
40dee8:	3b 55 10             	cmp    0x10(%ebp),%edx
40deeb:	75 3b                	jne    0x40df28
40deed:	8b 45 08             	mov    0x8(%ebp),%eax
40def0:	89 7d f4             	mov    %edi,-0xc(%ebp)
40def3:	8b 50 04             	mov    0x4(%eax),%edx
40def6:	03 d6                	add    %esi,%edx
40def8:	8b ca                	mov    %edx,%ecx
40defa:	2b 48 04             	sub    0x4(%eax),%ecx
40defd:	3b 50 04             	cmp    0x4(%eax),%edx
40df00:	1b d2                	sbb    %edx,%edx
40df02:	f7 d2                	not    %edx
40df04:	23 d1                	and    %ecx,%edx
40df06:	74 16                	je     0x40df1e
40df08:	8b 48 04             	mov    0x4(%eax),%ecx
40df0b:	80 39 0a             	cmpb   $0xa,(%ecx)
40df0e:	75 05                	jne    0x40df15
40df10:	83 c6 01             	add    $0x1,%esi
40df13:	13 df                	adc    %edi,%ebx
40df15:	41                   	inc    %ecx
40df16:	ff 45 f4             	incl   -0xc(%ebp)
40df19:	39 55 f4             	cmp    %edx,-0xc(%ebp)
40df1c:	75 ed                	jne    0x40df0b
40df1e:	8b 40 0c             	mov    0xc(%eax),%eax
40df21:	c1 e8 05             	shr    $0x5,%eax
40df24:	a8 01                	test   $0x1,%al
40df26:	eb 6b                	jmp    0x40df93
40df28:	57                   	push   %edi
40df29:	ff 75 10             	push   0x10(%ebp)
40df2c:	ff 75 0c             	push   0xc(%ebp)
40df2f:	ff 75 f4             	push   -0xc(%ebp)
40df32:	e8 bf 03 00 00       	call   0x40e2f6
40df37:	23 c2                	and    %edx,%eax
40df39:	83 c4 10             	add    $0x10,%esp
40df3c:	83 ca ff             	or     $0xffffffff,%edx
40df3f:	3b c2                	cmp    %edx,%eax
40df41:	75 04                	jne    0x40df47
40df43:	8b c2                	mov    %edx,%eax
40df45:	eb 7f                	jmp    0x40dfc6
40df47:	3b df                	cmp    %edi,%ebx
40df49:	7f 2b                	jg     0x40df76
40df4b:	b9 00 02 00 00       	mov    $0x200,%ecx
40df50:	7c 04                	jl     0x40df56
40df52:	3b f1                	cmp    %ecx,%esi
40df54:	77 20                	ja     0x40df76
40df56:	8b 45 08             	mov    0x8(%ebp),%eax
40df59:	8b 40 0c             	mov    0xc(%eax),%eax
40df5c:	c1 e8 06             	shr    $0x6,%eax
40df5f:	a8 01                	test   $0x1,%al
40df61:	74 13                	je     0x40df76
40df63:	8b 45 08             	mov    0x8(%ebp),%eax
40df66:	8b 40 0c             	mov    0xc(%eax),%eax
40df69:	c1 e8 08             	shr    $0x8,%eax
40df6c:	a8 01                	test   $0x1,%al
40df6e:	75 06                	jne    0x40df76
40df70:	8b f1                	mov    %ecx,%esi
40df72:	8b df                	mov    %edi,%ebx
40df74:	eb 0b                	jmp    0x40df81
40df76:	8b 45 08             	mov    0x8(%ebp),%eax
40df79:	8b 40 18             	mov    0x18(%eax),%eax
40df7c:	99                   	cltd
40df7d:	8b f0                	mov    %eax,%esi
40df7f:	8b da                	mov    %edx,%ebx
40df81:	8b 4d e4             	mov    -0x1c(%ebp),%ecx
40df84:	8b 45 f0             	mov    -0x10(%ebp),%eax
40df87:	8b 0c 8d c0 41 42 00 	mov    0x4241c0(,%ecx,4),%ecx
40df8e:	f6 44 01 28 04       	testb  $0x4,0x28(%ecx,%eax,1)
40df93:	74 05                	je     0x40df9a
40df95:	83 c6 01             	add    $0x1,%esi
40df98:	13 df                	adc    %edi,%ebx
40df9a:	ff 75 fc             	push   -0x4(%ebp)
40df9d:	ff 75 f8             	push   -0x8(%ebp)
40dfa0:	53                   	push   %ebx
40dfa1:	56                   	push   %esi
40dfa2:	e8 e9 a0 00 00       	call   0x418090
40dfa7:	ff 75 fc             	push   -0x4(%ebp)
40dfaa:	8b fa                	mov    %edx,%edi
40dfac:	8b f0                	mov    %eax,%esi
40dfae:	ff 75 f8             	push   -0x8(%ebp)
40dfb1:	ff 75 18             	push   0x18(%ebp)
40dfb4:	ff 75 14             	push   0x14(%ebp)
40dfb7:	e8 d4 a0 00 00       	call   0x418090
40dfbc:	2b c6                	sub    %esi,%eax
40dfbe:	1b d7                	sbb    %edi,%edx
40dfc0:	03 45 0c             	add    0xc(%ebp),%eax
40dfc3:	13 55 10             	adc    0x10(%ebp),%edx
40dfc6:	5e                   	pop    %esi
40dfc7:	5b                   	pop    %ebx
40dfc8:	5f                   	pop    %edi
40dfc9:	8b e5                	mov    %ebp,%esp
40dfcb:	5d                   	pop    %ebp
40dfcc:	c3                   	ret
40dfcd:	8b ff                	mov    %edi,%edi
40dfcf:	55                   	push   %ebp
40dfd0:	8b ec                	mov    %esp,%ebp
40dfd2:	b8 18 10 00 00       	mov    $0x1018,%eax
40dfd7:	e8 c4 a3 00 00       	call   0x4183a0
40dfdc:	a1 0c 30 42 00       	mov    0x42300c,%eax
40dfe1:	33 c5                	xor    %ebp,%eax
40dfe3:	89 45 fc             	mov    %eax,-0x4(%ebp)
40dfe6:	53                   	push   %ebx
40dfe7:	ff 75 08             	push   0x8(%ebp)
40dfea:	e8 f1 d5 ff ff       	call   0x40b5e0
40dfef:	59                   	pop    %ecx
40dff0:	8b 4d 08             	mov    0x8(%ebp),%ecx
40dff3:	8b d8                	mov    %eax,%ebx
40dff5:	83 79 08 00          	cmpl   $0x0,0x8(%ecx)
40dff9:	75 0b                	jne    0x40e006
40dffb:	8b 45 0c             	mov    0xc(%ebp),%eax
40dffe:	8b 55 10             	mov    0x10(%ebp),%edx
40e001:	e9 53 01 00 00       	jmp    0x40e159
40e006:	8b 01                	mov    (%ecx),%eax
40e008:	2b 41 04             	sub    0x4(%ecx),%eax
40e00b:	56                   	push   %esi
40e00c:	57                   	push   %edi
40e00d:	6a 00                	push   $0x0
40e00f:	99                   	cltd
40e010:	6a 02                	push   $0x2
40e012:	52                   	push   %edx
40e013:	50                   	push   %eax
40e014:	e8 77 a0 00 00       	call   0x418090
40e019:	8b cb                	mov    %ebx,%ecx
40e01b:	89 85 f8 ef ff ff    	mov    %eax,-0x1008(%ebp)
40e021:	83 e1 3f             	and    $0x3f,%ecx
40e024:	89 95 e8 ef ff ff    	mov    %edx,-0x1018(%ebp)
40e02a:	8b f3                	mov    %ebx,%esi
40e02c:	6b f9 30             	imul   $0x30,%ecx,%edi
40e02f:	c1 fe 06             	sar    $0x6,%esi
40e032:	6a 00                	push   $0x0
40e034:	8b 0c b5 c0 41 42 00 	mov    0x4241c0(,%esi,4),%ecx
40e03b:	ff 74 39 24          	push   0x24(%ecx,%edi,1)
40e03f:	ff 74 39 20          	push   0x20(%ecx,%edi,1)