40f4d6:	6a 0c                	push   $0xc
40f4d8:	68 b0 46 42 00       	push   $0x4246b0
40f4dd:	e8 d2 06 00 00       	call   0x40fbb4
40f4e2:	8b 06                	mov    (%esi),%eax
40f4e4:	b9 01 01 00 00       	mov    $0x101,%ecx
40f4e9:	51                   	push   %ecx
40f4ea:	8b 00                	mov    (%eax),%eax
40f4ec:	8b 40 48             	mov    0x48(%eax),%eax
40f4ef:	83 c0 18             	add    $0x18,%eax
40f4f2:	50                   	push   %eax
40f4f3:	51                   	push   %ecx
40f4f4:	68 98 33 42 00       	push   $0x423398
40f4f9:	e8 b6 06 00 00       	call   0x40fbb4
40f4fe:	8b 06                	mov    (%esi),%eax
40f500:	b9 00 01 00 00       	mov    $0x100,%ecx
40f505:	51                   	push   %ecx
40f506:	8b 00                	mov    (%eax),%eax
40f508:	8b 40 48             	mov    0x48(%eax),%eax
40f50b:	05 19 01 00 00       	add    $0x119,%eax
40f510:	50                   	push   %eax
40f511:	51                   	push   %ecx
40f512:	68 a0 34 42 00       	push   $0x4234a0
40f517:	e8 98 06 00 00       	call   0x40fbb4
40f51c:	a1 c0 37 42 00       	mov    0x4237c0,%eax
40f521:	83 c4 30             	add    $0x30,%esp
40f524:	83 c9 ff             	or     $0xffffffff,%ecx
40f527:	f0 0f c1 08          	lock xadd %ecx,(%eax)
40f52b:	75 13                	jne    0x40f540
40f52d:	a1 c0 37 42 00       	mov    0x4237c0,%eax
40f532:	3d a0 35 42 00       	cmp    $0x4235a0,%eax
40f537:	74 07                	je     0x40f540
40f539:	50                   	push   %eax
40f53a:	e8 e5 a2 ff ff       	call   0x409824
40f53f:	59                   	pop    %ecx
40f540:	8b 06                	mov    (%esi),%eax
40f542:	8b 00                	mov    (%eax),%eax
40f544:	8b 40 48             	mov    0x48(%eax),%eax
40f547:	a3 c0 37 42 00       	mov    %eax,0x4237c0
40f54c:	8b 06                	mov    (%esi),%eax
40f54e:	8b 00                	mov    (%eax),%eax
40f550:	8b 40 48             	mov    0x48(%eax),%eax
40f553:	f0 ff 00             	lock incl (%eax)
40f556:	5e                   	pop    %esi
40f557:	c3                   	ret
40f558:	8b ff                	mov    %edi,%edi
40f55a:	55                   	push   %ebp
40f55b:	8b ec                	mov    %esp,%ebp
40f55d:	8b 45 08             	mov    0x8(%ebp),%eax
40f560:	2d a4 03 00 00       	sub    $0x3a4,%eax
40f565:	74 28                	je     0x40f58f
40f567:	83 e8 04             	sub    $0x4,%eax
40f56a:	74 1c                	je     0x40f588
40f56c:	83 e8 0d             	sub    $0xd,%eax
40f56f:	74 10                	je     0x40f581
40f571:	83 e8 01             	sub    $0x1,%eax
40f574:	74 04                	je     0x40f57a
40f576:	33 c0                	xor    %eax,%eax
40f578:	5d                   	pop    %ebp
40f579:	c3                   	ret
40f57a:	a1 a8 ca 41 00       	mov    0x41caa8,%eax
40f57f:	5d                   	pop    %ebp
40f580:	c3                   	ret
40f581:	a1 a4 ca 41 00       	mov    0x41caa4,%eax
40f586:	5d                   	pop    %ebp
40f587:	c3                   	ret
40f588:	a1 a0 ca 41 00       	mov    0x41caa0,%eax
40f58d:	5d                   	pop    %ebp
40f58e:	c3                   	ret
40f58f:	a1 9c ca 41 00       	mov    0x41ca9c,%eax
40f594:	5d                   	pop    %ebp
40f595:	c3                   	ret
40f596:	8b ff                	mov    %edi,%edi
40f598:	55                   	push   %ebp
40f599:	8b ec                	mov    %esp,%ebp
40f59b:	83 ec 10             	sub    $0x10,%esp
40f59e:	8d 4d f0             	lea    -0x10(%ebp),%ecx
40f5a1:	6a 00                	push   $0x0
40f5a3:	e8 09 61 ff ff       	call   0x4056b1
40f5a8:	83 25 bc 46 42 00 00 	andl   $0x0,0x4246bc
40f5af:	8b 45 08             	mov    0x8(%ebp),%eax
40f5b2:	83 f8 fe             	cmp    $0xfffffffe,%eax
40f5b5:	75 12                	jne    0x40f5c9
40f5b7:	c7 05 bc 46 42 00 01 	movl   $0x1,0x4246bc
40f5be:	00 00 00
40f5c1:	ff 15 7c b1 41 00    	call   *0x41b17c
40f5c7:	eb 2c                	jmp    0x40f5f5
40f5c9:	83 f8 fd             	cmp    $0xfffffffd,%eax
40f5cc:	75 12                	jne    0x40f5e0
40f5ce:	c7 05 bc 46 42 00 01 	movl   $0x1,0x4246bc
40f5d5:	00 00 00
40f5d8:	ff 15 44 b1 41 00    	call   *0x41b144
40f5de:	eb 15                	jmp    0x40f5f5
40f5e0:	83 f8 fc             	cmp    $0xfffffffc,%eax
40f5e3:	75 10                	jne    0x40f5f5
40f5e5:	8b 45 f4             	mov    -0xc(%ebp),%eax
40f5e8:	c7 05 bc 46 42 00 01 	movl   $0x1,0x4246bc
40f5ef:	00 00 00
40f5f2:	8b 40 08             	mov    0x8(%eax),%eax
40f5f5:	80 7d fc 00          	cmpb   $0x0,-0x4(%ebp)
40f5f9:	74 0a                	je     0x40f605
40f5fb:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40f5fe:	83 a1 50 03 00 00 fd 	andl   $0xfffffffd,0x350(%ecx)
40f605:	8b e5                	mov    %ebp,%esp
40f607:	5d                   	pop    %ebp
40f608:	c3                   	ret
40f609:	8b ff                	mov    %edi,%edi
40f60b:	55                   	push   %ebp
40f60c:	8b ec                	mov    %esp,%ebp
40f60e:	53                   	push   %ebx
40f60f:	8b 5d 08             	mov    0x8(%ebp),%ebx
40f612:	56                   	push   %esi
40f613:	57                   	push   %edi
40f614:	68 01 01 00 00       	push   $0x101
40f619:	33 ff                	xor    %edi,%edi
40f61b:	8d 73 18             	lea    0x18(%ebx),%esi
40f61e:	57                   	push   %edi
40f61f:	56                   	push   %esi
40f620:	e8 3b 54 ff ff       	call   0x404a60
40f625:	89 7b 04             	mov    %edi,0x4(%ebx)
40f628:	33 c0                	xor    %eax,%eax
40f62a:	89 7b 08             	mov    %edi,0x8(%ebx)
40f62d:	83 c4 0c             	add    $0xc,%esp
40f630:	89 bb 1c 02 00 00    	mov    %edi,0x21c(%ebx)
40f636:	b9 01 01 00 00       	mov    $0x101,%ecx
40f63b:	8d 7b 0c             	lea    0xc(%ebx),%edi
40f63e:	ab                   	stos   %eax,%es:(%edi)
40f63f:	ab                   	stos   %eax,%es:(%edi)
40f640:	ab                   	stos   %eax,%es:(%edi)
40f641:	bf a0 35 42 00       	mov    $0x4235a0,%edi
40f646:	2b fb                	sub    %ebx,%edi
40f648:	8a 04 37             	mov    (%edi,%esi,1),%al
40f64b:	88 06                	mov    %al,(%esi)
40f64d:	46                   	inc    %esi
40f64e:	83 e9 01             	sub    $0x1,%ecx
40f651:	75 f5                	jne    0x40f648
40f653:	8d 8b 19 01 00 00    	lea    0x119(%ebx),%ecx
40f659:	ba 00 01 00 00       	mov    $0x100,%edx
40f65e:	8a 04 39             	mov    (%ecx,%edi,1),%al
40f661:	88 01                	mov    %al,(%ecx)
40f663:	41                   	inc    %ecx
40f664:	83 ea 01             	sub    $0x1,%edx
40f667:	75 f5                	jne    0x40f65e
40f669:	5f                   	pop    %edi
40f66a:	5e                   	pop    %esi
40f66b:	5b                   	pop    %ebx
40f66c:	5d                   	pop    %ebp
40f66d:	c3                   	ret
40f66e:	8b ff                	mov    %edi,%edi
40f670:	55                   	push   %ebp
40f671:	8b ec                	mov    %esp,%ebp
40f673:	81 ec 20 07 00 00    	sub    $0x720,%esp
40f679:	a1 0c 30 42 00       	mov    0x42300c,%eax
40f67e:	33 c5                	xor    %ebp,%eax
40f680:	89 45 fc             	mov    %eax,-0x4(%ebp)
40f683:	53                   	push   %ebx
40f684:	56                   	push   %esi
40f685:	8b 75 08             	mov    0x8(%ebp),%esi
40f688:	8d 85 e8 f8 ff ff    	lea    -0x718(%ebp),%eax
40f68e:	57                   	push   %edi
40f68f:	50                   	push   %eax
40f690:	ff 76 04             	push   0x4(%esi)
40f693:	ff 15 80 b1 41 00    	call   *0x41b180
40f699:	33 db                	xor    %ebx,%ebx
40f69b:	bf 00 01 00 00       	mov    $0x100,%edi
40f6a0:	85 c0                	test   %eax,%eax
40f6a2:	0f 84 f0 00 00 00    	je     0x40f798
40f6a8:	8b c3                	mov    %ebx,%eax
40f6aa:	88 84 05 fc fe ff ff 	mov    %al,-0x104(%ebp,%eax,1)
40f6b1:	40                   	inc    %eax
40f6b2:	3b c7                	cmp    %edi,%eax
40f6b4:	72 f4                	jb     0x40f6aa
40f6b6:	8a 85 ee f8 ff ff    	mov    -0x712(%ebp),%al
40f6bc:	8d 8d ee f8 ff ff    	lea    -0x712(%ebp),%ecx
40f6c2:	c6 85 fc fe ff ff 20 	movb   $0x20,-0x104(%ebp)
40f6c9:	eb 1f                	jmp    0x40f6ea
40f6cb:	0f b6 51 01          	movzbl 0x1(%ecx),%edx
40f6cf:	0f b6 c0             	movzbl %al,%eax
40f6d2:	eb 0d                	jmp    0x40f6e1
40f6d4:	3b c7                	cmp    %edi,%eax
40f6d6:	73 0d                	jae    0x40f6e5
40f6d8:	c6 84 05 fc fe ff ff 	movb   $0x20,-0x104(%ebp,%eax,1)
40f6df:	20
40f6e0:	40                   	inc    %eax
40f6e1:	3b c2                	cmp    %edx,%eax
40f6e3:	76 ef                	jbe    0x40f6d4
40f6e5:	83 c1 02             	add    $0x2,%ecx
40f6e8:	8a 01                	mov    (%ecx),%al
40f6ea:	84 c0                	test   %al,%al
40f6ec:	75 dd                	jne    0x40f6cb
40f6ee:	53                   	push   %ebx
40f6ef:	ff 76 04             	push   0x4(%esi)
40f6f2:	8d 85 fc f8 ff ff    	lea    -0x704(%ebp),%eax
40f6f8:	50                   	push   %eax
40f6f9:	57                   	push   %edi
40f6fa:	8d 85 fc fe ff ff    	lea    -0x104(%ebp),%eax
40f700:	50                   	push   %eax
40f701:	6a 01                	push   $0x1
40f703:	53                   	push   %ebx
40f704:	e8 2f 15 00 00       	call   0x410c38
40f709:	53                   	push   %ebx
40f70a:	ff 76 04             	push   0x4(%esi)
40f70d:	8d 85 fc fd ff ff    	lea    -0x204(%ebp),%eax
40f713:	57                   	push   %edi
40f714:	50                   	push   %eax
40f715:	57                   	push   %edi
40f716:	8d 85 fc fe ff ff    	lea    -0x104(%ebp),%eax
40f71c:	50                   	push   %eax
40f71d:	57                   	push   %edi
40f71e:	ff b6 1c 02 00 00    	push   0x21c(%esi)
40f724:	53                   	push   %ebx
40f725:	e8 23 23 00 00       	call   0x411a4d
40f72a:	83 c4 40             	add    $0x40,%esp
40f72d:	8d 85 fc fc ff ff    	lea    -0x304(%ebp),%eax
40f733:	53                   	push   %ebx
40f734:	ff 76 04             	push   0x4(%esi)
40f737:	57                   	push   %edi
40f738:	50                   	push   %eax
40f739:	57                   	push   %edi
40f73a:	8d 85 fc fe ff ff    	lea    -0x104(%ebp),%eax
40f740:	50                   	push   %eax
40f741:	68 00 02 00 00       	push   $0x200
40f746:	ff b6 1c 02 00 00    	push   0x21c(%esi)
40f74c:	53                   	push   %ebx
40f74d:	e8 fb 22 00 00       	call   0x411a4d
40f752:	83 c4 24             	add    $0x24,%esp
40f755:	8b cb                	mov    %ebx,%ecx
40f757:	0f b7 84 4d fc f8 ff 	movzwl -0x704(%ebp,%ecx,2),%eax
40f75e:	ff
40f75f:	a8 01                	test   $0x1,%al
40f761:	74 0e                	je     0x40f771
40f763:	80 4c 0e 19 10       	orb    $0x10,0x19(%esi,%ecx,1)
40f768:	8a 84 0d fc fd ff ff 	mov    -0x204(%ebp,%ecx,1),%al
40f76f:	eb 10                	jmp    0x40f781
40f771:	a8 02                	test   $0x2,%al
40f773:	74 15                	je     0x40f78a
40f775:	80 4c 0e 19 20       	orb    $0x20,0x19(%esi,%ecx,1)
40f77a:	8a 84 0d fc fc ff ff 	mov    -0x304(%ebp,%ecx,1),%al
40f781:	88 84 0e 19 01 00 00 	mov    %al,0x119(%esi,%ecx,1)
40f788:	eb 07                	jmp    0x40f791
40f78a:	88 9c 0e 19 01 00 00 	mov    %bl,0x119(%esi,%ecx,1)
40f791:	41                   	inc    %ecx
40f792:	3b cf                	cmp    %edi,%ecx
40f794:	72 c1                	jb     0x40f757
40f796:	eb 59                	jmp    0x40f7f1
40f798:	6a 9f                	push   $0xffffff9f
40f79a:	8d 96 19 01 00 00    	lea    0x119(%esi),%edx
40f7a0:	8b cb                	mov    %ebx,%ecx
40f7a2:	58                   	pop    %eax
40f7a3:	2b c2                	sub    %edx,%eax
40f7a5:	89 85 e0 f8 ff ff    	mov    %eax,-0x720(%ebp)
40f7ab:	03 d1                	add    %ecx,%edx
40f7ad:	03 c2                	add    %edx,%eax
40f7af:	89 85 e4 f8 ff ff    	mov    %eax,-0x71c(%ebp)
40f7b5:	83 c0 20             	add    $0x20,%eax
40f7b8:	83 f8 19             	cmp    $0x19,%eax
40f7bb:	77 0a                	ja     0x40f7c7
40f7bd:	80 4c 0e 19 10       	orb    $0x10,0x19(%esi,%ecx,1)
40f7c2:	8d 41 20             	lea    0x20(%ecx),%eax
40f7c5:	eb 13                	jmp    0x40f7da
40f7c7:	83 bd e4 f8 ff ff 19 	cmpl   $0x19,-0x71c(%ebp)
40f7ce:	77 0e                	ja     0x40f7de
40f7d0:	8d 04 0e             	lea    (%esi,%ecx,1),%eax
40f7d3:	80 48 19 20          	orb    $0x20,0x19(%eax)
40f7d7:	8d 41 e0             	lea    -0x20(%ecx),%eax
40f7da:	88 02                	mov    %al,(%edx)
40f7dc:	eb 02                	jmp    0x40f7e0
40f7de:	88 1a                	mov    %bl,(%edx)
40f7e0:	8b 85 e0 f8 ff ff    	mov    -0x720(%ebp),%eax
40f7e6:	8d 96 19 01 00 00    	lea    0x119(%esi),%edx
40f7ec:	41                   	inc    %ecx
40f7ed:	3b cf                	cmp    %edi,%ecx
40f7ef:	72 ba                	jb     0x40f7ab
40f7f1:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40f7f4:	5f                   	pop    %edi
40f7f5:	5e                   	pop    %esi
40f7f6:	33 cd                	xor    %ebp,%ecx
40f7f8:	5b                   	pop    %ebx
40f7f9:	e8 58 37 ff ff       	call   0x402f56
40f7fe:	8b e5                	mov    %ebp,%esp
40f800:	5d                   	pop    %ebp
40f801:	c3                   	ret
40f802:	8b ff                	mov    %edi,%edi
40f804:	55                   	push   %ebp
40f805:	8b ec                	mov    %esp,%ebp
40f807:	83 ec 0c             	sub    $0xc,%esp
40f80a:	e8 13 b2 ff ff       	call   0x40aa22
40f80f:	89 45 fc             	mov    %eax,-0x4(%ebp)
40f812:	e8 0a 01 00 00       	call   0x40f921
40f817:	ff 75 08             	push   0x8(%ebp)
40f81a:	e8 77 fd ff ff       	call   0x40f596
40f81f:	59                   	pop    %ecx
40f820:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40f823:	89 45 f4             	mov    %eax,-0xc(%ebp)
40f826:	8b 49 48             	mov    0x48(%ecx),%ecx
40f829:	3b 41 04             	cmp    0x4(%ecx),%eax
40f82c:	75 04                	jne    0x40f832
40f82e:	33 c0                	xor    %eax,%eax
40f830:	eb 53                	jmp    0x40f885
40f832:	53                   	push   %ebx
40f833:	56                   	push   %esi
40f834:	57                   	push   %edi
40f835:	68 20 02 00 00       	push   $0x220
40f83a:	e8 1f a0 ff ff       	call   0x40985e
40f83f:	8b f8                	mov    %eax,%edi
40f841:	83 cb ff             	or     $0xffffffff,%ebx
40f844:	59                   	pop    %ecx
40f845:	85 ff                	test   %edi,%edi
40f847:	74 2e                	je     0x40f877
40f849:	8b 75 fc             	mov    -0x4(%ebp),%esi
40f84c:	b9 88 00 00 00       	mov    $0x88,%ecx
40f851:	8b 76 48             	mov    0x48(%esi),%esi
40f854:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)
40f856:	8b f8                	mov    %eax,%edi
40f858:	57                   	push   %edi
40f859:	ff 75 f4             	push   -0xc(%ebp)
40f85c:	83 27 00             	andl   $0x0,(%edi)
40f85f:	e8 5f 01 00 00       	call   0x40f9c3
40f864:	8b f0                	mov    %eax,%esi
40f866:	59                   	pop    %ecx
40f867:	59                   	pop    %ecx
40f868:	3b f3                	cmp    %ebx,%esi
40f86a:	75 1d                	jne    0x40f889
40f86c:	e8 96 84 ff ff       	call   0x407d07
40f871:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40f877:	8b f3                	mov    %ebx,%esi
40f879:	57                   	push   %edi
40f87a:	e8 a5 9f ff ff       	call   0x409824
40f87f:	59                   	pop    %ecx
40f880:	5f                   	pop    %edi
40f881:	8b c6                	mov    %esi,%eax
40f883:	5e                   	pop    %esi
40f884:	5b                   	pop    %ebx
40f885:	8b e5                	mov    %ebp,%esp
40f887:	5d                   	pop    %ebp
40f888:	c3                   	ret
40f889:	80 7d 0c 00          	cmpb   $0x0,0xc(%ebp)
40f88d:	75 05                	jne    0x40f894
40f88f:	e8 e6 9c ff ff       	call   0x40957a
40f894:	8b 45 fc             	mov    -0x4(%ebp),%eax
40f897:	8b 40 48             	mov    0x48(%eax),%eax
40f89a:	f0 0f c1 18          	lock xadd %ebx,(%eax)
40f89e:	4b                   	dec    %ebx
40f89f:	75 15                	jne    0x40f8b6
40f8a1:	8b 45 fc             	mov    -0x4(%ebp),%eax
40f8a4:	81 78 48 a0 35 42 00 	cmpl   $0x4235a0,0x48(%eax)
40f8ab:	74 09                	je     0x40f8b6
40f8ad:	ff 70 48             	push   0x48(%eax)
40f8b0:	e8 6f 9f ff ff       	call   0x409824
40f8b5:	59                   	pop    %ecx
40f8b6:	c7 07 01 00 00 00    	movl   $0x1,(%edi)