407354:	74 06                	je     0x40735c
407356:	56                   	push   %esi
407357:	e8 a4 fc ff ff       	call   0x407000
40735c:	8b 8c 24 24 02 00 00 	mov    0x224(%esp),%ecx
407363:	8b c7                	mov    %edi,%eax
407365:	5f                   	pop    %edi
407366:	5e                   	pop    %esi
407367:	5b                   	pop    %ebx
407368:	33 cc                	xor    %esp,%ecx
40736a:	e8 01 a5 01 00       	call   0x421870
40736f:	8b e5                	mov    %ebp,%esp
407371:	5d                   	pop    %ebp
407372:	c2 08 00             	ret    $0x8
407375:	8b ff                	mov    %edi,%edi
407377:	55                   	push   %ebp
407378:	8b ec                	mov    %esp,%ebp
40737a:	83 ec 0c             	sub    $0xc,%esp
40737d:	8b 55 08             	mov    0x8(%ebp),%edx
407380:	8b 45 0c             	mov    0xc(%ebp),%eax
407383:	53                   	push   %ebx
407384:	56                   	push   %esi
407385:	57                   	push   %edi
407386:	8b f9                	mov    %ecx,%edi
407388:	33 f6                	xor    %esi,%esi
40738a:	33 c9                	xor    %ecx,%ecx
40738c:	46                   	inc    %esi
40738d:	89 47 04             	mov    %eax,0x4(%edi)
407390:	8b 42 04             	mov    0x4(%edx),%eax
407393:	89 47 08             	mov    %eax,0x8(%edi)
407396:	89 4f 0c             	mov    %ecx,0xc(%edi)
407399:	66 8b 42 20          	mov    0x20(%edx),%ax
40739d:	66 89 47 10          	mov    %ax,0x10(%edi)
4073a1:	8a 02                	mov    (%edx),%al
4073a3:	88 47 12             	mov    %al,0x12(%edi)
4073a6:	8d 47 14             	lea    0x14(%edi),%eax
4073a9:	89 08                	mov    %ecx,(%eax)
4073ab:	89 45 f8             	mov    %eax,-0x8(%ebp)
4073ae:	8b 42 48             	mov    0x48(%edx),%eax
4073b1:	89 47 18             	mov    %eax,0x18(%edi)
4073b4:	8b 42 4c             	mov    0x4c(%edx),%eax
4073b7:	89 47 1c             	mov    %eax,0x1c(%edi)
4073ba:	8d 47 20             	lea    0x20(%edi),%eax
4073bd:	89 08                	mov    %ecx,(%eax)
4073bf:	8b 4a 1c             	mov    0x1c(%edx),%ecx
4073c2:	89 45 f4             	mov    %eax,-0xc(%ebp)
4073c5:	85 c9                	test   %ecx,%ecx
4073c7:	75 05                	jne    0x4073ce
4073c9:	89 75 fc             	mov    %esi,-0x4(%ebp)
4073cc:	eb 12                	jmp    0x4073e0
4073ce:	8d 59 01             	lea    0x1(%ecx),%ebx
4073d1:	8a 01                	mov    (%ecx),%al
4073d3:	41                   	inc    %ecx
4073d4:	84 c0                	test   %al,%al
4073d6:	75 f9                	jne    0x4073d1
4073d8:	2b cb                	sub    %ebx,%ecx
4073da:	8d 41 01             	lea    0x1(%ecx),%eax
4073dd:	89 45 fc             	mov    %eax,-0x4(%ebp)
4073e0:	8b 4a 44             	mov    0x44(%edx),%ecx
4073e3:	85 c9                	test   %ecx,%ecx
4073e5:	74 0f                	je     0x4073f6
4073e7:	8d 71 01             	lea    0x1(%ecx),%esi
4073ea:	8a 01                	mov    (%ecx),%al
4073ec:	41                   	inc    %ecx
4073ed:	84 c0                	test   %al,%al
4073ef:	75 f9                	jne    0x4073ea
4073f1:	2b ce                	sub    %esi,%ecx
4073f3:	8d 71 01             	lea    0x1(%ecx),%esi
4073f6:	8b 4a 0c             	mov    0xc(%edx),%ecx
4073f9:	e8 fe f6 ff ff       	call   0x406afc
4073fe:	8d 1c 06             	lea    (%esi,%eax,1),%ebx
407401:	03 5d fc             	add    -0x4(%ebp),%ebx
407404:	83 7f 24 00          	cmpl   $0x0,0x24(%edi)
407408:	74 05                	je     0x40740f
40740a:	39 5f 28             	cmp    %ebx,0x28(%edi)
40740d:	73 2d                	jae    0x40743c
40740f:	6a 08                	push   $0x8
407411:	8b d3                	mov    %ebx,%edx
407413:	59                   	pop    %ecx
407414:	e8 20 f4 ff ff       	call   0x406839
407419:	89 45 fc             	mov    %eax,-0x4(%ebp)
40741c:	85 c0                	test   %eax,%eax
40741e:	74 1c                	je     0x40743c
407420:	8b 77 24             	mov    0x24(%edi),%esi
407423:	ff 15 7c 60 42 00    	call   *0x42607c
407429:	56                   	push   %esi
40742a:	6a 00                	push   $0x0
40742c:	50                   	push   %eax
40742d:	ff 15 a4 61 42 00    	call   *0x4261a4
407433:	8b 45 fc             	mov    -0x4(%ebp),%eax
407436:	89 47 24             	mov    %eax,0x24(%edi)
407439:	89 5f 28             	mov    %ebx,0x28(%edi)
40743c:	8b 4f 24             	mov    0x24(%edi),%ecx
40743f:	85 c9                	test   %ecx,%ecx
407441:	74 42                	je     0x407485
407443:	8b 77 28             	mov    0x28(%edi),%esi
407446:	8d 47 0c             	lea    0xc(%edi),%eax
407449:	8b 7d 08             	mov    0x8(%ebp),%edi
40744c:	03 f1                	add    %ecx,%esi
40744e:	50                   	push   %eax
40744f:	8b d6                	mov    %esi,%edx
407451:	ff 77 1c             	push   0x1c(%edi)
407454:	e8 dd 37 00 00       	call   0x40ac36
407459:	ff 75 f8             	push   -0x8(%ebp)
40745c:	8b d6                	mov    %esi,%edx
40745e:	8b c8                	mov    %eax,%ecx
407460:	ff 77 44             	push   0x44(%edi)
407463:	e8 ce 37 00 00       	call   0x40ac36
407468:	ff 75 f4             	push   -0xc(%ebp)
40746b:	8b d6                	mov    %esi,%edx
40746d:	8b c8                	mov    %eax,%ecx
40746f:	ff 77 0c             	push   0xc(%edi)
407472:	e8 51 37 00 00       	call   0x40abc8
407477:	2b f0                	sub    %eax,%esi
407479:	56                   	push   %esi
40747a:	6a 00                	push   $0x0
40747c:	50                   	push   %eax
40747d:	e8 c6 b3 01 00       	call   0x422848
407482:	83 c4 0c             	add    $0xc,%esp
407485:	5f                   	pop    %edi
407486:	5e                   	pop    %esi
407487:	5b                   	pop    %ebx
407488:	c9                   	leave
407489:	c2 08 00             	ret    $0x8
40748c:	8b ff                	mov    %edi,%edi
40748e:	55                   	push   %ebp
40748f:	8b ec                	mov    %esp,%ebp
407491:	51                   	push   %ecx
407492:	51                   	push   %ecx
407493:	56                   	push   %esi
407494:	57                   	push   %edi
407495:	8b f9                	mov    %ecx,%edi
407497:	89 7d f8             	mov    %edi,-0x8(%ebp)
40749a:	0f b7 47 14          	movzwl 0x14(%edi),%eax
40749e:	8b 77 10             	mov    0x10(%edi),%esi
4074a1:	6b c0 2c             	imul   $0x2c,%eax,%eax
4074a4:	03 c6                	add    %esi,%eax
4074a6:	3b f0                	cmp    %eax,%esi
4074a8:	74 2f                	je     0x4074d9
4074aa:	53                   	push   %ebx
4074ab:	8d 5e 24             	lea    0x24(%esi),%ebx
4074ae:	8b f8                	mov    %eax,%edi
4074b0:	8b 33                	mov    (%ebx),%esi
4074b2:	ff 15 7c 60 42 00    	call   *0x42607c
4074b8:	56                   	push   %esi
4074b9:	33 f6                	xor    %esi,%esi
4074bb:	56                   	push   %esi
4074bc:	50                   	push   %eax
4074bd:	ff 15 a4 61 42 00    	call   *0x4261a4
4074c3:	89 33                	mov    %esi,(%ebx)
4074c5:	8d 5b 2c             	lea    0x2c(%ebx),%ebx
4074c8:	89 73 d8             	mov    %esi,-0x28(%ebx)
4074cb:	8d 43 dc             	lea    -0x24(%ebx),%eax
4074ce:	3b c7                	cmp    %edi,%eax
4074d0:	75 de                	jne    0x4074b0
4074d2:	8b 7d f8             	mov    -0x8(%ebp),%edi
4074d5:	5b                   	pop    %ebx
4074d6:	8b 77 10             	mov    0x10(%edi),%esi
4074d9:	ff 15 7c 60 42 00    	call   *0x42607c
4074df:	56                   	push   %esi
4074e0:	6a 00                	push   $0x0
4074e2:	50                   	push   %eax
4074e3:	ff 15 a4 61 42 00    	call   *0x4261a4
4074e9:	33 c0                	xor    %eax,%eax
4074eb:	21 47 10             	and    %eax,0x10(%edi)
4074ee:	89 47 14             	mov    %eax,0x14(%edi)
4074f1:	5f                   	pop    %edi
4074f2:	5e                   	pop    %esi
4074f3:	c9                   	leave
4074f4:	c3                   	ret
4074f5:	8b ff                	mov    %edi,%edi
4074f7:	55                   	push   %ebp
4074f8:	8b ec                	mov    %esp,%ebp
4074fa:	53                   	push   %ebx
4074fb:	56                   	push   %esi
4074fc:	8b f1                	mov    %ecx,%esi
4074fe:	57                   	push   %edi
4074ff:	6a 2c                	push   $0x2c
407501:	5f                   	pop    %edi
407502:	8b 56 10             	mov    0x10(%esi),%edx
407505:	8b 5e 0c             	mov    0xc(%esi),%ebx
407508:	85 d2                	test   %edx,%edx
40750a:	75 49                	jne    0x407555
40750c:	85 db                	test   %ebx,%ebx
40750e:	0f 84 a1 00 00 00    	je     0x4075b5
407514:	6a 08                	push   $0x8
407516:	ba dc 00 00 00       	mov    $0xdc,%edx
40751b:	59                   	pop    %ecx
40751c:	e8 18 f3 ff ff       	call   0x406839
407521:	8b d0                	mov    %eax,%edx
407523:	89 56 10             	mov    %edx,0x10(%esi)
407526:	85 d2                	test   %edx,%edx
407528:	0f 84 87 00 00 00    	je     0x4075b5
40752e:	6a 05                	push   $0x5
407530:	58                   	pop    %eax
407531:	66 89 46 14          	mov    %ax,0x14(%esi)
407535:	33 c0                	xor    %eax,%eax
407537:	66 89 46 16          	mov    %ax,0x16(%esi)
40753b:	8d 82 dc 00 00 00    	lea    0xdc(%edx),%eax
407541:	3b d0                	cmp    %eax,%edx
407543:	74 0c                	je     0x407551
407545:	66 89 3a             	mov    %di,(%edx)
407548:	03 d7                	add    %edi,%edx
40754a:	3b d0                	cmp    %eax,%edx
40754c:	75 f7                	jne    0x407545
40754e:	8b 56 10             	mov    0x10(%esi),%edx
407551:	85 d2                	test   %edx,%edx
407553:	74 60                	je     0x4075b5
407555:	85 db                	test   %ebx,%ebx
407557:	8b fa                	mov    %edx,%edi
407559:	8b 5d 08             	mov    0x8(%ebp),%ebx
40755c:	74 2c                	je     0x40758a
40755e:	0f b7 46 14          	movzwl 0x14(%esi),%eax
407562:	6b c8 2c             	imul   $0x2c,%eax,%ecx
407565:	03 ca                	add    %edx,%ecx
407567:	3b d1                	cmp    %ecx,%edx
407569:	74 1f                	je     0x40758a
40756b:	8b 7e 0c             	mov    0xc(%esi),%edi
40756e:	83 c2 08             	add    $0x8,%edx
407571:	39 7a fc             	cmp    %edi,-0x4(%edx)
407574:	76 07                	jbe    0x40757d
407576:	8b 02                	mov    (%edx),%eax
407578:	3b 43 04             	cmp    0x4(%ebx),%eax
40757b:	74 38                	je     0x4075b5
40757d:	83 c2 2c             	add    $0x2c,%edx
407580:	8d 42 f8             	lea    -0x8(%edx),%eax
407583:	3b c1                	cmp    %ecx,%eax
407585:	75 ea                	jne    0x407571
407587:	8b 7e 10             	mov    0x10(%esi),%edi
40758a:	0f b7 46 16          	movzwl 0x16(%esi),%eax
40758e:	33 d2                	xor    %edx,%edx
407590:	0f b7 4e 14          	movzwl 0x14(%esi),%ecx
407594:	40                   	inc    %eax
407595:	f7 f1                	div    %ecx
407597:	0f b7 c2             	movzwl %dx,%eax
40759a:	33 d2                	xor    %edx,%edx
40759c:	6b c8 2c             	imul   $0x2c,%eax,%ecx
40759f:	42                   	inc    %edx
4075a0:	66 89 46 16          	mov    %ax,0x16(%esi)
4075a4:	8b 46 08             	mov    0x8(%esi),%eax
4075a7:	03 cf                	add    %edi,%ecx
4075a9:	f0 0f c1 10          	lock xadd %edx,(%eax)
4075ad:	42                   	inc    %edx
4075ae:	52                   	push   %edx
4075af:	53                   	push   %ebx
4075b0:	e8 c0 fd ff ff       	call   0x407375
4075b5:	5f                   	pop    %edi
4075b6:	5e                   	pop    %esi
4075b7:	5b                   	pop    %ebx
4075b8:	5d                   	pop    %ebp
4075b9:	c2 04 00             	ret    $0x4
4075bc:	8b ff                	mov    %edi,%edi
4075be:	55                   	push   %ebp
4075bf:	8b ec                	mov    %esp,%ebp
4075c1:	51                   	push   %ecx
4075c2:	53                   	push   %ebx
4075c3:	56                   	push   %esi
4075c4:	57                   	push   %edi
4075c5:	8b 3d 98 4c 42 00    	mov    0x424c98,%edi
4075cb:	33 db                	xor    %ebx,%ebx
4075cd:	8b f3                	mov    %ebx,%esi
4075cf:	85 ff                	test   %edi,%edi
4075d1:	74 60                	je     0x407633
4075d3:	39 5f 04             	cmp    %ebx,0x4(%edi)
4075d6:	75 1c                	jne    0x4075f4
4075d8:	8b 0f                	mov    (%edi),%ecx
4075da:	8d 55 fc             	lea    -0x4(%ebp),%edx
4075dd:	89 5d fc             	mov    %ebx,-0x4(%ebp)
4075e0:	e8 6c 30 00 00       	call   0x40a651
4075e5:	85 c0                	test   %eax,%eax
4075e7:	78 0b                	js     0x4075f4
4075e9:	39 5f 04             	cmp    %ebx,0x4(%edi)
4075ec:	75 06                	jne    0x4075f4
4075ee:	8b 45 fc             	mov    -0x4(%ebp),%eax
4075f1:	89 47 04             	mov    %eax,0x4(%edi)
4075f4:	8b 7f 04             	mov    0x4(%edi),%edi
4075f7:	8d 47 10             	lea    0x10(%edi),%eax
4075fa:	f7 df                	neg    %edi
4075fc:	1b ff                	sbb    %edi,%edi
4075fe:	23 f8                	and    %eax,%edi
407600:	74 31                	je     0x407633
407602:	ff 15 7c 61 42 00    	call   *0x42617c
407608:	6a 0a                	push   $0xa
40760a:	5e                   	pop    %esi
40760b:	33 d2                	xor    %edx,%edx
40760d:	8b c8                	mov    %eax,%ecx
40760f:	f7 f6                	div    %esi
407611:	8b 74 97 08          	mov    0x8(%edi,%edx,4),%esi
407615:	eb 07                	jmp    0x40761e
407617:	39 0e                	cmp    %ecx,(%esi)
407619:	74 1f                	je     0x40763a
40761b:	8b 76 04             	mov    0x4(%esi),%esi
40761e:	85 f6                	test   %esi,%esi
407620:	75 f5                	jne    0x407617
407622:	8b f3                	mov    %ebx,%esi
407624:	85 f6                	test   %esi,%esi
407626:	74 0b                	je     0x407633
407628:	39 5e 08             	cmp    %ebx,0x8(%esi)
40762b:	75 06                	jne    0x407633
40762d:	8d 4f 04             	lea    0x4(%edi),%ecx
407630:	89 4e 08             	mov    %ecx,0x8(%esi)
407633:	5f                   	pop    %edi
407634:	8b c6                	mov    %esi,%eax
407636:	5e                   	pop    %esi
407637:	5b                   	pop    %ebx
407638:	c9                   	leave
407639:	c3                   	ret
40763a:	83 c6 08             	add    $0x8,%esi
40763d:	eb e5                	jmp    0x407624
40763f:	8b ff                	mov    %edi,%edi
407641:	55                   	push   %ebp
407642:	8b ec                	mov    %esp,%ebp
407644:	51                   	push   %ecx
407645:	53                   	push   %ebx
407646:	8b 5d 08             	mov    0x8(%ebp),%ebx
407649:	32 c0                	xor    %al,%al
40764b:	56                   	push   %esi
40764c:	57                   	push   %edi
40764d:	8b f2                	mov    %edx,%esi
40764f:	8b f9                	mov    %ecx,%edi
407651:	89 7d fc             	mov    %edi,-0x4(%ebp)
407654:	c6 03 00             	movb   $0x0,(%ebx)
407657:	85 f6                	test   %esi,%esi
407659:	0f 84 99 00 00 00    	je     0x4076f8
40765f:	ff 75 0c             	push   0xc(%ebp)
407662:	8b 56 08             	mov    0x8(%esi),%edx
407665:	53                   	push   %ebx
407666:	e8 d4 ff ff ff       	call   0x40763f
40766b:	8b 56 10             	mov    0x10(%esi),%edx
40766e:	85 d2                	test   %edx,%edx
407670:	0f 84 82 00 00 00    	je     0x4076f8
407676:	83 3a 00             	cmpl   $0x0,(%edx)
407679:	75 0e                	jne    0x407689
40767b:	33 c0                	xor    %eax,%eax
40767d:	40                   	inc    %eax
40767e:	f0 0f c1 05 20 42 42 	lock xadd %eax,0x424220
407685:	00
407686:	40                   	inc    %eax
407687:	89 02                	mov    %eax,(%edx)
407689:	83 7f 2c 00          	cmpl   $0x0,0x2c(%edi)
40768d:	75 0b                	jne    0x40769a
40768f:	8b f2                	mov    %edx,%esi
407691:	8d 7f 2c             	lea    0x2c(%edi),%edi
407694:	a5                   	movsl  %ds:(%esi),%es:(%edi)
407695:	a5                   	movsl  %ds:(%esi),%es:(%edi)
407696:	a5                   	movsl  %ds:(%esi),%es:(%edi)
407697:	8b 7d fc             	mov    -0x4(%ebp),%edi
40769a:	83 c7 38             	add    $0x38,%edi
40769d:	8b f2                	mov    %edx,%esi
40769f:	8b cb                	mov    %ebx,%ecx
4076a1:	a5                   	movsl  %ds:(%esi),%es:(%edi)