490140:	8b e5                	mov    %ebp,%esp
490142:	5d                   	pop    %ebp
490143:	c3                   	ret
490144:	55                   	push   %ebp
490145:	8b ec                	mov    %esp,%ebp
490147:	83 c4 f4             	add    $0xfffffff4,%esp
49014a:	89 55 fc             	mov    %edx,-0x4(%ebp)
49014d:	8b 01                	mov    (%ecx),%eax
49014f:	03 41 08             	add    0x8(%ecx),%eax
490152:	d1 f8                	sar    $1,%eax
490154:	79 03                	jns    0x490159
490156:	83 d0 00             	adc    $0x0,%eax
490159:	89 45 f8             	mov    %eax,-0x8(%ebp)
49015c:	8b 41 04             	mov    0x4(%ecx),%eax
49015f:	03 41 0c             	add    0xc(%ecx),%eax
490162:	d1 f8                	sar    $1,%eax
490164:	79 03                	jns    0x490169
490166:	83 d0 00             	adc    $0x0,%eax
490169:	48                   	dec    %eax
49016a:	89 45 f4             	mov    %eax,-0xc(%ebp)
49016d:	8b 45 08             	mov    0x8(%ebp),%eax
490170:	80 78 09 00          	cmpb   $0x0,0x9(%eax)
490174:	75 09                	jne    0x49017f
490176:	8b 45 08             	mov    0x8(%ebp),%eax
490179:	80 78 0b 00          	cmpb   $0x0,0xb(%eax)
49017d:	74 0f                	je     0x49018e
49017f:	8b 45 08             	mov    0x8(%ebp),%eax
490182:	80 78 19 03          	cmpb   $0x3,0x19(%eax)
490186:	74 06                	je     0x49018e
490188:	ff 45 f8             	incl   -0x8(%ebp)
49018b:	ff 45 f4             	incl   -0xc(%ebp)
49018e:	8b 45 08             	mov    0x8(%ebp),%eax
490191:	80 78 08 00          	cmpb   $0x0,0x8(%eax)
490195:	74 2b                	je     0x4901c2
490197:	8b 45 08             	mov    0x8(%ebp),%eax
49019a:	8b 40 04             	mov    0x4(%eax),%eax
49019d:	83 e0 01             	and    $0x1,%eax
4901a0:	84 c0                	test   %al,%al
4901a2:	74 10                	je     0x4901b4
4901a4:	55                   	push   %ebp
4901a5:	a1 34 6e 6a 00       	mov    0x6a6e34,%eax
4901aa:	8b 00                	mov    (%eax),%eax
4901ac:	e8 5f fe ff ff       	call   0x490010
4901b1:	59                   	pop    %ecx
4901b2:	eb 32                	jmp    0x4901e6
4901b4:	55                   	push   %ebp
4901b5:	b8 12 00 00 80       	mov    $0x80000012,%eax
4901ba:	e8 51 fe ff ff       	call   0x490010
4901bf:	59                   	pop    %ecx
4901c0:	eb 24                	jmp    0x4901e6
4901c2:	ff 45 f8             	incl   -0x8(%ebp)
4901c5:	ff 45 f4             	incl   -0xc(%ebp)
4901c8:	55                   	push   %ebp
4901c9:	b8 14 00 00 80       	mov    $0x80000014,%eax
4901ce:	e8 3d fe ff ff       	call   0x490010
4901d3:	59                   	pop    %ecx
4901d4:	ff 4d f8             	decl   -0x8(%ebp)
4901d7:	ff 4d f4             	decl   -0xc(%ebp)
4901da:	55                   	push   %ebp
4901db:	b8 10 00 00 80       	mov    $0x80000010,%eax
4901e0:	e8 2b fe ff ff       	call   0x490010
4901e5:	59                   	pop    %ecx
4901e6:	8b e5                	mov    %ebp,%esp
4901e8:	5d                   	pop    %ebp
4901e9:	c2 04 00             	ret    $0x4
4901ec:	55                   	push   %ebp
4901ed:	8b ec                	mov    %esp,%ebp
4901ef:	83 c4 d4             	add    $0xffffffd4,%esp
4901f2:	53                   	push   %ebx
4901f3:	56                   	push   %esi
4901f4:	57                   	push   %edi
4901f5:	8b d9                	mov    %ecx,%ebx
4901f7:	89 55 f8             	mov    %edx,-0x8(%ebp)
4901fa:	89 45 fc             	mov    %eax,-0x4(%ebp)
4901fd:	8b 7d 08             	mov    0x8(%ebp),%edi
490200:	57                   	push   %edi
490201:	8b f3                	mov    %ebx,%esi
490203:	8d 7d d4             	lea    -0x2c(%ebp),%edi
490206:	a5                   	movsl  %ds:(%esi),%es:(%edi)
490207:	a5                   	movsl  %ds:(%esi),%es:(%edi)
490208:	a5                   	movsl  %ds:(%esi),%es:(%edi)
490209:	a5                   	movsl  %ds:(%esi),%es:(%edi)
49020a:	5f                   	pop    %edi
49020b:	8b 45 f8             	mov    -0x8(%ebp),%eax
49020e:	e8 ad 8a f9 ff       	call   0x428cc0
490213:	8b f0                	mov    %eax,%esi
490215:	80 7f 08 00          	cmpb   $0x0,0x8(%edi)
490219:	74 06                	je     0x490221
49021b:	80 7f 0a 00          	cmpb   $0x0,0xa(%edi)
49021f:	75 10                	jne    0x490231
490221:	80 7f 08 00          	cmpb   $0x0,0x8(%edi)
490225:	75 06                	jne    0x49022d
490227:	80 7f 0a 01          	cmpb   $0x1,0xa(%edi)
49022b:	74 04                	je     0x490231
49022d:	33 c0                	xor    %eax,%eax
49022f:	eb 02                	jmp    0x490233
490231:	b0 01                	mov    $0x1,%al
490233:	88 45 f3             	mov    %al,-0xd(%ebp)
490236:	8b 07                	mov    (%edi),%eax
490238:	25 02 10 00 00       	and    $0x1002,%eax
49023d:	3d 02 10 00 00       	cmp    $0x1002,%eax
490242:	0f 94 c0             	sete   %al
490245:	8b 17                	mov    (%edi),%edx
490247:	8b ca                	mov    %edx,%ecx
490249:	81 e1 00 10 00 00    	and    $0x1000,%ecx
49024f:	81 f9 00 10 00 00    	cmp    $0x1000,%ecx
490255:	75 0e                	jne    0x490265
490257:	81 e2 00 02 00 00    	and    $0x200,%edx
49025d:	81 fa 00 02 00 00    	cmp    $0x200,%edx
490263:	74 04                	je     0x490269
490265:	33 d2                	xor    %edx,%edx
490267:	eb 02                	jmp    0x49026b
490269:	b2 01                	mov    $0x1,%dl
49026b:	88 55 f2             	mov    %dl,-0xe(%ebp)
49026e:	84 c0                	test   %al,%al
490270:	0f 85 81 01 00 00    	jne    0x4903f7
490276:	8b 15 70 72 6a 00    	mov    0x6a7270,%edx
49027c:	80 3a 00             	cmpb   $0x0,(%edx)
49027f:	0f 84 72 01 00 00    	je     0x4903f7
490285:	80 7f 08 00          	cmpb   $0x0,0x8(%edi)
490289:	75 14                	jne    0x49029f
49028b:	80 7f 0a 01          	cmpb   $0x1,0xa(%edi)
49028f:	75 07                	jne    0x490298
490291:	bb 02 00 00 00       	mov    $0x2,%ebx
490296:	eb 40                	jmp    0x4902d8
490298:	bb 04 00 00 00       	mov    $0x4,%ebx
49029d:	eb 39                	jmp    0x4902d8
49029f:	80 7f 09 00          	cmpb   $0x0,0x9(%edi)
4902a3:	74 07                	je     0x4902ac
4902a5:	bb 03 00 00 00       	mov    $0x3,%ebx
4902aa:	eb 2c                	jmp    0x4902d8
4902ac:	80 7f 0b 00          	cmpb   $0x0,0xb(%edi)
4902b0:	74 14                	je     0x4902c6
4902b2:	80 7f 0a 00          	cmpb   $0x0,0xa(%edi)
4902b6:	74 07                	je     0x4902bf
4902b8:	bb 06 00 00 00       	mov    $0x6,%ebx
4902bd:	eb 19                	jmp    0x4902d8
4902bf:	bb 05 00 00 00       	mov    $0x5,%ebx
4902c4:	eb 12                	jmp    0x4902d8
4902c6:	80 7f 0a 00          	cmpb   $0x0,0xa(%edi)
4902ca:	74 07                	je     0x4902d3
4902cc:	bb 02 00 00 00       	mov    $0x2,%ebx
4902d1:	eb 05                	jmp    0x4902d8
4902d3:	bb 01 00 00 00       	mov    $0x1,%ebx
4902d8:	80 7d f2 00          	cmpb   $0x0,-0xe(%ebp)
4902dc:	75 0e                	jne    0x4902ec
4902de:	8b 47 04             	mov    0x4(%edi),%eax
4902e1:	83 e0 10             	and    $0x10,%eax
4902e4:	84 c0                	test   %al,%al
4902e6:	0f 84 e0 00 00 00    	je     0x4903cc
4902ec:	c7 45 f4 02 00 00 00 	movl   $0x2,-0xc(%ebp)
4902f3:	80 7f 19 03          	cmpb   $0x3,0x19(%edi)
4902f7:	75 03                	jne    0x4902fc
4902f9:	ff 4d d4             	decl   -0x2c(%ebp)
4902fc:	8d 45 ec             	lea    -0x14(%ebp),%eax
4902ff:	50                   	push   %eax
490300:	8d 45 d4             	lea    -0x2c(%ebp),%eax
490303:	50                   	push   %eax
490304:	8b 45 f4             	mov    -0xc(%ebp),%eax
490307:	50                   	push   %eax
490308:	33 c0                	xor    %eax,%eax
49030a:	8a 47 19             	mov    0x19(%edi),%al
49030d:	8b 04 85 80 b1 68 00 	mov    0x68b180(,%eax,4),%eax
490314:	50                   	push   %eax
490315:	8b 45 f8             	mov    -0x8(%ebp),%eax
490318:	e8 a3 89 f9 ff       	call   0x428cc0
49031d:	50                   	push   %eax
49031e:	a1 0c 6c 6a 00       	mov    0x6a6c0c,%eax
490323:	8b 00                	mov    (%eax),%eax
490325:	50                   	push   %eax
490326:	a1 7c 6e 6a 00       	mov    0x6a6e7c,%eax
49032b:	8b 00                	mov    (%eax),%eax
49032d:	ff d0                	call   *%eax
49032f:	80 7f 19 03          	cmpb   $0x3,0x19(%edi)
490333:	75 03                	jne    0x490338
490335:	ff 45 d4             	incl   -0x2c(%ebp)
490338:	80 7d f2 00          	cmpb   $0x0,-0xe(%ebp)
49033c:	75 0a                	jne    0x490348
49033e:	8b 47 04             	mov    0x4(%edi),%eax
490341:	83 e0 10             	and    $0x10,%eax
490344:	84 c0                	test   %al,%al
490346:	75 3c                	jne    0x490384
490348:	8b 45 fc             	mov    -0x4(%ebp),%eax
49034b:	8b 40 0c             	mov    0xc(%eax),%eax
49034e:	e8 5d 8a ff ff       	call   0x488db0
490353:	89 45 e8             	mov    %eax,-0x18(%ebp)
490356:	8b 45 e8             	mov    -0x18(%ebp),%eax
490359:	50                   	push   %eax
49035a:	56                   	push   %esi
49035b:	e8 a0 73 f7 ff       	call   0x407700
490360:	89 45 e4             	mov    %eax,-0x1c(%ebp)
490363:	8b 45 e8             	mov    -0x18(%ebp),%eax
490366:	50                   	push   %eax
490367:	8b 45 ec             	mov    -0x14(%ebp),%eax
49036a:	50                   	push   %eax
49036b:	56                   	push   %esi
49036c:	e8 df 71 f7 ff       	call   0x407550
490371:	8b 45 e4             	mov    -0x1c(%ebp),%eax
490374:	50                   	push   %eax
490375:	56                   	push   %esi
490376:	e8 85 73 f7 ff       	call   0x407700
49037b:	8b 45 e8             	mov    -0x18(%ebp),%eax
49037e:	50                   	push   %eax
49037f:	e8 8c 71 f7 ff       	call   0x407510
490384:	b8 10 00 00 80       	mov    $0x80000010,%eax
490389:	e8 22 8a ff ff       	call   0x488db0
49038e:	89 45 e8             	mov    %eax,-0x18(%ebp)
490391:	8b 45 e8             	mov    -0x18(%ebp),%eax
490394:	50                   	push   %eax
490395:	56                   	push   %esi
490396:	e8 65 73 f7 ff       	call   0x407700
49039b:	89 45 e4             	mov    %eax,-0x1c(%ebp)
49039e:	6a 01                	push   $0x1
4903a0:	6a 01                	push   $0x1
4903a2:	8b 45 e8             	mov    -0x18(%ebp),%eax
4903a5:	50                   	push   %eax
4903a6:	8b 45 ec             	mov    -0x14(%ebp),%eax
4903a9:	50                   	push   %eax
4903aa:	56                   	push   %esi
4903ab:	e8 a8 71 f7 ff       	call   0x407558
4903b0:	8b 45 e4             	mov    -0x1c(%ebp),%eax
4903b3:	50                   	push   %eax
4903b4:	56                   	push   %esi
4903b5:	e8 46 73 f7 ff       	call   0x407700
4903ba:	8b 45 e8             	mov    -0x18(%ebp),%eax
4903bd:	50                   	push   %eax
4903be:	e8 4d 71 f7 ff       	call   0x407510
4903c3:	8b 45 ec             	mov    -0x14(%ebp),%eax
4903c6:	50                   	push   %eax
4903c7:	e8 44 71 f7 ff       	call   0x407510
4903cc:	6a 00                	push   $0x0
4903ce:	8d 45 d4             	lea    -0x2c(%ebp),%eax
4903d1:	50                   	push   %eax
4903d2:	53                   	push   %ebx
4903d3:	33 c0                	xor    %eax,%eax
4903d5:	8a 47 19             	mov    0x19(%edi),%al
4903d8:	8b 04 85 80 b1 68 00 	mov    0x68b180(,%eax,4),%eax
4903df:	50                   	push   %eax
4903e0:	56                   	push   %esi
4903e1:	a1 0c 6c 6a 00       	mov    0x6a6c0c,%eax
4903e6:	8b 00                	mov    (%eax),%eax
4903e8:	50                   	push   %eax
4903e9:	a1 e0 6e 6a 00       	mov    0x6a6ee0,%eax
4903ee:	8b 00                	mov    (%eax),%eax
4903f0:	ff d0                	call   *%eax
4903f2:	e9 aa 01 00 00       	jmp    0x4905a1
4903f7:	84 c0                	test   %al,%al
4903f9:	74 3b                	je     0x490436
4903fb:	8b 15 20 72 6a 00    	mov    0x6a7220,%edx
490401:	80 3a 00             	cmpb   $0x0,(%edx)
490404:	74 30                	je     0x490436
490406:	80 7f 09 00          	cmpb   $0x0,0x9(%edi)
49040a:	75 06                	jne    0x490412
49040c:	80 7f 0b 00          	cmpb   $0x0,0xb(%edi)
490410:	74 06                	je     0x490418
490412:	80 7f 08 00          	cmpb   $0x0,0x8(%edi)
490416:	75 0a                	jne    0x490422
490418:	80 7d f3 00          	cmpb   $0x0,-0xd(%ebp)
49041c:	0f 84 7f 01 00 00    	je     0x4905a1
490422:	8d 55 d4             	lea    -0x2c(%ebp),%edx
490425:	b9 0d 00 00 80       	mov    $0x8000000d,%ecx
49042a:	8b c6                	mov    %esi,%eax
49042c:	e8 b3 89 ff ff       	call   0x488de4
490431:	e9 6b 01 00 00       	jmp    0x4905a1
490436:	80 7f 19 03          	cmpb   $0x3,0x19(%edi)
49043a:	75 12                	jne    0x49044e
49043c:	84 c0                	test   %al,%al
49043e:	75 0e                	jne    0x49044e
490440:	a1 70 72 6a 00       	mov    0x6a7270,%eax
490445:	80 38 00             	cmpb   $0x0,(%eax)
490448:	75 04                	jne    0x49044e
49044a:	83 6d dc 02          	subl   $0x2,-0x24(%ebp)
49044e:	a1 20 72 6a 00       	mov    0x6a7220,%eax
490453:	80 38 00             	cmpb   $0x0,(%eax)
490456:	74 28                	je     0x490480
490458:	80 7f 09 00          	cmpb   $0x0,0x9(%edi)
49045c:	75 06                	jne    0x490464
49045e:	80 7f 0b 00          	cmpb   $0x0,0xb(%edi)
490462:	74 06                	je     0x49046a
490464:	80 7f 08 00          	cmpb   $0x0,0x8(%edi)
490468:	75 06                	jne    0x490470
49046a:	80 7d f3 00          	cmpb   $0x0,-0xd(%ebp)
49046e:	74 10                	je     0x490480
490470:	8b 45 fc             	mov    -0x4(%ebp),%eax
490473:	8b 48 0c             	mov    0xc(%eax),%ecx
490476:	8d 55 d4             	lea    -0x2c(%ebp),%edx
490479:	8b c6                	mov    %esi,%eax
49047b:	e8 64 89 ff ff       	call   0x488de4
490480:	80 7d f2 00          	cmpb   $0x0,-0xe(%ebp)
490484:	0f 84 8e 00 00 00    	je     0x490518
49048a:	bb 0f 28 00 00       	mov    $0x280f,%ebx
49048f:	80 7d f3 00          	cmpb   $0x0,-0xd(%ebp)
490493:	74 12                	je     0x4904a7
490495:	80 7f 09 00          	cmpb   $0x0,0x9(%edi)
490499:	75 0c                	jne    0x4904a7
49049b:	80 7f 0b 00          	cmpb   $0x0,0xb(%edi)
49049f:	75 06                	jne    0x4904a7
4904a1:	80 7f 08 00          	cmpb   $0x0,0x8(%edi)
4904a5:	75 06                	jne    0x4904ad
4904a7:	81 cb 00 40 00 00    	or     $0x4000,%ebx
4904ad:	80 7f 19 02          	cmpb   $0x2,0x19(%edi)
4904b1:	75 0c                	jne    0x4904bf
4904b3:	80 7d f3 00          	cmpb   $0x0,-0xd(%ebp)
4904b7:	75 06                	jne    0x4904bf
4904b9:	80 7f 09 00          	cmpb   $0x0,0x9(%edi)
4904bd:	74 04                	je     0x4904c3
4904bf:	33 c0                	xor    %eax,%eax
4904c1:	eb 02                	jmp    0x4904c5
4904c3:	b0 01                	mov    $0x1,%al
4904c5:	88 45 f1             	mov    %al,-0xf(%ebp)
4904c8:	80 7d f1 00          	cmpb   $0x0,-0xf(%ebp)
4904cc:	74 03                	je     0x4904d1
4904ce:	ff 45 dc             	incl   -0x24(%ebp)
4904d1:	53                   	push   %ebx
4904d2:	6a 05                	push   $0x5
4904d4:	8d 45 d4             	lea    -0x2c(%ebp),%eax
4904d7:	50                   	push   %eax
4904d8:	8b 45 f8             	mov    -0x8(%ebp),%eax
4904db:	e8 e0 87 f9 ff       	call   0x428cc0
4904e0:	50                   	push   %eax
4904e1:	e8 22 74 f7 ff       	call   0x407908
4904e6:	80 7f 0b 00          	cmpb   $0x0,0xb(%edi)
4904ea:	74 21                	je     0x49050d
4904ec:	80 7f 08 00          	cmpb   $0x0,0x8(%edi)
4904f0:	74 1b                	je     0x49050d
4904f2:	80 7f 0a 00          	cmpb   $0x0,0xa(%edi)
4904f6:	75 15                	jne    0x49050d
4904f8:	68 14 00 00 80       	push   $0x80000014
4904fd:	8b 45 fc             	mov    -0x4(%ebp),%eax
490500:	8b 48 0c             	mov    0xc(%eax),%ecx
490503:	8d 55 d4             	lea    -0x2c(%ebp),%edx
490506:	8b c6                	mov    %esi,%eax
490508:	e8 fb 8a ff ff       	call   0x489008
49050d:	80 7d f1 00          	cmpb   $0x0,-0xf(%ebp)
490511:	74 79                	je     0x49058c
490513:	ff 4d dc             	decl   -0x24(%ebp)
490516:	eb 74                	jmp    0x49058c
490518:	80 7f 09 00          	cmpb   $0x0,0x9(%edi)
49051c:	75 06                	jne    0x490524
49051e:	80 7f 0b 00          	cmpb   $0x0,0xb(%edi)
490522:	74 42                	je     0x490566
490524:	80 7f 08 00          	cmpb   $0x0,0x8(%edi)
490528:	74 3c                	je     0x490566
49052a:	68 0f 20 00 00       	push   $0x200f
49052f:	6a 02                	push   $0x2
490531:	8d 45 d4             	lea    -0x2c(%ebp),%eax
490534:	50                   	push   %eax
490535:	8b 45 f8             	mov    -0x8(%ebp),%eax
490538:	e8 83 87 f9 ff       	call   0x428cc0
49053d:	50                   	push   %eax