491122:	8d 9e a0 00 00 00    	lea    0xa0(%esi),%ebx
491128:	89 45 fc             	mov    %eax,-0x4(%ebp)
49112b:	8d 7e 28             	lea    0x28(%esi),%edi
49112e:	81 7f f8 90 42 4c 00 	cmpl   $0x4c4290,-0x8(%edi)
491135:	74 1d                	je     0x491154
491137:	8b 07                	mov    (%edi),%eax
491139:	85 c0                	test   %eax,%eax
49113b:	74 14                	je     0x491151
49113d:	83 38 00             	cmpl   $0x0,(%eax)
491140:	75 0f                	jne    0x491151
491142:	50                   	push   %eax
491143:	e8 b0 46 ff ff       	call   0x4857f8
491148:	ff 33                	push   (%ebx)
49114a:	e8 a9 46 ff ff       	call   0x4857f8
49114f:	59                   	pop    %ecx
491150:	59                   	pop    %ecx
491151:	8b 45 fc             	mov    -0x4(%ebp),%eax
491154:	83 7f f4 00          	cmpl   $0x0,-0xc(%edi)
491158:	74 16                	je     0x491170
49115a:	8b 47 fc             	mov    -0x4(%edi),%eax
49115d:	85 c0                	test   %eax,%eax
49115f:	74 0c                	je     0x49116d
491161:	83 38 00             	cmpl   $0x0,(%eax)
491164:	75 07                	jne    0x49116d
491166:	50                   	push   %eax
491167:	e8 8c 46 ff ff       	call   0x4857f8
49116c:	59                   	pop    %ecx
49116d:	8b 45 fc             	mov    -0x4(%ebp),%eax
491170:	83 c3 04             	add    $0x4,%ebx
491173:	83 c7 10             	add    $0x10,%edi
491176:	83 e8 01             	sub    $0x1,%eax
491179:	89 45 fc             	mov    %eax,-0x4(%ebp)
49117c:	75 b0                	jne    0x49112e
49117e:	56                   	push   %esi
49117f:	e8 74 46 ff ff       	call   0x4857f8
491184:	59                   	pop    %ecx
491185:	5f                   	pop    %edi
491186:	5e                   	pop    %esi
491187:	5b                   	pop    %ebx
491188:	c9                   	leave
491189:	c3                   	ret
49118a:	8b ff                	mov    %edi,%edi
49118c:	55                   	push   %ebp
49118d:	8b ec                	mov    %esp,%ebp
49118f:	8b 4d 08             	mov    0x8(%ebp),%ecx
491192:	85 c9                	test   %ecx,%ecx
491194:	74 16                	je     0x4911ac
491196:	81 f9 a8 33 4a 00    	cmp    $0x4a33a8,%ecx
49119c:	74 0e                	je     0x4911ac
49119e:	33 c0                	xor    %eax,%eax
4911a0:	40                   	inc    %eax
4911a1:	f0 0f c1 81 b0 00 00 	lock xadd %eax,0xb0(%ecx)
4911a8:	00
4911a9:	40                   	inc    %eax
4911aa:	5d                   	pop    %ebp
4911ab:	c3                   	ret
4911ac:	b8 ff ff ff 7f       	mov    $0x7fffffff,%eax
4911b1:	5d                   	pop    %ebp
4911b2:	c3                   	ret
4911b3:	8b ff                	mov    %edi,%edi
4911b5:	55                   	push   %ebp
4911b6:	8b ec                	mov    %esp,%ebp
4911b8:	56                   	push   %esi
4911b9:	8b 75 08             	mov    0x8(%ebp),%esi
4911bc:	85 f6                	test   %esi,%esi
4911be:	74 21                	je     0x4911e1
4911c0:	81 fe a8 33 4a 00    	cmp    $0x4a33a8,%esi
4911c6:	74 19                	je     0x4911e1
4911c8:	8b 86 b0 00 00 00    	mov    0xb0(%esi),%eax
4911ce:	90                   	nop
4911cf:	85 c0                	test   %eax,%eax
4911d1:	75 0e                	jne    0x4911e1
4911d3:	56                   	push   %esi
4911d4:	e8 e5 fa ff ff       	call   0x490cbe
4911d9:	56                   	push   %esi
4911da:	e8 19 46 ff ff       	call   0x4857f8
4911df:	59                   	pop    %ecx
4911e0:	59                   	pop    %ecx
4911e1:	5e                   	pop    %esi
4911e2:	5d                   	pop    %ebp
4911e3:	c3                   	ret
4911e4:	8b ff                	mov    %edi,%edi
4911e6:	55                   	push   %ebp
4911e7:	8b ec                	mov    %esp,%ebp
4911e9:	8b 4d 08             	mov    0x8(%ebp),%ecx
4911ec:	85 c9                	test   %ecx,%ecx
4911ee:	74 16                	je     0x491206
4911f0:	81 f9 a8 33 4a 00    	cmp    $0x4a33a8,%ecx
4911f6:	74 0e                	je     0x491206
4911f8:	83 c8 ff             	or     $0xffffffff,%eax
4911fb:	f0 0f c1 81 b0 00 00 	lock xadd %eax,0xb0(%ecx)
491202:	00
491203:	48                   	dec    %eax
491204:	5d                   	pop    %ebp
491205:	c3                   	ret
491206:	b8 ff ff ff 7f       	mov    $0x7fffffff,%eax
49120b:	5d                   	pop    %ebp
49120c:	c3                   	ret
49120d:	8b ff                	mov    %edi,%edi
49120f:	55                   	push   %ebp
491210:	8b ec                	mov    %esp,%ebp
491212:	8b 45 08             	mov    0x8(%ebp),%eax
491215:	85 c0                	test   %eax,%eax
491217:	74 73                	je     0x49128c
491219:	f0 ff 48 0c          	lock decl 0xc(%eax)
49121d:	8b 48 7c             	mov    0x7c(%eax),%ecx
491220:	85 c9                	test   %ecx,%ecx
491222:	74 03                	je     0x491227
491224:	f0 ff 09             	lock decl (%ecx)
491227:	8b 88 84 00 00 00    	mov    0x84(%eax),%ecx
49122d:	85 c9                	test   %ecx,%ecx
49122f:	74 03                	je     0x491234
491231:	f0 ff 09             	lock decl (%ecx)
491234:	8b 88 80 00 00 00    	mov    0x80(%eax),%ecx
49123a:	85 c9                	test   %ecx,%ecx
49123c:	74 03                	je     0x491241
49123e:	f0 ff 09             	lock decl (%ecx)
491241:	8b 88 8c 00 00 00    	mov    0x8c(%eax),%ecx
491247:	85 c9                	test   %ecx,%ecx
491249:	74 03                	je     0x49124e
49124b:	f0 ff 09             	lock decl (%ecx)
49124e:	56                   	push   %esi
49124f:	6a 06                	push   $0x6
491251:	8d 48 28             	lea    0x28(%eax),%ecx
491254:	5e                   	pop    %esi
491255:	81 79 f8 90 42 4c 00 	cmpl   $0x4c4290,-0x8(%ecx)
49125c:	74 09                	je     0x491267
49125e:	8b 11                	mov    (%ecx),%edx
491260:	85 d2                	test   %edx,%edx
491262:	74 03                	je     0x491267
491264:	f0 ff 0a             	lock decl (%edx)
491267:	83 79 f4 00          	cmpl   $0x0,-0xc(%ecx)
49126b:	74 0a                	je     0x491277
49126d:	8b 51 fc             	mov    -0x4(%ecx),%edx
491270:	85 d2                	test   %edx,%edx
491272:	74 03                	je     0x491277
491274:	f0 ff 0a             	lock decl (%edx)
491277:	83 c1 10             	add    $0x10,%ecx
49127a:	83 ee 01             	sub    $0x1,%esi
49127d:	75 d6                	jne    0x491255
49127f:	ff b0 9c 00 00 00    	push   0x9c(%eax)
491285:	e8 5a ff ff ff       	call   0x4911e4
49128a:	59                   	pop    %ecx
49128b:	5e                   	pop    %esi
49128c:	5d                   	pop    %ebp
49128d:	c3                   	ret
49128e:	6a 0c                	push   $0xc
491290:	68 b0 1b 4c 00       	push   $0x4c1bb0
491295:	e8 a6 94 fd ff       	call   0x46a740
49129a:	83 65 e4 00          	andl   $0x0,-0x1c(%ebp)
49129e:	e8 16 58 ff ff       	call   0x486ab9
4912a3:	8d 78 4c             	lea    0x4c(%eax),%edi
4912a6:	8b 0d 80 45 4c 00    	mov    0x4c4580,%ecx
4912ac:	85 88 50 03 00 00    	test   %ecx,0x350(%eax)
4912b2:	74 06                	je     0x4912ba
4912b4:	8b 37                	mov    (%edi),%esi
4912b6:	85 f6                	test   %esi,%esi
4912b8:	75 3d                	jne    0x4912f7
4912ba:	6a 04                	push   $0x4
4912bc:	e8 a0 0b ff ff       	call   0x481e61
4912c1:	59                   	pop    %ecx
4912c2:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
4912c6:	ff 35 fc 87 4c 00    	push   0x4c87fc
4912cc:	57                   	push   %edi
4912cd:	e8 3d 00 00 00       	call   0x49130f
4912d2:	59                   	pop    %ecx
4912d3:	59                   	pop    %ecx
4912d4:	8b f0                	mov    %eax,%esi
4912d6:	89 75 e4             	mov    %esi,-0x1c(%ebp)
4912d9:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
4912e0:	e8 09 00 00 00       	call   0x4912ee
4912e5:	85 f6                	test   %esi,%esi
4912e7:	74 20                	je     0x491309
4912e9:	eb 0c                	jmp    0x4912f7
4912eb:	8b 75 e4             	mov    -0x1c(%ebp),%esi
4912ee:	6a 04                	push   $0x4
4912f0:	e8 bc 0b ff ff       	call   0x481eb1
4912f5:	59                   	pop    %ecx
4912f6:	c3                   	ret
4912f7:	8b c6                	mov    %esi,%eax
4912f9:	8b 4d f0             	mov    -0x10(%ebp),%ecx
4912fc:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
491303:	59                   	pop    %ecx
491304:	5f                   	pop    %edi
491305:	5e                   	pop    %esi
491306:	5b                   	pop    %ebx
491307:	c9                   	leave
491308:	c3                   	ret
491309:	e8 8b 16 ff ff       	call   0x482999
49130e:	cc                   	int3
49130f:	8b ff                	mov    %edi,%edi
491311:	55                   	push   %ebp
491312:	8b ec                	mov    %esp,%ebp
491314:	56                   	push   %esi
491315:	8b 75 0c             	mov    0xc(%ebp),%esi
491318:	57                   	push   %edi
491319:	85 f6                	test   %esi,%esi
49131b:	74 3c                	je     0x491359
49131d:	8b 45 08             	mov    0x8(%ebp),%eax
491320:	85 c0                	test   %eax,%eax
491322:	74 35                	je     0x491359
491324:	8b 38                	mov    (%eax),%edi
491326:	3b fe                	cmp    %esi,%edi
491328:	75 04                	jne    0x49132e
49132a:	8b c6                	mov    %esi,%eax
49132c:	eb 2d                	jmp    0x49135b
49132e:	56                   	push   %esi
49132f:	89 30                	mov    %esi,(%eax)
491331:	e8 8f fc ff ff       	call   0x490fc5
491336:	59                   	pop    %ecx
491337:	85 ff                	test   %edi,%edi
491339:	74 ef                	je     0x49132a
49133b:	57                   	push   %edi
49133c:	e8 cc fe ff ff       	call   0x49120d
491341:	83 7f 0c 00          	cmpl   $0x0,0xc(%edi)
491345:	59                   	pop    %ecx
491346:	75 e2                	jne    0x49132a
491348:	81 ff d0 41 4c 00    	cmp    $0x4c41d0,%edi
49134e:	74 da                	je     0x49132a
491350:	57                   	push   %edi
491351:	e8 ec fc ff ff       	call   0x491042
491356:	59                   	pop    %ecx
491357:	eb d1                	jmp    0x49132a
491359:	33 c0                	xor    %eax,%eax
49135b:	5f                   	pop    %edi
49135c:	5e                   	pop    %esi
49135d:	5d                   	pop    %ebp
49135e:	c3                   	ret
49135f:	8b ff                	mov    %edi,%edi
491361:	55                   	push   %ebp
491362:	8b ec                	mov    %esp,%ebp
491364:	81 ec b0 00 00 00    	sub    $0xb0,%esp
49136a:	a1 14 40 4c 00       	mov    0x4c4014,%eax
49136f:	33 c5                	xor    %ebp,%eax
491371:	89 45 fc             	mov    %eax,-0x4(%ebp)
491374:	56                   	push   %esi
491375:	8b 75 08             	mov    0x8(%ebp),%esi
491378:	8d 85 50 ff ff ff    	lea    -0xb0(%ebp),%eax
49137e:	6a 55                	push   $0x55
491380:	50                   	push   %eax
491381:	81 4e 08 04 01 00 00 	orl    $0x104,0x8(%esi)
491388:	e8 66 76 ff ff       	call   0x4889f3
49138d:	83 f8 01             	cmp    $0x1,%eax
491390:	7e 3c                	jle    0x4913ce
491392:	8d 8d 50 ff ff ff    	lea    -0xb0(%ebp),%ecx
491398:	57                   	push   %edi
491399:	8d 51 02             	lea    0x2(%ecx),%edx
49139c:	33 ff                	xor    %edi,%edi
49139e:	66 8b 01             	mov    (%ecx),%ax
4913a1:	83 c1 02             	add    $0x2,%ecx
4913a4:	66 3b c7             	cmp    %di,%ax
4913a7:	75 f5                	jne    0x49139e
4913a9:	2b ca                	sub    %edx,%ecx
4913ab:	d1 f9                	sar    $1,%ecx
4913ad:	8d 41 01             	lea    0x1(%ecx),%eax
4913b0:	50                   	push   %eax
4913b1:	8d 85 50 ff ff ff    	lea    -0xb0(%ebp),%eax
4913b7:	50                   	push   %eax
4913b8:	8d 86 50 02 00 00    	lea    0x250(%esi),%eax
4913be:	6a 55                	push   $0x55
4913c0:	50                   	push   %eax
4913c1:	e8 48 eb fe ff       	call   0x47ff0e
4913c6:	83 c4 10             	add    $0x10,%esp
4913c9:	85 c0                	test   %eax,%eax
4913cb:	75 0e                	jne    0x4913db
4913cd:	5f                   	pop    %edi
4913ce:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4913d1:	33 cd                	xor    %ebp,%ecx
4913d3:	5e                   	pop    %esi
4913d4:	e8 f1 85 fd ff       	call   0x4699ca
4913d9:	c9                   	leave
4913da:	c3                   	ret
4913db:	57                   	push   %edi
4913dc:	57                   	push   %edi
4913dd:	57                   	push   %edi
4913de:	57                   	push   %edi
4913df:	57                   	push   %edi
4913e0:	e8 69 82 fe ff       	call   0x47964e
4913e5:	cc                   	int3
4913e6:	8b ff                	mov    %edi,%edi
4913e8:	55                   	push   %ebp
4913e9:	8b ec                	mov    %esp,%ebp
4913eb:	51                   	push   %ecx
4913ec:	53                   	push   %ebx
4913ed:	56                   	push   %esi
4913ee:	8b 75 08             	mov    0x8(%ebp),%esi
4913f1:	33 db                	xor    %ebx,%ebx
4913f3:	57                   	push   %edi
4913f4:	6a 02                	push   $0x2
4913f6:	5f                   	pop    %edi
4913f7:	8b 0e                	mov    (%esi),%ecx
4913f9:	89 5d fc             	mov    %ebx,-0x4(%ebp)
4913fc:	8d 51 02             	lea    0x2(%ecx),%edx
4913ff:	66 8b 01             	mov    (%ecx),%ax
491402:	03 cf                	add    %edi,%ecx
491404:	66 3b c3             	cmp    %bx,%ax
491407:	75 f6                	jne    0x4913ff
491409:	2b ca                	sub    %edx,%ecx
49140b:	33 c0                	xor    %eax,%eax
49140d:	8b 56 04             	mov    0x4(%esi),%edx
491410:	d1 f9                	sar    $1,%ecx
491412:	83 f9 03             	cmp    $0x3,%ecx
491415:	0f 94 c0             	sete   %al
491418:	8d 5a 02             	lea    0x2(%edx),%ebx
49141b:	89 46 10             	mov    %eax,0x10(%esi)
49141e:	66 8b 02             	mov    (%edx),%ax
491421:	03 d7                	add    %edi,%edx
491423:	66 3b 45 fc          	cmp    -0x4(%ebp),%ax
491427:	75 f5                	jne    0x49141e
491429:	2b d3                	sub    %ebx,%edx
49142b:	33 c0                	xor    %eax,%eax
49142d:	d1 fa                	sar    $1,%edx
49142f:	83 fa 03             	cmp    $0x3,%edx
491432:	0f 94 c0             	sete   %al
491435:	89 46 14             	mov    %eax,0x14(%esi)
491438:	83 f9 03             	cmp    $0x3,%ecx
49143b:	74 0a                	je     0x491447
49143d:	ff 36                	push   (%esi)
49143f:	e8 94 00 00 00       	call   0x4914d8
491444:	59                   	pop    %ecx
491445:	8b f8                	mov    %eax,%edi
491447:	33 db                	xor    %ebx,%ebx
491449:	89 7e 0c             	mov    %edi,0xc(%esi)
49144c:	53                   	push   %ebx
49144d:	53                   	push   %ebx
49144e:	6a 03                	push   $0x3
491450:	68 10 15 49 00       	push   $0x491510
491455:	e8 2c 73 ff ff       	call   0x488786
49145a:	8b 4e 08             	mov    0x8(%esi),%ecx
49145d:	f6 c1 07             	test   $0x7,%cl
491460:	0f 95 c2             	setne  %dl
491463:	0f ba e1 09          	bt     $0x9,%ecx
491467:	0f 92 c0             	setb   %al
49146a:	22 d0                	and    %al,%dl
49146c:	0f ba e1 08          	bt     $0x8,%ecx
491470:	0f 92 c0             	setb   %al
491473:	84 d0                	test   %dl,%al
491475:	75 03                	jne    0x49147a
491477:	89 5e 08             	mov    %ebx,0x8(%esi)
49147a:	5f                   	pop    %edi
49147b:	5e                   	pop    %esi
49147c:	5b                   	pop    %ebx
49147d:	c9                   	leave
49147e:	c3                   	ret
49147f:	8b ff                	mov    %edi,%edi
491481:	55                   	push   %ebp
491482:	8b ec                	mov    %esp,%ebp
491484:	53                   	push   %ebx
491485:	56                   	push   %esi
491486:	8b 75 08             	mov    0x8(%ebp),%esi