40ed3f:	6a 08                	push   $0x8
40ed41:	8d 45 ec             	lea    -0x14(%ebp),%eax
40ed44:	c7 45 ec 01 00 00 00 	movl   $0x1,-0x14(%ebp)
40ed4b:	50                   	push   %eax
40ed4c:	b9 b0 48 42 00       	mov    $0x4248b0,%ecx
40ed51:	89 7d f0             	mov    %edi,-0x10(%ebp)
40ed54:	e8 20 96 ff ff       	call   0x408379
40ed59:	84 c0                	test   %al,%al
40ed5b:	75 06                	jne    0x40ed63
40ed5d:	6a fd                	push   $0xfffffffd
40ed5f:	58                   	pop    %eax
40ed60:	f0 21 07             	lock and %eax,(%edi)
40ed63:	53                   	push   %ebx
40ed64:	ff 15 6c 61 42 00    	call   *0x42616c
40ed6a:	8b 55 e4             	mov    -0x1c(%ebp),%edx
40ed6d:	f6 06 01             	testb  $0x1,(%esi)
40ed70:	5b                   	pop    %ebx
40ed71:	75 0c                	jne    0x40ed7f
40ed73:	8b 0e                	mov    (%esi),%ecx
40ed75:	33 ca                	xor    %edx,%ecx
40ed77:	81 e1 18 01 00 00    	and    $0x118,%ecx
40ed7d:	31 0e                	xor    %ecx,(%esi)
40ed7f:	5f                   	pop    %edi
40ed80:	8b c6                	mov    %esi,%eax
40ed82:	5e                   	pop    %esi
40ed83:	c9                   	leave
40ed84:	c2 04 00             	ret    $0x4
40ed87:	8b ff                	mov    %edi,%edi
40ed89:	55                   	push   %ebp
40ed8a:	8b ec                	mov    %esp,%ebp
40ed8c:	83 ec 10             	sub    $0x10,%esp
40ed8f:	56                   	push   %esi
40ed90:	8b f1                	mov    %ecx,%esi
40ed92:	8b 16                	mov    (%esi),%edx
40ed94:	f6 c2 02             	test   $0x2,%dl
40ed97:	75 0b                	jne    0x40eda4
40ed99:	8d 45 f0             	lea    -0x10(%ebp),%eax
40ed9c:	50                   	push   %eax
40ed9d:	e8 f9 fe ff ff       	call   0x40ec9b
40eda2:	8b 10                	mov    (%eax),%edx
40eda4:	33 c0                	xor    %eax,%eax
40eda6:	c6 45 fc 03          	movb   $0x3,-0x4(%ebp)
40edaa:	51                   	push   %ecx
40edab:	89 45 f8             	mov    %eax,-0x8(%ebp)
40edae:	0f b6 45 08          	movzbl 0x8(%ebp),%eax
40edb2:	51                   	push   %ecx
40edb3:	50                   	push   %eax
40edb4:	8d 45 f8             	lea    -0x8(%ebp),%eax
40edb7:	50                   	push   %eax
40edb8:	8b c2                	mov    %edx,%eax
40edba:	8d 4e 08             	lea    0x8(%esi),%ecx
40edbd:	c1 e8 08             	shr    $0x8,%eax
40edc0:	c1 ea 07             	shr    $0x7,%edx
40edc3:	83 e0 01             	and    $0x1,%eax
40edc6:	83 e2 01             	and    $0x1,%edx
40edc9:	50                   	push   %eax
40edca:	52                   	push   %edx
40edcb:	ba 44 b9 07 01       	mov    $0x107b944,%edx
40edd0:	e8 31 0c 00 00       	call   0x40fa06
40edd5:	5e                   	pop    %esi
40edd6:	c9                   	leave
40edd7:	c2 0c 00             	ret    $0xc
40edda:	8b ff                	mov    %edi,%edi
40eddc:	55                   	push   %ebp
40eddd:	8b ec                	mov    %esp,%ebp
40eddf:	56                   	push   %esi
40ede0:	57                   	push   %edi
40ede1:	ff 75 0c             	push   0xc(%ebp)
40ede4:	b9 ff 56 28 01       	mov    $0x12856ff,%ecx
40ede9:	e8 c8 07 00 00       	call   0x40f5b6
40edee:	8b 7d 08             	mov    0x8(%ebp),%edi
40edf1:	8b d0                	mov    %eax,%edx
40edf3:	8b f2                	mov    %edx,%esi
40edf5:	25 80 00 00 00       	and    $0x80,%eax
40edfa:	83 e6 40             	and    $0x40,%esi
40edfd:	c1 e6 02             	shl    $0x2,%esi
40ee00:	83 27 00             	andl   $0x0,(%edi)
40ee03:	83 67 04 00          	andl   $0x0,0x4(%edi)
40ee07:	8b 0f                	mov    (%edi),%ecx
40ee09:	81 e1 7f fe ff ff    	and    $0xfffffe7f,%ecx
40ee0f:	0b f1                	or     %ecx,%esi
40ee11:	0b f0                	or     %eax,%esi
40ee13:	81 e2 3f ff ff ff    	and    $0xffffff3f,%edx
40ee19:	74 08                	je     0x40ee23
40ee1b:	83 fa 02             	cmp    $0x2,%edx
40ee1e:	0f 94 c0             	sete   %al
40ee21:	eb 02                	jmp    0x40ee25
40ee23:	b0 01                	mov    $0x1,%al
40ee25:	0f b6 d0             	movzbl %al,%edx
40ee28:	83 e6 ef             	and    $0xffffffef,%esi
40ee2b:	c1 e2 04             	shl    $0x4,%edx
40ee2e:	0b d6                	or     %esi,%edx
40ee30:	0f b6 c8             	movzbl %al,%ecx
40ee33:	83 e2 f7             	and    $0xfffffff7,%edx
40ee36:	c1 e1 03             	shl    $0x3,%ecx
40ee39:	0b d1                	or     %ecx,%edx
40ee3b:	8b c7                	mov    %edi,%eax
40ee3d:	89 17                	mov    %edx,(%edi)
40ee3f:	5f                   	pop    %edi
40ee40:	5e                   	pop    %esi
40ee41:	5d                   	pop    %ebp
40ee42:	c2 08 00             	ret    $0x8
40ee45:	8b ff                	mov    %edi,%edi
40ee47:	55                   	push   %ebp
40ee48:	8b ec                	mov    %esp,%ebp
40ee4a:	56                   	push   %esi
40ee4b:	57                   	push   %edi
40ee4c:	ff 75 0c             	push   0xc(%ebp)
40ee4f:	b9 05 61 0f 01       	mov    $0x10f6105,%ecx
40ee54:	e8 5d 07 00 00       	call   0x40f5b6
40ee59:	8b 7d 08             	mov    0x8(%ebp),%edi
40ee5c:	8b d0                	mov    %eax,%edx
40ee5e:	8b f2                	mov    %edx,%esi
40ee60:	25 80 00 00 00       	and    $0x80,%eax
40ee65:	83 e6 40             	and    $0x40,%esi
40ee68:	c1 e6 02             	shl    $0x2,%esi
40ee6b:	83 27 00             	andl   $0x0,(%edi)
40ee6e:	83 67 04 00          	andl   $0x0,0x4(%edi)
40ee72:	8b 0f                	mov    (%edi),%ecx
40ee74:	81 e1 7f fe ff ff    	and    $0xfffffe7f,%ecx
40ee7a:	0b f1                	or     %ecx,%esi
40ee7c:	0b f0                	or     %eax,%esi
40ee7e:	81 e2 3f ff ff ff    	and    $0xffffff3f,%edx
40ee84:	74 08                	je     0x40ee8e
40ee86:	83 fa 02             	cmp    $0x2,%edx
40ee89:	0f 94 c0             	sete   %al
40ee8c:	eb 02                	jmp    0x40ee90
40ee8e:	b0 01                	mov    $0x1,%al
40ee90:	0f b6 d0             	movzbl %al,%edx
40ee93:	83 e6 ef             	and    $0xffffffef,%esi
40ee96:	c1 e2 04             	shl    $0x4,%edx
40ee99:	0b d6                	or     %esi,%edx
40ee9b:	0f b6 c8             	movzbl %al,%ecx
40ee9e:	83 e2 f7             	and    $0xfffffff7,%edx
40eea1:	c1 e1 03             	shl    $0x3,%ecx
40eea4:	0b d1                	or     %ecx,%edx
40eea6:	8b c7                	mov    %edi,%eax
40eea8:	89 17                	mov    %edx,(%edi)
40eeaa:	5f                   	pop    %edi
40eeab:	5e                   	pop    %esi
40eeac:	5d                   	pop    %ebp
40eead:	c2 08 00             	ret    $0x8
40eeb0:	8b ff                	mov    %edi,%edi
40eeb2:	55                   	push   %ebp
40eeb3:	8b ec                	mov    %esp,%ebp
40eeb5:	56                   	push   %esi
40eeb6:	57                   	push   %edi
40eeb7:	ff 75 0c             	push   0xc(%ebp)
40eeba:	b9 70 2a 07 01       	mov    $0x1072a70,%ecx
40eebf:	e8 f2 06 00 00       	call   0x40f5b6
40eec4:	8b 7d 08             	mov    0x8(%ebp),%edi
40eec7:	8b d0                	mov    %eax,%edx
40eec9:	8b f2                	mov    %edx,%esi
40eecb:	25 80 00 00 00       	and    $0x80,%eax
40eed0:	83 e6 40             	and    $0x40,%esi
40eed3:	c1 e6 02             	shl    $0x2,%esi
40eed6:	83 27 00             	andl   $0x0,(%edi)
40eed9:	83 67 04 00          	andl   $0x0,0x4(%edi)
40eedd:	8b 0f                	mov    (%edi),%ecx
40eedf:	81 e1 7f fe ff ff    	and    $0xfffffe7f,%ecx
40eee5:	0b f1                	or     %ecx,%esi
40eee7:	0b f0                	or     %eax,%esi
40eee9:	81 e2 3f ff ff ff    	and    $0xffffff3f,%edx
40eeef:	74 08                	je     0x40eef9
40eef1:	83 fa 02             	cmp    $0x2,%edx
40eef4:	0f 94 c0             	sete   %al
40eef7:	eb 02                	jmp    0x40eefb
40eef9:	b0 01                	mov    $0x1,%al
40eefb:	0f b6 d0             	movzbl %al,%edx
40eefe:	83 e6 ef             	and    $0xffffffef,%esi
40ef01:	c1 e2 04             	shl    $0x4,%edx
40ef04:	0b d6                	or     %esi,%edx
40ef06:	0f b6 c8             	movzbl %al,%ecx
40ef09:	83 e2 f7             	and    $0xfffffff7,%edx
40ef0c:	c1 e1 03             	shl    $0x3,%ecx
40ef0f:	0b d1                	or     %ecx,%edx
40ef11:	8b c7                	mov    %edi,%eax
40ef13:	89 17                	mov    %edx,(%edi)
40ef15:	5f                   	pop    %edi
40ef16:	5e                   	pop    %esi
40ef17:	5d                   	pop    %ebp
40ef18:	c2 08 00             	ret    $0x8
40ef1b:	8b ff                	mov    %edi,%edi
40ef1d:	55                   	push   %ebp
40ef1e:	8b ec                	mov    %esp,%ebp
40ef20:	56                   	push   %esi
40ef21:	57                   	push   %edi
40ef22:	ff 75 0c             	push   0xc(%ebp)
40ef25:	b9 c4 66 27 01       	mov    $0x12766c4,%ecx
40ef2a:	e8 87 06 00 00       	call   0x40f5b6
40ef2f:	8b 7d 08             	mov    0x8(%ebp),%edi
40ef32:	8b d0                	mov    %eax,%edx
40ef34:	8b f2                	mov    %edx,%esi
40ef36:	25 80 00 00 00       	and    $0x80,%eax
40ef3b:	83 e6 40             	and    $0x40,%esi
40ef3e:	c1 e6 02             	shl    $0x2,%esi
40ef41:	83 27 00             	andl   $0x0,(%edi)
40ef44:	83 67 04 00          	andl   $0x0,0x4(%edi)
40ef48:	8b 0f                	mov    (%edi),%ecx
40ef4a:	81 e1 7f fe ff ff    	and    $0xfffffe7f,%ecx
40ef50:	0b f1                	or     %ecx,%esi
40ef52:	0b f0                	or     %eax,%esi
40ef54:	81 e2 3f ff ff ff    	and    $0xffffff3f,%edx
40ef5a:	74 08                	je     0x40ef64
40ef5c:	83 fa 02             	cmp    $0x2,%edx
40ef5f:	0f 94 c0             	sete   %al
40ef62:	eb 02                	jmp    0x40ef66
40ef64:	b0 01                	mov    $0x1,%al
40ef66:	0f b6 d0             	movzbl %al,%edx
40ef69:	83 e6 ef             	and    $0xffffffef,%esi
40ef6c:	c1 e2 04             	shl    $0x4,%edx
40ef6f:	0b d6                	or     %esi,%edx
40ef71:	0f b6 c8             	movzbl %al,%ecx
40ef74:	83 e2 f7             	and    $0xfffffff7,%edx
40ef77:	c1 e1 03             	shl    $0x3,%ecx
40ef7a:	0b d1                	or     %ecx,%edx
40ef7c:	8b c7                	mov    %edi,%eax
40ef7e:	89 17                	mov    %edx,(%edi)
40ef80:	5f                   	pop    %edi
40ef81:	5e                   	pop    %esi
40ef82:	5d                   	pop    %ebp
40ef83:	c2 08 00             	ret    $0x8
40ef86:	8b ff                	mov    %edi,%edi
40ef88:	55                   	push   %ebp
40ef89:	8b ec                	mov    %esp,%ebp
40ef8b:	56                   	push   %esi
40ef8c:	57                   	push   %edi
40ef8d:	ff 75 0c             	push   0xc(%ebp)
40ef90:	b9 03 81 22 01       	mov    $0x1228103,%ecx
40ef95:	e8 1c 06 00 00       	call   0x40f5b6
40ef9a:	8b 7d 08             	mov    0x8(%ebp),%edi
40ef9d:	8b d0                	mov    %eax,%edx
40ef9f:	8b f2                	mov    %edx,%esi
40efa1:	25 80 00 00 00       	and    $0x80,%eax
40efa6:	83 e6 40             	and    $0x40,%esi
40efa9:	c1 e6 02             	shl    $0x2,%esi
40efac:	83 27 00             	andl   $0x0,(%edi)
40efaf:	83 67 04 00          	andl   $0x0,0x4(%edi)
40efb3:	8b 0f                	mov    (%edi),%ecx
40efb5:	81 e1 7f fe ff ff    	and    $0xfffffe7f,%ecx
40efbb:	0b f1                	or     %ecx,%esi
40efbd:	0b f0                	or     %eax,%esi
40efbf:	81 e2 3f ff ff ff    	and    $0xffffff3f,%edx
40efc5:	74 08                	je     0x40efcf
40efc7:	83 fa 02             	cmp    $0x2,%edx
40efca:	0f 94 c0             	sete   %al
40efcd:	eb 02                	jmp    0x40efd1
40efcf:	b0 01                	mov    $0x1,%al
40efd1:	0f b6 d0             	movzbl %al,%edx
40efd4:	83 e6 ef             	and    $0xffffffef,%esi
40efd7:	c1 e2 04             	shl    $0x4,%edx
40efda:	0b d6                	or     %esi,%edx
40efdc:	0f b6 c8             	movzbl %al,%ecx
40efdf:	83 e2 f7             	and    $0xfffffff7,%edx
40efe2:	c1 e1 03             	shl    $0x3,%ecx
40efe5:	0b d1                	or     %ecx,%edx
40efe7:	8b c7                	mov    %edi,%eax
40efe9:	89 17                	mov    %edx,(%edi)
40efeb:	5f                   	pop    %edi
40efec:	5e                   	pop    %esi
40efed:	5d                   	pop    %ebp
40efee:	c2 08 00             	ret    $0x8
40eff1:	8b ff                	mov    %edi,%edi
40eff3:	55                   	push   %ebp
40eff4:	8b ec                	mov    %esp,%ebp
40eff6:	56                   	push   %esi
40eff7:	57                   	push   %edi
40eff8:	ff 75 0c             	push   0xc(%ebp)
40effb:	b9 a0 cd 71 00       	mov    $0x71cda0,%ecx
40f000:	e8 b1 05 00 00       	call   0x40f5b6
40f005:	8b 7d 08             	mov    0x8(%ebp),%edi
40f008:	8b d0                	mov    %eax,%edx
40f00a:	8b f2                	mov    %edx,%esi
40f00c:	25 80 00 00 00       	and    $0x80,%eax
40f011:	83 e6 40             	and    $0x40,%esi
40f014:	c1 e6 02             	shl    $0x2,%esi
40f017:	83 27 00             	andl   $0x0,(%edi)
40f01a:	83 67 04 00          	andl   $0x0,0x4(%edi)
40f01e:	8b 0f                	mov    (%edi),%ecx
40f020:	81 e1 7f fe ff ff    	and    $0xfffffe7f,%ecx
40f026:	0b f1                	or     %ecx,%esi
40f028:	0b f0                	or     %eax,%esi
40f02a:	81 e2 3f ff ff ff    	and    $0xffffff3f,%edx
40f030:	74 08                	je     0x40f03a
40f032:	83 fa 02             	cmp    $0x2,%edx
40f035:	0f 94 c0             	sete   %al
40f038:	eb 02                	jmp    0x40f03c
40f03a:	b0 01                	mov    $0x1,%al
40f03c:	0f b6 d0             	movzbl %al,%edx
40f03f:	83 e6 ef             	and    $0xffffffef,%esi
40f042:	c1 e2 04             	shl    $0x4,%edx
40f045:	0b d6                	or     %esi,%edx
40f047:	0f b6 c8             	movzbl %al,%ecx
40f04a:	83 e2 f7             	and    $0xfffffff7,%edx
40f04d:	c1 e1 03             	shl    $0x3,%ecx
40f050:	0b d1                	or     %ecx,%edx
40f052:	8b c7                	mov    %edi,%eax
40f054:	89 17                	mov    %edx,(%edi)
40f056:	5f                   	pop    %edi
40f057:	5e                   	pop    %esi
40f058:	5d                   	pop    %ebp
40f059:	c2 08 00             	ret    $0x8
40f05c:	8b ff                	mov    %edi,%edi
40f05e:	55                   	push   %ebp
40f05f:	8b ec                	mov    %esp,%ebp
40f061:	56                   	push   %esi
40f062:	57                   	push   %edi
40f063:	ff 75 0c             	push   0xc(%ebp)
40f066:	b9 58 81 0d 01       	mov    $0x10d8158,%ecx
40f06b:	e8 46 05 00 00       	call   0x40f5b6
40f070:	8b 7d 08             	mov    0x8(%ebp),%edi
40f073:	8b d0                	mov    %eax,%edx
40f075:	8b f2                	mov    %edx,%esi
40f077:	25 80 00 00 00       	and    $0x80,%eax
40f07c:	83 e6 40             	and    $0x40,%esi
40f07f:	c1 e6 02             	shl    $0x2,%esi
40f082:	83 27 00             	andl   $0x0,(%edi)
40f085:	83 67 04 00          	andl   $0x0,0x4(%edi)
40f089:	8b 0f                	mov    (%edi),%ecx
40f08b:	81 e1 7f fe ff ff    	and    $0xfffffe7f,%ecx
40f091:	0b f1                	or     %ecx,%esi
40f093:	0b f0                	or     %eax,%esi
40f095:	81 e2 3f ff ff ff    	and    $0xffffff3f,%edx
40f09b:	74 08                	je     0x40f0a5
40f09d:	83 fa 02             	cmp    $0x2,%edx
40f0a0:	0f 94 c0             	sete   %al
40f0a3:	eb 02                	jmp    0x40f0a7
40f0a5:	b0 01                	mov    $0x1,%al
40f0a7:	0f b6 d0             	movzbl %al,%edx
40f0aa:	83 e6 ef             	and    $0xffffffef,%esi
40f0ad:	c1 e2 04             	shl    $0x4,%edx
40f0b0:	0b d6                	or     %esi,%edx
40f0b2:	0f b6 c8             	movzbl %al,%ecx
40f0b5:	83 e2 f7             	and    $0xfffffff7,%edx
40f0b8:	c1 e1 03             	shl    $0x3,%ecx
40f0bb:	0b d1                	or     %ecx,%edx
40f0bd:	8b c7                	mov    %edi,%eax
40f0bf:	89 17                	mov    %edx,(%edi)
40f0c1:	5f                   	pop    %edi
40f0c2:	5e                   	pop    %esi
40f0c3:	5d                   	pop    %ebp
40f0c4:	c2 08 00             	ret    $0x8
40f0c7:	8b ff                	mov    %edi,%edi
40f0c9:	55                   	push   %ebp
40f0ca:	8b ec                	mov    %esp,%ebp
40f0cc:	56                   	push   %esi
40f0cd:	57                   	push   %edi
40f0ce:	ff 75 0c             	push   0xc(%ebp)
40f0d1:	b9 5e 65 27 01       	mov    $0x127655e,%ecx
40f0d6:	e8 db 04 00 00       	call   0x40f5b6