40352b:	66 39 5d 08          	cmp    %bx,0x8(%ebp)
40352f:	75 02                	jne    0x403533
403531:	8b c1                	mov    %ecx,%eax
403533:	83 c1 02             	add    $0x2,%ecx
403536:	66 39 31             	cmp    %si,(%ecx)
403539:	75 d3                	jne    0x40350e
40353b:	5f                   	pop    %edi
40353c:	5b                   	pop    %ebx
40353d:	85 c0                	test   %eax,%eax
40353f:	74 13                	je     0x403554
403541:	2b c2                	sub    %edx,%eax
403543:	d1 f8                	sar    $1,%eax
403545:	40                   	inc    %eax
403546:	50                   	push   %eax
403547:	52                   	push   %edx
403548:	ff 75 0c             	push   0xc(%ebp)
40354b:	e8 55 ec ff ff       	call   0x4021a5
403550:	8b f0                	mov    %eax,%esi
403552:	eb 0d                	jmp    0x403561
403554:	39 75 0c             	cmp    %esi,0xc(%ebp)
403557:	74 08                	je     0x403561
403559:	ff 75 0c             	push   0xc(%ebp)
40355c:	e8 8e 1f 04 00       	call   0x4454ef
403561:	8b c6                	mov    %esi,%eax
403563:	5e                   	pop    %esi
403564:	5d                   	pop    %ebp
403565:	c2 08 00             	ret    $0x8
403568:	55                   	push   %ebp
403569:	8b ec                	mov    %esp,%ebp
40356b:	56                   	push   %esi
40356c:	8b 75 08             	mov    0x8(%ebp),%esi
40356f:	56                   	push   %esi
403570:	ff 15 f8 b0 44 00    	call   *0x44b0f8
403576:	33 c9                	xor    %ecx,%ecx
403578:	41                   	inc    %ecx
403579:	3b c1                	cmp    %ecx,%eax
40357b:	76 06                	jbe    0x403583
40357d:	66 83 3e 5c          	cmpw   $0x5c,(%esi)
403581:	74 09                	je     0x40358c
403583:	66 83 7e 02 3a       	cmpw   $0x3a,0x2(%esi)
403588:	74 02                	je     0x40358c
40358a:	33 c9                	xor    %ecx,%ecx
40358c:	8b c1                	mov    %ecx,%eax
40358e:	5e                   	pop    %esi
40358f:	5d                   	pop    %ebp
403590:	c2 04 00             	ret    $0x4
403593:	55                   	push   %ebp
403594:	8b ec                	mov    %esp,%ebp
403596:	53                   	push   %ebx
403597:	8b 5d 08             	mov    0x8(%ebp),%ebx
40359a:	33 c0                	xor    %eax,%eax
40359c:	56                   	push   %esi
40359d:	57                   	push   %edi
40359e:	6a 61                	push   $0x61
4035a0:	8b 33                	mov    (%ebx),%esi
4035a2:	5a                   	pop    %edx
4035a3:	89 45 08             	mov    %eax,0x8(%ebp)
4035a6:	6a 5c                	push   $0x5c
4035a8:	0f b7 0e             	movzwl (%esi),%ecx
4035ab:	5f                   	pop    %edi
4035ac:	66 3b d1             	cmp    %cx,%dx
4035af:	77 08                	ja     0x4035b9
4035b1:	6a 7a                	push   $0x7a
4035b3:	5a                   	pop    %edx
4035b4:	66 3b d1             	cmp    %cx,%dx
4035b7:	73 10                	jae    0x4035c9
4035b9:	6a 41                	push   $0x41
4035bb:	5a                   	pop    %edx
4035bc:	66 3b d1             	cmp    %cx,%dx
4035bf:	77 20                	ja     0x4035e1
4035c1:	6a 5a                	push   $0x5a
4035c3:	5a                   	pop    %edx
4035c4:	66 3b d1             	cmp    %cx,%dx
4035c7:	72 18                	jb     0x4035e1
4035c9:	6a 3a                	push   $0x3a
4035cb:	5a                   	pop    %edx
4035cc:	66 3b 56 02          	cmp    0x2(%esi),%dx
4035d0:	75 0f                	jne    0x4035e1
4035d2:	66 3b 7e 04          	cmp    0x4(%esi),%di
4035d6:	75 09                	jne    0x4035e1
4035d8:	6a 04                	push   $0x4
4035da:	68 74 b7 44 00       	push   $0x44b774
4035df:	eb 70                	jmp    0x403651
4035e1:	66 3b f9             	cmp    %cx,%di
4035e4:	75 73                	jne    0x403659
4035e6:	6a 5c                	push   $0x5c
4035e8:	8d 7e 02             	lea    0x2(%esi),%edi
4035eb:	5a                   	pop    %edx
4035ec:	66 3b 17             	cmp    (%edi),%dx
4035ef:	75 68                	jne    0x403659
4035f1:	6a 3f                	push   $0x3f
4035f3:	59                   	pop    %ecx
4035f4:	66 3b 4e 04          	cmp    0x4(%esi),%cx
4035f8:	75 06                	jne    0x403600
4035fa:	66 3b 56 06          	cmp    0x6(%esi),%dx
4035fe:	74 5e                	je     0x40365e
403600:	8d 45 08             	lea    0x8(%ebp),%eax
403603:	50                   	push   %eax
403604:	56                   	push   %esi
403605:	e8 e0 f1 ff ff       	call   0x4027ea
40360a:	85 c0                	test   %eax,%eax
40360c:	78 50                	js     0x40365e
40360e:	8b 4d 08             	mov    0x8(%ebp),%ecx
403611:	8d 41 fe             	lea    -0x2(%ecx),%eax
403614:	85 c0                	test   %eax,%eax
403616:	74 32                	je     0x40364a
403618:	85 ff                	test   %edi,%edi
40361a:	75 12                	jne    0x40362e
40361c:	e8 15 08 03 00       	call   0x433e36
403621:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
403627:	e8 4e 07 03 00       	call   0x433d7a
40362c:	eb 1c                	jmp    0x40364a
40362e:	3b c8                	cmp    %eax,%ecx
403630:	73 0d                	jae    0x40363f
403632:	e8 ff 07 03 00       	call   0x433e36
403637:	c7 00 22 00 00 00    	movl   $0x22,(%eax)
40363d:	eb e8                	jmp    0x403627
40363f:	50                   	push   %eax
403640:	57                   	push   %edi
403641:	56                   	push   %esi
403642:	e8 29 b5 02 00       	call   0x42eb70
403647:	83 c4 0c             	add    $0xc,%esp
40364a:	6a 07                	push   $0x7
40364c:	68 80 b7 44 00       	push   $0x44b780
403651:	53                   	push   %ebx
403652:	e8 74 ea ff ff       	call   0x4020cb
403657:	eb 05                	jmp    0x40365e
403659:	b8 57 00 07 80       	mov    $0x80070057,%eax
40365e:	5f                   	pop    %edi
40365f:	5e                   	pop    %esi
403660:	5b                   	pop    %ebx
403661:	5d                   	pop    %ebp
403662:	c2 04 00             	ret    $0x4
403665:	55                   	push   %ebp
403666:	8b ec                	mov    %esp,%ebp
403668:	51                   	push   %ecx
403669:	56                   	push   %esi
40366a:	8b 75 0c             	mov    0xc(%ebp),%esi
40366d:	8d 45 fc             	lea    -0x4(%ebp),%eax
403670:	57                   	push   %edi
403671:	8b 7d 08             	mov    0x8(%ebp),%edi
403674:	68 ff ff ff 7f       	push   $0x7fffffff
403679:	50                   	push   %eax
40367a:	56                   	push   %esi
40367b:	57                   	push   %edi
40367c:	e8 f1 00 00 00       	call   0x403772
403681:	85 c0                	test   %eax,%eax
403683:	78 27                	js     0x4036ac
403685:	81 7d 14 fe ff ff 7f 	cmpl   $0x7ffffffe,0x14(%ebp)
40368c:	76 07                	jbe    0x403695
40368e:	b8 57 00 07 80       	mov    $0x80070057,%eax
403693:	eb 17                	jmp    0x4036ac
403695:	ff 75 14             	push   0x14(%ebp)
403698:	8b 45 fc             	mov    -0x4(%ebp),%eax
40369b:	2b f0                	sub    %eax,%esi
40369d:	ff 75 10             	push   0x10(%ebp)
4036a0:	6a 00                	push   $0x0
4036a2:	56                   	push   %esi
4036a3:	8d 04 47             	lea    (%edi,%eax,2),%eax
4036a6:	50                   	push   %eax
4036a7:	e8 02 c4 01 00       	call   0x41faae
4036ac:	5f                   	pop    %edi
4036ad:	5e                   	pop    %esi
4036ae:	8b e5                	mov    %ebp,%esp
4036b0:	5d                   	pop    %ebp
4036b1:	c2 10 00             	ret    $0x10
4036b4:	55                   	push   %ebp
4036b5:	8b ec                	mov    %esp,%ebp
4036b7:	51                   	push   %ecx
4036b8:	53                   	push   %ebx
4036b9:	56                   	push   %esi
4036ba:	8b 75 0c             	mov    0xc(%ebp),%esi
4036bd:	8d 45 fc             	lea    -0x4(%ebp),%eax
4036c0:	57                   	push   %edi
4036c1:	8b 7d 08             	mov    0x8(%ebp),%edi
4036c4:	bb ff ff ff 7f       	mov    $0x7fffffff,%ebx
4036c9:	53                   	push   %ebx
4036ca:	50                   	push   %eax
4036cb:	56                   	push   %esi
4036cc:	57                   	push   %edi
4036cd:	e8 a0 00 00 00       	call   0x403772
4036d2:	85 c0                	test   %eax,%eax
4036d4:	78 15                	js     0x4036eb
4036d6:	8b 45 fc             	mov    -0x4(%ebp),%eax
4036d9:	2b f0                	sub    %eax,%esi
4036db:	53                   	push   %ebx
4036dc:	ff 75 10             	push   0x10(%ebp)
4036df:	6a 00                	push   $0x0
4036e1:	56                   	push   %esi
4036e2:	8d 04 47             	lea    (%edi,%eax,2),%eax
4036e5:	50                   	push   %eax
4036e6:	e8 c3 c3 01 00       	call   0x41faae
4036eb:	5f                   	pop    %edi
4036ec:	5e                   	pop    %esi
4036ed:	5b                   	pop    %ebx
4036ee:	8b e5                	mov    %ebp,%esp
4036f0:	5d                   	pop    %ebp
4036f1:	c2 0c 00             	ret    $0xc
4036f4:	55                   	push   %ebp
4036f5:	8b ec                	mov    %esp,%ebp
4036f7:	8b 4d 0c             	mov    0xc(%ebp),%ecx
4036fa:	33 c0                	xor    %eax,%eax
4036fc:	85 c9                	test   %ecx,%ecx
4036fe:	74 08                	je     0x403708
403700:	81 f9 ff ff ff 7f    	cmp    $0x7fffffff,%ecx
403706:	76 05                	jbe    0x40370d
403708:	b8 57 00 07 80       	mov    $0x80070057,%eax
40370d:	85 c0                	test   %eax,%eax
40370f:	78 12                	js     0x403723
403711:	8d 45 14             	lea    0x14(%ebp),%eax
403714:	50                   	push   %eax
403715:	ff 75 10             	push   0x10(%ebp)
403718:	6a 00                	push   $0x0
40371a:	51                   	push   %ecx
40371b:	ff 75 08             	push   0x8(%ebp)
40371e:	e8 02 00 00 00       	call   0x403725
403723:	5d                   	pop    %ebp
403724:	c3                   	ret
403725:	55                   	push   %ebp
403726:	8b ec                	mov    %esp,%ebp
403728:	53                   	push   %ebx
403729:	56                   	push   %esi
40372a:	8b 75 0c             	mov    0xc(%ebp),%esi
40372d:	33 db                	xor    %ebx,%ebx
40372f:	57                   	push   %edi
403730:	ff 75 18             	push   0x18(%ebp)
403733:	8b 7d 08             	mov    0x8(%ebp),%edi
403736:	4e                   	dec    %esi
403737:	53                   	push   %ebx
403738:	ff 75 14             	push   0x14(%ebp)
40373b:	56                   	push   %esi
40373c:	57                   	push   %edi
40373d:	e8 88 f3 ff ff       	call   0x402aca
403742:	83 c4 14             	add    $0x14,%esp
403745:	85 c0                	test   %eax,%eax
403747:	78 0f                	js     0x403758
403749:	3b c6                	cmp    %esi,%eax
40374b:	77 0b                	ja     0x403758
40374d:	75 05                	jne    0x403754
40374f:	88 1c 3e             	mov    %bl,(%esi,%edi,1)
403752:	eb 0c                	jmp    0x403760
403754:	8b f0                	mov    %eax,%esi
403756:	eb 08                	jmp    0x403760
403758:	88 1c 3e             	mov    %bl,(%esi,%edi,1)
40375b:	bb 7a 00 07 80       	mov    $0x8007007a,%ebx
403760:	8b 45 10             	mov    0x10(%ebp),%eax
403763:	85 c0                	test   %eax,%eax
403765:	74 02                	je     0x403769
403767:	89 30                	mov    %esi,(%eax)
403769:	5f                   	pop    %edi
40376a:	5e                   	pop    %esi
40376b:	8b c3                	mov    %ebx,%eax
40376d:	5b                   	pop    %ebx
40376e:	5d                   	pop    %ebp
40376f:	c2 14 00             	ret    $0x14
403772:	55                   	push   %ebp
403773:	8b ec                	mov    %esp,%ebp
403775:	8b 45 0c             	mov    0xc(%ebp),%eax
403778:	56                   	push   %esi
403779:	57                   	push   %edi
40377a:	33 ff                	xor    %edi,%edi
40377c:	be 57 00 07 80       	mov    $0x80070057,%esi
403781:	8b d7                	mov    %edi,%edx
403783:	85 c0                	test   %eax,%eax
403785:	74 05                	je     0x40378c
403787:	3b 45 14             	cmp    0x14(%ebp),%eax
40378a:	76 02                	jbe    0x40378e
40378c:	8b d6                	mov    %esi,%edx
40378e:	85 d2                	test   %edx,%edx
403790:	78 34                	js     0x4037c6
403792:	8b 55 08             	mov    0x8(%ebp),%edx
403795:	8b c8                	mov    %eax,%ecx
403797:	85 c0                	test   %eax,%eax
403799:	74 0d                	je     0x4037a8
40379b:	66 39 3a             	cmp    %di,(%edx)
40379e:	74 08                	je     0x4037a8
4037a0:	83 c2 02             	add    $0x2,%edx
4037a3:	83 e9 01             	sub    $0x1,%ecx
4037a6:	75 f3                	jne    0x40379b
4037a8:	8b d6                	mov    %esi,%edx
4037aa:	33 f6                	xor    %esi,%esi
4037ac:	85 c9                	test   %ecx,%ecx
4037ae:	0f 45 d6             	cmovne %esi,%edx
4037b1:	8b 75 10             	mov    0x10(%ebp),%esi
4037b4:	85 f6                	test   %esi,%esi
4037b6:	74 13                	je     0x4037cb
4037b8:	85 c9                	test   %ecx,%ecx
4037ba:	74 06                	je     0x4037c2
4037bc:	2b c1                	sub    %ecx,%eax
4037be:	89 06                	mov    %eax,(%esi)
4037c0:	eb 09                	jmp    0x4037cb
4037c2:	89 3e                	mov    %edi,(%esi)
4037c4:	eb 05                	jmp    0x4037cb
4037c6:	8b 4d 10             	mov    0x10(%ebp),%ecx
4037c9:	89 39                	mov    %edi,(%ecx)
4037cb:	5f                   	pop    %edi
4037cc:	8b c2                	mov    %edx,%eax
4037ce:	5e                   	pop    %esi
4037cf:	5d                   	pop    %ebp
4037d0:	c2 10 00             	ret    $0x10
4037d3:	c2 0c 00             	ret    $0xc
4037d6:	55                   	push   %ebp
4037d7:	8b ec                	mov    %esp,%ebp
4037d9:	6a 00                	push   $0x0
4037db:	ff 75 0c             	push   0xc(%ebp)
4037de:	ff 75 08             	push   0x8(%ebp)
4037e1:	e8 04 00 00 00       	call   0x4037ea
4037e6:	5d                   	pop    %ebp
4037e7:	c2 08 00             	ret    $0x8
4037ea:	55                   	push   %ebp
4037eb:	8b ec                	mov    %esp,%ebp
4037ed:	81 ec 0c 02 00 00    	sub    $0x20c,%esp
4037f3:	a1 08 a0 46 00       	mov    0x46a008,%eax
4037f8:	33 c5                	xor    %ebp,%eax
4037fa:	89 45 fc             	mov    %eax,-0x4(%ebp)
4037fd:	53                   	push   %ebx
4037fe:	8b 5d 0c             	mov    0xc(%ebp),%ebx
403801:	8d 85 f4 fd ff ff    	lea    -0x20c(%ebp),%eax
403807:	56                   	push   %esi
403808:	57                   	push   %edi
403809:	8b 7d 10             	mov    0x10(%ebp),%edi
40380c:	68 08 02 00 00       	push   $0x208
403811:	6a 00                	push   $0x0
403813:	50                   	push   %eax
403814:	e8 57 be 02 00       	call   0x42f670
403819:	83 c4 0c             	add    $0xc,%esp
40381c:	8d 85 f4 fd ff ff    	lea    -0x20c(%ebp),%eax
403822:	be 04 01 00 00       	mov    $0x104,%esi
403827:	56                   	push   %esi
403828:	50                   	push   %eax
403829:	ff 15 3c b1 44 00    	call   *0x44b13c
40382f:	85 c0                	test   %eax,%eax
403831:	75 1f                	jne    0x403852
403833:	ff 15 e8 b0 44 00    	call   *0x44b0e8
403839:	0f b7 f0             	movzwl %ax,%esi
40383c:	81 ce 00 00 07 80    	or     $0x80070000,%esi
403842:	85 c0                	test   %eax,%eax
403844:	0f 4e f0             	cmovle %eax,%esi
403847:	85 f6                	test   %esi,%esi
403849:	78 74                	js     0x4038bf
40384b:	be 05 40 00 80       	mov    $0x80004005,%esi
403850:	eb 6d                	jmp    0x4038bf
403852:	6a 5c                	push   $0x5c
403854:	59                   	pop    %ecx
403855:	66 3b 8c 45 f2 fd ff 	cmp    -0x20e(%ebp,%eax,2),%cx
40385c:	ff
40385d:	74 1f                	je     0x40387e
40385f:	6a 01                	push   $0x1
403861:	68 90 b7 44 00       	push   $0x44b790
403866:	56                   	push   %esi