40a3be:	68 24 25 42 00       	push   $0x422524
40a3c3:	8d 4d ff             	lea    -0x1(%ebp),%ecx
40a3c6:	e8 54 00 00 00       	call   0x40a41f
40a3cb:	b0 01                	mov    $0x1,%al
40a3cd:	c9                   	leave
40a3ce:	c3                   	ret
40a3cf:	8b ff                	mov    %edi,%edi
40a3d1:	56                   	push   %esi
40a3d2:	ff 35 ac 23 42 00    	push   0x4223ac
40a3d8:	e8 c2 03 00 00       	call   0x40a79f
40a3dd:	ff 35 b0 23 42 00    	push   0x4223b0
40a3e3:	33 f6                	xor    %esi,%esi
40a3e5:	89 35 ac 23 42 00    	mov    %esi,0x4223ac
40a3eb:	e8 af 03 00 00       	call   0x40a79f
40a3f0:	ff 35 88 20 42 00    	push   0x422088
40a3f6:	89 35 b0 23 42 00    	mov    %esi,0x4223b0
40a3fc:	e8 9e 03 00 00       	call   0x40a79f
40a401:	ff 35 8c 20 42 00    	push   0x42208c
40a407:	89 35 88 20 42 00    	mov    %esi,0x422088
40a40d:	e8 8d 03 00 00       	call   0x40a79f
40a412:	83 c4 10             	add    $0x10,%esp
40a415:	89 35 8c 20 42 00    	mov    %esi,0x42208c
40a41b:	b0 01                	mov    $0x1,%al
40a41d:	5e                   	pop    %esi
40a41e:	c3                   	ret
40a41f:	8b ff                	mov    %edi,%edi
40a421:	55                   	push   %ebp
40a422:	8b ec                	mov    %esp,%ebp
40a424:	56                   	push   %esi
40a425:	8b 75 08             	mov    0x8(%ebp),%esi
40a428:	83 c9 ff             	or     $0xffffffff,%ecx
40a42b:	8b 06                	mov    (%esi),%eax
40a42d:	f0 0f c1 08          	lock xadd %ecx,(%eax)
40a431:	75 15                	jne    0x40a448
40a433:	57                   	push   %edi
40a434:	bf f0 12 42 00       	mov    $0x4212f0,%edi
40a439:	39 3e                	cmp    %edi,(%esi)
40a43b:	74 0a                	je     0x40a447
40a43d:	ff 36                	push   (%esi)
40a43f:	e8 5b 03 00 00       	call   0x40a79f
40a444:	59                   	pop    %ecx
40a445:	89 3e                	mov    %edi,(%esi)
40a447:	5f                   	pop    %edi
40a448:	5e                   	pop    %esi
40a449:	5d                   	pop    %ebp
40a44a:	c2 04 00             	ret    $0x4
40a44d:	68 18 a3 41 00       	push   $0x41a318
40a452:	68 98 a2 41 00       	push   $0x41a298
40a457:	e8 44 5d 00 00       	call   0x4101a0
40a45c:	59                   	pop    %ecx
40a45d:	59                   	pop    %ecx
40a45e:	c3                   	ret
40a45f:	8b ff                	mov    %edi,%edi
40a461:	55                   	push   %ebp
40a462:	8b ec                	mov    %esp,%ebp
40a464:	80 7d 08 00          	cmpb   $0x0,0x8(%ebp)
40a468:	74 12                	je     0x40a47c
40a46a:	83 3d 40 1e 42 00 00 	cmpl   $0x0,0x421e40
40a471:	74 05                	je     0x40a478
40a473:	e8 10 0b 00 00       	call   0x40af88
40a478:	b0 01                	mov    $0x1,%al
40a47a:	5d                   	pop    %ebp
40a47b:	c3                   	ret
40a47c:	68 18 a3 41 00       	push   $0x41a318
40a481:	68 98 a2 41 00       	push   $0x41a298
40a486:	e8 7d 5d 00 00       	call   0x410208
40a48b:	59                   	pop    %ecx
40a48c:	59                   	pop    %ecx
40a48d:	5d                   	pop    %ebp
40a48e:	c3                   	ret
40a48f:	8b ff                	mov    %edi,%edi
40a491:	55                   	push   %ebp
40a492:	8b ec                	mov    %esp,%ebp
40a494:	8b 4d 10             	mov    0x10(%ebp),%ecx
40a497:	8b 45 0c             	mov    0xc(%ebp),%eax
40a49a:	81 e1 ff ff f7 ff    	and    $0xfff7ffff,%ecx
40a4a0:	23 c1                	and    %ecx,%eax
40a4a2:	56                   	push   %esi
40a4a3:	8b 75 08             	mov    0x8(%ebp),%esi
40a4a6:	a9 e0 fc f0 fc       	test   $0xfcf0fce0,%eax
40a4ab:	74 24                	je     0x40a4d1
40a4ad:	85 f6                	test   %esi,%esi
40a4af:	74 0d                	je     0x40a4be
40a4b1:	6a 00                	push   $0x0
40a4b3:	6a 00                	push   $0x0
40a4b5:	e8 0d 62 00 00       	call   0x4106c7
40a4ba:	59                   	pop    %ecx
40a4bb:	59                   	pop    %ecx
40a4bc:	89 06                	mov    %eax,(%esi)
40a4be:	e8 6c 02 00 00       	call   0x40a72f
40a4c3:	6a 16                	push   $0x16
40a4c5:	5e                   	pop    %esi
40a4c6:	89 30                	mov    %esi,(%eax)
40a4c8:	e8 fc cf ff ff       	call   0x4074c9
40a4cd:	8b c6                	mov    %esi,%eax
40a4cf:	eb 1a                	jmp    0x40a4eb
40a4d1:	51                   	push   %ecx
40a4d2:	ff 75 0c             	push   0xc(%ebp)
40a4d5:	85 f6                	test   %esi,%esi
40a4d7:	74 09                	je     0x40a4e2
40a4d9:	e8 e9 61 00 00       	call   0x4106c7
40a4de:	89 06                	mov    %eax,(%esi)
40a4e0:	eb 05                	jmp    0x40a4e7
40a4e2:	e8 e0 61 00 00       	call   0x4106c7
40a4e7:	59                   	pop    %ecx
40a4e8:	59                   	pop    %ecx
40a4e9:	33 c0                	xor    %eax,%eax
40a4eb:	5e                   	pop    %esi
40a4ec:	5d                   	pop    %ebp
40a4ed:	c3                   	ret
40a4ee:	6a 08                	push   $0x8
40a4f0:	68 28 00 42 00       	push   $0x420028
40a4f5:	e8 a6 99 ff ff       	call   0x403ea0
40a4fa:	e8 ae 1e 00 00       	call   0x40c3ad
40a4ff:	8b 70 0c             	mov    0xc(%eax),%esi
40a502:	85 f6                	test   %esi,%esi
40a504:	74 1e                	je     0x40a524
40a506:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40a50a:	8b ce                	mov    %esi,%ecx
40a50c:	ff 15 54 91 41 00    	call   *0x419154
40a512:	ff d6                	call   *%esi
40a514:	eb 07                	jmp    0x40a51d
40a516:	33 c0                	xor    %eax,%eax
40a518:	40                   	inc    %eax
40a519:	c3                   	ret
40a51a:	8b 65 e8             	mov    -0x18(%ebp),%esp
40a51d:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40a524:	e8 01 00 00 00       	call   0x40a52a
40a529:	cc                   	int3
40a52a:	e8 dc 5d 00 00       	call   0x41030b
40a52f:	85 c0                	test   %eax,%eax
40a531:	74 08                	je     0x40a53b
40a533:	6a 16                	push   $0x16
40a535:	e8 16 5e 00 00       	call   0x410350
40a53a:	59                   	pop    %ecx
40a53b:	f6 05 d8 11 42 00 02 	testb  $0x2,0x4211d8
40a542:	74 22                	je     0x40a566
40a544:	6a 17                	push   $0x17
40a546:	ff 15 6c 90 41 00    	call   *0x41906c
40a54c:	85 c0                	test   %eax,%eax
40a54e:	74 05                	je     0x40a555
40a550:	6a 07                	push   $0x7
40a552:	59                   	pop    %ecx
40a553:	cd 29                	int    $0x29
40a555:	6a 01                	push   $0x1
40a557:	68 15 00 00 40       	push   $0x40000015
40a55c:	6a 03                	push   $0x3
40a55e:	e8 6a cd ff ff       	call   0x4072cd
40a563:	83 c4 0c             	add    $0xc,%esp
40a566:	6a 03                	push   $0x3
40a568:	e8 b5 f7 ff ff       	call   0x409d22
40a56d:	cc                   	int3
40a56e:	8b ff                	mov    %edi,%edi
40a570:	55                   	push   %ebp
40a571:	8b ec                	mov    %esp,%ebp
40a573:	8b 55 08             	mov    0x8(%ebp),%edx
40a576:	56                   	push   %esi
40a577:	57                   	push   %edi
40a578:	85 d2                	test   %edx,%edx
40a57a:	74 11                	je     0x40a58d
40a57c:	8b 4d 0c             	mov    0xc(%ebp),%ecx
40a57f:	85 c9                	test   %ecx,%ecx
40a581:	74 0a                	je     0x40a58d
40a583:	8b 75 10             	mov    0x10(%ebp),%esi
40a586:	85 f6                	test   %esi,%esi
40a588:	75 18                	jne    0x40a5a2
40a58a:	c6 02 00             	movb   $0x0,(%edx)
40a58d:	e8 9d 01 00 00       	call   0x40a72f
40a592:	6a 16                	push   $0x16
40a594:	5e                   	pop    %esi
40a595:	89 30                	mov    %esi,(%eax)
40a597:	e8 2d cf ff ff       	call   0x4074c9
40a59c:	5f                   	pop    %edi
40a59d:	8b c6                	mov    %esi,%eax
40a59f:	5e                   	pop    %esi
40a5a0:	5d                   	pop    %ebp
40a5a1:	c3                   	ret
40a5a2:	8b fa                	mov    %edx,%edi
40a5a4:	2b f2                	sub    %edx,%esi
40a5a6:	8a 04 3e             	mov    (%esi,%edi,1),%al
40a5a9:	88 07                	mov    %al,(%edi)
40a5ab:	47                   	inc    %edi
40a5ac:	84 c0                	test   %al,%al
40a5ae:	74 14                	je     0x40a5c4
40a5b0:	83 e9 01             	sub    $0x1,%ecx
40a5b3:	75 f1                	jne    0x40a5a6
40a5b5:	85 c9                	test   %ecx,%ecx
40a5b7:	75 0b                	jne    0x40a5c4
40a5b9:	88 0a                	mov    %cl,(%edx)
40a5bb:	e8 6f 01 00 00       	call   0x40a72f
40a5c0:	6a 22                	push   $0x22
40a5c2:	eb d0                	jmp    0x40a594
40a5c4:	33 f6                	xor    %esi,%esi
40a5c6:	eb d4                	jmp    0x40a59c
40a5c8:	8b ff                	mov    %edi,%edi
40a5ca:	55                   	push   %ebp
40a5cb:	8b ec                	mov    %esp,%ebp
40a5cd:	5d                   	pop    %ebp
40a5ce:	e9 6f 01 00 00       	jmp    0x40a742
40a5d3:	cc                   	int3
40a5d4:	cc                   	int3
40a5d5:	cc                   	int3
40a5d6:	cc                   	int3
40a5d7:	cc                   	int3
40a5d8:	cc                   	int3
40a5d9:	cc                   	int3
40a5da:	cc                   	int3
40a5db:	cc                   	int3
40a5dc:	cc                   	int3
40a5dd:	cc                   	int3
40a5de:	cc                   	int3
40a5df:	cc                   	int3
40a5e0:	53                   	push   %ebx
40a5e1:	56                   	push   %esi
40a5e2:	8b 4c 24 0c          	mov    0xc(%esp),%ecx
40a5e6:	8b 54 24 10          	mov    0x10(%esp),%edx
40a5ea:	8b 5c 24 14          	mov    0x14(%esp),%ebx
40a5ee:	f7 c3 ff ff ff ff    	test   $0xffffffff,%ebx
40a5f4:	74 50                	je     0x40a646
40a5f6:	2b ca                	sub    %edx,%ecx
40a5f8:	f7 c2 03 00 00 00    	test   $0x3,%edx
40a5fe:	74 17                	je     0x40a617
40a600:	0f b6 04 11          	movzbl (%ecx,%edx,1),%eax
40a604:	3a 02                	cmp    (%edx),%al
40a606:	75 48                	jne    0x40a650
40a608:	85 c0                	test   %eax,%eax
40a60a:	74 3a                	je     0x40a646
40a60c:	42                   	inc    %edx
40a60d:	83 eb 01             	sub    $0x1,%ebx
40a610:	76 34                	jbe    0x40a646
40a612:	f6 c2 03             	test   $0x3,%dl
40a615:	75 e9                	jne    0x40a600
40a617:	8d 04 11             	lea    (%ecx,%edx,1),%eax
40a61a:	25 ff 0f 00 00       	and    $0xfff,%eax
40a61f:	3d fc 0f 00 00       	cmp    $0xffc,%eax
40a624:	77 da                	ja     0x40a600
40a626:	8b 04 11             	mov    (%ecx,%edx,1),%eax
40a629:	3b 02                	cmp    (%edx),%eax
40a62b:	75 d3                	jne    0x40a600
40a62d:	83 eb 04             	sub    $0x4,%ebx
40a630:	76 14                	jbe    0x40a646
40a632:	8d b0 ff fe fe fe    	lea    -0x1010101(%eax),%esi
40a638:	83 c2 04             	add    $0x4,%edx
40a63b:	f7 d0                	not    %eax
40a63d:	23 c6                	and    %esi,%eax
40a63f:	a9 80 80 80 80       	test   $0x80808080,%eax
40a644:	74 d1                	je     0x40a617
40a646:	33 c0                	xor    %eax,%eax
40a648:	5e                   	pop    %esi
40a649:	5b                   	pop    %ebx
40a64a:	c3                   	ret
40a64b:	eb 03                	jmp    0x40a650
40a64d:	cc                   	int3
40a64e:	cc                   	int3
40a64f:	cc                   	int3
40a650:	1b c0                	sbb    %eax,%eax
40a652:	83 c8 01             	or     $0x1,%eax
40a655:	5e                   	pop    %esi
40a656:	5b                   	pop    %ebx
40a657:	c3                   	ret
40a658:	8b ff                	mov    %edi,%edi
40a65a:	55                   	push   %ebp
40a65b:	8b ec                	mov    %esp,%ebp
40a65d:	8b 45 10             	mov    0x10(%ebp),%eax
40a660:	85 c0                	test   %eax,%eax
40a662:	75 02                	jne    0x40a666
40a664:	5d                   	pop    %ebp
40a665:	c3                   	ret
40a666:	8b 4d 0c             	mov    0xc(%ebp),%ecx
40a669:	8b 55 08             	mov    0x8(%ebp),%edx
40a66c:	56                   	push   %esi
40a66d:	83 e8 01             	sub    $0x1,%eax
40a670:	74 15                	je     0x40a687
40a672:	0f b7 32             	movzwl (%edx),%esi
40a675:	66 85 f6             	test   %si,%si
40a678:	74 0d                	je     0x40a687
40a67a:	66 3b 31             	cmp    (%ecx),%si
40a67d:	75 08                	jne    0x40a687
40a67f:	83 c2 02             	add    $0x2,%edx
40a682:	83 c1 02             	add    $0x2,%ecx
40a685:	eb e6                	jmp    0x40a66d
40a687:	0f b7 02             	movzwl (%edx),%eax
40a68a:	0f b7 09             	movzwl (%ecx),%ecx
40a68d:	2b c1                	sub    %ecx,%eax
40a68f:	5e                   	pop    %esi
40a690:	5d                   	pop    %ebp
40a691:	c3                   	ret
40a692:	8b ff                	mov    %edi,%edi
40a694:	55                   	push   %ebp
40a695:	8b ec                	mov    %esp,%ebp
40a697:	8b 4d 08             	mov    0x8(%ebp),%ecx
40a69a:	33 c0                	xor    %eax,%eax
40a69c:	3b 0c c5 18 a3 41 00 	cmp    0x41a318(,%eax,8),%ecx
40a6a3:	74 27                	je     0x40a6cc
40a6a5:	40                   	inc    %eax
40a6a6:	83 f8 2d             	cmp    $0x2d,%eax
40a6a9:	72 f1                	jb     0x40a69c
40a6ab:	8d 41 ed             	lea    -0x13(%ecx),%eax
40a6ae:	83 f8 11             	cmp    $0x11,%eax
40a6b1:	77 05                	ja     0x40a6b8
40a6b3:	6a 0d                	push   $0xd
40a6b5:	58                   	pop    %eax
40a6b6:	5d                   	pop    %ebp
40a6b7:	c3                   	ret
40a6b8:	8d 81 44 ff ff ff    	lea    -0xbc(%ecx),%eax
40a6be:	6a 0e                	push   $0xe
40a6c0:	59                   	pop    %ecx
40a6c1:	3b c8                	cmp    %eax,%ecx
40a6c3:	1b c0                	sbb    %eax,%eax
40a6c5:	23 c1                	and    %ecx,%eax
40a6c7:	83 c0 08             	add    $0x8,%eax
40a6ca:	5d                   	pop    %ebp
40a6cb:	c3                   	ret
40a6cc:	8b 04 c5 1c a3 41 00 	mov    0x41a31c(,%eax,8),%eax
40a6d3:	5d                   	pop    %ebp
40a6d4:	c3                   	ret
40a6d5:	8b ff                	mov    %edi,%edi
40a6d7:	55                   	push   %ebp
40a6d8:	8b ec                	mov    %esp,%ebp
40a6da:	56                   	push   %esi
40a6db:	e8 3c 00 00 00       	call   0x40a71c
40a6e0:	8b 4d 08             	mov    0x8(%ebp),%ecx
40a6e3:	51                   	push   %ecx
40a6e4:	89 08                	mov    %ecx,(%eax)
40a6e6:	e8 a7 ff ff ff       	call   0x40a692
40a6eb:	59                   	pop    %ecx
40a6ec:	8b f0                	mov    %eax,%esi
40a6ee:	e8 3c 00 00 00       	call   0x40a72f
40a6f3:	89 30                	mov    %esi,(%eax)
40a6f5:	5e                   	pop    %esi
40a6f6:	5d                   	pop    %ebp
40a6f7:	c3                   	ret
40a6f8:	8b ff                	mov    %edi,%edi
40a6fa:	55                   	push   %ebp
40a6fb:	8b ec                	mov    %esp,%ebp
40a6fd:	8b 45 08             	mov    0x8(%ebp),%eax
40a700:	56                   	push   %esi
40a701:	8b 75 0c             	mov    0xc(%ebp),%esi
40a704:	50                   	push   %eax
40a705:	c6 46 24 01          	movb   $0x1,0x24(%esi)
40a709:	89 46 20             	mov    %eax,0x20(%esi)
40a70c:	e8 81 ff ff ff       	call   0x40a692
40a711:	59                   	pop    %ecx
40a712:	c6 46 1c 01          	movb   $0x1,0x1c(%esi)
40a716:	89 46 18             	mov    %eax,0x18(%esi)
40a719:	5e                   	pop    %esi
40a71a:	5d                   	pop    %ebp
40a71b:	c3                   	ret
40a71c:	e8 dd 1d 00 00       	call   0x40c4fe
40a721:	85 c0                	test   %eax,%eax