401c80:	e8 c6 fd ff ff       	call   0x401a4b
401c85:	83 c4 10             	add    $0x10,%esp
401c88:	eb 0f                	jmp    0x401c99
401c8a:	68 80 13 40 00       	push   $0x401380
401c8f:	57                   	push   %edi
401c90:	50                   	push   %eax
401c91:	e8 b5 fd ff ff       	call   0x401a4b
401c96:	83 c4 0c             	add    $0xc,%esp
401c99:	5f                   	pop    %edi
401c9a:	8b 4d fc             	mov    -0x4(%ebp),%ecx
401c9d:	33 c0                	xor    %eax,%eax
401c9f:	5e                   	pop    %esi
401ca0:	33 cd                	xor    %ebp,%ecx
401ca2:	5b                   	pop    %ebx
401ca3:	e8 f8 25 00 00       	call   0x4042a0
401ca8:	c9                   	leave
401ca9:	c2 04 00             	ret    $0x4
401cac:	8b ff                	mov    %edi,%edi
401cae:	57                   	push   %edi
401caf:	52                   	push   %edx
401cb0:	51                   	push   %ecx
401cb1:	ff 15 58 60 40 00    	call   *0x406058
401cb7:	50                   	push   %eax
401cb8:	ff 15 48 60 40 00    	call   *0x406048
401cbe:	83 3d a4 53 40 00 00 	cmpl   $0x0,0x4053a4
401cc5:	8b f8                	mov    %eax,%edi
401cc7:	74 1a                	je     0x401ce3
401cc9:	56                   	push   %esi
401cca:	57                   	push   %edi
401ccb:	ff 15 58 60 40 00    	call   *0x406058
401cd1:	8b 35 a4 53 40 00    	mov    0x4053a4,%esi
401cd7:	8b ce                	mov    %esi,%ecx
401cd9:	50                   	push   %eax
401cda:	ff 15 90 61 40 00    	call   *0x406190
401ce0:	ff d6                	call   *%esi
401ce2:	5e                   	pop    %esi
401ce3:	8b c7                	mov    %edi,%eax
401ce5:	5f                   	pop    %edi
401ce6:	c3                   	ret
401ce7:	33 c0                	xor    %eax,%eax
401ce9:	89 0d d8 53 40 00    	mov    %ecx,0x4053d8
401cef:	40                   	inc    %eax
401cf0:	f0 0f c1 05 d0 53 40 	lock xadd %eax,0x4053d0
401cf7:	00
401cf8:	40                   	inc    %eax
401cf9:	c3                   	ret
401cfa:	33 c0                	xor    %eax,%eax
401cfc:	89 0d 7c 53 40 00    	mov    %ecx,0x40537c
401d02:	40                   	inc    %eax
401d03:	f0 0f c1 05 e8 53 40 	lock xadd %eax,0x4053e8
401d0a:	00
401d0b:	40                   	inc    %eax
401d0c:	c3                   	ret
401d0d:	33 c0                	xor    %eax,%eax
401d0f:	89 0d e4 53 40 00    	mov    %ecx,0x4053e4
401d15:	40                   	inc    %eax
401d16:	f0 0f c1 05 40 54 40 	lock xadd %eax,0x405440
401d1d:	00
401d1e:	40                   	inc    %eax
401d1f:	c3                   	ret
401d20:	8b ff                	mov    %edi,%edi
401d22:	55                   	push   %ebp
401d23:	8b ec                	mov    %esp,%ebp
401d25:	8b 45 08             	mov    0x8(%ebp),%eax
401d28:	a3 34 54 40 00       	mov    %eax,0x405434
401d2d:	33 c0                	xor    %eax,%eax
401d2f:	40                   	inc    %eax
401d30:	5d                   	pop    %ebp
401d31:	c2 04 00             	ret    $0x4
401d34:	8b ff                	mov    %edi,%edi
401d36:	55                   	push   %ebp
401d37:	8b ec                	mov    %esp,%ebp
401d39:	56                   	push   %esi
401d3a:	8b 35 c4 53 40 00    	mov    0x4053c4,%esi
401d40:	85 f6                	test   %esi,%esi
401d42:	74 10                	je     0x401d54
401d44:	ff 75 08             	push   0x8(%ebp)
401d47:	6a 00                	push   $0x0
401d49:	51                   	push   %ecx
401d4a:	8b ce                	mov    %esi,%ecx
401d4c:	ff 15 90 61 40 00    	call   *0x406190
401d52:	ff d6                	call   *%esi
401d54:	6a 07                	push   $0x7
401d56:	59                   	pop    %ecx
401d57:	cd 29                	int    $0x29
401d59:	5e                   	pop    %esi
401d5a:	5d                   	pop    %ebp
401d5b:	c2 04 00             	ret    $0x4
401d5e:	8b ff                	mov    %edi,%edi
401d60:	55                   	push   %ebp
401d61:	8b ec                	mov    %esp,%ebp
401d63:	81 ec 10 01 00 00    	sub    $0x110,%esp
401d69:	a1 14 50 40 00       	mov    0x405014,%eax
401d6e:	33 c5                	xor    %ebp,%eax
401d70:	89 45 fc             	mov    %eax,-0x4(%ebp)
401d73:	8b 4d 10             	mov    0x10(%ebp),%ecx
401d76:	53                   	push   %ebx
401d77:	8b 5d 0c             	mov    0xc(%ebp),%ebx
401d7a:	56                   	push   %esi
401d7b:	8b 75 08             	mov    0x8(%ebp),%esi
401d7e:	57                   	push   %edi
401d7f:	33 ff                	xor    %edi,%edi
401d81:	89 8d f0 fe ff ff    	mov    %ecx,-0x110(%ebp)
401d87:	89 bd f4 fe ff ff    	mov    %edi,-0x10c(%ebp)
401d8d:	85 f6                	test   %esi,%esi
401d8f:	74 28                	je     0x401db9
401d91:	8d 85 f4 fe ff ff    	lea    -0x10c(%ebp),%eax
401d97:	50                   	push   %eax
401d98:	56                   	push   %esi
401d99:	6a 06                	push   $0x6
401d9b:	ff 15 14 60 40 00    	call   *0x406014
401da1:	85 c0                	test   %eax,%eax
401da3:	75 08                	jne    0x401dad
401da5:	85 db                	test   %ebx,%ebx
401da7:	74 3b                	je     0x401de4
401da9:	89 3b                	mov    %edi,(%ebx)
401dab:	eb 37                	jmp    0x401de4
401dad:	8b bd f4 fe ff ff    	mov    -0x10c(%ebp),%edi
401db3:	8b 8d f0 fe ff ff    	mov    -0x110(%ebp),%ecx
401db9:	85 db                	test   %ebx,%ebx
401dbb:	74 0c                	je     0x401dc9
401dbd:	8b c6                	mov    %esi,%eax
401dbf:	2b c7                	sub    %edi,%eax
401dc1:	f7 de                	neg    %esi
401dc3:	1b f6                	sbb    %esi,%esi
401dc5:	23 f0                	and    %eax,%esi
401dc7:	89 33                	mov    %esi,(%ebx)
401dc9:	85 c9                	test   %ecx,%ecx
401dcb:	74 57                	je     0x401e24
401dcd:	68 04 01 00 00       	push   $0x104
401dd2:	8d 85 f8 fe ff ff    	lea    -0x108(%ebp),%eax
401dd8:	50                   	push   %eax
401dd9:	57                   	push   %edi
401dda:	ff 15 78 60 40 00    	call   *0x406078
401de0:	85 c0                	test   %eax,%eax
401de2:	75 04                	jne    0x401de8
401de4:	32 c0                	xor    %al,%al
401de6:	eb 3e                	jmp    0x401e26
401de8:	8d 8d f8 fe ff ff    	lea    -0x108(%ebp),%ecx
401dee:	8d 51 01             	lea    0x1(%ecx),%edx
401df1:	8a 01                	mov    (%ecx),%al
401df3:	41                   	inc    %ecx
401df4:	84 c0                	test   %al,%al
401df6:	75 f9                	jne    0x401df1
401df8:	2b ca                	sub    %edx,%ecx
401dfa:	8d 85 f8 fe ff ff    	lea    -0x108(%ebp),%eax
401e00:	03 c1                	add    %ecx,%eax
401e02:	eb 07                	jmp    0x401e0b
401e04:	80 78 ff 5c          	cmpb   $0x5c,-0x1(%eax)
401e08:	74 0b                	je     0x401e15
401e0a:	48                   	dec    %eax
401e0b:	8d 8d f8 fe ff ff    	lea    -0x108(%ebp),%ecx
401e11:	3b c1                	cmp    %ecx,%eax
401e13:	77 ef                	ja     0x401e04
401e15:	8b 55 14             	mov    0x14(%ebp),%edx
401e18:	8b 8d f0 fe ff ff    	mov    -0x110(%ebp),%ecx
401e1e:	50                   	push   %eax
401e1f:	e8 87 fa ff ff       	call   0x4018ab
401e24:	b0 01                	mov    $0x1,%al
401e26:	8b 4d fc             	mov    -0x4(%ebp),%ecx
401e29:	5f                   	pop    %edi
401e2a:	5e                   	pop    %esi
401e2b:	33 cd                	xor    %ebp,%ecx
401e2d:	5b                   	pop    %ebx
401e2e:	e8 6d 24 00 00       	call   0x4042a0
401e33:	c9                   	leave
401e34:	c2 10 00             	ret    $0x10
401e37:	cc                   	int3
401e38:	cc                   	int3
401e39:	cc                   	int3
401e3a:	cc                   	int3
401e3b:	cc                   	int3
401e3c:	cc                   	int3
401e3d:	cc                   	int3
401e3e:	cc                   	int3
401e3f:	cc                   	int3
401e40:	80 3d dc 53 40 00 00 	cmpb   $0x0,0x4053dc
401e47:	56                   	push   %esi
401e48:	be f0 53 40 00       	mov    $0x4053f0,%esi
401e4d:	75 16                	jne    0x401e65
401e4f:	6a 40                	push   $0x40
401e51:	56                   	push   %esi
401e52:	6a 00                	push   $0x0
401e54:	68 20 1d 40 00       	push   $0x401d20
401e59:	e8 00 ff ff ff       	call   0x401d5e
401e5e:	c6 05 dc 53 40 00 01 	movb   $0x1,0x4053dc
401e65:	8b c6                	mov    %esi,%eax
401e67:	5e                   	pop    %esi
401e68:	c3                   	ret
401e69:	cc                   	int3
401e6a:	cc                   	int3
401e6b:	cc                   	int3
401e6c:	cc                   	int3
401e6d:	cc                   	int3
401e6e:	cc                   	int3
401e6f:	cc                   	int3
401e70:	ff 25 60 60 40 00    	jmp    *0x406060
401e76:	cc                   	int3
401e77:	cc                   	int3
401e78:	cc                   	int3
401e79:	cc                   	int3
401e7a:	cc                   	int3
401e7b:	cc                   	int3
401e7c:	cc                   	int3
401e7d:	cc                   	int3
401e7e:	cc                   	int3
401e7f:	cc                   	int3
401e80:	8b ff                	mov    %edi,%edi
401e82:	55                   	push   %ebp
401e83:	8b ec                	mov    %esp,%ebp
401e85:	56                   	push   %esi
401e86:	68 84 13 40 00       	push   $0x401384
401e8b:	ff 15 5c 60 40 00    	call   *0x40605c
401e91:	68 a4 13 40 00       	push   $0x4013a4
401e96:	50                   	push   %eax
401e97:	ff 15 4c 60 40 00    	call   *0x40604c
401e9d:	8b f0                	mov    %eax,%esi
401e9f:	85 f6                	test   %esi,%esi
401ea1:	74 13                	je     0x401eb6
401ea3:	ff 75 10             	push   0x10(%ebp)
401ea6:	8b ce                	mov    %esi,%ecx
401ea8:	ff 75 0c             	push   0xc(%ebp)
401eab:	ff 75 08             	push   0x8(%ebp)
401eae:	ff 15 90 61 40 00    	call   *0x406190
401eb4:	ff d6                	call   *%esi
401eb6:	5e                   	pop    %esi
401eb7:	5d                   	pop    %ebp
401eb8:	c2 0c 00             	ret    $0xc
401ebb:	8b ff                	mov    %edi,%edi
401ebd:	55                   	push   %ebp
401ebe:	8b ec                	mov    %esp,%ebp
401ec0:	56                   	push   %esi
401ec1:	57                   	push   %edi
401ec2:	8b f2                	mov    %edx,%esi
401ec4:	8b f9                	mov    %ecx,%edi
401ec6:	ff 15 2c 60 40 00    	call   *0x40602c
401ecc:	85 c0                	test   %eax,%eax
401ece:	75 1d                	jne    0x401eed
401ed0:	68 9c 02 07 80       	push   $0x8007029c
401ed5:	6a 02                	push   $0x2
401ed7:	ff 75 14             	push   0x14(%ebp)
401eda:	8b d6                	mov    %esi,%edx
401edc:	8b cf                	mov    %edi,%ecx
401ede:	50                   	push   %eax
401edf:	50                   	push   %eax
401ee0:	ff 75 08             	push   0x8(%ebp)
401ee3:	e8 ce 03 00 00       	call   0x4022b6
401ee8:	b8 9c 02 00 00       	mov    $0x29c,%eax
401eed:	5f                   	pop    %edi
401eee:	5e                   	pop    %esi
401eef:	5d                   	pop    %ebp
401ef0:	c2 10 00             	ret    $0x10
401ef3:	8b ff                	mov    %edi,%edi
401ef5:	55                   	push   %ebp
401ef6:	8b ec                	mov    %esp,%ebp
401ef8:	ff 75 04             	push   0x4(%ebp)
401efb:	33 d2                	xor    %edx,%edx
401efd:	51                   	push   %ecx
401efe:	51                   	push   %ecx
401eff:	6a 00                	push   $0x0
401f01:	33 c9                	xor    %ecx,%ecx
401f03:	e8 b3 ff ff ff       	call   0x401ebb
401f08:	85 c0                	test   %eax,%eax
401f0a:	7e 08                	jle    0x401f14
401f0c:	0f b7 c0             	movzwl %ax,%eax
401f0f:	0d 00 00 07 80       	or     $0x80070000,%eax
401f14:	5d                   	pop    %ebp
401f15:	c3                   	ret
401f16:	85 c9                	test   %ecx,%ecx
401f18:	75 04                	jne    0x401f1e
401f1a:	6a 02                	push   $0x2
401f1c:	58                   	pop    %eax
401f1d:	c3                   	ret
401f1e:	8d 51 02             	lea    0x2(%ecx),%edx
401f21:	66 8b 01             	mov    (%ecx),%ax
401f24:	83 c1 02             	add    $0x2,%ecx
401f27:	66 85 c0             	test   %ax,%ax
401f2a:	75 f5                	jne    0x401f21
401f2c:	2b ca                	sub    %edx,%ecx
401f2e:	d1 f9                	sar    $1,%ecx
401f30:	8d 04 4d 02 00 00 00 	lea    0x2(,%ecx,2),%eax
401f37:	c3                   	ret
401f38:	8b ff                	mov    %edi,%edi
401f3a:	56                   	push   %esi
401f3b:	8b 35 c0 53 40 00    	mov    0x4053c0,%esi
401f41:	85 f6                	test   %esi,%esi
401f43:	74 0b                	je     0x401f50
401f45:	51                   	push   %ecx
401f46:	8b ce                	mov    %esi,%ecx
401f48:	ff 15 90 61 40 00    	call   *0x406190
401f4e:	ff d6                	call   *%esi
401f50:	5e                   	pop    %esi
401f51:	c3                   	ret
401f52:	8b ff                	mov    %edi,%edi
401f54:	55                   	push   %ebp
401f55:	8b ec                	mov    %esp,%ebp
401f57:	83 ec 0c             	sub    $0xc,%esp
401f5a:	53                   	push   %ebx
401f5b:	8b 5d 28             	mov    0x28(%ebp),%ebx
401f5e:	33 c0                	xor    %eax,%eax
401f60:	56                   	push   %esi
401f61:	57                   	push   %edi
401f62:	8b 7d 1c             	mov    0x1c(%ebp),%edi
401f65:	66 89 03             	mov    %ax,(%ebx)
401f68:	8b 45 30             	mov    0x30(%ebp),%eax
401f6b:	89 55 f8             	mov    %edx,-0x8(%ebp)
401f6e:	89 4d f4             	mov    %ecx,-0xc(%ebp)
401f71:	c6 00 00             	movb   $0x0,(%eax)
401f74:	33 c0                	xor    %eax,%eax
401f76:	89 45 fc             	mov    %eax,-0x4(%ebp)
401f79:	8b 45 18             	mov    0x18(%ebp),%eax
401f7c:	83 e8 00             	sub    $0x0,%eax
401f7f:	74 46                	je     0x401fc7
401f81:	83 e8 01             	sub    $0x1,%eax
401f84:	74 38                	je     0x401fbe
401f86:	83 e8 01             	sub    $0x1,%eax
401f89:	74 0d                	je     0x401f98
401f8b:	83 e8 01             	sub    $0x1,%eax
401f8e:	75 41                	jne    0x401fd1
401f90:	57                   	push   %edi
401f91:	e8 8a fd ff ff       	call   0x401d20
401f96:	eb 36                	jmp    0x401fce
401f98:	85 ff                	test   %edi,%edi
401f9a:	78 19                	js     0x401fb5
401f9c:	bf 9c 02 07 80       	mov    $0x8007029c,%edi
401fa1:	57                   	push   %edi
401fa2:	6a 02                	push   $0x2
401fa4:	ff 75 14             	push   0x14(%ebp)
401fa7:	ff 75 10             	push   0x10(%ebp)
401faa:	ff 75 0c             	push   0xc(%ebp)
401fad:	ff 75 08             	push   0x8(%ebp)
401fb0:	e8 01 03 00 00       	call   0x4022b6
401fb5:	8b cf                	mov    %edi,%ecx
401fb7:	e8 51 fd ff ff       	call   0x401d0d
401fbc:	eb 10                	jmp    0x401fce
401fbe:	8b cf                	mov    %edi,%ecx
401fc0:	e8 35 fd ff ff       	call   0x401cfa
401fc5:	eb 07                	jmp    0x401fce
401fc7:	8b cf                	mov    %edi,%ecx
401fc9:	e8 19 fd ff ff       	call   0x401ce7
401fce:	89 45 fc             	mov    %eax,-0x4(%ebp)
401fd1:	8b 75 38             	mov    0x38(%ebp),%esi
401fd4:	8b 45 18             	mov    0x18(%ebp),%eax
401fd7:	89 06                	mov    %eax,(%esi)
401fd9:	33 c0                	xor    %eax,%eax
401fdb:	89 7e 04             	mov    %edi,0x4(%esi)
401fde:	40                   	inc    %eax
401fdf:	f0 0f c1 05 3c 54 40 	lock xadd %eax,0x40543c
401fe6:	00
401fe7:	40                   	inc    %eax