40e642:	53                   	push   %ebx
40e643:	ff 36                	push   (%esi)
40e645:	e8 ce 1a 00 00       	call   0x410118
40e64a:	83 c4 0c             	add    $0xc,%esp
40e64d:	85 c0                	test   %eax,%eax
40e64f:	75 05                	jne    0x40e656
40e651:	6a 0c                	push   $0xc
40e653:	5e                   	pop    %esi
40e654:	eb 10                	jmp    0x40e666
40e656:	89 06                	mov    %eax,(%esi)
40e658:	8d 0c b8             	lea    (%eax,%edi,4),%ecx
40e65b:	8d 04 98             	lea    (%eax,%ebx,4),%eax
40e65e:	89 4e 04             	mov    %ecx,0x4(%esi)
40e661:	89 46 08             	mov    %eax,0x8(%esi)
40e664:	33 f6                	xor    %esi,%esi
40e666:	6a 00                	push   $0x0
40e668:	e8 32 c1 ff ff       	call   0x40a79f
40e66d:	59                   	pop    %ecx
40e66e:	8b c6                	mov    %esi,%eax
40e670:	5b                   	pop    %ebx
40e671:	5f                   	pop    %edi
40e672:	5e                   	pop    %esi
40e673:	c3                   	ret
40e674:	8b ff                	mov    %edi,%edi
40e676:	55                   	push   %ebp
40e677:	8b ec                	mov    %esp,%ebp
40e679:	5d                   	pop    %ebp
40e67a:	e9 c1 fa ff ff       	jmp    0x40e140
40e67f:	6a 08                	push   $0x8
40e681:	68 c8 01 42 00       	push   $0x4201c8
40e686:	e8 15 58 ff ff       	call   0x403ea0
40e68b:	8b 45 08             	mov    0x8(%ebp),%eax
40e68e:	ff 30                	push   (%eax)
40e690:	e8 f7 f8 ff ff       	call   0x40df8c
40e695:	59                   	pop    %ecx
40e696:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40e69a:	8b 4d 0c             	mov    0xc(%ebp),%ecx
40e69d:	e8 2a 00 00 00       	call   0x40e6cc
40e6a2:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40e6a9:	e8 12 00 00 00       	call   0x40e6c0
40e6ae:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40e6b1:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
40e6b8:	59                   	pop    %ecx
40e6b9:	5f                   	pop    %edi
40e6ba:	5e                   	pop    %esi
40e6bb:	5b                   	pop    %ebx
40e6bc:	c9                   	leave
40e6bd:	c2 0c 00             	ret    $0xc
40e6c0:	8b 45 10             	mov    0x10(%ebp),%eax
40e6c3:	ff 30                	push   (%eax)
40e6c5:	e8 0a f9 ff ff       	call   0x40dfd4
40e6ca:	59                   	pop    %ecx
40e6cb:	c3                   	ret
40e6cc:	8b ff                	mov    %edi,%edi
40e6ce:	56                   	push   %esi
40e6cf:	8b f1                	mov    %ecx,%esi
40e6d1:	b9 01 01 00 00       	mov    $0x101,%ecx
40e6d6:	51                   	push   %ecx
40e6d7:	8b 06                	mov    (%esi),%eax
40e6d9:	8b 00                	mov    (%eax),%eax
40e6db:	8b 40 48             	mov    0x48(%eax),%eax
40e6de:	83 c0 18             	add    $0x18,%eax
40e6e1:	50                   	push   %eax
40e6e2:	51                   	push   %ecx
40e6e3:	ff 35 1c 25 42 00    	push   0x42251c
40e6e9:	e8 6d 07 00 00       	call   0x40ee5b
40e6ee:	8b 06                	mov    (%esi),%eax
40e6f0:	b9 00 01 00 00       	mov    $0x100,%ecx
40e6f5:	51                   	push   %ecx
40e6f6:	8b 00                	mov    (%eax),%eax
40e6f8:	8b 40 48             	mov    0x48(%eax),%eax
40e6fb:	05 19 01 00 00       	add    $0x119,%eax
40e700:	50                   	push   %eax
40e701:	51                   	push   %ecx
40e702:	ff 35 20 25 42 00    	push   0x422520
40e708:	e8 4e 07 00 00       	call   0x40ee5b
40e70d:	8b 46 04             	mov    0x4(%esi),%eax
40e710:	83 c4 20             	add    $0x20,%esp
40e713:	83 c9 ff             	or     $0xffffffff,%ecx
40e716:	8b 00                	mov    (%eax),%eax
40e718:	8b 00                	mov    (%eax),%eax
40e71a:	f0 0f c1 08          	lock xadd %ecx,(%eax)
40e71e:	75 15                	jne    0x40e735
40e720:	8b 46 04             	mov    0x4(%esi),%eax
40e723:	8b 00                	mov    (%eax),%eax
40e725:	81 38 f0 12 42 00    	cmpl   $0x4212f0,(%eax)
40e72b:	74 08                	je     0x40e735
40e72d:	ff 30                	push   (%eax)
40e72f:	e8 6b c0 ff ff       	call   0x40a79f
40e734:	59                   	pop    %ecx
40e735:	8b 06                	mov    (%esi),%eax
40e737:	8b 10                	mov    (%eax),%edx
40e739:	8b 46 04             	mov    0x4(%esi),%eax
40e73c:	8b 08                	mov    (%eax),%ecx
40e73e:	8b 42 48             	mov    0x48(%edx),%eax
40e741:	89 01                	mov    %eax,(%ecx)
40e743:	8b 06                	mov    (%esi),%eax
40e745:	8b 00                	mov    (%eax),%eax
40e747:	8b 40 48             	mov    0x48(%eax),%eax
40e74a:	f0 ff 00             	lock incl (%eax)
40e74d:	5e                   	pop    %esi
40e74e:	c3                   	ret
40e74f:	8b ff                	mov    %edi,%edi
40e751:	55                   	push   %ebp
40e752:	8b ec                	mov    %esp,%ebp
40e754:	8b 45 08             	mov    0x8(%ebp),%eax
40e757:	2d a4 03 00 00       	sub    $0x3a4,%eax
40e75c:	74 28                	je     0x40e786
40e75e:	83 e8 04             	sub    $0x4,%eax
40e761:	74 1c                	je     0x40e77f
40e763:	83 e8 0d             	sub    $0xd,%eax
40e766:	74 10                	je     0x40e778
40e768:	83 e8 01             	sub    $0x1,%eax
40e76b:	74 04                	je     0x40e771
40e76d:	33 c0                	xor    %eax,%eax
40e76f:	5d                   	pop    %ebp
40e770:	c3                   	ret
40e771:	a1 bc af 41 00       	mov    0x41afbc,%eax
40e776:	5d                   	pop    %ebp
40e777:	c3                   	ret
40e778:	a1 b8 af 41 00       	mov    0x41afb8,%eax
40e77d:	5d                   	pop    %ebp
40e77e:	c3                   	ret
40e77f:	a1 b4 af 41 00       	mov    0x41afb4,%eax
40e784:	5d                   	pop    %ebp
40e785:	c3                   	ret
40e786:	a1 b0 af 41 00       	mov    0x41afb0,%eax
40e78b:	5d                   	pop    %ebp
40e78c:	c3                   	ret
40e78d:	8b ff                	mov    %edi,%edi
40e78f:	55                   	push   %ebp
40e790:	8b ec                	mov    %esp,%ebp
40e792:	83 ec 10             	sub    $0x10,%esp
40e795:	8d 4d f0             	lea    -0x10(%ebp),%ecx
40e798:	6a 00                	push   $0x0
40e79a:	e8 83 fd ff ff       	call   0x40e522
40e79f:	83 25 28 25 42 00 00 	andl   $0x0,0x422528
40e7a6:	8b 45 08             	mov    0x8(%ebp),%eax
40e7a9:	83 f8 fe             	cmp    $0xfffffffe,%eax
40e7ac:	75 12                	jne    0x40e7c0
40e7ae:	c7 05 28 25 42 00 01 	movl   $0x1,0x422528
40e7b5:	00 00 00
40e7b8:	ff 15 08 91 41 00    	call   *0x419108
40e7be:	eb 2c                	jmp    0x40e7ec
40e7c0:	83 f8 fd             	cmp    $0xfffffffd,%eax
40e7c3:	75 12                	jne    0x40e7d7
40e7c5:	c7 05 28 25 42 00 01 	movl   $0x1,0x422528
40e7cc:	00 00 00
40e7cf:	ff 15 04 91 41 00    	call   *0x419104
40e7d5:	eb 15                	jmp    0x40e7ec
40e7d7:	83 f8 fc             	cmp    $0xfffffffc,%eax
40e7da:	75 10                	jne    0x40e7ec
40e7dc:	8b 45 f4             	mov    -0xc(%ebp),%eax
40e7df:	c7 05 28 25 42 00 01 	movl   $0x1,0x422528
40e7e6:	00 00 00
40e7e9:	8b 40 08             	mov    0x8(%eax),%eax
40e7ec:	80 7d fc 00          	cmpb   $0x0,-0x4(%ebp)
40e7f0:	74 0a                	je     0x40e7fc
40e7f2:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40e7f5:	83 a1 50 03 00 00 fd 	andl   $0xfffffffd,0x350(%ecx)
40e7fc:	c9                   	leave
40e7fd:	c3                   	ret
40e7fe:	8b ff                	mov    %edi,%edi
40e800:	55                   	push   %ebp
40e801:	8b ec                	mov    %esp,%ebp
40e803:	53                   	push   %ebx
40e804:	8b 5d 08             	mov    0x8(%ebp),%ebx
40e807:	56                   	push   %esi
40e808:	57                   	push   %edi
40e809:	68 01 01 00 00       	push   $0x101
40e80e:	33 f6                	xor    %esi,%esi
40e810:	8d 43 18             	lea    0x18(%ebx),%eax
40e813:	56                   	push   %esi
40e814:	50                   	push   %eax
40e815:	e8 56 62 ff ff       	call   0x404a70
40e81a:	83 c4 0c             	add    $0xc,%esp
40e81d:	89 73 04             	mov    %esi,0x4(%ebx)
40e820:	89 73 08             	mov    %esi,0x8(%ebx)
40e823:	8d 7b 0c             	lea    0xc(%ebx),%edi
40e826:	89 b3 1c 02 00 00    	mov    %esi,0x21c(%ebx)
40e82c:	33 c0                	xor    %eax,%eax
40e82e:	ab                   	stos   %eax,%es:(%edi)
40e82f:	8b ce                	mov    %esi,%ecx
40e831:	ab                   	stos   %eax,%es:(%edi)
40e832:	ab                   	stos   %eax,%es:(%edi)
40e833:	8a 81 08 13 42 00    	mov    0x421308(%ecx),%al
40e839:	88 44 0b 18          	mov    %al,0x18(%ebx,%ecx,1)
40e83d:	41                   	inc    %ecx
40e83e:	81 f9 01 01 00 00    	cmp    $0x101,%ecx
40e844:	7c ed                	jl     0x40e833
40e846:	8a 86 09 14 42 00    	mov    0x421409(%esi),%al
40e84c:	88 84 33 19 01 00 00 	mov    %al,0x119(%ebx,%esi,1)
40e853:	46                   	inc    %esi
40e854:	81 fe 00 01 00 00    	cmp    $0x100,%esi
40e85a:	7c ea                	jl     0x40e846
40e85c:	5f                   	pop    %edi
40e85d:	5e                   	pop    %esi
40e85e:	5b                   	pop    %ebx
40e85f:	5d                   	pop    %ebp
40e860:	c3                   	ret
40e861:	8b ff                	mov    %edi,%edi
40e863:	55                   	push   %ebp
40e864:	8b ec                	mov    %esp,%ebp
40e866:	81 ec 20 07 00 00    	sub    $0x720,%esp
40e86c:	a1 c0 10 42 00       	mov    0x4210c0,%eax
40e871:	33 c5                	xor    %ebp,%eax
40e873:	89 45 fc             	mov    %eax,-0x4(%ebp)
40e876:	53                   	push   %ebx
40e877:	56                   	push   %esi
40e878:	57                   	push   %edi
40e879:	8b 7d 08             	mov    0x8(%ebp),%edi
40e87c:	81 7f 04 e9 fd 00 00 	cmpl   $0xfde9,0x4(%edi)
40e883:	0f 84 0c 01 00 00    	je     0x40e995
40e889:	8d 85 e8 f8 ff ff    	lea    -0x718(%ebp),%eax
40e88f:	50                   	push   %eax
40e890:	ff 77 04             	push   0x4(%edi)
40e893:	ff 15 0c 91 41 00    	call   *0x41910c
40e899:	85 c0                	test   %eax,%eax
40e89b:	0f 84 f4 00 00 00    	je     0x40e995
40e8a1:	33 db                	xor    %ebx,%ebx
40e8a3:	be 00 01 00 00       	mov    $0x100,%esi
40e8a8:	8b c3                	mov    %ebx,%eax
40e8aa:	88 84 05 fc fe ff ff 	mov    %al,-0x104(%ebp,%eax,1)
40e8b1:	40                   	inc    %eax
40e8b2:	3b c6                	cmp    %esi,%eax
40e8b4:	72 f4                	jb     0x40e8aa
40e8b6:	8a 85 ee f8 ff ff    	mov    -0x712(%ebp),%al
40e8bc:	8d 8d ee f8 ff ff    	lea    -0x712(%ebp),%ecx
40e8c2:	c6 85 fc fe ff ff 20 	movb   $0x20,-0x104(%ebp)
40e8c9:	eb 1f                	jmp    0x40e8ea
40e8cb:	0f b6 51 01          	movzbl 0x1(%ecx),%edx
40e8cf:	0f b6 c0             	movzbl %al,%eax
40e8d2:	eb 0d                	jmp    0x40e8e1
40e8d4:	3b c6                	cmp    %esi,%eax
40e8d6:	73 0d                	jae    0x40e8e5
40e8d8:	c6 84 05 fc fe ff ff 	movb   $0x20,-0x104(%ebp,%eax,1)
40e8df:	20
40e8e0:	40                   	inc    %eax
40e8e1:	3b c2                	cmp    %edx,%eax
40e8e3:	76 ef                	jbe    0x40e8d4
40e8e5:	83 c1 02             	add    $0x2,%ecx
40e8e8:	8a 01                	mov    (%ecx),%al
40e8ea:	84 c0                	test   %al,%al
40e8ec:	75 dd                	jne    0x40e8cb
40e8ee:	53                   	push   %ebx
40e8ef:	ff 77 04             	push   0x4(%edi)
40e8f2:	8d 85 fc f8 ff ff    	lea    -0x704(%ebp),%eax
40e8f8:	50                   	push   %eax
40e8f9:	56                   	push   %esi
40e8fa:	8d 85 fc fe ff ff    	lea    -0x104(%ebp),%eax
40e900:	50                   	push   %eax
40e901:	6a 01                	push   $0x1
40e903:	53                   	push   %ebx
40e904:	e8 54 13 00 00       	call   0x40fc5d
40e909:	53                   	push   %ebx
40e90a:	ff 77 04             	push   0x4(%edi)
40e90d:	8d 85 fc fd ff ff    	lea    -0x204(%ebp),%eax
40e913:	56                   	push   %esi
40e914:	50                   	push   %eax
40e915:	56                   	push   %esi
40e916:	8d 85 fc fe ff ff    	lea    -0x104(%ebp),%eax
40e91c:	50                   	push   %eax
40e91d:	56                   	push   %esi
40e91e:	ff b7 1c 02 00 00    	push   0x21c(%edi)
40e924:	53                   	push   %ebx
40e925:	e8 d5 64 00 00       	call   0x414dff
40e92a:	83 c4 40             	add    $0x40,%esp
40e92d:	8d 85 fc fc ff ff    	lea    -0x304(%ebp),%eax
40e933:	53                   	push   %ebx
40e934:	ff 77 04             	push   0x4(%edi)
40e937:	56                   	push   %esi
40e938:	50                   	push   %eax
40e939:	56                   	push   %esi
40e93a:	8d 85 fc fe ff ff    	lea    -0x104(%ebp),%eax
40e940:	50                   	push   %eax
40e941:	68 00 02 00 00       	push   $0x200
40e946:	ff b7 1c 02 00 00    	push   0x21c(%edi)
40e94c:	53                   	push   %ebx
40e94d:	e8 ad 64 00 00       	call   0x414dff
40e952:	83 c4 24             	add    $0x24,%esp
40e955:	8d 47 19             	lea    0x19(%edi),%eax
40e958:	8b cb                	mov    %ebx,%ecx
40e95a:	0f b7 94 4d fc f8 ff 	movzwl -0x704(%ebp,%ecx,2),%edx
40e961:	ff
40e962:	f6 c2 01             	test   $0x1,%dl
40e965:	74 0c                	je     0x40e973
40e967:	80 08 10             	orb    $0x10,(%eax)
40e96a:	8a 94 0d fc fd ff ff 	mov    -0x204(%ebp,%ecx,1),%dl
40e971:	eb 13                	jmp    0x40e986
40e973:	f6 c2 02             	test   $0x2,%dl
40e976:	74 0c                	je     0x40e984
40e978:	80 08 20             	orb    $0x20,(%eax)
40e97b:	8a 94 0d fc fc ff ff 	mov    -0x304(%ebp,%ecx,1),%dl
40e982:	eb 02                	jmp    0x40e986
40e984:	8a d3                	mov    %bl,%dl
40e986:	41                   	inc    %ecx
40e987:	88 90 00 01 00 00    	mov    %dl,0x100(%eax)
40e98d:	40                   	inc    %eax
40e98e:	83 ee 01             	sub    $0x1,%esi
40e991:	75 c7                	jne    0x40e95a
40e993:	eb 62                	jmp    0x40e9f7
40e995:	6a a6                	push   $0xffffffa6
40e997:	58                   	pop    %eax
40e998:	6a 86                	push   $0xffffff86
40e99a:	5a                   	pop    %edx
40e99b:	2b d7                	sub    %edi,%edx
40e99d:	8d 4f 19             	lea    0x19(%edi),%ecx
40e9a0:	89 95 e4 f8 ff ff    	mov    %edx,-0x71c(%ebp)
40e9a6:	2b c7                	sub    %edi,%eax
40e9a8:	6a e7                	push   $0xffffffe7
40e9aa:	5a                   	pop    %edx
40e9ab:	2b d7                	sub    %edi,%edx
40e9ad:	89 85 e0 f8 ff ff    	mov    %eax,-0x720(%ebp)
40e9b3:	8b bd e4 f8 ff ff    	mov    -0x71c(%ebp),%edi
40e9b9:	33 db                	xor    %ebx,%ebx
40e9bb:	be 00 01 00 00       	mov    $0x100,%esi
40e9c0:	03 c1                	add    %ecx,%eax
40e9c2:	83 f8 19             	cmp    $0x19,%eax
40e9c5:	77 08                	ja     0x40e9cf
40e9c7:	80 09 10             	orb    $0x10,(%ecx)
40e9ca:	8d 41 20             	lea    0x20(%ecx),%eax
40e9cd:	eb 0e                	jmp    0x40e9dd
40e9cf:	8d 04 0f             	lea    (%edi,%ecx,1),%eax
40e9d2:	83 f8 19             	cmp    $0x19,%eax
40e9d5:	77 0a                	ja     0x40e9e1
40e9d7:	80 09 20             	orb    $0x20,(%ecx)
40e9da:	8d 41 e0             	lea    -0x20(%ecx),%eax
40e9dd:	02 c2                	add    %dl,%al
40e9df:	eb 02                	jmp    0x40e9e3
40e9e1:	8a c3                	mov    %bl,%al
40e9e3:	88 81 00 01 00 00    	mov    %al,0x100(%ecx)
40e9e9:	41                   	inc    %ecx
40e9ea:	8d 04 11             	lea    (%ecx,%edx,1),%eax
40e9ed:	3b c6                	cmp    %esi,%eax
40e9ef:	8b 85 e0 f8 ff ff    	mov    -0x720(%ebp),%eax
40e9f5:	72 c9                	jb     0x40e9c0
40e9f7:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e9fa:	5f                   	pop    %edi
40e9fb:	5e                   	pop    %esi
40e9fc:	33 cd                	xor    %ebp,%ecx
40e9fe:	5b                   	pop    %ebx
40e9ff:	e8 c4 56 ff ff       	call   0x4040c8
40ea04:	c9                   	leave
40ea05:	c3                   	ret
40ea06:	8b ff                	mov    %edi,%edi
40ea08:	53                   	push   %ebx
40ea09:	8b dc                	mov    %esp,%ebx
40ea0b:	51                   	push   %ecx
40ea0c:	51                   	push   %ecx
40ea0d:	83 e4 f8             	and    $0xfffffff8,%esp