40275f:	8a 01                	mov    (%ecx),%al
402761:	41                   	inc    %ecx
402762:	84 c0                	test   %al,%al
402764:	75 f9                	jne    0x40275f
402766:	2b ca                	sub    %edx,%ecx
402768:	8d 41 01             	lea    0x1(%ecx),%eax
40276b:	89 45 fc             	mov    %eax,-0x4(%ebp)
40276e:	8b 4b 0c             	mov    0xc(%ebx),%ecx
402771:	57                   	push   %edi
402772:	e8 9f f7 ff ff       	call   0x401f16
402777:	8b f8                	mov    %eax,%edi
402779:	03 7d fc             	add    -0x4(%ebp),%edi
40277c:	03 7d f8             	add    -0x8(%ebp),%edi
40277f:	83 7e 24 00          	cmpl   $0x0,0x24(%esi)
402783:	74 05                	je     0x40278a
402785:	39 7e 28             	cmp    %edi,0x28(%esi)
402788:	73 2c                	jae    0x4027b6
40278a:	6a 08                	push   $0x8
40278c:	8b d7                	mov    %edi,%edx
40278e:	59                   	pop    %ecx
40278f:	e8 18 f5 ff ff       	call   0x401cac
402794:	89 45 f8             	mov    %eax,-0x8(%ebp)
402797:	85 c0                	test   %eax,%eax
402799:	74 1b                	je     0x4027b6
40279b:	ff 76 24             	push   0x24(%esi)
40279e:	6a 00                	push   $0x0
4027a0:	ff 15 58 60 40 00    	call   *0x406058
4027a6:	50                   	push   %eax
4027a7:	ff 15 6c 60 40 00    	call   *0x40606c
4027ad:	8b 45 f8             	mov    -0x8(%ebp),%eax
4027b0:	89 46 24             	mov    %eax,0x24(%esi)
4027b3:	89 7e 28             	mov    %edi,0x28(%esi)
4027b6:	8b 4e 24             	mov    0x24(%esi),%ecx
4027b9:	5f                   	pop    %edi
4027ba:	85 c9                	test   %ecx,%ecx
4027bc:	74 3e                	je     0x4027fc
4027be:	8b 76 28             	mov    0x28(%esi),%esi
4027c1:	ff 75 f4             	push   -0xc(%ebp)
4027c4:	03 f1                	add    %ecx,%esi
4027c6:	ff 73 1c             	push   0x1c(%ebx)
4027c9:	8b d6                	mov    %esi,%edx
4027cb:	e8 5d 15 00 00       	call   0x403d2d
4027d0:	ff 75 f0             	push   -0x10(%ebp)
4027d3:	8b d6                	mov    %esi,%edx
4027d5:	8b c8                	mov    %eax,%ecx
4027d7:	ff 73 44             	push   0x44(%ebx)
4027da:	e8 4e 15 00 00       	call   0x403d2d
4027df:	ff 75 ec             	push   -0x14(%ebp)
4027e2:	8b d6                	mov    %esi,%edx
4027e4:	8b c8                	mov    %eax,%ecx
4027e6:	ff 73 0c             	push   0xc(%ebx)
4027e9:	e8 d5 14 00 00       	call   0x403cc3
4027ee:	2b f0                	sub    %eax,%esi
4027f0:	56                   	push   %esi
4027f1:	6a 00                	push   $0x0
4027f3:	50                   	push   %eax
4027f4:	e8 52 21 00 00       	call   0x40494b
4027f9:	83 c4 0c             	add    $0xc,%esp
4027fc:	5e                   	pop    %esi
4027fd:	5b                   	pop    %ebx
4027fe:	c9                   	leave
4027ff:	c2 08 00             	ret    $0x8
402802:	8b ff                	mov    %edi,%edi
402804:	53                   	push   %ebx
402805:	57                   	push   %edi
402806:	8b f9                	mov    %ecx,%edi
402808:	0f b7 47 14          	movzwl 0x14(%edi),%eax
40280c:	8b 4f 10             	mov    0x10(%edi),%ecx
40280f:	6b d8 2c             	imul   $0x2c,%eax,%ebx
402812:	03 d9                	add    %ecx,%ebx
402814:	3b cb                	cmp    %ebx,%ecx
402816:	74 2a                	je     0x402842
402818:	56                   	push   %esi
402819:	8d 71 24             	lea    0x24(%ecx),%esi
40281c:	ff 36                	push   (%esi)
40281e:	6a 00                	push   $0x0
402820:	ff 15 58 60 40 00    	call   *0x406058
402826:	50                   	push   %eax
402827:	ff 15 6c 60 40 00    	call   *0x40606c
40282d:	83 26 00             	andl   $0x0,(%esi)
402830:	8d 76 2c             	lea    0x2c(%esi),%esi
402833:	83 66 d8 00          	andl   $0x0,-0x28(%esi)
402837:	8d 46 dc             	lea    -0x24(%esi),%eax
40283a:	3b c3                	cmp    %ebx,%eax
40283c:	75 de                	jne    0x40281c
40283e:	8b 4f 10             	mov    0x10(%edi),%ecx
402841:	5e                   	pop    %esi
402842:	51                   	push   %ecx
402843:	6a 00                	push   $0x0
402845:	ff 15 58 60 40 00    	call   *0x406058
40284b:	50                   	push   %eax
40284c:	ff 15 6c 60 40 00    	call   *0x40606c
402852:	33 c0                	xor    %eax,%eax
402854:	21 47 10             	and    %eax,0x10(%edi)
402857:	89 47 14             	mov    %eax,0x14(%edi)
40285a:	5f                   	pop    %edi
40285b:	5b                   	pop    %ebx
40285c:	c3                   	ret
40285d:	8b ff                	mov    %edi,%edi
40285f:	55                   	push   %ebp
402860:	8b ec                	mov    %esp,%ebp
402862:	53                   	push   %ebx
402863:	56                   	push   %esi
402864:	8b f1                	mov    %ecx,%esi
402866:	57                   	push   %edi
402867:	6a 2c                	push   $0x2c
402869:	5b                   	pop    %ebx
40286a:	8b 56 10             	mov    0x10(%esi),%edx
40286d:	8b 7e 0c             	mov    0xc(%esi),%edi
402870:	85 d2                	test   %edx,%edx
402872:	75 49                	jne    0x4028bd
402874:	85 ff                	test   %edi,%edi
402876:	0f 84 9e 00 00 00    	je     0x40291a
40287c:	6a 08                	push   $0x8
40287e:	ba dc 00 00 00       	mov    $0xdc,%edx
402883:	59                   	pop    %ecx
402884:	e8 23 f4 ff ff       	call   0x401cac
402889:	8b d0                	mov    %eax,%edx
40288b:	89 56 10             	mov    %edx,0x10(%esi)
40288e:	85 d2                	test   %edx,%edx
402890:	0f 84 84 00 00 00    	je     0x40291a
402896:	6a 05                	push   $0x5
402898:	58                   	pop    %eax
402899:	66 89 46 14          	mov    %ax,0x14(%esi)
40289d:	33 c0                	xor    %eax,%eax
40289f:	66 89 46 16          	mov    %ax,0x16(%esi)
4028a3:	8d 82 dc 00 00 00    	lea    0xdc(%edx),%eax
4028a9:	3b d0                	cmp    %eax,%edx
4028ab:	74 0c                	je     0x4028b9
4028ad:	66 89 1a             	mov    %bx,(%edx)
4028b0:	03 d3                	add    %ebx,%edx
4028b2:	3b d0                	cmp    %eax,%edx
4028b4:	75 f7                	jne    0x4028ad
4028b6:	8b 56 10             	mov    0x10(%esi),%edx
4028b9:	85 d2                	test   %edx,%edx
4028bb:	74 5d                	je     0x40291a
4028bd:	85 ff                	test   %edi,%edi
4028bf:	8b 7d 08             	mov    0x8(%ebp),%edi
4028c2:	74 29                	je     0x4028ed
4028c4:	0f b7 46 14          	movzwl 0x14(%esi),%eax
4028c8:	6b c8 2c             	imul   $0x2c,%eax,%ecx
4028cb:	03 ca                	add    %edx,%ecx
4028cd:	3b d1                	cmp    %ecx,%edx
4028cf:	74 1c                	je     0x4028ed
4028d1:	8b 5e 0c             	mov    0xc(%esi),%ebx
4028d4:	83 c2 08             	add    $0x8,%edx
4028d7:	39 5a fc             	cmp    %ebx,-0x4(%edx)
4028da:	76 07                	jbe    0x4028e3
4028dc:	8b 02                	mov    (%edx),%eax
4028de:	3b 47 04             	cmp    0x4(%edi),%eax
4028e1:	74 37                	je     0x40291a
4028e3:	83 c2 2c             	add    $0x2c,%edx
4028e6:	8d 42 f8             	lea    -0x8(%edx),%eax
4028e9:	3b c1                	cmp    %ecx,%eax
4028eb:	75 ea                	jne    0x4028d7
4028ed:	0f b7 46 16          	movzwl 0x16(%esi),%eax
4028f1:	33 d2                	xor    %edx,%edx
4028f3:	0f b7 4e 14          	movzwl 0x14(%esi),%ecx
4028f7:	40                   	inc    %eax
4028f8:	f7 f1                	div    %ecx
4028fa:	8b 46 08             	mov    0x8(%esi),%eax
4028fd:	33 c9                	xor    %ecx,%ecx
4028ff:	66 89 56 16          	mov    %dx,0x16(%esi)
402903:	41                   	inc    %ecx
402904:	f0 0f c1 08          	lock xadd %ecx,(%eax)
402908:	41                   	inc    %ecx
402909:	0f b7 46 16          	movzwl 0x16(%esi),%eax
40290d:	51                   	push   %ecx
40290e:	6b c8 2c             	imul   $0x2c,%eax,%ecx
402911:	57                   	push   %edi
402912:	03 4e 10             	add    0x10(%esi),%ecx
402915:	e8 ce fd ff ff       	call   0x4026e8
40291a:	5f                   	pop    %edi
40291b:	5e                   	pop    %esi
40291c:	5b                   	pop    %ebx
40291d:	5d                   	pop    %ebp
40291e:	c2 04 00             	ret    $0x4
402921:	8b ff                	mov    %edi,%edi
402923:	55                   	push   %ebp
402924:	8b ec                	mov    %esp,%ebp
402926:	51                   	push   %ecx
402927:	53                   	push   %ebx
402928:	56                   	push   %esi
402929:	57                   	push   %edi
40292a:	8b 3d 84 53 40 00    	mov    0x405384,%edi
402930:	33 db                	xor    %ebx,%ebx
402932:	8b f3                	mov    %ebx,%esi
402934:	85 ff                	test   %edi,%edi
402936:	74 60                	je     0x402998
402938:	39 5f 04             	cmp    %ebx,0x4(%edi)
40293b:	75 1c                	jne    0x402959
40293d:	8b 0f                	mov    (%edi),%ecx
40293f:	8d 55 fc             	lea    -0x4(%ebp),%edx
402942:	89 5d fc             	mov    %ebx,-0x4(%ebp)
402945:	e8 46 0f 00 00       	call   0x403890
40294a:	85 c0                	test   %eax,%eax
40294c:	78 0b                	js     0x402959
40294e:	39 5f 04             	cmp    %ebx,0x4(%edi)
402951:	75 06                	jne    0x402959
402953:	8b 45 fc             	mov    -0x4(%ebp),%eax
402956:	89 47 04             	mov    %eax,0x4(%edi)
402959:	8b 7f 04             	mov    0x4(%edi),%edi
40295c:	8d 47 10             	lea    0x10(%edi),%eax
40295f:	f7 df                	neg    %edi
402961:	1b ff                	sbb    %edi,%edi
402963:	23 f8                	and    %eax,%edi
402965:	74 31                	je     0x402998
402967:	ff 15 1c 60 40 00    	call   *0x40601c
40296d:	6a 0a                	push   $0xa
40296f:	5e                   	pop    %esi
402970:	33 d2                	xor    %edx,%edx
402972:	8b c8                	mov    %eax,%ecx
402974:	f7 f6                	div    %esi
402976:	8b 74 97 08          	mov    0x8(%edi,%edx,4),%esi
40297a:	eb 07                	jmp    0x402983
40297c:	39 0e                	cmp    %ecx,(%esi)
40297e:	74 1f                	je     0x40299f
402980:	8b 76 04             	mov    0x4(%esi),%esi
402983:	85 f6                	test   %esi,%esi
402985:	75 f5                	jne    0x40297c
402987:	8b f3                	mov    %ebx,%esi
402989:	85 f6                	test   %esi,%esi
40298b:	74 0b                	je     0x402998
40298d:	39 5e 08             	cmp    %ebx,0x8(%esi)
402990:	75 06                	jne    0x402998
402992:	8d 4f 04             	lea    0x4(%edi),%ecx
402995:	89 4e 08             	mov    %ecx,0x8(%esi)
402998:	5f                   	pop    %edi
402999:	8b c6                	mov    %esi,%eax
40299b:	5e                   	pop    %esi
40299c:	5b                   	pop    %ebx
40299d:	c9                   	leave
40299e:	c3                   	ret
40299f:	83 c6 08             	add    $0x8,%esi
4029a2:	eb e5                	jmp    0x402989
4029a4:	8b ff                	mov    %edi,%edi
4029a6:	55                   	push   %ebp
4029a7:	8b ec                	mov    %esp,%ebp
4029a9:	51                   	push   %ecx
4029aa:	53                   	push   %ebx
4029ab:	8b 5d 08             	mov    0x8(%ebp),%ebx
4029ae:	32 c0                	xor    %al,%al
4029b0:	56                   	push   %esi
4029b1:	57                   	push   %edi
4029b2:	8b f2                	mov    %edx,%esi
4029b4:	8b f9                	mov    %ecx,%edi
4029b6:	89 7d fc             	mov    %edi,-0x4(%ebp)
4029b9:	c6 03 00             	movb   $0x0,(%ebx)
4029bc:	85 f6                	test   %esi,%esi
4029be:	0f 84 91 00 00 00    	je     0x402a55
4029c4:	ff 75 0c             	push   0xc(%ebp)
4029c7:	8b 56 08             	mov    0x8(%esi),%edx
4029ca:	53                   	push   %ebx
4029cb:	e8 d4 ff ff ff       	call   0x4029a4
4029d0:	8b 56 10             	mov    0x10(%esi),%edx
4029d3:	85 d2                	test   %edx,%edx
4029d5:	74 7e                	je     0x402a55
4029d7:	83 3a 00             	cmpl   $0x0,(%edx)
4029da:	75 0e                	jne    0x4029ea
4029dc:	33 c0                	xor    %eax,%eax
4029de:	40                   	inc    %eax
4029df:	f0 0f c1 05 1c 50 40 	lock xadd %eax,0x40501c
4029e6:	00
4029e7:	40                   	inc    %eax
4029e8:	89 02                	mov    %eax,(%edx)
4029ea:	83 7f 2c 00          	cmpl   $0x0,0x2c(%edi)
4029ee:	75 0b                	jne    0x4029fb
4029f0:	8b f2                	mov    %edx,%esi
4029f2:	8d 7f 2c             	lea    0x2c(%edi),%edi
4029f5:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4029f6:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4029f7:	a5                   	movsl  %ds:(%esi),%es:(%edi)
4029f8:	8b 7d fc             	mov    -0x4(%ebp),%edi
4029fb:	83 c7 38             	add    $0x38,%edi
4029fe:	8b f2                	mov    %edx,%esi
402a00:	8b cb                	mov    %ebx,%ecx
402a02:	a5                   	movsl  %ds:(%esi),%es:(%edi)
402a03:	a5                   	movsl  %ds:(%esi),%es:(%edi)
402a04:	a5                   	movsl  %ds:(%esi),%es:(%edi)
402a05:	8b 75 0c             	mov    0xc(%ebp),%esi
402a08:	8d 79 01             	lea    0x1(%ecx),%edi
402a0b:	03 f3                	add    %ebx,%esi
402a0d:	8a 01                	mov    (%ecx),%al
402a0f:	41                   	inc    %ecx
402a10:	84 c0                	test   %al,%al
402a12:	75 f9                	jne    0x402a0d
402a14:	2b cf                	sub    %edi,%ecx
402a16:	8b c6                	mov    %esi,%eax
402a18:	03 d9                	add    %ecx,%ebx
402a1a:	2b c3                	sub    %ebx,%eax
402a1c:	83 f8 02             	cmp    $0x2,%eax
402a1f:	7e 32                	jle    0x402a53
402a21:	c6 03 5c             	movb   $0x5c,(%ebx)
402a24:	43                   	inc    %ebx
402a25:	8b 4a 04             	mov    0x4(%edx),%ecx
402a28:	8d 79 01             	lea    0x1(%ecx),%edi
402a2b:	8a 01                	mov    (%ecx),%al
402a2d:	41                   	inc    %ecx
402a2e:	84 c0                	test   %al,%al
402a30:	75 f9                	jne    0x402a2b
402a32:	2b cf                	sub    %edi,%ecx
402a34:	2b f3                	sub    %ebx,%esi
402a36:	8d 79 01             	lea    0x1(%ecx),%edi
402a39:	3b fe                	cmp    %esi,%edi
402a3b:	72 02                	jb     0x402a3f
402a3d:	8b fe                	mov    %esi,%edi
402a3f:	57                   	push   %edi
402a40:	ff 72 04             	push   0x4(%edx)
402a43:	56                   	push   %esi
402a44:	53                   	push   %ebx
402a45:	ff 15 68 61 40 00    	call   *0x406168
402a4b:	83 c4 10             	add    $0x10,%esp
402a4e:	c6 44 1f ff 00       	movb   $0x0,-0x1(%edi,%ebx,1)
402a53:	b0 01                	mov    $0x1,%al
402a55:	5f                   	pop    %edi
402a56:	5e                   	pop    %esi
402a57:	5b                   	pop    %ebx
402a58:	c9                   	leave
402a59:	c2 08 00             	ret    $0x8
402a5c:	8b ff                	mov    %edi,%edi
402a5e:	55                   	push   %ebp
402a5f:	8b ec                	mov    %esp,%ebp
402a61:	83 ec 0c             	sub    $0xc,%esp
402a64:	53                   	push   %ebx
402a65:	56                   	push   %esi
402a66:	57                   	push   %edi
402a67:	8b fa                	mov    %edx,%edi
402a69:	33 db                	xor    %ebx,%ebx
402a6b:	8b c1                	mov    %ecx,%eax
402a6d:	88 5d f4             	mov    %bl,-0xc(%ebp)
402a70:	89 45 fc             	mov    %eax,-0x4(%ebp)
402a73:	88 1f                	mov    %bl,(%edi)
402a75:	8b 35 94 53 40 00    	mov    0x405394,%esi
402a7b:	85 f6                	test   %esi,%esi
402a7d:	74 27                	je     0x402aa6
402a7f:	ff 15 1c 60 40 00    	call   *0x40601c
402a85:	33 d2                	xor    %edx,%edx
402a87:	c7 45 f8 0a 00 00 00 	movl   $0xa,-0x8(%ebp)
402a8e:	8b c8                	mov    %eax,%ecx
402a90:	f7 75 f8             	divl   -0x8(%ebp)
402a93:	8b 34 96             	mov    (%esi,%edx,4),%esi
402a96:	eb 07                	jmp    0x402a9f
402a98:	39 0e                	cmp    %ecx,(%esi)
402a9a:	74 7c                	je     0x402b18
402a9c:	8b 76 04             	mov    0x4(%esi),%esi
402a9f:	85 f6                	test   %esi,%esi
402aa1:	75 f5                	jne    0x402a98
402aa3:	8b 45 fc             	mov    -0x4(%ebp),%eax
402aa6:	8b f3                	mov    %ebx,%esi
402aa8:	85 f6                	test   %esi,%esi