406457:	53                   	push   %ebx
406458:	e8 7e ff ff ff       	call   0x4063db
40645d:	84 c0                	test   %al,%al
40645f:	74 37                	je     0x406498
406461:	8b 46 14             	mov    0x14(%esi),%eax
406464:	83 f8 08             	cmp    $0x8,%eax
406467:	72 04                	jb     0x40646d
406469:	8b 0e                	mov    (%esi),%ecx
40646b:	eb 02                	jmp    0x40646f
40646d:	8b ce                	mov    %esi,%ecx
40646f:	85 db                	test   %ebx,%ebx
406471:	74 11                	je     0x406484
406473:	8d 04 1b             	lea    (%ebx,%ebx,1),%eax
406476:	50                   	push   %eax
406477:	57                   	push   %edi
406478:	51                   	push   %ecx
406479:	e8 a8 82 00 00       	call   0x40e726
40647e:	8b 46 14             	mov    0x14(%esi),%eax
406481:	83 c4 0c             	add    $0xc,%esp
406484:	89 5e 10             	mov    %ebx,0x10(%esi)
406487:	83 f8 08             	cmp    $0x8,%eax
40648a:	72 04                	jb     0x406490
40648c:	8b 06                	mov    (%esi),%eax
40648e:	eb 02                	jmp    0x406492
406490:	8b c6                	mov    %esi,%eax
406492:	33 c9                	xor    %ecx,%ecx
406494:	66 89 0c 58          	mov    %cx,(%eax,%ebx,2)
406498:	8b c6                	mov    %esi,%eax
40649a:	5b                   	pop    %ebx
40649b:	5f                   	pop    %edi
40649c:	5e                   	pop    %esi
40649d:	5d                   	pop    %ebp
40649e:	c2 08 00             	ret    $0x8
4064a1:	8b ff                	mov    %edi,%edi
4064a3:	55                   	push   %ebp
4064a4:	8b ec                	mov    %esp,%ebp
4064a6:	56                   	push   %esi
4064a7:	8b 75 08             	mov    0x8(%ebp),%esi
4064aa:	33 d2                	xor    %edx,%edx
4064ac:	57                   	push   %edi
4064ad:	8b f9                	mov    %ecx,%edi
4064af:	66 39 16             	cmp    %dx,(%esi)
4064b2:	74 18                	je     0x4064cc
4064b4:	8b ce                	mov    %esi,%ecx
4064b6:	53                   	push   %ebx
4064b7:	8d 59 02             	lea    0x2(%ecx),%ebx
4064ba:	66 8b 01             	mov    (%ecx),%ax
4064bd:	83 c1 02             	add    $0x2,%ecx
4064c0:	66 3b c2             	cmp    %dx,%ax
4064c3:	75 f5                	jne    0x4064ba
4064c5:	8b d1                	mov    %ecx,%edx
4064c7:	2b d3                	sub    %ebx,%edx
4064c9:	d1 fa                	sar    $1,%edx
4064cb:	5b                   	pop    %ebx
4064cc:	52                   	push   %edx
4064cd:	56                   	push   %esi
4064ce:	8b cf                	mov    %edi,%ecx
4064d0:	e8 4b ff ff ff       	call   0x406420
4064d5:	5f                   	pop    %edi
4064d6:	5e                   	pop    %esi
4064d7:	5d                   	pop    %ebp
4064d8:	c2 04 00             	ret    $0x4
4064db:	83 79 14 08          	cmpl   $0x8,0x14(%ecx)
4064df:	72 02                	jb     0x4064e3
4064e1:	8b 09                	mov    (%ecx),%ecx
4064e3:	8b c1                	mov    %ecx,%eax
4064e5:	c3                   	ret
4064e6:	6a 00                	push   $0x0
4064e8:	6a 01                	push   $0x1
4064ea:	e8 01 00 00 00       	call   0x4064f0
4064ef:	c3                   	ret
4064f0:	8b ff                	mov    %edi,%edi
4064f2:	55                   	push   %ebp
4064f3:	8b ec                	mov    %esp,%ebp
4064f5:	80 7d 08 00          	cmpb   $0x0,0x8(%ebp)
4064f9:	56                   	push   %esi
4064fa:	57                   	push   %edi
4064fb:	8b 7d 0c             	mov    0xc(%ebp),%edi
4064fe:	8b f1                	mov    %ecx,%esi
406500:	74 24                	je     0x406526
406502:	83 7e 14 08          	cmpl   $0x8,0x14(%esi)
406506:	72 1e                	jb     0x406526
406508:	53                   	push   %ebx
406509:	8b 1e                	mov    (%esi),%ebx
40650b:	85 ff                	test   %edi,%edi
40650d:	74 0e                	je     0x40651d
40650f:	8d 04 3f             	lea    (%edi,%edi,1),%eax
406512:	50                   	push   %eax
406513:	53                   	push   %ebx
406514:	56                   	push   %esi
406515:	e8 0c 82 00 00       	call   0x40e726
40651a:	83 c4 0c             	add    $0xc,%esp
40651d:	53                   	push   %ebx
40651e:	ff 15 e4 21 41 00    	call   *0x4121e4
406524:	59                   	pop    %ecx
406525:	5b                   	pop    %ebx
406526:	89 7e 10             	mov    %edi,0x10(%esi)
406529:	33 c0                	xor    %eax,%eax
40652b:	c7 46 14 07 00 00 00 	movl   $0x7,0x14(%esi)
406532:	66 89 04 7e          	mov    %ax,(%esi,%edi,2)
406536:	5f                   	pop    %edi
406537:	5e                   	pop    %esi
406538:	5d                   	pop    %ebp
406539:	c2 08 00             	ret    $0x8
40653c:	6a 0c                	push   $0xc
40653e:	b8 78 ec 40 00       	mov    $0x40ec78,%eax
406543:	e8 06 81 00 00       	call   0x40e64e
406548:	8b f9                	mov    %ecx,%edi
40654a:	33 c0                	xor    %eax,%eax
40654c:	89 45 e8             	mov    %eax,-0x18(%ebp)
40654f:	89 45 ec             	mov    %eax,-0x14(%ebp)
406552:	89 45 f0             	mov    %eax,-0x10(%ebp)
406555:	8b 55 08             	mov    0x8(%ebp),%edx
406558:	8d 4d e8             	lea    -0x18(%ebp),%ecx
40655b:	89 45 fc             	mov    %eax,-0x4(%ebp)
40655e:	e8 25 73 00 00       	call   0x40d888
406563:	83 7d e8 00          	cmpl   $0x0,-0x18(%ebp)
406567:	74 15                	je     0x40657e
406569:	8b 55 e8             	mov    -0x18(%ebp),%edx
40656c:	8b 4f 10             	mov    0x10(%edi),%ecx
40656f:	e8 a0 0d 00 00       	call   0x407314
406574:	ff 75 e8             	push   -0x18(%ebp)
406577:	ff 15 e4 21 41 00    	call   *0x4121e4
40657d:	59                   	pop    %ecx
40657e:	e8 99 80 00 00       	call   0x40e61c
406583:	c2 04 00             	ret    $0x4
406586:	8b ff                	mov    %edi,%edi
406588:	55                   	push   %ebp
406589:	8b ec                	mov    %esp,%ebp
40658b:	83 ec 0c             	sub    $0xc,%esp
40658e:	80 3d 04 17 41 00 00 	cmpb   $0x0,0x411704
406595:	8d 45 f4             	lea    -0xc(%ebp),%eax
406598:	6a 00                	push   $0x0
40659a:	66 c7 45 f8 ef bb    	movw   $0xbbef,-0x8(%ebp)
4065a0:	c6 45 fa bf          	movb   $0xbf,-0x6(%ebp)
4065a4:	66 c7 45 fc ff fe    	movw   $0xfeff,-0x4(%ebp)
4065aa:	50                   	push   %eax
4065ab:	75 13                	jne    0x4065c0
4065ad:	6a 03                	push   $0x3
4065af:	8d 45 f8             	lea    -0x8(%ebp),%eax
4065b2:	50                   	push   %eax
4065b3:	51                   	push   %ecx
4065b4:	ff 15 88 20 41 00    	call   *0x412088
4065ba:	85 c0                	test   %eax,%eax
4065bc:	74 0b                	je     0x4065c9
4065be:	eb 07                	jmp    0x4065c7
4065c0:	6a 02                	push   $0x2
4065c2:	8d 45 fc             	lea    -0x4(%ebp),%eax
4065c5:	eb eb                	jmp    0x4065b2
4065c7:	c9                   	leave
4065c8:	c3                   	ret
4065c9:	ff 15 70 20 41 00    	call   *0x412070
4065cf:	8b c8                	mov    %eax,%ecx
4065d1:	e8 b3 0f 00 00       	call   0x407589
4065d6:	cc                   	int3
4065d7:	6a 18                	push   $0x18
4065d9:	b8 62 ed 40 00       	mov    $0x40ed62,%eax
4065de:	e8 6b 80 00 00       	call   0x40e64e
4065e3:	8b f9                	mov    %ecx,%edi
4065e5:	8b 75 08             	mov    0x8(%ebp),%esi
4065e8:	85 f6                	test   %esi,%esi
4065ea:	74 04                	je     0x4065f0
4065ec:	f0 ff 46 04          	lock incl 0x4(%esi)
4065f0:	8b 4f 08             	mov    0x8(%edi),%ecx
4065f3:	85 c9                	test   %ecx,%ecx
4065f5:	74 05                	je     0x4065fc
4065f7:	e8 37 fb ff ff       	call   0x406133
4065fc:	68 4c 24 40 00       	push   $0x40244c
406601:	68 5c 24 40 00       	push   $0x40245c
406606:	8b ce                	mov    %esi,%ecx
406608:	89 77 08             	mov    %esi,0x8(%edi)
40660b:	e8 63 ee ff ff       	call   0x405473
406610:	8b 4f 08             	mov    0x8(%edi),%ecx
406613:	68 60 24 40 00       	push   $0x402460
406618:	68 64 24 40 00       	push   $0x402464
40661d:	88 47 0c             	mov    %al,0xc(%edi)
406620:	e8 4e ee ff ff       	call   0x405473
406625:	a2 04 17 41 00       	mov    %al,0x411704
40662a:	8b 07                	mov    (%edi),%eax
40662c:	8b 70 04             	mov    0x4(%eax),%esi
40662f:	8b ce                	mov    %esi,%ecx
406631:	ff 15 10 22 41 00    	call   *0x412210
406637:	8b cf                	mov    %edi,%ecx
406639:	ff d6                	call   *%esi
40663b:	ff 77 10             	push   0x10(%edi)
40663e:	ff 15 8c 20 41 00    	call   *0x41208c
406644:	83 f8 02             	cmp    $0x2,%eax
406647:	75 15                	jne    0x40665e
406649:	8d 45 ec             	lea    -0x14(%ebp),%eax
40664c:	50                   	push   %eax
40664d:	ff 77 10             	push   0x10(%edi)
406650:	ff 15 54 20 41 00    	call   *0x412054
406656:	85 c0                	test   %eax,%eax
406658:	74 04                	je     0x40665e
40665a:	32 ff                	xor    %bh,%bh
40665c:	eb 02                	jmp    0x406660
40665e:	b7 01                	mov    $0x1,%bh
406660:	8b 4f 08             	mov    0x8(%edi),%ecx
406663:	8d 45 e8             	lea    -0x18(%ebp),%eax
406666:	6a 00                	push   $0x0
406668:	68 74 24 40 00       	push   $0x402474
40666d:	50                   	push   %eax
40666e:	8b 71 08             	mov    0x8(%ecx),%esi
406671:	32 db                	xor    %bl,%bl
406673:	e8 0f ed ff ff       	call   0x405387
406678:	39 30                	cmp    %esi,(%eax)
40667a:	74 3e                	je     0x4066ba
40667c:	8b 4f 08             	mov    0x8(%edi),%ecx
40667f:	8d 45 f3             	lea    -0xd(%ebp),%eax
406682:	50                   	push   %eax
406683:	68 7c 24 40 00       	push   $0x40247c
406688:	33 db                	xor    %ebx,%ebx
40668a:	53                   	push   %ebx
40668b:	68 74 24 40 00       	push   $0x402474
406690:	e8 b5 02 00 00       	call   0x40694a
406695:	53                   	push   %ebx
406696:	68 80 00 00 00       	push   $0x80
40669b:	6a 02                	push   $0x2
40669d:	53                   	push   %ebx
40669e:	6a 01                	push   $0x1
4066a0:	8b f0                	mov    %eax,%esi
4066a2:	68 00 00 00 40       	push   $0x40000000
4066a7:	56                   	push   %esi
4066a8:	ff 15 90 20 41 00    	call   *0x412090
4066ae:	89 47 10             	mov    %eax,0x10(%edi)
4066b1:	83 f8 ff             	cmp    $0xffffffff,%eax
4066b4:	74 46                	je     0x4066fc
4066b6:	b7 01                	mov    $0x1,%bh
4066b8:	8a df                	mov    %bh,%bl
4066ba:	8b 4f 10             	mov    0x10(%edi),%ecx
4066bd:	80 f3 01             	xor    $0x1,%bl
4066c0:	a1 98 20 41 00       	mov    0x412098,%eax
4066c5:	88 5d dc             	mov    %bl,-0x24(%ebp)
4066c8:	89 45 e0             	mov    %eax,-0x20(%ebp)
4066cb:	89 4d e4             	mov    %ecx,-0x1c(%ebp)
4066ce:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
4066d2:	84 ff                	test   %bh,%bh
4066d4:	74 05                	je     0x4066db
4066d6:	e8 ab fe ff ff       	call   0x406586
4066db:	8b 07                	mov    (%edi),%eax
4066dd:	8b 70 08             	mov    0x8(%eax),%esi
4066e0:	8b ce                	mov    %esi,%ecx
4066e2:	ff 15 10 22 41 00    	call   *0x412210
4066e8:	8b cf                	mov    %edi,%ecx
4066ea:	ff d6                	call   *%esi
4066ec:	8d 4d dc             	lea    -0x24(%ebp),%ecx
4066ef:	e8 6f f7 ff ff       	call   0x405e63
4066f4:	e8 23 7f 00 00       	call   0x40e61c
4066f9:	c2 04 00             	ret    $0x4
4066fc:	56                   	push   %esi
4066fd:	6a 02                	push   $0x2
4066ff:	ff 15 70 20 41 00    	call   *0x412070
406705:	50                   	push   %eax
406706:	e8 0a 0f 00 00       	call   0x407615
40670b:	cc                   	int3
40670c:	6a 7c                	push   $0x7c
40670e:	b8 9d ed 40 00       	mov    $0x40ed9d,%eax
406713:	e8 69 7f 00 00       	call   0x40e681
406718:	8b d9                	mov    %ecx,%ebx
40671a:	89 5d 88             	mov    %ebx,-0x78(%ebp)
40671d:	8b 4d 0c             	mov    0xc(%ebp),%ecx
406720:	33 c0                	xor    %eax,%eax
406722:	83 65 e8 00          	andl   $0x0,-0x18(%ebp)
406726:	6a 07                	push   $0x7
406728:	5a                   	pop    %edx
406729:	89 8d 7c ff ff ff    	mov    %ecx,-0x84(%ebp)
40672f:	89 55 ec             	mov    %edx,-0x14(%ebp)
406732:	66 89 45 d8          	mov    %ax,-0x28(%ebp)
406736:	21 45 fc             	and    %eax,-0x4(%ebp)
406739:	21 45 9c             	and    %eax,-0x64(%ebp)
40673c:	89 55 a0             	mov    %edx,-0x60(%ebp)
40673f:	66 89 45 8c          	mov    %ax,-0x74(%ebp)
406743:	40                   	inc    %eax
406744:	c6 45 fc 01          	movb   $0x1,-0x4(%ebp)
406748:	83 7d 08 01          	cmpl   $0x1,0x8(%ebp)
40674c:	89 45 84             	mov    %eax,-0x7c(%ebp)
40674f:	0f 8e bb 01 00 00    	jle    0x406910
406755:	6a 18                	push   $0x18
406757:	5f                   	pop    %edi
406758:	6a 3a                	push   $0x3a
40675a:	5e                   	pop    %esi
40675b:	89 75 80             	mov    %esi,-0x80(%ebp)
40675e:	8b 0c 81             	mov    (%ecx,%eax,4),%ecx
406761:	0f b7 01             	movzwl (%ecx),%eax
406764:	83 f8 2d             	cmp    $0x2d,%eax
406767:	0f 84 a9 00 00 00    	je     0x406816
40676d:	83 f8 2f             	cmp    $0x2f,%eax
406770:	0f 84 a0 00 00 00    	je     0x406816
406776:	83 65 d0 00          	andl   $0x0,-0x30(%ebp)
40677a:	33 c0                	xor    %eax,%eax
40677c:	51                   	push   %ecx
40677d:	8d 4d c0             	lea    -0x40(%ebp),%ecx
406780:	89 55 d4             	mov    %edx,-0x2c(%ebp)
406783:	66 89 45 c0          	mov    %ax,-0x40(%ebp)
406787:	e8 15 fd ff ff       	call   0x4064a1
40678c:	8d 73 10             	lea    0x10(%ebx),%esi
40678f:	c6 45 fc 03          	movb   $0x3,-0x4(%ebp)
406793:	8b 4e 04             	mov    0x4(%esi),%ecx
406796:	8d 45 c0             	lea    -0x40(%ebp),%eax
406799:	3b c1                	cmp    %ecx,%eax
40679b:	73 08                	jae    0x4067a5
40679d:	39 06                	cmp    %eax,(%esi)
40679f:	77 04                	ja     0x4067a5
4067a1:	b0 01                	mov    $0x1,%al
4067a3:	eb 02                	jmp    0x4067a7
4067a5:	32 c0                	xor    %al,%al
4067a7:	84 c0                	test   %al,%al
4067a9:	74 37                	je     0x4067e2
4067ab:	8b 3e                	mov    (%esi),%edi
4067ad:	8d 45 c0             	lea    -0x40(%ebp),%eax
4067b0:	2b c7                	sub    %edi,%eax
4067b2:	6a 18                	push   $0x18
4067b4:	5b                   	pop    %ebx
4067b5:	99                   	cltd
4067b6:	f7 fb                	idiv   %ebx
4067b8:	8b d8                	mov    %eax,%ebx
4067ba:	3b 4e 08             	cmp    0x8(%esi),%ecx
4067bd:	75 0d                	jne    0x4067cc
4067bf:	51                   	push   %ecx
4067c0:	8b ce                	mov    %esi,%ecx
4067c2:	e8 12 05 00 00       	call   0x406cd9
4067c7:	8b 3e                	mov    (%esi),%edi
4067c9:	8b 4e 04             	mov    0x4(%esi),%ecx
4067cc:	6b c3 18             	imul   $0x18,%ebx,%eax
4067cf:	03 c7                	add    %edi,%eax
4067d1:	50                   	push   %eax
4067d2:	e8 a6 0a 00 00       	call   0x40727d
4067d7:	8b 5d 88             	mov    -0x78(%ebp),%ebx
4067da:	6a 18                	push   $0x18
4067dc:	58                   	pop    %eax
4067dd:	01 46 04             	add    %eax,0x4(%esi)
4067e0:	eb 1c                	jmp    0x4067fe
4067e2:	3b 4e 08             	cmp    0x8(%esi),%ecx
4067e5:	75 0b                	jne    0x4067f2
4067e7:	51                   	push   %ecx
4067e8:	8b ce                	mov    %esi,%ecx
4067ea:	e8 ea 04 00 00       	call   0x406cd9
4067ef:	8b 4b 14             	mov    0x14(%ebx),%ecx
4067f2:	8d 45 c0             	lea    -0x40(%ebp),%eax
4067f5:	50                   	push   %eax
4067f6:	e8 82 0a 00 00       	call   0x40727d
4067fb:	01 7e 04             	add    %edi,0x4(%esi)
4067fe:	6a 00                	push   $0x0
406800:	6a 01                	push   $0x1
406802:	8d 4d c0             	lea    -0x40(%ebp),%ecx
406805:	c6 45 fc 01          	movb   $0x1,-0x4(%ebp)
406809:	e8 e2 fc ff ff       	call   0x4064f0
40680e:	6a 3a                	push   $0x3a
406810:	5e                   	pop    %esi
406811:	e9 de 00 00 00       	jmp    0x4068f4