40b50e:	74 0a                	je     0x40b51a
40b510:	3b 46 1c             	cmp    0x1c(%esi),%eax
40b513:	75 05                	jne    0x40b51a
40b515:	8b 07                	mov    (%edi),%eax
40b517:	89 46 1c             	mov    %eax,0x1c(%esi)
40b51a:	31 c0                	xor    %eax,%eax
40b51c:	38 05 94 98 42 00    	cmp    %al,0x429894
40b522:	74 11                	je     0x40b535
40b524:	8b 0d 98 98 42 00    	mov    0x429898,%ecx
40b52a:	e3 09                	jecxz  0x40b535
40b52c:	39 f1                	cmp    %esi,%ecx
40b52e:	74 05                	je     0x40b535
40b530:	e8 6d 00 00 00       	call   0x40b5a2
40b535:	89 f1                	mov    %esi,%ecx
40b537:	e8 66 00 00 00       	call   0x40b5a2
40b53c:	8b 5e 5c             	mov    0x5c(%esi),%ebx
40b53f:	89 f0                	mov    %esi,%eax
40b541:	e8 64 00 00 00       	call   0x40b5aa
40b546:	0f b7 47 04          	movzwl 0x4(%edi),%eax
40b54a:	66 3d 10 00          	cmp    $0x10,%ax
40b54e:	75 2a                	jne    0x40b57a
40b550:	3b 35 98 98 42 00    	cmp    0x429898,%esi
40b556:	74 0f                	je     0x40b567
40b558:	89 f0                	mov    %esi,%eax
40b55a:	e8 cd 05 00 00       	call   0x40bb2c
40b55f:	84 c0                	test   %al,%al
40b561:	0f 84 e3 01 00 00    	je     0x40b74a
40b567:	6a 00                	push   $0x0
40b569:	e8 82 95 ff ff       	call   0x404af0
40b56e:	c6 05 95 98 42 00 01 	movb   $0x1,0x429895
40b575:	e9 d0 01 00 00       	jmp    0x40b74a
40b57a:	66 3d 02 00          	cmp    $0x2,%ax
40b57e:	75 09                	jne    0x40b589
40b580:	80 4e 35 10          	orb    $0x10,0x35(%esi)
40b584:	e9 c1 01 00 00       	jmp    0x40b74a
40b589:	66 3d 82 00          	cmp    $0x82,%ax
40b58d:	75 32                	jne    0x40b5c1
40b58f:	6a 00                	push   $0x0
40b591:	6a eb                	push   $0xffffffeb
40b593:	ff 76 1c             	push   0x1c(%esi)
40b596:	e8 71 9a ff ff       	call   0x40500c
40b59b:	31 c0                	xor    %eax,%eax
40b59d:	e9 c8 01 00 00       	jmp    0x40b76a
40b5a2:	8b 41 50             	mov    0x50(%ecx),%eax
40b5a5:	8b 18                	mov    (%eax),%ebx
40b5a7:	8b 40 04             	mov    0x4(%eax),%eax
40b5aa:	6a 00                	push   $0x0
40b5ac:	89 fa                	mov    %edi,%edx
40b5ae:	89 e1                	mov    %esp,%ecx
40b5b0:	ff d3                	call   *%ebx
40b5b2:	84 c0                	test   %al,%al
40b5b4:	58                   	pop    %eax
40b5b5:	0f 84 b3 01 00 00    	je     0x40b76e
40b5bb:	5a                   	pop    %edx
40b5bc:	e9 96 01 00 00       	jmp    0x40b757
40b5c1:	66 3d 05 00          	cmp    $0x5,%ax
40b5c5:	75 17                	jne    0x40b5de
40b5c7:	89 fa                	mov    %edi,%edx
40b5c9:	89 f0                	mov    %esi,%eax
40b5cb:	e8 04 05 00 00       	call   0x40bad4
40b5d0:	50                   	push   %eax
40b5d1:	89 f0                	mov    %esi,%eax
40b5d3:	ff 15 48 61 42 00    	call   *0x426148
40b5d9:	e9 8b 01 00 00       	jmp    0x40b769
40b5de:	66 3d 12 01          	cmp    $0x112,%ax
40b5e2:	75 49                	jne    0x40b62d
40b5e4:	8b 47 08             	mov    0x8(%edi),%eax
40b5e7:	24 f0                	and    $0xf0,%al
40b5e9:	66 3d 20 f0          	cmp    $0xf020,%ax
40b5ed:	0f 85 57 01 00 00    	jne    0x40b74a
40b5f3:	89 f0                	mov    %esi,%eax
40b5f5:	e8 32 05 00 00       	call   0x40bb2c
40b5fa:	84 c0                	test   %al,%al
40b5fc:	0f 84 48 01 00 00    	je     0x40b74a
40b602:	3b 35 98 98 42 00    	cmp    0x429898,%esi
40b608:	0f 84 3c 01 00 00    	je     0x40b74a
40b60e:	6a 00                	push   $0x0
40b610:	68 20 f0 00 00       	push   $0xf020
40b615:	68 12 01 00 00       	push   $0x112
40b61a:	8b 05 98 98 42 00    	mov    0x429898,%eax
40b620:	ff 70 1c             	push   0x1c(%eax)
40b623:	e8 bc 99 ff ff       	call   0x404fe4
40b628:	e9 28 01 00 00       	jmp    0x40b755
40b62d:	66 3d 07 00          	cmp    $0x7,%ax
40b631:	75 29                	jne    0x40b65c
40b633:	89 f0                	mov    %esi,%eax
40b635:	e8 ba 04 00 00       	call   0x40baf4
40b63a:	84 c0                	test   %al,%al
40b63c:	0f 84 13 01 00 00    	je     0x40b755
40b642:	fe 86 2a 01 00 00    	incb   0x12a(%esi)
40b648:	89 f0                	mov    %esi,%eax
40b64a:	89 fa                	mov    %edi,%edx
40b64c:	e8 83 04 00 00       	call   0x40bad4
40b651:	fe 8e 2a 01 00 00    	decb   0x12a(%esi)
40b657:	e9 0e 01 00 00       	jmp    0x40b76a
40b65c:	89 c2                	mov    %eax,%edx
40b65e:	66 81 ea 32 01       	sub    $0x132,%dx
40b663:	66 83 fa 06          	cmp    $0x6,%dx
40b667:	77 18                	ja     0x40b681
40b669:	ff 77 0c             	push   0xc(%edi)
40b66c:	ff 77 08             	push   0x8(%edi)
40b66f:	66 05 00 bc          	add    $0xbc00,%ax
40b673:	50                   	push   %eax
40b674:	ff 77 0c             	push   0xc(%edi)
40b677:	e8 80 99 ff ff       	call   0x404ffc
40b67c:	e9 d6 00 00 00       	jmp    0x40b757
40b681:	66 3d 11 01          	cmp    $0x111,%ax
40b685:	75 2a                	jne    0x40b6b1
40b687:	6a eb                	push   $0xffffffeb
40b689:	ff 77 0c             	push   0xc(%edi)
40b68c:	e8 1b 99 ff ff       	call   0x404fac
40b691:	85 c0                	test   %eax,%eax
40b693:	0f 84 b1 00 00 00    	je     0x40b74a
40b699:	ff 77 0c             	push   0xc(%edi)
40b69c:	ff 77 08             	push   0x8(%edi)
40b69f:	68 05 b0 00 00       	push   $0xb005
40b6a4:	ff 77 0c             	push   0xc(%edi)
40b6a7:	e8 50 99 ff ff       	call   0x404ffc
40b6ac:	e9 a6 00 00 00       	jmp    0x40b757
40b6b1:	89 c2                	mov    %eax,%edx
40b6b3:	66 81 ea 00 01       	sub    $0x100,%dx
40b6b8:	66 83 fa 08          	cmp    $0x8,%dx
40b6bc:	0f 87 88 00 00 00    	ja     0x40b74a
40b6c2:	e8 91 93 ff ff       	call   0x404a58
40b6c7:	3b 46 1c             	cmp    0x1c(%esi),%eax
40b6ca:	0f 85 85 00 00 00    	jne    0x40b755
40b6d0:	50                   	push   %eax
40b6d1:	89 e1                	mov    %esp,%ecx
40b6d3:	89 fa                	mov    %edi,%edx
40b6d5:	89 f0                	mov    %esi,%eax
40b6d7:	ff 15 5c 62 42 00    	call   *0x42625c
40b6dd:	84 c0                	test   %al,%al
40b6df:	75 0b                	jne    0x40b6ec
40b6e1:	89 e1                	mov    %esp,%ecx
40b6e3:	89 fa                	mov    %edi,%edx
40b6e5:	89 f0                	mov    %esi,%eax
40b6e7:	ff 56 64             	call   *0x64(%esi)
40b6ea:	84 c0                	test   %al,%al
40b6ec:	58                   	pop    %eax
40b6ed:	75 68                	jne    0x40b757
40b6ef:	6a 11                	push   $0x11
40b6f1:	e8 6a 93 ff ff       	call   0x404a60
40b6f6:	93                   	xchg   %eax,%ebx
40b6f7:	6a 12                	push   $0x12
40b6f9:	e8 62 93 ff ff       	call   0x404a60
40b6fe:	09 d8                	or     %ebx,%eax
40b700:	78 48                	js     0x40b74a
40b702:	66 81 7f 04 02 01    	cmpw   $0x102,0x4(%edi)
40b708:	75 08                	jne    0x40b712
40b70a:	80 7f 08 09          	cmpb   $0x9,0x8(%edi)
40b70e:	74 33                	je     0x40b743
40b710:	eb 38                	jmp    0x40b74a
40b712:	89 f0                	mov    %esi,%eax
40b714:	e8 27 08 00 00       	call   0x40bf40
40b719:	85 c0                	test   %eax,%eax
40b71b:	74 2d                	je     0x40b74a
40b71d:	8b 48 70             	mov    0x70(%eax),%ecx
40b720:	89 cb                	mov    %ecx,%ebx
40b722:	81 7f 04 00 01 00 00 	cmpl   $0x100,0x4(%edi)
40b729:	0f 95 c1             	setne  %cl
40b72c:	81 7f 04 04 01 00 00 	cmpl   $0x104,0x4(%edi)
40b733:	0f 95 c5             	setne  %ch
40b736:	20 e9                	and    %ch,%cl
40b738:	8b 57 08             	mov    0x8(%edi),%edx
40b73b:	89 f0                	mov    %esi,%eax
40b73d:	ff d3                	call   *%ebx
40b73f:	84 c0                	test   %al,%al
40b741:	74 07                	je     0x40b74a
40b743:	31 c0                	xor    %eax,%eax
40b745:	89 47 08             	mov    %eax,0x8(%edi)
40b748:	eb 0d                	jmp    0x40b757
40b74a:	89 f0                	mov    %esi,%eax
40b74c:	89 fa                	mov    %edi,%edx
40b74e:	e8 81 03 00 00       	call   0x40bad4
40b753:	eb 15                	jmp    0x40b76a
40b755:	31 c0                	xor    %eax,%eax
40b757:	50                   	push   %eax
40b758:	80 3d 95 98 42 00 00 	cmpb   $0x0,0x429895
40b75f:	75 08                	jne    0x40b769
40b761:	89 e1                	mov    %esp,%ecx
40b763:	89 f0                	mov    %esi,%eax
40b765:	89 fa                	mov    %edi,%edx
40b767:	ff d5                	call   *%ebp
40b769:	58                   	pop    %eax
40b76a:	5d                   	pop    %ebp
40b76b:	5f                   	pop    %edi
40b76c:	5e                   	pop    %esi
40b76d:	5b                   	pop    %ebx
40b76e:	c3                   	ret
40b76f:	90                   	nop
40b770:	3b 50 24             	cmp    0x24(%eax),%edx
40b773:	74 27                	je     0x40b79c
40b775:	89 50 24             	mov    %edx,0x24(%eax)
40b778:	8b 48 1c             	mov    0x1c(%eax),%ecx
40b77b:	e3 1f                	jecxz  0x40b79c
40b77d:	50                   	push   %eax
40b77e:	6a 37                	push   $0x37
40b780:	31 c0                	xor    %eax,%eax
40b782:	50                   	push   %eax
40b783:	50                   	push   %eax
40b784:	50                   	push   %eax
40b785:	50                   	push   %eax
40b786:	50                   	push   %eax
40b787:	51                   	push   %ecx
40b788:	52                   	push   %edx
40b789:	6a f0                	push   $0xfffffff0
40b78b:	51                   	push   %ecx
40b78c:	e8 7b 98 ff ff       	call   0x40500c
40b791:	e8 a2 93 ff ff       	call   0x404b38
40b796:	58                   	pop    %eax
40b797:	e8 d0 02 00 00       	call   0x40ba6c
40b79c:	c3                   	ret
40b79d:	8d 40 00             	lea    0x0(%eax),%eax
40b7a0:	3b 50 28             	cmp    0x28(%eax),%edx
40b7a3:	74 27                	je     0x40b7cc
40b7a5:	89 50 28             	mov    %edx,0x28(%eax)
40b7a8:	8b 48 1c             	mov    0x1c(%eax),%ecx
40b7ab:	e3 1f                	jecxz  0x40b7cc
40b7ad:	50                   	push   %eax
40b7ae:	6a 37                	push   $0x37
40b7b0:	31 c0                	xor    %eax,%eax
40b7b2:	50                   	push   %eax
40b7b3:	50                   	push   %eax
40b7b4:	50                   	push   %eax
40b7b5:	50                   	push   %eax
40b7b6:	50                   	push   %eax
40b7b7:	51                   	push   %ecx
40b7b8:	52                   	push   %edx
40b7b9:	6a ec                	push   $0xffffffec
40b7bb:	51                   	push   %ecx
40b7bc:	e8 4b 98 ff ff       	call   0x40500c
40b7c1:	e8 72 93 ff ff       	call   0x404b38
40b7c6:	58                   	pop    %eax
40b7c7:	e8 a0 02 00 00       	call   0x40ba6c
40b7cc:	c3                   	ret
40b7cd:	8d 40 00             	lea    0x0(%eax),%eax
40b7d0:	53                   	push   %ebx
40b7d1:	89 c3                	mov    %eax,%ebx
40b7d3:	52                   	push   %edx
40b7d4:	8d 15 14 7c 40 00    	lea    0x407c14,%edx
40b7da:	e8 59 e2 ff ff       	call   0x409a38
40b7df:	5a                   	pop    %edx
40b7e0:	3b 93 c6 00 00 00    	cmp    0xc6(%ebx),%edx
40b7e6:	74 51                	je     0x40b839
40b7e8:	89 93 c6 00 00 00    	mov    %edx,0xc6(%ebx)
40b7ee:	8b 4b 1c             	mov    0x1c(%ebx),%ecx
40b7f1:	e3 46                	jecxz  0x40b839
40b7f3:	85 d2                	test   %edx,%edx
40b7f5:	74 42                	je     0x40b839
40b7f7:	8b 0d a0 98 42 00    	mov    0x4298a0,%ecx
40b7fd:	41                   	inc    %ecx
40b7fe:	e2 39                	loop   0x40b839
40b800:	52                   	push   %edx
40b801:	50                   	push   %eax
40b802:	50                   	push   %eax
40b803:	54                   	push   %esp
40b804:	e8 37 92 ff ff       	call   0x404a40
40b809:	89 e2                	mov    %esp,%edx
40b80b:	89 d1                	mov    %edx,%ecx
40b80d:	89 d8                	mov    %ebx,%eax
40b80f:	e8 f0 01 00 00       	call   0x40ba04
40b814:	83 c4 f0             	add    $0xfffffff0,%esp
40b817:	89 e2                	mov    %esp,%edx
40b819:	89 d8                	mov    %ebx,%eax
40b81b:	e8 00 02 00 00       	call   0x40ba20
40b820:	89 e2                	mov    %esp,%edx
40b822:	8d 44 24 10          	lea    0x10(%esp),%eax
40b826:	e8 85 e9 ff ff       	call   0x40a1b0
40b82b:	83 c4 18             	add    $0x18,%esp
40b82e:	84 c0                	test   %al,%al
40b830:	74 06                	je     0x40b838
40b832:	e8 d9 92 ff ff       	call   0x404b10
40b837:	50                   	push   %eax
40b838:	58                   	pop    %eax
40b839:	5b                   	pop    %ebx
40b83a:	c3                   	ret
40b83b:	90                   	nop
40b83c:	3b 90 fe 00 00 00    	cmp    0xfe(%eax),%edx
40b842:	74 22                	je     0x40b866
40b844:	89 90 fe 00 00 00    	mov    %edx,0xfe(%eax)
40b84a:	42                   	inc    %edx
40b84b:	74 01                	je     0x40b84e
40b84d:	4a                   	dec    %edx
40b84e:	52                   	push   %edx
40b84f:	6a 01                	push   $0x1
40b851:	68 80 00 00 00       	push   $0x80
40b856:	50                   	push   %eax
40b857:	e8 e0 0c 00 00       	call   0x40c53c
40b85c:	85 c0                	test   %eax,%eax
40b85e:	74 06                	je     0x40b866
40b860:	50                   	push   %eax
40b861:	e8 82 91 ff ff       	call   0x4049e8
40b866:	c3                   	ret
40b867:	90                   	nop
40b868:	ff 70 6c             	push   0x6c(%eax)
40b86b:	c3                   	ret
40b86c:	53                   	push   %ebx
40b86d:	93                   	xchg   %eax,%ebx
40b86e:	8d 83 e2 00 00 00    	lea    0xe2(%ebx),%eax
40b874:	e8 6f 7e ff ff       	call   0x4036e8
40b879:	8b 4b 1c             	mov    0x1c(%ebx),%ecx
40b87c:	e3 10                	jecxz  0x40b88e
40b87e:	ff b3 e2 00 00 00    	push   0xe2(%ebx)
40b884:	6a 00                	push   $0x0
40b886:	6a 0c                	push   $0xc
40b888:	51                   	push   %ecx
40b889:	e8 6e 97 ff ff       	call   0x404ffc
40b88e:	f6 43 34 20          	testb  $0x20,0x34(%ebx)
40b892:	75 07                	jne    0x40b89b
40b894:	89 d8                	mov    %ebx,%eax
40b896:	e8 d1 01 00 00       	call   0x40ba6c
40b89b:	93                   	xchg   %eax,%ebx
40b89c:	5b                   	pop    %ebx
40b89d:	ff 70 6c             	push   0x6c(%eax)
40b8a0:	c3                   	ret
40b8a1:	8d 40 00             	lea    0x0(%eax),%eax
40b8a4:	f6 40 27 10          	testb  $0x10,0x27(%eax)
40b8a8:	0f 95 c0             	setne  %al
40b8ab:	c3                   	ret
40b8ac:	e8 f3 ff ff ff       	call   0x40b8a4
40b8b1:	c3                   	ret
40b8b2:	8b c0                	mov    %eax,%eax
40b8b4:	80 60 27 ef          	andb   $0xef,0x27(%eax)
40b8b8:	84 d2                	test   %dl,%dl
40b8ba:	74 04                	je     0x40b8c0
40b8bc:	80 48 27 10          	orb    $0x10,0x27(%eax)
40b8c0:	8b 48 1c             	mov    0x1c(%eax),%ecx
40b8c3:	e3 14                	jecxz  0x40b8d9
40b8c5:	50                   	push   %eax
40b8c6:	74 12                	je     0x40b8da
40b8c8:	ff 15 48 61 42 00    	call   *0x426148
40b8ce:	58                   	pop    %eax
40b8cf:	6a 05                	push   $0x5
40b8d1:	ff 70 1c             	push   0x1c(%eax)
40b8d4:	e8 67 92 ff ff       	call   0x404b40
40b8d9:	c3                   	ret
40b8da:	80 60 37 fe          	andb   $0xfe,0x37(%eax)
40b8de:	6a 00                	push   $0x0
40b8e0:	51                   	push   %ecx
40b8e1:	e8 5a 92 ff ff       	call   0x404b40
40b8e6:	58                   	pop    %eax
40b8e7:	ff 15 48 61 42 00    	call   *0x426148
40b8ed:	c3                   	ret
40b8ee:	8b c0                	mov    %eax,%eax
40b8f0:	80 48 37 08          	orb    $0x8,0x37(%eax)
40b8f4:	e8 bb ff ff ff       	call   0x40b8b4
40b8f9:	c3                   	ret
40b8fa:	8b c0                	mov    %eax,%eax
40b8fc:	56                   	push   %esi
40b8fd:	57                   	push   %edi