402616:	5e                   	pop    %esi
402617:	5d                   	pop    %ebp
402618:	c2 04 00             	ret    $0x4
40261b:	8b ff                	mov    %edi,%edi
40261d:	55                   	push   %ebp
40261e:	8b ec                	mov    %esp,%ebp
402620:	56                   	push   %esi
402621:	57                   	push   %edi
402622:	8b f9                	mov    %ecx,%edi
402624:	be 04 01 00 00       	mov    $0x104,%esi
402629:	8b ce                	mov    %esi,%ecx
40262b:	8b c7                	mov    %edi,%eax
40262d:	66 83 38 00          	cmpw   $0x0,(%eax)
402631:	74 08                	je     0x40263b
402633:	83 c0 02             	add    $0x2,%eax
402636:	83 e9 01             	sub    $0x1,%ecx
402639:	75 f2                	jne    0x40262d
40263b:	8b c1                	mov    %ecx,%eax
40263d:	f7 d8                	neg    %eax
40263f:	1b c0                	sbb    %eax,%eax
402641:	25 a9 ff f8 7f       	and    $0x7ff8ffa9,%eax
402646:	05 57 00 07 80       	add    $0x80070057,%eax
40264b:	85 c9                	test   %ecx,%ecx
40264d:	74 26                	je     0x402675
40264f:	8b d1                	mov    %ecx,%edx
402651:	8d 81 fc fe ff ff    	lea    -0x104(%ecx),%eax
402657:	f7 da                	neg    %edx
402659:	51                   	push   %ecx
40265a:	ff 75 08             	push   0x8(%ebp)
40265d:	1b d2                	sbb    %edx,%edx
40265f:	23 d0                	and    %eax,%edx
402661:	03 d6                	add    %esi,%edx
402663:	2b f1                	sub    %ecx,%esi
402665:	51                   	push   %ecx
402666:	03 f6                	add    %esi,%esi
402668:	f7 d9                	neg    %ecx
40266a:	1b c9                	sbb    %ecx,%ecx
40266c:	23 ce                	and    %esi,%ecx
40266e:	03 cf                	add    %edi,%ecx
402670:	e8 4b 00 00 00       	call   0x4026c0
402675:	5f                   	pop    %edi
402676:	5e                   	pop    %esi
402677:	5d                   	pop    %ebp
402678:	c2 04 00             	ret    $0x4
40267b:	8b ff                	mov    %edi,%edi
40267d:	55                   	push   %ebp
40267e:	8b ec                	mov    %esp,%ebp
402680:	8b 45 0c             	mov    0xc(%ebp),%eax
402683:	33 c9                	xor    %ecx,%ecx
402685:	56                   	push   %esi
402686:	8b 75 08             	mov    0x8(%ebp),%esi
402689:	85 c0                	test   %eax,%eax
40268b:	74 07                	je     0x402694
40268d:	3d ff ff ff 7f       	cmp    $0x7fffffff,%eax
402692:	76 05                	jbe    0x402699
402694:	b9 57 00 07 80       	mov    $0x80070057,%ecx
402699:	85 c9                	test   %ecx,%ecx
40269b:	78 15                	js     0x4026b2
40269d:	8d 4d 14             	lea    0x14(%ebp),%ecx
4026a0:	8b d0                	mov    %eax,%edx
4026a2:	51                   	push   %ecx
4026a3:	ff 75 10             	push   0x10(%ebp)
4026a6:	51                   	push   %ecx
4026a7:	8b ce                	mov    %esi,%ecx
4026a9:	e8 62 00 00 00       	call   0x402710
4026ae:	8b c8                	mov    %eax,%ecx
4026b0:	eb 09                	jmp    0x4026bb
4026b2:	85 c0                	test   %eax,%eax
4026b4:	74 05                	je     0x4026bb
4026b6:	33 c0                	xor    %eax,%eax
4026b8:	66 89 06             	mov    %ax,(%esi)
4026bb:	8b c1                	mov    %ecx,%eax
4026bd:	5e                   	pop    %esi
4026be:	5d                   	pop    %ebp
4026bf:	c3                   	ret
4026c0:	8b ff                	mov    %edi,%edi
4026c2:	55                   	push   %ebp
4026c3:	8b ec                	mov    %esp,%ebp
4026c5:	85 d2                	test   %edx,%edx
4026c7:	74 2b                	je     0x4026f4
4026c9:	8b 45 0c             	mov    0xc(%ebp),%eax
4026cc:	56                   	push   %esi
4026cd:	57                   	push   %edi
4026ce:	be fe ff ff 7f       	mov    $0x7ffffffe,%esi
4026d3:	2b c1                	sub    %ecx,%eax
4026d5:	85 f6                	test   %esi,%esi
4026d7:	74 15                	je     0x4026ee
4026d9:	0f b7 3c 08          	movzwl (%eax,%ecx,1),%edi
4026dd:	66 85 ff             	test   %di,%di
4026e0:	74 0c                	je     0x4026ee
4026e2:	66 89 39             	mov    %di,(%ecx)
4026e5:	83 c1 02             	add    $0x2,%ecx
4026e8:	4e                   	dec    %esi
4026e9:	83 ea 01             	sub    $0x1,%edx
4026ec:	75 e7                	jne    0x4026d5
4026ee:	5f                   	pop    %edi
4026ef:	5e                   	pop    %esi
4026f0:	85 d2                	test   %edx,%edx
4026f2:	75 03                	jne    0x4026f7
4026f4:	83 e9 02             	sub    $0x2,%ecx
4026f7:	f7 da                	neg    %edx
4026f9:	1b d2                	sbb    %edx,%edx
4026fb:	81 e2 86 ff f8 7f    	and    $0x7ff8ff86,%edx
402701:	33 c0                	xor    %eax,%eax
402703:	66 89 01             	mov    %ax,(%ecx)
402706:	8d 82 7a 00 07 80    	lea    -0x7ff8ff86(%edx),%eax
40270c:	5d                   	pop    %ebp
40270d:	c2 0c 00             	ret    $0xc
402710:	8b ff                	mov    %edi,%edi
402712:	55                   	push   %ebp
402713:	8b ec                	mov    %esp,%ebp
402715:	53                   	push   %ebx
402716:	56                   	push   %esi
402717:	57                   	push   %edi
402718:	ff 75 10             	push   0x10(%ebp)
40271b:	8d 72 ff             	lea    -0x1(%edx),%esi
40271e:	8b f9                	mov    %ecx,%edi
402720:	ff 75 0c             	push   0xc(%ebp)
402723:	33 db                	xor    %ebx,%ebx
402725:	56                   	push   %esi
402726:	57                   	push   %edi
402727:	e8 be 81 00 00       	call   0x40a8ea
40272c:	83 c4 10             	add    $0x10,%esp
40272f:	85 c0                	test   %eax,%eax
402731:	78 08                	js     0x40273b
402733:	3b c6                	cmp    %esi,%eax
402735:	77 04                	ja     0x40273b
402737:	75 0d                	jne    0x402746
402739:	eb 05                	jmp    0x402740
40273b:	bb 7a 00 07 80       	mov    $0x8007007a,%ebx
402740:	33 c0                	xor    %eax,%eax
402742:	66 89 04 77          	mov    %ax,(%edi,%esi,2)
402746:	5f                   	pop    %edi
402747:	5e                   	pop    %esi
402748:	8b c3                	mov    %ebx,%eax
40274a:	5b                   	pop    %ebx
40274b:	5d                   	pop    %ebp
40274c:	c2 0c 00             	ret    $0xc
40274f:	8b ff                	mov    %edi,%edi
402751:	55                   	push   %ebp
402752:	8b ec                	mov    %esp,%ebp
402754:	8b 45 0c             	mov    0xc(%ebp),%eax
402757:	56                   	push   %esi
402758:	8b 75 08             	mov    0x8(%ebp),%esi
40275b:	2b c6                	sub    %esi,%eax
40275d:	d1 f8                	sar    $1,%eax
40275f:	74 1a                	je     0x40277b
402761:	3d ff ff ff 7f       	cmp    $0x7fffffff,%eax
402766:	77 13                	ja     0x40277b
402768:	8d 4d 14             	lea    0x14(%ebp),%ecx
40276b:	8b d0                	mov    %eax,%edx
40276d:	51                   	push   %ecx
40276e:	ff 75 10             	push   0x10(%ebp)
402771:	51                   	push   %ecx
402772:	8b ce                	mov    %esi,%ecx
402774:	e8 97 ff ff ff       	call   0x402710
402779:	eb 09                	jmp    0x402784
40277b:	85 c0                	test   %eax,%eax
40277d:	74 05                	je     0x402784
40277f:	33 c0                	xor    %eax,%eax
402781:	66 89 06             	mov    %ax,(%esi)
402784:	39 75 0c             	cmp    %esi,0xc(%ebp)
402787:	74 17                	je     0x4027a0
402789:	8b ce                	mov    %esi,%ecx
40278b:	8d 51 02             	lea    0x2(%ecx),%edx
40278e:	66 8b 01             	mov    (%ecx),%ax
402791:	83 c1 02             	add    $0x2,%ecx
402794:	66 85 c0             	test   %ax,%ax
402797:	75 f5                	jne    0x40278e
402799:	2b ca                	sub    %edx,%ecx
40279b:	d1 f9                	sar    $1,%ecx
40279d:	8d 34 4e             	lea    (%esi,%ecx,2),%esi
4027a0:	8b c6                	mov    %esi,%eax
4027a2:	5e                   	pop    %esi
4027a3:	5d                   	pop    %ebp
4027a4:	c3                   	ret
4027a5:	8b ff                	mov    %edi,%edi
4027a7:	55                   	push   %ebp
4027a8:	8b ec                	mov    %esp,%ebp
4027aa:	81 ec 0c 02 00 00    	sub    $0x20c,%esp
4027b0:	a1 50 d1 40 00       	mov    0x40d150,%eax
4027b5:	33 c5                	xor    %ebp,%eax
4027b7:	89 45 fc             	mov    %eax,-0x4(%ebp)
4027ba:	56                   	push   %esi
4027bb:	8b f1                	mov    %ecx,%esi
4027bd:	8b c2                	mov    %edx,%eax
4027bf:	89 85 f4 fd ff ff    	mov    %eax,-0x20c(%ebp)
4027c5:	57                   	push   %edi
4027c6:	8b 7d 08             	mov    0x8(%ebp),%edi
4027c9:	85 f6                	test   %esi,%esi
4027cb:	0f 84 d0 01 00 00    	je     0x4029a1
4027d1:	53                   	push   %ebx
4027d2:	8b 1d 00 d5 40 00    	mov    0x40d500,%ebx
4027d8:	33 c9                	xor    %ecx,%ecx
4027da:	66 89 0e             	mov    %cx,(%esi)
4027dd:	85 db                	test   %ebx,%ebx
4027df:	74 20                	je     0x402801
4027e1:	38 0d 0c d5 40 00    	cmp    %cl,0x40d50c
4027e7:	74 18                	je     0x402801
4027e9:	50                   	push   %eax
4027ea:	56                   	push   %esi
4027eb:	57                   	push   %edi
4027ec:	8b cb                	mov    %ebx,%ecx
4027ee:	ff 15 f0 e1 40 00    	call   *0x40e1f0
4027f4:	ff d3                	call   *%ebx
4027f6:	33 c9                	xor    %ecx,%ecx
4027f8:	66 39 0e             	cmp    %cx,(%esi)
4027fb:	0f 85 9f 01 00 00    	jne    0x4029a0
402801:	8b 07                	mov    (%edi),%eax
402803:	c7 85 f8 fd ff ff 4a 	movl   $0x40154a,-0x208(%ebp)
40280a:	15 40 00
40280d:	2b c1                	sub    %ecx,%eax
40280f:	74 33                	je     0x402844
402811:	83 e8 01             	sub    $0x1,%eax
402814:	74 22                	je     0x402838
402816:	83 e8 01             	sub    $0x1,%eax
402819:	74 11                	je     0x40282c
40281b:	83 e8 01             	sub    $0x1,%eax
40281e:	75 2e                	jne    0x40284e
402820:	c7 85 f8 fd ff ff 6c 	movl   $0x40156c,-0x208(%ebp)
402827:	15 40 00
40282a:	eb 22                	jmp    0x40284e
40282c:	c7 85 f8 fd ff ff 64 	movl   $0x401564,-0x208(%ebp)
402833:	15 40 00
402836:	eb 16                	jmp    0x40284e
402838:	c7 85 f8 fd ff ff 58 	movl   $0x401558,-0x208(%ebp)
40283f:	15 40 00
402842:	eb 0a                	jmp    0x40284e
402844:	c7 85 f8 fd ff ff 4c 	movl   $0x40154c,-0x208(%ebp)
40284b:	15 40 00
40284e:	51                   	push   %ecx
40284f:	33 c0                	xor    %eax,%eax
402851:	68 00 01 00 00       	push   $0x100
402856:	66 89 85 fc fd ff ff 	mov    %ax,-0x204(%ebp)
40285d:	8d 85 fc fd ff ff    	lea    -0x204(%ebp),%eax
402863:	50                   	push   %eax
402864:	68 00 04 00 00       	push   $0x400
402869:	ff 77 04             	push   0x4(%edi)
40286c:	51                   	push   %ecx
40286d:	68 00 12 00 00       	push   $0x1200
402872:	ff 15 a0 e0 40 00    	call   *0x40e0a0
402878:	83 7f 1c 00          	cmpl   $0x0,0x1c(%edi)
40287c:	8b 85 f4 fd ff ff    	mov    -0x20c(%ebp),%eax
402882:	ff 77 48             	push   0x48(%edi)
402885:	ff 77 44             	push   0x44(%edi)
402888:	8d 1c 46             	lea    (%esi,%eax,2),%ebx
40288b:	74 17                	je     0x4028a4
40288d:	ff 77 20             	push   0x20(%edi)
402890:	ff 77 1c             	push   0x1c(%edi)
402893:	68 78 15 40 00       	push   $0x401578
402898:	53                   	push   %ebx
402899:	56                   	push   %esi
40289a:	e8 b0 fe ff ff       	call   0x40274f
40289f:	83 c4 1c             	add    $0x1c,%esp
4028a2:	eb 0f                	jmp    0x4028b3
4028a4:	68 9c 15 40 00       	push   $0x40159c
4028a9:	53                   	push   %ebx
4028aa:	56                   	push   %esi
4028ab:	e8 9f fe ff ff       	call   0x40274f
4028b0:	83 c4 14             	add    $0x14,%esp
4028b3:	83 7f 4c 00          	cmpl   $0x0,0x4c(%edi)
4028b7:	89 85 f4 fd ff ff    	mov    %eax,-0x20c(%ebp)
4028bd:	74 18                	je     0x4028d7
4028bf:	ff 77 4c             	push   0x4c(%edi)
4028c2:	68 b0 15 40 00       	push   $0x4015b0
4028c7:	53                   	push   %ebx
4028c8:	50                   	push   %eax
4028c9:	e8 81 fe ff ff       	call   0x40274f
4028ce:	83 c4 10             	add    $0x10,%esp
4028d1:	89 85 f4 fd ff ff    	mov    %eax,-0x20c(%ebp)
4028d7:	8b 77 04             	mov    0x4(%edi),%esi
4028da:	ff 15 b4 e0 40 00    	call   *0x40e0b4
4028e0:	8d 8d fc fd ff ff    	lea    -0x204(%ebp),%ecx
4028e6:	51                   	push   %ecx
4028e7:	56                   	push   %esi
4028e8:	50                   	push   %eax
4028e9:	ff 77 24             	push   0x24(%edi)
4028ec:	ff b5 f8 fd ff ff    	push   -0x208(%ebp)
4028f2:	68 cc 15 40 00       	push   $0x4015cc
4028f7:	53                   	push   %ebx
4028f8:	ff b5 f4 fd ff ff    	push   -0x20c(%ebp)
4028fe:	e8 4c fe ff ff       	call   0x40274f
402903:	33 c9                	xor    %ecx,%ecx
402905:	83 c4 20             	add    $0x20,%esp
402908:	39 4f 0c             	cmp    %ecx,0xc(%edi)
40290b:	75 0e                	jne    0x40291b
40290d:	39 4f 28             	cmp    %ecx,0x28(%edi)
402910:	75 09                	jne    0x40291b
402912:	39 4f 18             	cmp    %ecx,0x18(%edi)
402915:	0f 84 85 00 00 00    	je     0x4029a0
40291b:	68 00 16 40 00       	push   $0x401600
402920:	53                   	push   %ebx
402921:	50                   	push   %eax
402922:	e8 28 fe ff ff       	call   0x40274f
402927:	83 c4 0c             	add    $0xc,%esp
40292a:	83 7f 0c 00          	cmpl   $0x0,0xc(%edi)
40292e:	74 12                	je     0x402942
402930:	ff 77 0c             	push   0xc(%edi)
402933:	68 0c 16 40 00       	push   $0x40160c
402938:	53                   	push   %ebx
402939:	50                   	push   %eax
40293a:	e8 10 fe ff ff       	call   0x40274f
40293f:	83 c4 10             	add    $0x10,%esp
402942:	83 7f 28 00          	cmpl   $0x0,0x28(%edi)
402946:	74 12                	je     0x40295a
402948:	ff 77 28             	push   0x28(%edi)
40294b:	68 24 16 40 00       	push   $0x401624
402950:	53                   	push   %ebx
402951:	50                   	push   %eax
402952:	e8 f8 fd ff ff       	call   0x40274f
402957:	83 c4 10             	add    $0x10,%esp
40295a:	83 7f 14 00          	cmpl   $0x0,0x14(%edi)
40295e:	74 17                	je     0x402977
402960:	ff 77 14             	push   0x14(%edi)
402963:	ff 77 18             	push   0x18(%edi)
402966:	68 4c 16 40 00       	push   $0x40164c
40296b:	53                   	push   %ebx
40296c:	50                   	push   %eax
40296d:	e8 dd fd ff ff       	call   0x40274f
402972:	83 c4 14             	add    $0x14,%esp
402975:	eb 29                	jmp    0x4029a0
402977:	83 7f 18 00          	cmpl   $0x0,0x18(%edi)
40297b:	74 14                	je     0x402991
40297d:	ff 77 18             	push   0x18(%edi)
402980:	68 64 16 40 00       	push   $0x401664
402985:	53                   	push   %ebx
402986:	50                   	push   %eax
402987:	e8 c3 fd ff ff       	call   0x40274f
40298c:	83 c4 10             	add    $0x10,%esp
40298f:	eb 0f                	jmp    0x4029a0
402991:	68 74 16 40 00       	push   $0x401674
402996:	53                   	push   %ebx
402997:	50                   	push   %eax
402998:	e8 b2 fd ff ff       	call   0x40274f
40299d:	83 c4 0c             	add    $0xc,%esp
4029a0:	5b                   	pop    %ebx
4029a1:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4029a4:	33 c0                	xor    %eax,%eax
4029a6:	5f                   	pop    %edi
4029a7:	33 cd                	xor    %ebp,%ecx
4029a9:	5e                   	pop    %esi
4029aa:	e8 b1 74 00 00       	call   0x409e60
4029af:	c9                   	leave
4029b0:	c2 04 00             	ret    $0x4
4029b3:	8b ff                	mov    %edi,%edi
4029b5:	56                   	push   %esi
4029b6:	57                   	push   %edi
4029b7:	52                   	push   %edx
4029b8:	51                   	push   %ecx
4029b9:	ff 15 68 e0 40 00    	call   *0x40e068