40a5a0:	5d                   	pop    %ebp
40a5a1:	c3                   	ret
40a5a2:	8b fa                	mov    %edx,%edi
40a5a4:	2b f2                	sub    %edx,%esi
40a5a6:	8a 04 3e             	mov    (%esi,%edi,1),%al
40a5a9:	88 07                	mov    %al,(%edi)
40a5ab:	47                   	inc    %edi
40a5ac:	84 c0                	test   %al,%al
40a5ae:	74 14                	je     0x40a5c4
40a5b0:	83 e9 01             	sub    $0x1,%ecx
40a5b3:	75 f1                	jne    0x40a5a6
40a5b5:	85 c9                	test   %ecx,%ecx
40a5b7:	75 0b                	jne    0x40a5c4
40a5b9:	88 0a                	mov    %cl,(%edx)
40a5bb:	e8 6f 01 00 00       	call   0x40a72f
40a5c0:	6a 22                	push   $0x22
40a5c2:	eb d0                	jmp    0x40a594
40a5c4:	33 f6                	xor    %esi,%esi
40a5c6:	eb d4                	jmp    0x40a59c
40a5c8:	8b ff                	mov    %edi,%edi
40a5ca:	55                   	push   %ebp
40a5cb:	8b ec                	mov    %esp,%ebp
40a5cd:	5d                   	pop    %ebp
40a5ce:	e9 6f 01 00 00       	jmp    0x40a742
40a5d3:	cc                   	int3
40a5d4:	cc                   	int3
40a5d5:	cc                   	int3
40a5d6:	cc                   	int3
40a5d7:	cc                   	int3
40a5d8:	cc                   	int3
40a5d9:	cc                   	int3
40a5da:	cc                   	int3
40a5db:	cc                   	int3
40a5dc:	cc                   	int3
40a5dd:	cc                   	int3
40a5de:	cc                   	int3
40a5df:	cc                   	int3
40a5e0:	53                   	push   %ebx
40a5e1:	56                   	push   %esi
40a5e2:	8b 4c 24 0c          	mov    0xc(%esp),%ecx
40a5e6:	8b 54 24 10          	mov    0x10(%esp),%edx
40a5ea:	8b 5c 24 14          	mov    0x14(%esp),%ebx
40a5ee:	f7 c3 ff ff ff ff    	test   $0xffffffff,%ebx
40a5f4:	74 50                	je     0x40a646
40a5f6:	2b ca                	sub    %edx,%ecx
40a5f8:	f7 c2 03 00 00 00    	test   $0x3,%edx
40a5fe:	74 17                	je     0x40a617
40a600:	0f b6 04 11          	movzbl (%ecx,%edx,1),%eax
40a604:	3a 02                	cmp    (%edx),%al
40a606:	75 48                	jne    0x40a650
40a608:	85 c0                	test   %eax,%eax
40a60a:	74 3a                	je     0x40a646
40a60c:	42                   	inc    %edx
40a60d:	83 eb 01             	sub    $0x1,%ebx
40a610:	76 34                	jbe    0x40a646
40a612:	f6 c2 03             	test   $0x3,%dl
40a615:	75 e9                	jne    0x40a600
40a617:	8d 04 11             	lea    (%ecx,%edx,1),%eax
40a61a:	25 ff 0f 00 00       	and    $0xfff,%eax
40a61f:	3d fc 0f 00 00       	cmp    $0xffc,%eax
40a624:	77 da                	ja     0x40a600
40a626:	8b 04 11             	mov    (%ecx,%edx,1),%eax
40a629:	3b 02                	cmp    (%edx),%eax
40a62b:	75 d3                	jne    0x40a600
40a62d:	83 eb 04             	sub    $0x4,%ebx
40a630:	76 14                	jbe    0x40a646
40a632:	8d b0 ff fe fe fe    	lea    -0x1010101(%eax),%esi
40a638:	83 c2 04             	add    $0x4,%edx
40a63b:	f7 d0                	not    %eax
40a63d:	23 c6                	and    %esi,%eax
40a63f:	a9 80 80 80 80       	test   $0x80808080,%eax
40a644:	74 d1                	je     0x40a617
40a646:	33 c0                	xor    %eax,%eax
40a648:	5e                   	pop    %esi
40a649:	5b                   	pop    %ebx
40a64a:	c3                   	ret
40a64b:	eb 03                	jmp    0x40a650
40a64d:	cc                   	int3
40a64e:	cc                   	int3
40a64f:	cc                   	int3
40a650:	1b c0                	sbb    %eax,%eax
40a652:	83 c8 01             	or     $0x1,%eax
40a655:	5e                   	pop    %esi
40a656:	5b                   	pop    %ebx
40a657:	c3                   	ret
40a658:	8b ff                	mov    %edi,%edi
40a65a:	55                   	push   %ebp
40a65b:	8b ec                	mov    %esp,%ebp
40a65d:	8b 45 10             	mov    0x10(%ebp),%eax
40a660:	85 c0                	test   %eax,%eax
40a662:	75 02                	jne    0x40a666
40a664:	5d                   	pop    %ebp
40a665:	c3                   	ret
40a666:	8b 4d 0c             	mov    0xc(%ebp),%ecx
40a669:	8b 55 08             	mov    0x8(%ebp),%edx
40a66c:	56                   	push   %esi
40a66d:	83 e8 01             	sub    $0x1,%eax
40a670:	74 15                	je     0x40a687
40a672:	0f b7 32             	movzwl (%edx),%esi
40a675:	66 85 f6             	test   %si,%si
40a678:	74 0d                	je     0x40a687
40a67a:	66 3b 31             	cmp    (%ecx),%si
40a67d:	75 08                	jne    0x40a687
40a67f:	83 c2 02             	add    $0x2,%edx
40a682:	83 c1 02             	add    $0x2,%ecx
40a685:	eb e6                	jmp    0x40a66d
40a687:	0f b7 02             	movzwl (%edx),%eax
40a68a:	0f b7 09             	movzwl (%ecx),%ecx
40a68d:	2b c1                	sub    %ecx,%eax
40a68f:	5e                   	pop    %esi
40a690:	5d                   	pop    %ebp
40a691:	c3                   	ret
40a692:	8b ff                	mov    %edi,%edi
40a694:	55                   	push   %ebp
40a695:	8b ec                	mov    %esp,%ebp
40a697:	8b 4d 08             	mov    0x8(%ebp),%ecx
40a69a:	33 c0                	xor    %eax,%eax
40a69c:	3b 0c c5 18 a3 41 00 	cmp    0x41a318(,%eax,8),%ecx
40a6a3:	74 27                	je     0x40a6cc
40a6a5:	40                   	inc    %eax
40a6a6:	83 f8 2d             	cmp    $0x2d,%eax
40a6a9:	72 f1                	jb     0x40a69c
40a6ab:	8d 41 ed             	lea    -0x13(%ecx),%eax
40a6ae:	83 f8 11             	cmp    $0x11,%eax
40a6b1:	77 05                	ja     0x40a6b8
40a6b3:	6a 0d                	push   $0xd
40a6b5:	58                   	pop    %eax
40a6b6:	5d                   	pop    %ebp
40a6b7:	c3                   	ret
40a6b8:	8d 81 44 ff ff ff    	lea    -0xbc(%ecx),%eax
40a6be:	6a 0e                	push   $0xe
40a6c0:	59                   	pop    %ecx
40a6c1:	3b c8                	cmp    %eax,%ecx
40a6c3:	1b c0                	sbb    %eax,%eax
40a6c5:	23 c1                	and    %ecx,%eax
40a6c7:	83 c0 08             	add    $0x8,%eax
40a6ca:	5d                   	pop    %ebp
40a6cb:	c3                   	ret
40a6cc:	8b 04 c5 1c a3 41 00 	mov    0x41a31c(,%eax,8),%eax
40a6d3:	5d                   	pop    %ebp
40a6d4:	c3                   	ret
40a6d5:	8b ff                	mov    %edi,%edi
40a6d7:	55                   	push   %ebp
40a6d8:	8b ec                	mov    %esp,%ebp
40a6da:	56                   	push   %esi
40a6db:	e8 3c 00 00 00       	call   0x40a71c
40a6e0:	8b 4d 08             	mov    0x8(%ebp),%ecx
40a6e3:	51                   	push   %ecx
40a6e4:	89 08                	mov    %ecx,(%eax)
40a6e6:	e8 a7 ff ff ff       	call   0x40a692
40a6eb:	59                   	pop    %ecx
40a6ec:	8b f0                	mov    %eax,%esi
40a6ee:	e8 3c 00 00 00       	call   0x40a72f
40a6f3:	89 30                	mov    %esi,(%eax)
40a6f5:	5e                   	pop    %esi
40a6f6:	5d                   	pop    %ebp
40a6f7:	c3                   	ret
40a6f8:	8b ff                	mov    %edi,%edi
40a6fa:	55                   	push   %ebp
40a6fb:	8b ec                	mov    %esp,%ebp
40a6fd:	8b 45 08             	mov    0x8(%ebp),%eax
40a700:	56                   	push   %esi
40a701:	8b 75 0c             	mov    0xc(%ebp),%esi
40a704:	50                   	push   %eax
40a705:	c6 46 24 01          	movb   $0x1,0x24(%esi)
40a709:	89 46 20             	mov    %eax,0x20(%esi)
40a70c:	e8 81 ff ff ff       	call   0x40a692
40a711:	59                   	pop    %ecx
40a712:	c6 46 1c 01          	movb   $0x1,0x1c(%esi)
40a716:	89 46 18             	mov    %eax,0x18(%esi)
40a719:	5e                   	pop    %esi
40a71a:	5d                   	pop    %ebp
40a71b:	c3                   	ret
40a71c:	e8 dd 1d 00 00       	call   0x40c4fe
40a721:	85 c0                	test   %eax,%eax
40a723:	75 06                	jne    0x40a72b
40a725:	b8 e4 11 42 00       	mov    $0x4211e4,%eax
40a72a:	c3                   	ret
40a72b:	83 c0 14             	add    $0x14,%eax
40a72e:	c3                   	ret
40a72f:	e8 ca 1d 00 00       	call   0x40c4fe
40a734:	85 c0                	test   %eax,%eax
40a736:	75 06                	jne    0x40a73e
40a738:	b8 e0 11 42 00       	mov    $0x4211e0,%eax
40a73d:	c3                   	ret
40a73e:	83 c0 10             	add    $0x10,%eax
40a741:	c3                   	ret
40a742:	8b ff                	mov    %edi,%edi
40a744:	55                   	push   %ebp
40a745:	8b ec                	mov    %esp,%ebp
40a747:	56                   	push   %esi
40a748:	8b 75 08             	mov    0x8(%ebp),%esi
40a74b:	85 f6                	test   %esi,%esi
40a74d:	74 0c                	je     0x40a75b
40a74f:	6a e0                	push   $0xffffffe0
40a751:	33 d2                	xor    %edx,%edx
40a753:	58                   	pop    %eax
40a754:	f7 f6                	div    %esi
40a756:	3b 45 0c             	cmp    0xc(%ebp),%eax
40a759:	72 34                	jb     0x40a78f
40a75b:	0f af 75 0c          	imul   0xc(%ebp),%esi
40a75f:	85 f6                	test   %esi,%esi
40a761:	75 17                	jne    0x40a77a
40a763:	46                   	inc    %esi
40a764:	eb 14                	jmp    0x40a77a
40a766:	e8 69 f8 ff ff       	call   0x409fd4
40a76b:	85 c0                	test   %eax,%eax
40a76d:	74 20                	je     0x40a78f
40a76f:	56                   	push   %esi
40a770:	e8 d0 e9 ff ff       	call   0x409145
40a775:	59                   	pop    %ecx
40a776:	85 c0                	test   %eax,%eax
40a778:	74 15                	je     0x40a78f
40a77a:	56                   	push   %esi
40a77b:	6a 08                	push   $0x8
40a77d:	ff 35 3c 25 42 00    	push   0x42253c
40a783:	ff 15 d0 90 41 00    	call   *0x4190d0
40a789:	85 c0                	test   %eax,%eax
40a78b:	74 d9                	je     0x40a766
40a78d:	eb 0d                	jmp    0x40a79c
40a78f:	e8 9b ff ff ff       	call   0x40a72f
40a794:	c7 00 0c 00 00 00    	movl   $0xc,(%eax)
40a79a:	33 c0                	xor    %eax,%eax
40a79c:	5e                   	pop    %esi
40a79d:	5d                   	pop    %ebp
40a79e:	c3                   	ret
40a79f:	8b ff                	mov    %edi,%edi
40a7a1:	55                   	push   %ebp
40a7a2:	8b ec                	mov    %esp,%ebp
40a7a4:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
40a7a8:	74 2d                	je     0x40a7d7
40a7aa:	ff 75 08             	push   0x8(%ebp)
40a7ad:	6a 00                	push   $0x0
40a7af:	ff 35 3c 25 42 00    	push   0x42253c
40a7b5:	ff 15 d4 90 41 00    	call   *0x4190d4
40a7bb:	85 c0                	test   %eax,%eax
40a7bd:	75 18                	jne    0x40a7d7
40a7bf:	56                   	push   %esi
40a7c0:	ff 15 28 90 41 00    	call   *0x419028
40a7c6:	50                   	push   %eax
40a7c7:	e8 c6 fe ff ff       	call   0x40a692
40a7cc:	59                   	pop    %ecx
40a7cd:	8b f0                	mov    %eax,%esi
40a7cf:	e8 5b ff ff ff       	call   0x40a72f
40a7d4:	89 30                	mov    %esi,(%eax)
40a7d6:	5e                   	pop    %esi
40a7d7:	5d                   	pop    %ebp
40a7d8:	c3                   	ret
40a7d9:	68 94 a9 41 00       	push   $0x41a994
40a7de:	68 8c a9 41 00       	push   $0x41a98c
40a7e3:	68 94 a9 41 00       	push   $0x41a994
40a7e8:	6a 01                	push   $0x1
40a7ea:	e8 03 01 00 00       	call   0x40a8f2
40a7ef:	83 c4 10             	add    $0x10,%esp
40a7f2:	c3                   	ret
40a7f3:	68 b4 a9 41 00       	push   $0x41a9b4
40a7f8:	68 ac a9 41 00       	push   $0x41a9ac
40a7fd:	68 b4 a9 41 00       	push   $0x41a9b4
40a802:	6a 11                	push   $0x11
40a804:	e8 e9 00 00 00       	call   0x40a8f2
40a809:	83 c4 10             	add    $0x10,%esp
40a80c:	c3                   	ret
40a80d:	68 cc a9 41 00       	push   $0x41a9cc
40a812:	68 c4 a9 41 00       	push   $0x41a9c4
40a817:	68 cc a9 41 00       	push   $0x41a9cc
40a81c:	6a 13                	push   $0x13
40a81e:	e8 cf 00 00 00       	call   0x40a8f2
40a823:	83 c4 10             	add    $0x10,%esp
40a826:	c3                   	ret
40a827:	8b ff                	mov    %edi,%edi
40a829:	55                   	push   %ebp
40a82a:	8b ec                	mov    %esp,%ebp
40a82c:	51                   	push   %ecx
40a82d:	53                   	push   %ebx
40a82e:	56                   	push   %esi
40a82f:	57                   	push   %edi
40a830:	8b 7d 08             	mov    0x8(%ebp),%edi
40a833:	e9 8d 00 00 00       	jmp    0x40a8c5
40a838:	8b 0f                	mov    (%edi),%ecx
40a83a:	89 4d fc             	mov    %ecx,-0x4(%ebp)
40a83d:	8d 04 8d c0 20 42 00 	lea    0x4220c0(,%ecx,4),%eax
40a844:	8b 30                	mov    (%eax),%esi
40a846:	90                   	nop
40a847:	85 f6                	test   %esi,%esi
40a849:	74 0b                	je     0x40a856
40a84b:	83 fe ff             	cmp    $0xffffffff,%esi
40a84e:	0f 85 9a 00 00 00    	jne    0x40a8ee
40a854:	eb 6c                	jmp    0x40a8c2
40a856:	8b 1c 8d 80 a4 41 00 	mov    0x41a480(,%ecx,4),%ebx
40a85d:	68 00 08 00 00       	push   $0x800
40a862:	6a 00                	push   $0x0
40a864:	53                   	push   %ebx
40a865:	ff 15 00 90 41 00    	call   *0x419000
40a86b:	8b f0                	mov    %eax,%esi
40a86d:	85 f6                	test   %esi,%esi
40a86f:	75 64                	jne    0x40a8d5
40a871:	ff 15 28 90 41 00    	call   *0x419028
40a877:	83 f8 57             	cmp    $0x57,%eax
40a87a:	75 37                	jne    0x40a8b3
40a87c:	6a 07                	push   $0x7
40a87e:	68 34 a0 41 00       	push   $0x41a034
40a883:	53                   	push   %ebx
40a884:	e8 cf fd ff ff       	call   0x40a658
40a889:	83 c4 0c             	add    $0xc,%esp
40a88c:	85 c0                	test   %eax,%eax
40a88e:	74 23                	je     0x40a8b3
40a890:	6a 07                	push   $0x7
40a892:	68 7c a9 41 00       	push   $0x41a97c
40a897:	53                   	push   %ebx
40a898:	e8 bb fd ff ff       	call   0x40a658
40a89d:	83 c4 0c             	add    $0xc,%esp
40a8a0:	85 c0                	test   %eax,%eax
40a8a2:	74 0f                	je     0x40a8b3
40a8a4:	56                   	push   %esi
40a8a5:	56                   	push   %esi
40a8a6:	53                   	push   %ebx
40a8a7:	ff 15 00 90 41 00    	call   *0x419000
40a8ad:	8b f0                	mov    %eax,%esi
40a8af:	85 f6                	test   %esi,%esi
40a8b1:	75 22                	jne    0x40a8d5
40a8b3:	8b 55 fc             	mov    -0x4(%ebp),%edx
40a8b6:	83 c8 ff             	or     $0xffffffff,%eax
40a8b9:	8d 0c 95 c0 20 42 00 	lea    0x4220c0(,%edx,4),%ecx
40a8c0:	87 01                	xchg   %eax,(%ecx)
40a8c2:	83 c7 04             	add    $0x4,%edi
40a8c5:	3b 7d 0c             	cmp    0xc(%ebp),%edi
40a8c8:	0f 85 6a ff ff ff    	jne    0x40a838
40a8ce:	33 c0                	xor    %eax,%eax
40a8d0:	5f                   	pop    %edi
40a8d1:	5e                   	pop    %esi
40a8d2:	5b                   	pop    %ebx
40a8d3:	c9                   	leave
40a8d4:	c3                   	ret
40a8d5:	8b 55 fc             	mov    -0x4(%ebp),%edx
40a8d8:	8b c6                	mov    %esi,%eax
40a8da:	8d 0c 95 c0 20 42 00 	lea    0x4220c0(,%edx,4),%ecx
40a8e1:	87 01                	xchg   %eax,(%ecx)
40a8e3:	85 c0                	test   %eax,%eax
40a8e5:	74 07                	je     0x40a8ee
40a8e7:	56                   	push   %esi
40a8e8:	ff 15 b0 90 41 00    	call   *0x4190b0
40a8ee:	8b c6                	mov    %esi,%eax
40a8f0:	eb de                	jmp    0x40a8d0
40a8f2:	8b ff                	mov    %edi,%edi
40a8f4:	55                   	push   %ebp
40a8f5:	8b ec                	mov    %esp,%ebp
40a8f7:	8b 45 08             	mov    0x8(%ebp),%eax
40a8fa:	53                   	push   %ebx
40a8fb:	56                   	push   %esi
40a8fc:	8d 1c 85 18 21 42 00 	lea    0x422118(,%eax,4),%ebx