403971:	85 c0                	test   %eax,%eax
403973:	74 1c                	je     0x403991
403975:	8b 77 24             	mov    0x24(%edi),%esi
403978:	ff 15 68 e0 40 00    	call   *0x40e068
40397e:	56                   	push   %esi
40397f:	6a 00                	push   $0x0
403981:	50                   	push   %eax
403982:	ff 15 64 e0 40 00    	call   *0x40e064
403988:	8b 45 fc             	mov    -0x4(%ebp),%eax
40398b:	89 47 24             	mov    %eax,0x24(%edi)
40398e:	89 5f 28             	mov    %ebx,0x28(%edi)
403991:	8b 4f 24             	mov    0x24(%edi),%ecx
403994:	85 c9                	test   %ecx,%ecx
403996:	74 42                	je     0x4039da
403998:	8b 77 28             	mov    0x28(%edi),%esi
40399b:	8d 47 0c             	lea    0xc(%edi),%eax
40399e:	8b 7d 08             	mov    0x8(%ebp),%edi
4039a1:	03 f1                	add    %ecx,%esi
4039a3:	50                   	push   %eax
4039a4:	8b d6                	mov    %esi,%edx
4039a6:	ff 77 1c             	push   0x1c(%edi)
4039a9:	e8 9e 0f 00 00       	call   0x40494c
4039ae:	ff 75 f8             	push   -0x8(%ebp)
4039b1:	8b d6                	mov    %esi,%edx
4039b3:	8b c8                	mov    %eax,%ecx
4039b5:	ff 77 44             	push   0x44(%edi)
4039b8:	e8 8f 0f 00 00       	call   0x40494c
4039bd:	ff 75 f4             	push   -0xc(%ebp)
4039c0:	8b d6                	mov    %esi,%edx
4039c2:	8b c8                	mov    %eax,%ecx
4039c4:	ff 77 0c             	push   0xc(%edi)
4039c7:	e8 16 0f 00 00       	call   0x4048e2
4039cc:	2b f0                	sub    %eax,%esi
4039ce:	56                   	push   %esi
4039cf:	6a 00                	push   $0x0
4039d1:	50                   	push   %eax
4039d2:	e8 d4 6e 00 00       	call   0x40a8ab
4039d7:	83 c4 0c             	add    $0xc,%esp
4039da:	5f                   	pop    %edi
4039db:	5e                   	pop    %esi
4039dc:	5b                   	pop    %ebx
4039dd:	c9                   	leave
4039de:	c2 08 00             	ret    $0x8
4039e1:	8b ff                	mov    %edi,%edi
4039e3:	55                   	push   %ebp
4039e4:	8b ec                	mov    %esp,%ebp
4039e6:	51                   	push   %ecx
4039e7:	51                   	push   %ecx
4039e8:	53                   	push   %ebx
4039e9:	8b d9                	mov    %ecx,%ebx
4039eb:	56                   	push   %esi
4039ec:	89 5d f8             	mov    %ebx,-0x8(%ebp)
4039ef:	0f b7 43 14          	movzwl 0x14(%ebx),%eax
4039f3:	8b 73 10             	mov    0x10(%ebx),%esi
4039f6:	6b c0 2c             	imul   $0x2c,%eax,%eax
4039f9:	03 c6                	add    %esi,%eax
4039fb:	3b f0                	cmp    %eax,%esi
4039fd:	74 2f                	je     0x403a2e
4039ff:	57                   	push   %edi
403a00:	8d 7e 24             	lea    0x24(%esi),%edi
403a03:	8b d8                	mov    %eax,%ebx
403a05:	8b 37                	mov    (%edi),%esi
403a07:	ff 15 68 e0 40 00    	call   *0x40e068
403a0d:	56                   	push   %esi
403a0e:	33 f6                	xor    %esi,%esi
403a10:	56                   	push   %esi
403a11:	50                   	push   %eax
403a12:	ff 15 64 e0 40 00    	call   *0x40e064
403a18:	89 37                	mov    %esi,(%edi)
403a1a:	8d 7f 2c             	lea    0x2c(%edi),%edi
403a1d:	89 77 d8             	mov    %esi,-0x28(%edi)
403a20:	8d 47 dc             	lea    -0x24(%edi),%eax
403a23:	3b c3                	cmp    %ebx,%eax
403a25:	75 de                	jne    0x403a05
403a27:	8b 5d f8             	mov    -0x8(%ebp),%ebx
403a2a:	5f                   	pop    %edi
403a2b:	8b 73 10             	mov    0x10(%ebx),%esi
403a2e:	ff 15 68 e0 40 00    	call   *0x40e068
403a34:	56                   	push   %esi
403a35:	6a 00                	push   $0x0
403a37:	50                   	push   %eax
403a38:	ff 15 64 e0 40 00    	call   *0x40e064
403a3e:	33 c0                	xor    %eax,%eax
403a40:	21 43 10             	and    %eax,0x10(%ebx)
403a43:	5e                   	pop    %esi
403a44:	89 43 14             	mov    %eax,0x14(%ebx)
403a47:	5b                   	pop    %ebx
403a48:	c9                   	leave
403a49:	c3                   	ret
403a4a:	8b ff                	mov    %edi,%edi
403a4c:	55                   	push   %ebp
403a4d:	8b ec                	mov    %esp,%ebp
403a4f:	51                   	push   %ecx
403a50:	8b 45 08             	mov    0x8(%ebp),%eax
403a53:	53                   	push   %ebx
403a54:	56                   	push   %esi
403a55:	8b f1                	mov    %ecx,%esi
403a57:	89 45 fc             	mov    %eax,-0x4(%ebp)
403a5a:	57                   	push   %edi
403a5b:	6a 2c                	push   $0x2c
403a5d:	5f                   	pop    %edi
403a5e:	8b 4e 10             	mov    0x10(%esi),%ecx
403a61:	8b 5e 0c             	mov    0xc(%esi),%ebx
403a64:	85 c9                	test   %ecx,%ecx
403a66:	75 49                	jne    0x403ab1
403a68:	85 db                	test   %ebx,%ebx
403a6a:	0f 84 a1 00 00 00    	je     0x403b11
403a70:	6a 08                	push   $0x8
403a72:	ba dc 00 00 00       	mov    $0xdc,%edx
403a77:	59                   	pop    %ecx
403a78:	e8 36 ef ff ff       	call   0x4029b3
403a7d:	8b c8                	mov    %eax,%ecx
403a7f:	89 4e 10             	mov    %ecx,0x10(%esi)
403a82:	85 c9                	test   %ecx,%ecx
403a84:	0f 84 87 00 00 00    	je     0x403b11
403a8a:	6a 05                	push   $0x5
403a8c:	58                   	pop    %eax
403a8d:	66 89 46 14          	mov    %ax,0x14(%esi)
403a91:	33 c0                	xor    %eax,%eax
403a93:	66 89 46 16          	mov    %ax,0x16(%esi)
403a97:	8d 81 dc 00 00 00    	lea    0xdc(%ecx),%eax
403a9d:	3b c8                	cmp    %eax,%ecx
403a9f:	74 0c                	je     0x403aad
403aa1:	66 89 39             	mov    %di,(%ecx)
403aa4:	03 cf                	add    %edi,%ecx
403aa6:	3b c8                	cmp    %eax,%ecx
403aa8:	75 f7                	jne    0x403aa1
403aaa:	8b 4e 10             	mov    0x10(%esi),%ecx
403aad:	85 c9                	test   %ecx,%ecx
403aaf:	74 60                	je     0x403b11
403ab1:	85 db                	test   %ebx,%ebx
403ab3:	8b f9                	mov    %ecx,%edi
403ab5:	8b 5d fc             	mov    -0x4(%ebp),%ebx
403ab8:	74 2c                	je     0x403ae6
403aba:	0f b7 46 14          	movzwl 0x14(%esi),%eax
403abe:	6b d0 2c             	imul   $0x2c,%eax,%edx
403ac1:	03 d1                	add    %ecx,%edx
403ac3:	3b ca                	cmp    %edx,%ecx
403ac5:	74 1f                	je     0x403ae6
403ac7:	8b 7e 0c             	mov    0xc(%esi),%edi
403aca:	83 c1 08             	add    $0x8,%ecx
403acd:	39 79 fc             	cmp    %edi,-0x4(%ecx)
403ad0:	76 07                	jbe    0x403ad9
403ad2:	8b 01                	mov    (%ecx),%eax
403ad4:	3b 43 04             	cmp    0x4(%ebx),%eax
403ad7:	74 38                	je     0x403b11
403ad9:	83 c1 2c             	add    $0x2c,%ecx
403adc:	8d 41 f8             	lea    -0x8(%ecx),%eax
403adf:	3b c2                	cmp    %edx,%eax
403ae1:	75 ea                	jne    0x403acd
403ae3:	8b 7e 10             	mov    0x10(%esi),%edi
403ae6:	0f b7 46 16          	movzwl 0x16(%esi),%eax
403aea:	33 d2                	xor    %edx,%edx
403aec:	0f b7 4e 14          	movzwl 0x14(%esi),%ecx
403af0:	40                   	inc    %eax
403af1:	f7 f1                	div    %ecx
403af3:	0f b7 c2             	movzwl %dx,%eax
403af6:	33 d2                	xor    %edx,%edx
403af8:	6b c8 2c             	imul   $0x2c,%eax,%ecx
403afb:	42                   	inc    %edx
403afc:	66 89 46 16          	mov    %ax,0x16(%esi)
403b00:	8b 46 08             	mov    0x8(%esi),%eax
403b03:	03 cf                	add    %edi,%ecx
403b05:	f0 0f c1 10          	lock xadd %edx,(%eax)
403b09:	42                   	inc    %edx
403b0a:	52                   	push   %edx
403b0b:	53                   	push   %ebx
403b0c:	e8 e0 fd ff ff       	call   0x4038f1
403b11:	5f                   	pop    %edi
403b12:	5e                   	pop    %esi
403b13:	5b                   	pop    %ebx
403b14:	c9                   	leave
403b15:	c2 04 00             	ret    $0x4
403b18:	8b ff                	mov    %edi,%edi
403b1a:	55                   	push   %ebp
403b1b:	8b ec                	mov    %esp,%ebp
403b1d:	51                   	push   %ecx
403b1e:	53                   	push   %ebx
403b1f:	56                   	push   %esi
403b20:	57                   	push   %edi
403b21:	8b 3d f8 d4 40 00    	mov    0x40d4f8,%edi
403b27:	33 db                	xor    %ebx,%ebx
403b29:	8b f3                	mov    %ebx,%esi
403b2b:	85 ff                	test   %edi,%edi
403b2d:	74 60                	je     0x403b8f
403b2f:	39 5f 04             	cmp    %ebx,0x4(%edi)
403b32:	75 1c                	jne    0x403b50
403b34:	8b 0f                	mov    (%edi),%ecx
403b36:	8d 55 fc             	lea    -0x4(%ebp),%edx
403b39:	89 5d fc             	mov    %ebx,-0x4(%ebp)
403b3c:	e8 eb 08 00 00       	call   0x40442c
403b41:	85 c0                	test   %eax,%eax
403b43:	78 0b                	js     0x403b50
403b45:	39 5f 04             	cmp    %ebx,0x4(%edi)
403b48:	75 06                	jne    0x403b50
403b4a:	8b 45 fc             	mov    -0x4(%ebp),%eax
403b4d:	89 47 04             	mov    %eax,0x4(%edi)
403b50:	8b 7f 04             	mov    0x4(%edi),%edi
403b53:	8d 47 10             	lea    0x10(%edi),%eax
403b56:	f7 df                	neg    %edi
403b58:	1b ff                	sbb    %edi,%edi
403b5a:	23 f8                	and    %eax,%edi
403b5c:	74 31                	je     0x403b8f
403b5e:	ff 15 b4 e0 40 00    	call   *0x40e0b4
403b64:	6a 0a                	push   $0xa
403b66:	5e                   	pop    %esi
403b67:	33 d2                	xor    %edx,%edx
403b69:	8b c8                	mov    %eax,%ecx
403b6b:	f7 f6                	div    %esi
403b6d:	8b 74 97 08          	mov    0x8(%edi,%edx,4),%esi
403b71:	eb 07                	jmp    0x403b7a
403b73:	39 0e                	cmp    %ecx,(%esi)
403b75:	74 1f                	je     0x403b96
403b77:	8b 76 04             	mov    0x4(%esi),%esi
403b7a:	85 f6                	test   %esi,%esi
403b7c:	75 f5                	jne    0x403b73
403b7e:	8b f3                	mov    %ebx,%esi
403b80:	85 f6                	test   %esi,%esi
403b82:	74 0b                	je     0x403b8f
403b84:	39 5e 08             	cmp    %ebx,0x8(%esi)
403b87:	75 06                	jne    0x403b8f
403b89:	8d 4f 04             	lea    0x4(%edi),%ecx
403b8c:	89 4e 08             	mov    %ecx,0x8(%esi)
403b8f:	5f                   	pop    %edi
403b90:	8b c6                	mov    %esi,%eax
403b92:	5e                   	pop    %esi
403b93:	5b                   	pop    %ebx
403b94:	c9                   	leave
403b95:	c3                   	ret
403b96:	83 c6 08             	add    $0x8,%esi
403b99:	eb e5                	jmp    0x403b80
403b9b:	8b ff                	mov    %edi,%edi
403b9d:	55                   	push   %ebp
403b9e:	8b ec                	mov    %esp,%ebp
403ba0:	51                   	push   %ecx
403ba1:	53                   	push   %ebx
403ba2:	8b 5d 08             	mov    0x8(%ebp),%ebx
403ba5:	32 c0                	xor    %al,%al
403ba7:	56                   	push   %esi
403ba8:	57                   	push   %edi
403ba9:	8b f2                	mov    %edx,%esi
403bab:	8b f9                	mov    %ecx,%edi
403bad:	89 7d fc             	mov    %edi,-0x4(%ebp)
403bb0:	c6 03 00             	movb   $0x0,(%ebx)
403bb3:	85 f6                	test   %esi,%esi
403bb5:	0f 84 91 00 00 00    	je     0x403c4c
403bbb:	ff 75 0c             	push   0xc(%ebp)
403bbe:	8b 56 08             	mov    0x8(%esi),%edx
403bc1:	53                   	push   %ebx
403bc2:	e8 d4 ff ff ff       	call   0x403b9b
403bc7:	8b 56 10             	mov    0x10(%esi),%edx
403bca:	85 d2                	test   %edx,%edx
403bcc:	74 7e                	je     0x403c4c
403bce:	83 3a 00             	cmpl   $0x0,(%edx)
403bd1:	75 0e                	jne    0x403be1
403bd3:	33 c0                	xor    %eax,%eax
403bd5:	40                   	inc    %eax
403bd6:	f0 0f c1 05 60 d1 40 	lock xadd %eax,0x40d160
403bdd:	00
403bde:	40                   	inc    %eax
403bdf:	89 02                	mov    %eax,(%edx)
403be1:	83 7f 2c 00          	cmpl   $0x0,0x2c(%edi)
403be5:	75 0b                	jne    0x403bf2
403be7:	8b f2                	mov    %edx,%esi
403be9:	8d 7f 2c             	lea    0x2c(%edi),%edi
403bec:	a5                   	movsl  %ds:(%esi),%es:(%edi)
403bed:	a5                   	movsl  %ds:(%esi),%es:(%edi)
403bee:	a5                   	movsl  %ds:(%esi),%es:(%edi)
403bef:	8b 7d fc             	mov    -0x4(%ebp),%edi
403bf2:	83 c7 38             	add    $0x38,%edi
403bf5:	8b f2                	mov    %edx,%esi
403bf7:	8b cb                	mov    %ebx,%ecx
403bf9:	a5                   	movsl  %ds:(%esi),%es:(%edi)
403bfa:	a5                   	movsl  %ds:(%esi),%es:(%edi)
403bfb:	a5                   	movsl  %ds:(%esi),%es:(%edi)
403bfc:	8b 75 0c             	mov    0xc(%ebp),%esi
403bff:	8d 79 01             	lea    0x1(%ecx),%edi
403c02:	03 f3                	add    %ebx,%esi
403c04:	8a 01                	mov    (%ecx),%al
403c06:	41                   	inc    %ecx
403c07:	84 c0                	test   %al,%al
403c09:	75 f9                	jne    0x403c04
403c0b:	2b cf                	sub    %edi,%ecx
403c0d:	8b c6                	mov    %esi,%eax
403c0f:	03 d9                	add    %ecx,%ebx
403c11:	2b c3                	sub    %ebx,%eax
403c13:	83 f8 02             	cmp    $0x2,%eax
403c16:	7e 32                	jle    0x403c4a
403c18:	c6 03 5c             	movb   $0x5c,(%ebx)
403c1b:	43                   	inc    %ebx
403c1c:	8b 4a 04             	mov    0x4(%edx),%ecx
403c1f:	8d 79 01             	lea    0x1(%ecx),%edi
403c22:	8a 01                	mov    (%ecx),%al
403c24:	41                   	inc    %ecx
403c25:	84 c0                	test   %al,%al
403c27:	75 f9                	jne    0x403c22
403c29:	2b cf                	sub    %edi,%ecx
403c2b:	2b f3                	sub    %ebx,%esi
403c2d:	8d 79 01             	lea    0x1(%ecx),%edi
403c30:	3b fe                	cmp    %esi,%edi
403c32:	72 02                	jb     0x403c36
403c34:	8b fe                	mov    %esi,%edi
403c36:	57                   	push   %edi
403c37:	ff 72 04             	push   0x4(%edx)
403c3a:	8b d6                	mov    %esi,%edx
403c3c:	8b cb                	mov    %ebx,%ecx
403c3e:	e8 6d e8 ff ff       	call   0x4024b0
403c43:	59                   	pop    %ecx
403c44:	59                   	pop    %ecx
403c45:	c6 44 1f ff 00       	movb   $0x0,-0x1(%edi,%ebx,1)
403c4a:	b0 01                	mov    $0x1,%al
403c4c:	5f                   	pop    %edi
403c4d:	5e                   	pop    %esi
403c4e:	5b                   	pop    %ebx
403c4f:	c9                   	leave
403c50:	c2 08 00             	ret    $0x8
403c53:	8b ff                	mov    %edi,%edi
403c55:	55                   	push   %ebp
403c56:	8b ec                	mov    %esp,%ebp
403c58:	83 ec 0c             	sub    $0xc,%esp
403c5b:	53                   	push   %ebx
403c5c:	56                   	push   %esi
403c5d:	57                   	push   %edi
403c5e:	8b fa                	mov    %edx,%edi
403c60:	33 db                	xor    %ebx,%ebx
403c62:	8b c1                	mov    %ecx,%eax
403c64:	88 5d f4             	mov    %bl,-0xc(%ebp)
403c67:	89 45 fc             	mov    %eax,-0x4(%ebp)
403c6a:	88 1f                	mov    %bl,(%edi)
403c6c:	8b 35 08 d5 40 00    	mov    0x40d508,%esi
403c72:	85 f6                	test   %esi,%esi
403c74:	74 27                	je     0x403c9d
403c76:	ff 15 b4 e0 40 00    	call   *0x40e0b4
403c7c:	33 d2                	xor    %edx,%edx
403c7e:	c7 45 f8 0a 00 00 00 	movl   $0xa,-0x8(%ebp)
403c85:	8b c8                	mov    %eax,%ecx
403c87:	f7 75 f8             	divl   -0x8(%ebp)
403c8a:	8b 34 96             	mov    (%esi,%edx,4),%esi
403c8d:	eb 07                	jmp    0x403c96
403c8f:	39 0e                	cmp    %ecx,(%esi)
403c91:	74 7c                	je     0x403d0f
403c93:	8b 76 04             	mov    0x4(%esi),%esi
403c96:	85 f6                	test   %esi,%esi
403c98:	75 f5                	jne    0x403c8f
403c9a:	8b 45 fc             	mov    -0x4(%ebp),%eax
403c9d:	8b f3                	mov    %ebx,%esi
403c9f:	85 f6                	test   %esi,%esi
403ca1:	74 4b                	je     0x403cee
403ca3:	39 1e                	cmp    %ebx,(%esi)
403ca5:	74 47                	je     0x403cee