40ebd7:	8b f8                	mov    %eax,%edi
40ebd9:	eb 3a                	jmp    0x40ec15
40ebdb:	8d 54 24 10          	lea    0x10(%esp),%edx
40ebdf:	89 7c 24 10          	mov    %edi,0x10(%esp)
40ebe3:	8b ce                	mov    %esi,%ecx
40ebe5:	e8 4e fe ff ff       	call   0x40ea38
40ebea:	8b d8                	mov    %eax,%ebx
40ebec:	85 db                	test   %ebx,%ebx
40ebee:	79 17                	jns    0x40ec07
40ebf0:	8b 4d 04             	mov    0x4(%ebp),%ecx
40ebf3:	ba cf 00 00 00       	mov    $0xcf,%edx
40ebf8:	53                   	push   %ebx
40ebf9:	68 44 24 40 00       	push   $0x402444
40ebfe:	e8 da f4 ff ff       	call   0x40e0dd
40ec03:	8b fb                	mov    %ebx,%edi
40ec05:	eb 0e                	jmp    0x40ec15
40ec07:	8b 4c 24 14          	mov    0x14(%esp),%ecx
40ec0b:	8b 44 24 10          	mov    0x10(%esp),%eax
40ec0f:	99                   	cltd
40ec10:	89 01                	mov    %eax,(%ecx)
40ec12:	89 51 04             	mov    %edx,0x4(%ecx)
40ec15:	85 f6                	test   %esi,%esi
40ec17:	74 06                	je     0x40ec1f
40ec19:	56                   	push   %esi
40ec1a:	e8 47 fc ff ff       	call   0x40e866
40ec1f:	8b 8c 24 24 02 00 00 	mov    0x224(%esp),%ecx
40ec26:	8b c7                	mov    %edi,%eax
40ec28:	5f                   	pop    %edi
40ec29:	5e                   	pop    %esi
40ec2a:	5b                   	pop    %ebx
40ec2b:	33 cc                	xor    %esp,%ecx
40ec2d:	e8 ae 8e 01 00       	call   0x427ae0
40ec32:	8b e5                	mov    %ebp,%esp
40ec34:	5d                   	pop    %ebp
40ec35:	c2 08 00             	ret    $0x8
40ec38:	8b ff                	mov    %edi,%edi
40ec3a:	55                   	push   %ebp
40ec3b:	8b ec                	mov    %esp,%ebp
40ec3d:	83 ec 0c             	sub    $0xc,%esp
40ec40:	8b 45 0c             	mov    0xc(%ebp),%eax
40ec43:	53                   	push   %ebx
40ec44:	8b 5d 08             	mov    0x8(%ebp),%ebx
40ec47:	56                   	push   %esi
40ec48:	8b f1                	mov    %ecx,%esi
40ec4a:	33 c9                	xor    %ecx,%ecx
40ec4c:	57                   	push   %edi
40ec4d:	89 46 04             	mov    %eax,0x4(%esi)
40ec50:	8b 43 04             	mov    0x4(%ebx),%eax
40ec53:	89 46 08             	mov    %eax,0x8(%esi)
40ec56:	8d 46 0c             	lea    0xc(%esi),%eax
40ec59:	89 08                	mov    %ecx,(%eax)
40ec5b:	89 45 fc             	mov    %eax,-0x4(%ebp)
40ec5e:	66 8b 43 20          	mov    0x20(%ebx),%ax
40ec62:	66 89 46 10          	mov    %ax,0x10(%esi)
40ec66:	8a 03                	mov    (%ebx),%al
40ec68:	88 46 12             	mov    %al,0x12(%esi)
40ec6b:	8d 46 14             	lea    0x14(%esi),%eax
40ec6e:	89 08                	mov    %ecx,(%eax)
40ec70:	89 45 f8             	mov    %eax,-0x8(%ebp)
40ec73:	8b 43 48             	mov    0x48(%ebx),%eax
40ec76:	89 46 18             	mov    %eax,0x18(%esi)
40ec79:	8b 43 4c             	mov    0x4c(%ebx),%eax
40ec7c:	89 46 1c             	mov    %eax,0x1c(%esi)
40ec7f:	8d 46 20             	lea    0x20(%esi),%eax
40ec82:	89 08                	mov    %ecx,(%eax)
40ec84:	8b 4b 0c             	mov    0xc(%ebx),%ecx
40ec87:	89 45 f4             	mov    %eax,-0xc(%ebp)
40ec8a:	e8 59 ec ff ff       	call   0x40d8e8
40ec8f:	8b 4b 1c             	mov    0x1c(%ebx),%ecx
40ec92:	8b f8                	mov    %eax,%edi
40ec94:	e8 37 ec ff ff       	call   0x40d8d0
40ec99:	8b 4b 44             	mov    0x44(%ebx),%ecx
40ec9c:	03 f8                	add    %eax,%edi
40ec9e:	e8 2d ec ff ff       	call   0x40d8d0
40eca3:	03 f8                	add    %eax,%edi
40eca5:	83 7e 24 00          	cmpl   $0x0,0x24(%esi)
40eca9:	74 05                	je     0x40ecb0
40ecab:	39 7e 28             	cmp    %edi,0x28(%esi)
40ecae:	73 2b                	jae    0x40ecdb
40ecb0:	6a 08                	push   $0x8
40ecb2:	8b d7                	mov    %edi,%edx
40ecb4:	59                   	pop    %ecx
40ecb5:	e8 25 e8 ff ff       	call   0x40d4df
40ecba:	8b d8                	mov    %eax,%ebx
40ecbc:	85 db                	test   %ebx,%ebx
40ecbe:	74 18                	je     0x40ecd8
40ecc0:	ff 76 24             	push   0x24(%esi)
40ecc3:	6a 00                	push   $0x0
40ecc5:	ff 15 a0 c1 42 00    	call   *0x42c1a0
40eccb:	50                   	push   %eax
40eccc:	ff 15 a4 c1 42 00    	call   *0x42c1a4
40ecd2:	89 5e 24             	mov    %ebx,0x24(%esi)
40ecd5:	89 7e 28             	mov    %edi,0x28(%esi)
40ecd8:	8b 5d 08             	mov    0x8(%ebp),%ebx
40ecdb:	8b 4e 24             	mov    0x24(%esi),%ecx
40ecde:	85 c9                	test   %ecx,%ecx
40ece0:	74 3e                	je     0x40ed20
40ece2:	8b 76 28             	mov    0x28(%esi),%esi
40ece5:	ff 75 fc             	push   -0x4(%ebp)
40ece8:	03 f1                	add    %ecx,%esi
40ecea:	ff 73 1c             	push   0x1c(%ebx)
40eced:	8b d6                	mov    %esi,%edx
40ecef:	e8 45 46 00 00       	call   0x413339
40ecf4:	ff 75 f8             	push   -0x8(%ebp)
40ecf7:	8b d6                	mov    %esi,%edx
40ecf9:	8b c8                	mov    %eax,%ecx
40ecfb:	ff 73 44             	push   0x44(%ebx)
40ecfe:	e8 36 46 00 00       	call   0x413339
40ed03:	ff 75 f4             	push   -0xc(%ebp)
40ed06:	8b d6                	mov    %esi,%edx
40ed08:	8b c8                	mov    %eax,%ecx
40ed0a:	ff 73 0c             	push   0xc(%ebx)
40ed0d:	e8 bd 45 00 00       	call   0x4132cf
40ed12:	2b f0                	sub    %eax,%esi
40ed14:	56                   	push   %esi
40ed15:	6a 00                	push   $0x0
40ed17:	50                   	push   %eax
40ed18:	e8 90 96 01 00       	call   0x4283ad
40ed1d:	83 c4 0c             	add    $0xc,%esp
40ed20:	5f                   	pop    %edi
40ed21:	5e                   	pop    %esi
40ed22:	5b                   	pop    %ebx
40ed23:	c9                   	leave
40ed24:	c2 08 00             	ret    $0x8
40ed27:	8b ff                	mov    %edi,%edi
40ed29:	53                   	push   %ebx
40ed2a:	57                   	push   %edi
40ed2b:	8b f9                	mov    %ecx,%edi
40ed2d:	0f b7 47 14          	movzwl 0x14(%edi),%eax
40ed31:	8b 4f 10             	mov    0x10(%edi),%ecx
40ed34:	6b d8 2c             	imul   $0x2c,%eax,%ebx
40ed37:	03 d9                	add    %ecx,%ebx
40ed39:	3b cb                	cmp    %ebx,%ecx
40ed3b:	74 2a                	je     0x40ed67
40ed3d:	56                   	push   %esi
40ed3e:	8d 71 24             	lea    0x24(%ecx),%esi
40ed41:	ff 36                	push   (%esi)
40ed43:	6a 00                	push   $0x0
40ed45:	ff 15 a0 c1 42 00    	call   *0x42c1a0
40ed4b:	50                   	push   %eax
40ed4c:	ff 15 a4 c1 42 00    	call   *0x42c1a4
40ed52:	83 26 00             	andl   $0x0,(%esi)
40ed55:	8d 76 2c             	lea    0x2c(%esi),%esi
40ed58:	83 66 d8 00          	andl   $0x0,-0x28(%esi)
40ed5c:	8d 46 dc             	lea    -0x24(%esi),%eax
40ed5f:	3b c3                	cmp    %ebx,%eax
40ed61:	75 de                	jne    0x40ed41
40ed63:	8b 4f 10             	mov    0x10(%edi),%ecx
40ed66:	5e                   	pop    %esi
40ed67:	51                   	push   %ecx
40ed68:	6a 00                	push   $0x0
40ed6a:	ff 15 a0 c1 42 00    	call   *0x42c1a0
40ed70:	50                   	push   %eax
40ed71:	ff 15 a4 c1 42 00    	call   *0x42c1a4
40ed77:	33 c0                	xor    %eax,%eax
40ed79:	21 47 10             	and    %eax,0x10(%edi)
40ed7c:	89 47 14             	mov    %eax,0x14(%edi)
40ed7f:	5f                   	pop    %edi
40ed80:	5b                   	pop    %ebx
40ed81:	c3                   	ret
40ed82:	8b ff                	mov    %edi,%edi
40ed84:	55                   	push   %ebp
40ed85:	8b ec                	mov    %esp,%ebp
40ed87:	53                   	push   %ebx
40ed88:	56                   	push   %esi
40ed89:	8b f1                	mov    %ecx,%esi
40ed8b:	57                   	push   %edi
40ed8c:	6a 2c                	push   $0x2c
40ed8e:	5b                   	pop    %ebx
40ed8f:	8b 56 10             	mov    0x10(%esi),%edx
40ed92:	8b 7e 0c             	mov    0xc(%esi),%edi
40ed95:	85 d2                	test   %edx,%edx
40ed97:	75 49                	jne    0x40ede2
40ed99:	85 ff                	test   %edi,%edi
40ed9b:	0f 84 9e 00 00 00    	je     0x40ee3f
40eda1:	6a 08                	push   $0x8
40eda3:	ba dc 00 00 00       	mov    $0xdc,%edx
40eda8:	59                   	pop    %ecx
40eda9:	e8 31 e7 ff ff       	call   0x40d4df
40edae:	8b d0                	mov    %eax,%edx
40edb0:	89 56 10             	mov    %edx,0x10(%esi)
40edb3:	85 d2                	test   %edx,%edx
40edb5:	0f 84 84 00 00 00    	je     0x40ee3f
40edbb:	6a 05                	push   $0x5
40edbd:	58                   	pop    %eax
40edbe:	66 89 46 14          	mov    %ax,0x14(%esi)
40edc2:	33 c0                	xor    %eax,%eax
40edc4:	66 89 46 16          	mov    %ax,0x16(%esi)
40edc8:	8d 82 dc 00 00 00    	lea    0xdc(%edx),%eax
40edce:	3b d0                	cmp    %eax,%edx
40edd0:	74 0c                	je     0x40edde
40edd2:	66 89 1a             	mov    %bx,(%edx)
40edd5:	03 d3                	add    %ebx,%edx
40edd7:	3b d0                	cmp    %eax,%edx
40edd9:	75 f7                	jne    0x40edd2
40eddb:	8b 56 10             	mov    0x10(%esi),%edx
40edde:	85 d2                	test   %edx,%edx
40ede0:	74 5d                	je     0x40ee3f
40ede2:	85 ff                	test   %edi,%edi
40ede4:	8b 7d 08             	mov    0x8(%ebp),%edi
40ede7:	74 29                	je     0x40ee12
40ede9:	0f b7 46 14          	movzwl 0x14(%esi),%eax
40eded:	6b c8 2c             	imul   $0x2c,%eax,%ecx
40edf0:	03 ca                	add    %edx,%ecx
40edf2:	3b d1                	cmp    %ecx,%edx
40edf4:	74 1c                	je     0x40ee12
40edf6:	8b 5e 0c             	mov    0xc(%esi),%ebx
40edf9:	83 c2 08             	add    $0x8,%edx
40edfc:	39 5a fc             	cmp    %ebx,-0x4(%edx)
40edff:	76 07                	jbe    0x40ee08
40ee01:	8b 02                	mov    (%edx),%eax
40ee03:	3b 47 04             	cmp    0x4(%edi),%eax
40ee06:	74 37                	je     0x40ee3f
40ee08:	83 c2 2c             	add    $0x2c,%edx
40ee0b:	8d 42 f8             	lea    -0x8(%edx),%eax
40ee0e:	3b c1                	cmp    %ecx,%eax
40ee10:	75 ea                	jne    0x40edfc
40ee12:	0f b7 46 16          	movzwl 0x16(%esi),%eax
40ee16:	33 d2                	xor    %edx,%edx
40ee18:	0f b7 4e 14          	movzwl 0x14(%esi),%ecx
40ee1c:	40                   	inc    %eax
40ee1d:	f7 f1                	div    %ecx
40ee1f:	8b 46 08             	mov    0x8(%esi),%eax
40ee22:	33 c9                	xor    %ecx,%ecx
40ee24:	66 89 56 16          	mov    %dx,0x16(%esi)
40ee28:	41                   	inc    %ecx
40ee29:	f0 0f c1 08          	lock xadd %ecx,(%eax)
40ee2d:	41                   	inc    %ecx
40ee2e:	0f b7 46 16          	movzwl 0x16(%esi),%eax
40ee32:	51                   	push   %ecx
40ee33:	6b c8 2c             	imul   $0x2c,%eax,%ecx
40ee36:	57                   	push   %edi
40ee37:	03 4e 10             	add    0x10(%esi),%ecx
40ee3a:	e8 f9 fd ff ff       	call   0x40ec38
40ee3f:	5f                   	pop    %edi
40ee40:	5e                   	pop    %esi
40ee41:	5b                   	pop    %ebx
40ee42:	5d                   	pop    %ebp
40ee43:	c2 04 00             	ret    $0x4
40ee46:	8b ff                	mov    %edi,%edi
40ee48:	55                   	push   %ebp
40ee49:	8b ec                	mov    %esp,%ebp
40ee4b:	51                   	push   %ecx
40ee4c:	53                   	push   %ebx
40ee4d:	56                   	push   %esi
40ee4e:	57                   	push   %edi
40ee4f:	8b 3d 70 ba 42 00    	mov    0x42ba70,%edi
40ee55:	33 db                	xor    %ebx,%ebx
40ee57:	8b f3                	mov    %ebx,%esi
40ee59:	85 ff                	test   %edi,%edi
40ee5b:	74 60                	je     0x40eebd
40ee5d:	39 5f 04             	cmp    %ebx,0x4(%edi)
40ee60:	75 1c                	jne    0x40ee7e
40ee62:	8b 0f                	mov    (%edi),%ecx
40ee64:	8d 55 fc             	lea    -0x4(%ebp),%edx
40ee67:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40ee6a:	e8 6a 3e 00 00       	call   0x412cd9
40ee6f:	85 c0                	test   %eax,%eax
40ee71:	78 0b                	js     0x40ee7e
40ee73:	39 5f 04             	cmp    %ebx,0x4(%edi)
40ee76:	75 06                	jne    0x40ee7e
40ee78:	8b 45 fc             	mov    -0x4(%ebp),%eax
40ee7b:	89 47 04             	mov    %eax,0x4(%edi)
40ee7e:	8b 7f 04             	mov    0x4(%edi),%edi
40ee81:	8d 47 10             	lea    0x10(%edi),%eax
40ee84:	f7 df                	neg    %edi
40ee86:	1b ff                	sbb    %edi,%edi
40ee88:	23 f8                	and    %eax,%edi
40ee8a:	74 31                	je     0x40eebd
40ee8c:	ff 15 74 c2 42 00    	call   *0x42c274
40ee92:	6a 0a                	push   $0xa
40ee94:	5e                   	pop    %esi
40ee95:	33 d2                	xor    %edx,%edx
40ee97:	8b c8                	mov    %eax,%ecx
40ee99:	f7 f6                	div    %esi
40ee9b:	8b 74 97 08          	mov    0x8(%edi,%edx,4),%esi
40ee9f:	eb 07                	jmp    0x40eea8
40eea1:	39 0e                	cmp    %ecx,(%esi)
40eea3:	74 1f                	je     0x40eec4
40eea5:	8b 76 04             	mov    0x4(%esi),%esi
40eea8:	85 f6                	test   %esi,%esi
40eeaa:	75 f5                	jne    0x40eea1
40eeac:	8b f3                	mov    %ebx,%esi
40eeae:	85 f6                	test   %esi,%esi
40eeb0:	74 0b                	je     0x40eebd
40eeb2:	39 5e 08             	cmp    %ebx,0x8(%esi)
40eeb5:	75 06                	jne    0x40eebd
40eeb7:	8d 4f 04             	lea    0x4(%edi),%ecx
40eeba:	89 4e 08             	mov    %ecx,0x8(%esi)
40eebd:	5f                   	pop    %edi
40eebe:	8b c6                	mov    %esi,%eax
40eec0:	5e                   	pop    %esi
40eec1:	5b                   	pop    %ebx
40eec2:	c9                   	leave
40eec3:	c3                   	ret
40eec4:	83 c6 08             	add    $0x8,%esi
40eec7:	eb e5                	jmp    0x40eeae
40eec9:	8b ff                	mov    %edi,%edi
40eecb:	55                   	push   %ebp
40eecc:	8b ec                	mov    %esp,%ebp
40eece:	51                   	push   %ecx
40eecf:	53                   	push   %ebx
40eed0:	8b 5d 08             	mov    0x8(%ebp),%ebx
40eed3:	32 c0                	xor    %al,%al
40eed5:	56                   	push   %esi
40eed6:	57                   	push   %edi
40eed7:	8b f2                	mov    %edx,%esi
40eed9:	8b f9                	mov    %ecx,%edi
40eedb:	89 7d fc             	mov    %edi,-0x4(%ebp)
40eede:	c6 03 00             	movb   $0x0,(%ebx)
40eee1:	85 f6                	test   %esi,%esi
40eee3:	0f 84 91 00 00 00    	je     0x40ef7a
40eee9:	ff 75 0c             	push   0xc(%ebp)
40eeec:	8b 56 08             	mov    0x8(%esi),%edx
40eeef:	53                   	push   %ebx
40eef0:	e8 d4 ff ff ff       	call   0x40eec9
40eef5:	8b 56 10             	mov    0x10(%esi),%edx
40eef8:	85 d2                	test   %edx,%edx
40eefa:	74 7e                	je     0x40ef7a
40eefc:	83 3a 00             	cmpl   $0x0,(%edx)
40eeff:	75 0e                	jne    0x40ef0f
40ef01:	33 c0                	xor    %eax,%eax
40ef03:	40                   	inc    %eax
40ef04:	f0 0f c1 05 84 b6 42 	lock xadd %eax,0x42b684
40ef0b:	00
40ef0c:	40                   	inc    %eax
40ef0d:	89 02                	mov    %eax,(%edx)
40ef0f:	83 7f 2c 00          	cmpl   $0x0,0x2c(%edi)
40ef13:	75 0b                	jne    0x40ef20
40ef15:	8b f2                	mov    %edx,%esi
40ef17:	8d 7f 2c             	lea    0x2c(%edi),%edi
40ef1a:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40ef1b:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40ef1c:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40ef1d:	8b 7d fc             	mov    -0x4(%ebp),%edi
40ef20:	83 c7 38             	add    $0x38,%edi
40ef23:	8b f2                	mov    %edx,%esi
40ef25:	8b cb                	mov    %ebx,%ecx
40ef27:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40ef28:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40ef29:	a5                   	movsl  %ds:(%esi),%es:(%edi)
40ef2a:	8b 75 0c             	mov    0xc(%ebp),%esi
40ef2d:	8d 79 01             	lea    0x1(%ecx),%edi
40ef30:	03 f3                	add    %ebx,%esi
40ef32:	8a 01                	mov    (%ecx),%al
40ef34:	41                   	inc    %ecx
40ef35:	84 c0                	test   %al,%al
40ef37:	75 f9                	jne    0x40ef32
40ef39:	2b cf                	sub    %edi,%ecx
40ef3b:	8b c6                	mov    %esi,%eax