40d55e:	a8 01                	test   $0x1,%al
40d560:	74 12                	je     0x40d574
40d562:	56                   	push   %esi
40d563:	e8 26 7a 00 00       	call   0x414f8e
40d568:	50                   	push   %eax
40d569:	e8 17 88 00 00       	call   0x415d85
40d56e:	59                   	pop    %ecx
40d56f:	59                   	pop    %ecx
40d570:	85 c0                	test   %eax,%eax
40d572:	75 04                	jne    0x40d578
40d574:	33 c0                	xor    %eax,%eax
40d576:	eb 03                	jmp    0x40d57b
40d578:	83 c8 ff             	or     $0xffffffff,%eax
40d57b:	5e                   	pop    %esi
40d57c:	5d                   	pop    %ebp
40d57d:	c3                   	ret
40d57e:	6a 01                	push   $0x1
40d580:	e8 a7 fe ff ff       	call   0x40d42c
40d585:	59                   	pop    %ecx
40d586:	c3                   	ret
40d587:	8b ff                	mov    %edi,%edi
40d589:	55                   	push   %ebp
40d58a:	8b ec                	mov    %esp,%ebp
40d58c:	83 ec 14             	sub    $0x14,%esp
40d58f:	8b 45 08             	mov    0x8(%ebp),%eax
40d592:	89 45 f8             	mov    %eax,-0x8(%ebp)
40d595:	85 c0                	test   %eax,%eax
40d597:	75 09                	jne    0x40d5a2
40d599:	50                   	push   %eax
40d59a:	e8 8d fe ff ff       	call   0x40d42c
40d59f:	59                   	pop    %ecx
40d5a0:	c9                   	leave
40d5a1:	c3                   	ret
40d5a2:	8b 40 0c             	mov    0xc(%eax),%eax
40d5a5:	90                   	nop
40d5a6:	50                   	push   %eax
40d5a7:	e8 00 ff ff ff       	call   0x40d4ac
40d5ac:	83 c4 04             	add    $0x4,%esp
40d5af:	84 c0                	test   %al,%al
40d5b1:	75 04                	jne    0x40d5b7
40d5b3:	33 c0                	xor    %eax,%eax
40d5b5:	c9                   	leave
40d5b6:	c3                   	ret
40d5b7:	8d 45 f8             	lea    -0x8(%ebp),%eax
40d5ba:	89 45 f0             	mov    %eax,-0x10(%ebp)
40d5bd:	8d 4d ff             	lea    -0x1(%ebp),%ecx
40d5c0:	8b 45 f8             	mov    -0x8(%ebp),%eax
40d5c3:	89 45 f4             	mov    %eax,-0xc(%ebp)
40d5c6:	89 45 ec             	mov    %eax,-0x14(%ebp)
40d5c9:	8d 45 f4             	lea    -0xc(%ebp),%eax
40d5cc:	50                   	push   %eax
40d5cd:	8d 45 f0             	lea    -0x10(%ebp),%eax
40d5d0:	50                   	push   %eax
40d5d1:	8d 45 ec             	lea    -0x14(%ebp),%eax
40d5d4:	50                   	push   %eax
40d5d5:	e8 f2 fd ff ff       	call   0x40d3cc
40d5da:	c9                   	leave
40d5db:	c3                   	ret
40d5dc:	8b ff                	mov    %edi,%edi
40d5de:	55                   	push   %ebp
40d5df:	8b ec                	mov    %esp,%ebp
40d5e1:	8b 55 08             	mov    0x8(%ebp),%edx
40d5e4:	85 d2                	test   %edx,%edx
40d5e6:	75 15                	jne    0x40d5fd
40d5e8:	e8 0e 18 00 00       	call   0x40edfb
40d5ed:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40d5f3:	e8 89 fa ff ff       	call   0x40d081
40d5f8:	83 c8 ff             	or     $0xffffffff,%eax
40d5fb:	5d                   	pop    %ebp
40d5fc:	c3                   	ret
40d5fd:	83 6a 08 01          	subl   $0x1,0x8(%edx)
40d601:	79 09                	jns    0x40d60c
40d603:	52                   	push   %edx
40d604:	e8 ca 93 00 00       	call   0x4169d3
40d609:	59                   	pop    %ecx
40d60a:	5d                   	pop    %ebp
40d60b:	c3                   	ret
40d60c:	8b 02                	mov    (%edx),%eax
40d60e:	8a 08                	mov    (%eax),%cl
40d610:	40                   	inc    %eax
40d611:	89 02                	mov    %eax,(%edx)
40d613:	0f b6 c1             	movzbl %cl,%eax
40d616:	5d                   	pop    %ebp
40d617:	c3                   	ret
40d618:	6a 10                	push   $0x10
40d61a:	68 38 15 43 00       	push   $0x431538
40d61f:	e8 9c a9 ff ff       	call   0x407fc0
40d624:	8b 75 08             	mov    0x8(%ebp),%esi
40d627:	89 75 e0             	mov    %esi,-0x20(%ebp)
40d62a:	85 f6                	test   %esi,%esi
40d62c:	75 18                	jne    0x40d646
40d62e:	e8 c8 17 00 00       	call   0x40edfb
40d633:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40d639:	e8 43 fa ff ff       	call   0x40d081
40d63e:	83 c8 ff             	or     $0xffffffff,%eax
40d641:	e9 bd 00 00 00       	jmp    0x40d703
40d646:	83 65 e4 00          	andl   $0x0,-0x1c(%ebp)
40d64a:	56                   	push   %esi
40d64b:	e8 36 e1 ff ff       	call   0x40b786
40d650:	59                   	pop    %ecx
40d651:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40d655:	8b 46 0c             	mov    0xc(%esi),%eax
40d658:	90                   	nop
40d659:	c1 e8 0c             	shr    $0xc,%eax
40d65c:	a8 01                	test   $0x1,%al
40d65e:	0f 85 85 00 00 00    	jne    0x40d6e9
40d664:	56                   	push   %esi
40d665:	e8 24 79 00 00       	call   0x414f8e
40d66a:	59                   	pop    %ecx
40d66b:	83 f8 ff             	cmp    $0xffffffff,%eax
40d66e:	74 20                	je     0x40d690
40d670:	83 f8 fe             	cmp    $0xfffffffe,%eax
40d673:	74 1b                	je     0x40d690
40d675:	8b d0                	mov    %eax,%edx
40d677:	c1 fa 06             	sar    $0x6,%edx
40d67a:	8b f8                	mov    %eax,%edi
40d67c:	83 e7 3f             	and    $0x3f,%edi
40d67f:	6b df 38             	imul   $0x38,%edi,%ebx
40d682:	03 1c 95 c0 4a 43 00 	add    0x434ac0(,%edx,4),%ebx
40d689:	b9 90 31 43 00       	mov    $0x433190,%ecx
40d68e:	eb 11                	jmp    0x40d6a1
40d690:	b9 90 31 43 00       	mov    $0x433190,%ecx
40d695:	8b d9                	mov    %ecx,%ebx
40d697:	8b d0                	mov    %eax,%edx
40d699:	c1 fa 06             	sar    $0x6,%edx
40d69c:	8b f8                	mov    %eax,%edi
40d69e:	83 e7 3f             	and    $0x3f,%edi
40d6a1:	80 7b 29 00          	cmpb   $0x0,0x29(%ebx)
40d6a5:	75 1a                	jne    0x40d6c1
40d6a7:	83 f8 ff             	cmp    $0xffffffff,%eax
40d6aa:	74 0f                	je     0x40d6bb
40d6ac:	83 f8 fe             	cmp    $0xfffffffe,%eax
40d6af:	74 0a                	je     0x40d6bb
40d6b1:	6b cf 38             	imul   $0x38,%edi,%ecx
40d6b4:	03 0c 95 c0 4a 43 00 	add    0x434ac0(,%edx,4),%ecx
40d6bb:	f6 41 2d 01          	testb  $0x1,0x2d(%ecx)
40d6bf:	74 28                	je     0x40d6e9
40d6c1:	e8 35 17 00 00       	call   0x40edfb
40d6c6:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40d6cc:	e8 b0 f9 ff ff       	call   0x40d081
40d6d1:	6a fe                	push   $0xfffffffe
40d6d3:	8d 4d f0             	lea    -0x10(%ebp),%ecx
40d6d6:	51                   	push   %ecx
40d6d7:	68 14 30 43 00       	push   $0x433014
40d6dc:	e8 8f d9 ff ff       	call   0x40b070
40d6e1:	83 c4 0c             	add    $0xc,%esp
40d6e4:	e9 55 ff ff ff       	jmp    0x40d63e
40d6e9:	56                   	push   %esi
40d6ea:	e8 ed fe ff ff       	call   0x40d5dc
40d6ef:	59                   	pop    %ecx
40d6f0:	8b f0                	mov    %eax,%esi
40d6f2:	89 75 e4             	mov    %esi,-0x1c(%ebp)
40d6f5:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40d6fc:	e8 15 00 00 00       	call   0x40d716
40d701:	8b c6                	mov    %esi,%eax
40d703:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40d706:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40d70d:	59                   	pop    %ecx
40d70e:	5f                   	pop    %edi
40d70f:	5e                   	pop    %esi
40d710:	5b                   	pop    %ebx
40d711:	c9                   	leave
40d712:	c3                   	ret
40d713:	8b 75 e4             	mov    -0x1c(%ebp),%esi
40d716:	ff 75 e0             	push   -0x20(%ebp)
40d719:	e8 7c e0 ff ff       	call   0x40b79a
40d71e:	59                   	pop    %ecx
40d71f:	c3                   	ret
40d720:	8b ff                	mov    %edi,%edi
40d722:	55                   	push   %ebp
40d723:	8b ec                	mov    %esp,%ebp
40d725:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
40d729:	75 15                	jne    0x40d740
40d72b:	e8 cb 16 00 00       	call   0x40edfb
40d730:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40d736:	e8 46 f9 ff ff       	call   0x40d081
40d73b:	83 c8 ff             	or     $0xffffffff,%eax
40d73e:	5d                   	pop    %ebp
40d73f:	c3                   	ret
40d740:	56                   	push   %esi
40d741:	8b 75 0c             	mov    0xc(%ebp),%esi
40d744:	85 f6                	test   %esi,%esi
40d746:	75 15                	jne    0x40d75d
40d748:	e8 ae 16 00 00       	call   0x40edfb
40d74d:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40d753:	e8 29 f9 ff ff       	call   0x40d081
40d758:	83 c8 ff             	or     $0xffffffff,%eax
40d75b:	eb 1b                	jmp    0x40d778
40d75d:	ff 75 08             	push   0x8(%ebp)
40d760:	e8 4a 98 00 00       	call   0x416faf
40d765:	59                   	pop    %ecx
40d766:	8b c8                	mov    %eax,%ecx
40d768:	89 06                	mov    %eax,(%esi)
40d76a:	23 ca                	and    %edx,%ecx
40d76c:	89 56 04             	mov    %edx,0x4(%esi)
40d76f:	83 c8 ff             	or     $0xffffffff,%eax
40d772:	3b c8                	cmp    %eax,%ecx
40d774:	74 02                	je     0x40d778
40d776:	33 c0                	xor    %eax,%eax
40d778:	5e                   	pop    %esi
40d779:	5d                   	pop    %ebp
40d77a:	c3                   	ret
40d77b:	8b ff                	mov    %edi,%edi
40d77d:	55                   	push   %ebp
40d77e:	8b ec                	mov    %esp,%ebp
40d780:	8b 55 0c             	mov    0xc(%ebp),%edx
40d783:	83 6a 08 01          	subl   $0x1,0x8(%edx)
40d787:	79 0d                	jns    0x40d796
40d789:	52                   	push   %edx
40d78a:	ff 75 08             	push   0x8(%ebp)
40d78d:	e8 74 9a 00 00       	call   0x417206
40d792:	59                   	pop    %ecx
40d793:	59                   	pop    %ecx
40d794:	5d                   	pop    %ebp
40d795:	c3                   	ret
40d796:	8b 02                	mov    (%edx),%eax
40d798:	8a 4d 08             	mov    0x8(%ebp),%cl
40d79b:	88 08                	mov    %cl,(%eax)
40d79d:	ff 02                	incl   (%edx)
40d79f:	0f b6 c1             	movzbl %cl,%eax
40d7a2:	5d                   	pop    %ebp
40d7a3:	c3                   	ret
40d7a4:	6a 0c                	push   $0xc
40d7a6:	68 58 15 43 00       	push   $0x431558
40d7ab:	e8 10 a8 ff ff       	call   0x407fc0
40d7b0:	8b 75 0c             	mov    0xc(%ebp),%esi
40d7b3:	85 f6                	test   %esi,%esi
40d7b5:	75 18                	jne    0x40d7cf
40d7b7:	e8 3f 16 00 00       	call   0x40edfb
40d7bc:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40d7c2:	e8 ba f8 ff ff       	call   0x40d081
40d7c7:	83 c8 ff             	or     $0xffffffff,%eax
40d7ca:	e9 c1 00 00 00       	jmp    0x40d890
40d7cf:	83 65 e4 00          	andl   $0x0,-0x1c(%ebp)
40d7d3:	56                   	push   %esi
40d7d4:	e8 ad df ff ff       	call   0x40b786
40d7d9:	59                   	pop    %ecx
40d7da:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40d7de:	8b 46 0c             	mov    0xc(%esi),%eax
40d7e1:	90                   	nop
40d7e2:	c1 e8 0c             	shr    $0xc,%eax
40d7e5:	a8 01                	test   $0x1,%al
40d7e7:	0f 85 85 00 00 00    	jne    0x40d872
40d7ed:	56                   	push   %esi
40d7ee:	e8 9b 77 00 00       	call   0x414f8e
40d7f3:	59                   	pop    %ecx
40d7f4:	83 f8 ff             	cmp    $0xffffffff,%eax
40d7f7:	74 20                	je     0x40d819
40d7f9:	83 f8 fe             	cmp    $0xfffffffe,%eax
40d7fc:	74 1b                	je     0x40d819
40d7fe:	8b d0                	mov    %eax,%edx
40d800:	c1 fa 06             	sar    $0x6,%edx
40d803:	8b f8                	mov    %eax,%edi
40d805:	83 e7 3f             	and    $0x3f,%edi
40d808:	6b df 38             	imul   $0x38,%edi,%ebx
40d80b:	03 1c 95 c0 4a 43 00 	add    0x434ac0(,%edx,4),%ebx
40d812:	b9 90 31 43 00       	mov    $0x433190,%ecx
40d817:	eb 11                	jmp    0x40d82a
40d819:	b9 90 31 43 00       	mov    $0x433190,%ecx
40d81e:	8b d9                	mov    %ecx,%ebx
40d820:	8b d0                	mov    %eax,%edx
40d822:	c1 fa 06             	sar    $0x6,%edx
40d825:	8b f8                	mov    %eax,%edi
40d827:	83 e7 3f             	and    $0x3f,%edi
40d82a:	80 7b 29 00          	cmpb   $0x0,0x29(%ebx)
40d82e:	75 1a                	jne    0x40d84a
40d830:	83 f8 ff             	cmp    $0xffffffff,%eax
40d833:	74 0f                	je     0x40d844
40d835:	83 f8 fe             	cmp    $0xfffffffe,%eax
40d838:	74 0a                	je     0x40d844
40d83a:	6b cf 38             	imul   $0x38,%edi,%ecx
40d83d:	03 0c 95 c0 4a 43 00 	add    0x434ac0(,%edx,4),%ecx
40d844:	f6 41 2d 01          	testb  $0x1,0x2d(%ecx)
40d848:	74 28                	je     0x40d872
40d84a:	e8 ac 15 00 00       	call   0x40edfb
40d84f:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40d855:	e8 27 f8 ff ff       	call   0x40d081
40d85a:	6a fe                	push   $0xfffffffe
40d85c:	8d 4d f0             	lea    -0x10(%ebp),%ecx
40d85f:	51                   	push   %ecx
40d860:	68 14 30 43 00       	push   $0x433014
40d865:	e8 06 d8 ff ff       	call   0x40b070
40d86a:	83 c4 0c             	add    $0xc,%esp
40d86d:	e9 55 ff ff ff       	jmp    0x40d7c7
40d872:	56                   	push   %esi
40d873:	ff 75 08             	push   0x8(%ebp)
40d876:	e8 00 ff ff ff       	call   0x40d77b
40d87b:	59                   	pop    %ecx
40d87c:	59                   	pop    %ecx
40d87d:	8b f8                	mov    %eax,%edi
40d87f:	89 7d e4             	mov    %edi,-0x1c(%ebp)
40d882:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40d889:	e8 18 00 00 00       	call   0x40d8a6
40d88e:	8b c7                	mov    %edi,%eax
40d890:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40d893:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40d89a:	59                   	pop    %ecx
40d89b:	5f                   	pop    %edi
40d89c:	5e                   	pop    %esi
40d89d:	5b                   	pop    %ebx
40d89e:	c9                   	leave
40d89f:	c3                   	ret
40d8a0:	8b 75 0c             	mov    0xc(%ebp),%esi
40d8a3:	8b 7d e4             	mov    -0x1c(%ebp),%edi
40d8a6:	56                   	push   %esi
40d8a7:	e8 ee de ff ff       	call   0x40b79a
40d8ac:	59                   	pop    %ecx
40d8ad:	c3                   	ret
40d8ae:	8b ff                	mov    %edi,%edi
40d8b0:	55                   	push   %ebp
40d8b1:	8b ec                	mov    %esp,%ebp
40d8b3:	83 ec 14             	sub    $0x14,%esp
40d8b6:	83 7d 10 00          	cmpl   $0x0,0x10(%ebp)
40d8ba:	53                   	push   %ebx
40d8bb:	56                   	push   %esi
40d8bc:	57                   	push   %edi
40d8bd:	74 1c                	je     0x40d8db
40d8bf:	83 7d 14 00          	cmpl   $0x0,0x14(%ebp)
40d8c3:	74 16                	je     0x40d8db
40d8c5:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
40d8c9:	75 17                	jne    0x40d8e2
40d8cb:	e8 2b 15 00 00       	call   0x40edfb
40d8d0:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40d8d6:	e8 a6 f7 ff ff       	call   0x40d081
40d8db:	33 c0                	xor    %eax,%eax
40d8dd:	5f                   	pop    %edi
40d8de:	5e                   	pop    %esi
40d8df:	5b                   	pop    %ebx
40d8e0:	c9                   	leave
40d8e1:	c3                   	ret
40d8e2:	8b 7d 18             	mov    0x18(%ebp),%edi
40d8e5:	8b 75 0c             	mov    0xc(%ebp),%esi
40d8e8:	85 ff                	test   %edi,%edi
40d8ea:	74 0d                	je     0x40d8f9
40d8ec:	83 c8 ff             	or     $0xffffffff,%eax
40d8ef:	33 d2                	xor    %edx,%edx
40d8f1:	f7 75 10             	divl   0x10(%ebp)
40d8f4:	39 45 14             	cmp    %eax,0x14(%ebp)
40d8f7:	76 24                	jbe    0x40d91d
40d8f9:	83 fe ff             	cmp    $0xffffffff,%esi
40d8fc:	74 0e                	je     0x40d90c
40d8fe:	56                   	push   %esi
40d8ff:	6a 00                	push   $0x0
40d901:	ff 75 08             	push   0x8(%ebp)
40d904:	e8 e7 b5 ff ff       	call   0x408ef0
40d909:	83 c4 0c             	add    $0xc,%esp
40d90c:	85 ff                	test   %edi,%edi
40d90e:	74 bb                	je     0x40d8cb
40d910:	83 c8 ff             	or     $0xffffffff,%eax
40d913:	33 d2                	xor    %edx,%edx