40a0d3:	8b 06                	mov    (%esi),%eax
40a0d5:	85 c0                	test   %eax,%eax
40a0d7:	0f 84 cf 04 00 00    	je     0x40a5ac
40a0dd:	8b 40 14             	mov    0x14(%eax),%eax
40a0e0:	85 c0                	test   %eax,%eax
40a0e2:	0f 84 c4 04 00 00    	je     0x40a5ac
40a0e8:	ff 74 24 4c          	push   0x4c(%esp)
40a0ec:	8b 75 0c             	mov    0xc(%ebp),%esi
40a0ef:	8b 4c 24 10          	mov    0x10(%esp),%ecx
40a0f3:	50                   	push   %eax
40a0f4:	56                   	push   %esi
40a0f5:	ff 75 08             	push   0x8(%ebp)
40a0f8:	ff 06                	incl   (%esi)
40a0fa:	e8 21 29 00 00       	call   0x40ca20
40a0ff:	85 c0                	test   %eax,%eax
40a101:	0f 88 67 6c 03 00    	js     0x440d6e
40a107:	8b 55 08             	mov    0x8(%ebp),%edx
40a10a:	8b 45 14             	mov    0x14(%ebp),%eax
40a10d:	8b 0e                	mov    (%esi),%ecx
40a10f:	3b c8                	cmp    %eax,%ecx
40a111:	74 53                	je     0x40a166
40a113:	8b 72 04             	mov    0x4(%edx),%esi
40a116:	89 74 24 40          	mov    %esi,0x40(%esp)
40a11a:	8b 14 8e             	mov    (%esi,%ecx,4),%edx
40a11d:	0f b7 42 08          	movzwl 0x8(%edx),%eax
40a121:	66 83 f8 7f          	cmp    $0x7f,%ax
40a125:	74 3f                	je     0x40a166
40a127:	98                   	cwtl
40a128:	83 f8 33             	cmp    $0x33,%eax
40a12b:	0f 84 ab 00 00 00    	je     0x40a1dc
40a131:	83 f8 4f             	cmp    $0x4f,%eax
40a134:	74 30                	je     0x40a166
40a136:	83 f8 05             	cmp    $0x5,%eax
40a139:	0f 84 bd 03 00 00    	je     0x40a4fc
40a13f:	83 f8 58             	cmp    $0x58,%eax
40a142:	77 22                	ja     0x40a166
40a144:	0f b6 80 ac b7 40 00 	movzbl 0x40b7ac(%eax),%eax
40a14b:	ff 24 85 40 b7 40 00 	jmp    *0x40b740(,%eax,4)
40a152:	8b 02                	mov    (%edx),%eax
40a154:	83 f8 04             	cmp    $0x4,%eax
40a157:	0f 8c 49 10 00 00    	jl     0x40b1a6
40a15d:	83 f8 27             	cmp    $0x27,%eax
40a160:	0f 8d 40 10 00 00    	jge    0x40b1a6
40a166:	be 14 00 00 00       	mov    $0x14,%esi
40a16b:	89 74 24 10          	mov    %esi,0x10(%esp)
40a16f:	90                   	nop
40a170:	8a 4c 24 59          	mov    0x59(%esp),%cl
40a174:	8b 54 24 1c          	mov    0x1c(%esp),%edx
40a178:	84 c9                	test   %cl,%cl
40a17a:	0f 85 65 05 00 00    	jne    0x40a6e5
40a180:	8b c2                	mov    %edx,%eax
40a182:	6b 00 15             	imul   $0x15,(%eax),%eax
40a185:	0f b6 84 30 50 53 4a 	movzbl 0x4a5350(%eax,%esi,1),%eax
40a18c:	00
40a18d:	83 f8 03             	cmp    $0x3,%eax
40a190:	0f 85 fe 02 00 00    	jne    0x40a494
40a196:	83 7c 24 24 01       	cmpl   $0x1,0x24(%esp)
40a19b:	0f 85 91 15 00 00    	jne    0x40b732
40a1a1:	8b 44 24 28          	mov    0x28(%esp),%eax
40a1a5:	33 ff                	xor    %edi,%edi
40a1a7:	89 44 24 08          	mov    %eax,0x8(%esp)
40a1ab:	89 7c 24 18          	mov    %edi,0x18(%esp)
40a1af:	85 c0                	test   %eax,%eax
40a1b1:	0f 85 6a 07 00 00    	jne    0x40a921
40a1b7:	85 d2                	test   %edx,%edx
40a1b9:	74 17                	je     0x40a1d2
40a1bb:	eb 03                	jmp    0x40a1c0
40a1bd:	8d 49 00             	lea    0x0(%ecx),%ecx
40a1c0:	8b 72 04             	mov    0x4(%edx),%esi
40a1c3:	52                   	push   %edx
40a1c4:	e8 a3 6e 01 00       	call   0x42106c
40a1c9:	83 c4 04             	add    $0x4,%esp
40a1cc:	8b d6                	mov    %esi,%edx
40a1ce:	85 f6                	test   %esi,%esi
40a1d0:	75 ee                	jne    0x40a1c0
40a1d2:	8b c7                	mov    %edi,%eax
40a1d4:	5f                   	pop    %edi
40a1d5:	5e                   	pop    %esi
40a1d6:	8b e5                	mov    %ebp,%esp
40a1d8:	5d                   	pop    %ebp
40a1d9:	c2 10 00             	ret    $0x10
40a1dc:	8b 74 24 24          	mov    0x24(%esp),%esi
40a1e0:	c7 44 24 10 16 00 00 	movl   $0x16,0x10(%esp)
40a1e7:	00
40a1e8:	85 f6                	test   %esi,%esi
40a1ea:	0f 85 d1 06 00 00    	jne    0x40a8c1
40a1f0:	81 ff 88 74 4c 00    	cmp    $0x4c7488,%edi
40a1f6:	74 3e                	je     0x40a236
40a1f8:	83 7f 0c 04          	cmpl   $0x4,0xc(%edi)
40a1fc:	0f 84 38 0f 00 00    	je     0x40b13a
40a202:	8b 77 08             	mov    0x8(%edi),%esi
40a205:	85 f6                	test   %esi,%esi
40a207:	0f 85 3f 0f 00 00    	jne    0x40b14c
40a20d:	8b 47 0c             	mov    0xc(%edi),%eax
40a210:	83 f8 05             	cmp    $0x5,%eax
40a213:	0f 8d 72 67 03 00    	jge    0x44098b
40a219:	68 88 74 4c 00       	push   $0x4c7488
40a21e:	8b cf                	mov    %edi,%ecx
40a220:	c7 47 0c 01 00 00 00 	movl   $0x1,0xc(%edi)
40a227:	c7 07 00 00 00 00    	movl   $0x0,(%edi)
40a22d:	e8 8e f8 ff ff       	call   0x409ac0
40a232:	8b 74 24 24          	mov    0x24(%esp),%esi
40a236:	8b 44 24 08          	mov    0x8(%esp),%eax
40a23a:	46                   	inc    %esi
40a23b:	89 74 24 24          	mov    %esi,0x24(%esp)
40a23f:	83 fe 01             	cmp    $0x1,%esi
40a242:	0f 85 c5 06 00 00    	jne    0x40a90d
40a248:	89 7c 24 4c          	mov    %edi,0x4c(%esp)
40a24c:	83 3d 80 72 4c 00 00 	cmpl   $0x0,0x4c7280
40a253:	8b 45 0c             	mov    0xc(%ebp),%eax
40a256:	8b 08                	mov    (%eax),%ecx
40a258:	8b 45 08             	mov    0x8(%ebp),%eax
40a25b:	8b 40 04             	mov    0x4(%eax),%eax
40a25e:	8b 04 88             	mov    (%eax,%ecx,4),%eax
40a261:	8b 00                	mov    (%eax),%eax
40a263:	89 44 24 18          	mov    %eax,0x18(%esp)
40a267:	0f 84 43 03 00 00    	je     0x40a5b0
40a26d:	80 3d 89 72 4c 00 00 	cmpb   $0x0,0x4c7289
40a274:	0f 85 aa 68 03 00    	jne    0x440b24
40a27a:	8b 35 84 72 4c 00    	mov    0x4c7284,%esi
40a280:	83 3e 00             	cmpl   $0x0,(%esi)
40a283:	0f 84 27 03 00 00    	je     0x40a5b0
40a289:	8b 0d 40 74 4c 00    	mov    0x4c7440,%ecx
40a28f:	c6 44 24 17 00       	movb   $0x0,0x17(%esp)
40a294:	f6 c1 01             	test   $0x1,%cl
40a297:	0f 84 98 68 03 00    	je     0x440b35
40a29d:	c7 05 60 74 4c 00 00 	movl   $0x0,0x4c7460
40a2a4:	00 00 00
40a2a7:	c7 05 5c 74 4c 00 00 	movl   $0x0,0x4c745c
40a2ae:	00 00 00
40a2b1:	c7 44 24 3c 44 74 4c 	movl   $0x4c7444,0x3c(%esp)
40a2b8:	00
40a2b9:	c7 44 24 60 44 74 4c 	movl   $0x4c7444,0x60(%esp)
40a2c0:	00
40a2c1:	8b 16                	mov    (%esi),%edx
40a2c3:	8b 40 04             	mov    0x4(%eax),%eax
40a2c6:	89 54 24 30          	mov    %edx,0x30(%esp)
40a2ca:	89 44 24 34          	mov    %eax,0x34(%esp)
40a2ce:	8b 4a 04             	mov    0x4(%edx),%ecx
40a2d1:	85 c0                	test   %eax,%eax
40a2d3:	0f 84 85 68 03 00    	je     0x440b5e
40a2d9:	85 c9                	test   %ecx,%ecx
40a2db:	0f 84 85 68 03 00    	je     0x440b66
40a2e1:	3b c1                	cmp    %ecx,%eax
40a2e3:	72 28                	jb     0x40a30d
40a2e5:	8b 0a                	mov    (%edx),%ecx
40a2e7:	8b 54 24 18          	mov    0x18(%esp),%edx
40a2eb:	89 44 24 38          	mov    %eax,0x38(%esp)
40a2ef:	8b 12                	mov    (%edx),%edx
40a2f1:	85 c0                	test   %eax,%eax
40a2f3:	74 14                	je     0x40a309
40a2f5:	66 8b 02             	mov    (%edx),%ax
40a2f8:	66 3b 01             	cmp    (%ecx),%ax
40a2fb:	75 39                	jne    0x40a336
40a2fd:	83 c2 02             	add    $0x2,%edx
40a300:	83 c1 02             	add    $0x2,%ecx
40a303:	ff 4c 24 38          	decl   0x38(%esp)
40a307:	75 ec                	jne    0x40a2f5
40a309:	33 c0                	xor    %eax,%eax
40a30b:	eb 2f                	jmp    0x40a33c
40a30d:	8b 44 24 18          	mov    0x18(%esp),%eax
40a311:	8b 12                	mov    (%edx),%edx
40a313:	8b 00                	mov    (%eax),%eax
40a315:	89 44 24 38          	mov    %eax,0x38(%esp)
40a319:	85 c9                	test   %ecx,%ecx
40a31b:	74 ec                	je     0x40a309
40a31d:	8d 49 00             	lea    0x0(%ecx),%ecx
40a320:	66 8b 00             	mov    (%eax),%ax
40a323:	66 3b 02             	cmp    (%edx),%ax
40a326:	8b 44 24 38          	mov    0x38(%esp),%eax
40a32a:	0f 84 f4 0d 00 00    	je     0x40b124
40a330:	66 8b 00             	mov    (%eax),%ax
40a333:	66 3b 02             	cmp    (%edx),%ax
40a336:	1b c0                	sbb    %eax,%eax
40a338:	83 e0 fe             	and    $0xfffffffe,%eax
40a33b:	40                   	inc    %eax
40a33c:	85 c0                	test   %eax,%eax
40a33e:	78 7e                	js     0x40a3be
40a340:	0f 8e 51 fd ff ff    	jle    0x40a097
40a346:	8b 44 24 34          	mov    0x34(%esp),%eax
40a34a:	8b 54 24 30          	mov    0x30(%esp),%edx
40a34e:	8b 4a 1c             	mov    0x1c(%edx),%ecx
40a351:	85 c9                	test   %ecx,%ecx
40a353:	0f 84 43 fd ff ff    	je     0x40a09c
40a359:	8b 51 04             	mov    0x4(%ecx),%edx
40a35c:	3b d0                	cmp    %eax,%edx
40a35e:	0f 87 0c 06 00 00    	ja     0x40a970
40a364:	8b 44 24 18          	mov    0x18(%esp),%eax
40a368:	89 54 24 40          	mov    %edx,0x40(%esp)
40a36c:	8b 00                	mov    (%eax),%eax
40a36e:	89 44 24 38          	mov    %eax,0x38(%esp)
40a372:	8b 01                	mov    (%ecx),%eax
40a374:	89 44 24 48          	mov    %eax,0x48(%esp)
40a378:	8b 44 24 34          	mov    0x34(%esp),%eax
40a37c:	85 d2                	test   %edx,%edx
40a37e:	74 31                	je     0x40a3b1
40a380:	8b 44 24 48          	mov    0x48(%esp),%eax
40a384:	8b 7c 24 38          	mov    0x38(%esp),%edi
40a388:	66 8b 00             	mov    (%eax),%ax
40a38b:	66 3b 07             	cmp    (%edi),%ax
40a38e:	8b 7d 10             	mov    0x10(%ebp),%edi
40a391:	8b 44 24 48          	mov    0x48(%esp),%eax
40a395:	0f 85 b5 00 00 00    	jne    0x40a450
40a39b:	83 44 24 38 02       	addl   $0x2,0x38(%esp)
40a3a0:	83 c0 02             	add    $0x2,%eax
40a3a3:	ff 4c 24 40          	decl   0x40(%esp)
40a3a7:	89 44 24 48          	mov    %eax,0x48(%esp)
40a3ab:	75 d7                	jne    0x40a384
40a3ad:	8b 44 24 34          	mov    0x34(%esp),%eax
40a3b1:	3b d0                	cmp    %eax,%edx
40a3b3:	0f 82 a3 00 00 00    	jb     0x40a45c
40a3b9:	e9 b9 00 00 00       	jmp    0x40a477
40a3be:	8b 44 24 34          	mov    0x34(%esp),%eax
40a3c2:	8b 54 24 30          	mov    0x30(%esp),%edx
40a3c6:	8b 4a 18             	mov    0x18(%edx),%ecx
40a3c9:	85 c9                	test   %ecx,%ecx
40a3cb:	0f 84 cb fc ff ff    	je     0x40a09c
40a3d1:	8b 51 04             	mov    0x4(%ecx),%edx
40a3d4:	3b c2                	cmp    %edx,%eax
40a3d6:	0f 87 d3 05 00 00    	ja     0x40a9af
40a3dc:	8b 11                	mov    (%ecx),%edx
40a3de:	89 44 24 38          	mov    %eax,0x38(%esp)
40a3e2:	8b 44 24 18          	mov    0x18(%esp),%eax
40a3e6:	8b 00                	mov    (%eax),%eax
40a3e8:	89 44 24 48          	mov    %eax,0x48(%esp)
40a3ec:	8b 44 24 34          	mov    0x34(%esp),%eax
40a3f0:	85 c0                	test   %eax,%eax
40a3f2:	0f 84 df 02 00 00    	je     0x40a6d7
40a3f8:	8b 44 24 48          	mov    0x48(%esp),%eax
40a3fc:	8d 64 24 00          	lea    0x0(%esp),%esp
40a400:	66 8b 00             	mov    (%eax),%ax
40a403:	66 3b 02             	cmp    (%edx),%ax
40a406:	8b 44 24 48          	mov    0x48(%esp),%eax
40a40a:	0f 84 af 02 00 00    	je     0x40a6bf
40a410:	66 8b 00             	mov    (%eax),%ax
40a413:	66 3b 02             	cmp    (%edx),%ax
40a416:	73 1b                	jae    0x40a433
40a418:	8b 54 24 30          	mov    0x30(%esp),%edx
40a41c:	8b 41 1c             	mov    0x1c(%ecx),%eax
40a41f:	89 42 18             	mov    %eax,0x18(%edx)
40a422:	8b 06                	mov    (%esi),%eax
40a424:	89 41 1c             	mov    %eax,0x1c(%ecx)
40a427:	89 0e                	mov    %ecx,(%esi)
40a429:	83 79 18 00          	cmpl   $0x0,0x18(%ecx)
40a42d:	0f 84 69 fc ff ff    	je     0x40a09c
40a433:	8b 4c 24 3c          	mov    0x3c(%esp),%ecx
40a437:	8b 06                	mov    (%esi),%eax
40a439:	89 41 18             	mov    %eax,0x18(%ecx)
40a43c:	8b 06                	mov    (%esi),%eax
40a43e:	89 44 24 3c          	mov    %eax,0x3c(%esp)
40a442:	8b 40 18             	mov    0x18(%eax),%eax
40a445:	89 06                	mov    %eax,(%esi)
40a447:	8b 44 24 18          	mov    0x18(%esp),%eax
40a44b:	e9 71 fe ff ff       	jmp    0x40a2c1
40a450:	8b 54 24 38          	mov    0x38(%esp),%edx
40a454:	66 8b 00             	mov    (%eax),%ax
40a457:	66 3b 02             	cmp    (%edx),%ax
40a45a:	73 1b                	jae    0x40a477
40a45c:	8b 54 24 30          	mov    0x30(%esp),%edx
40a460:	8b 41 18             	mov    0x18(%ecx),%eax
40a463:	89 42 1c             	mov    %eax,0x1c(%edx)
40a466:	8b 06                	mov    (%esi),%eax
40a468:	89 41 18             	mov    %eax,0x18(%ecx)
40a46b:	89 0e                	mov    %ecx,(%esi)
40a46d:	83 79 1c 00          	cmpl   $0x0,0x1c(%ecx)
40a471:	0f 84 25 fc ff ff    	je     0x40a09c
40a477:	8b 4c 24 60          	mov    0x60(%esp),%ecx
40a47b:	8b 06                	mov    (%esi),%eax
40a47d:	89 41 1c             	mov    %eax,0x1c(%ecx)
40a480:	8b 06                	mov    (%esi),%eax
40a482:	89 44 24 60          	mov    %eax,0x60(%esp)
40a486:	8b 40 1c             	mov    0x1c(%eax),%eax
40a489:	89 06                	mov    %eax,(%esi)
40a48b:	8b 44 24 18          	mov    0x18(%esp),%eax
40a48f:	e9 2d fe ff ff       	jmp    0x40a2c1
40a494:	83 f8 06             	cmp    $0x6,%eax
40a497:	77 3a                	ja     0x40a4d3
40a499:	ff 24 85 08 b8 40 00 	jmp    *0x40b808(,%eax,4)
40a4a0:	84 c9                	test   %cl,%cl
40a4a2:	0f 85 3e 05 00 00    	jne    0x40a9e6
40a4a8:	6a 08                	push   $0x8
40a4aa:	e8 47 6b 01 00       	call   0x420ff6
40a4af:	8b c8                	mov    %eax,%ecx
40a4b1:	83 c4 04             	add    $0x4,%esp
40a4b4:	85 c9                	test   %ecx,%ecx
40a4b6:	0f 84 3b 12 00 00    	je     0x40b6f7
40a4bc:	89 31                	mov    %esi,(%ecx)
40a4be:	8b 44 24 1c          	mov    0x1c(%esp),%eax
40a4c2:	89 41 04             	mov    %eax,0x4(%ecx)
40a4c5:	8b c1                	mov    %ecx,%eax
40a4c7:	89 44 24 1c          	mov    %eax,0x1c(%esp)
40a4cb:	89 44 24 54          	mov    %eax,0x54(%esp)
40a4cf:	ff 44 24 50          	incl   0x50(%esp)
40a4d3:	83 fe 07             	cmp    $0x7,%esi
40a4d6:	0f 84 48 0d 00 00    	je     0x40b224
40a4dc:	83 fe 08             	cmp    $0x8,%esi
40a4df:	0f 84 3f 0d 00 00    	je     0x40b224
40a4e5:	8b 75 0c             	mov    0xc(%ebp),%esi
40a4e8:	8b 7c 24 20          	mov    0x20(%esp),%edi
40a4ec:	8b 44 24 28          	mov    0x28(%esp),%eax
40a4f0:	89 7d 10             	mov    %edi,0x10(%ebp)
40a4f3:	89 44 24 08          	mov    %eax,0x8(%esp)
40a4f7:	e9 0b fc ff ff       	jmp    0x40a107
40a4fc:	8b 74 24 24          	mov    0x24(%esp),%esi
40a500:	c7 44 24 10 16 00 00 	movl   $0x16,0x10(%esp)
40a507:	00
40a508:	85 f6                	test   %esi,%esi
40a50a:	0f 85 e2 04 00 00    	jne    0x40a9f2
40a510:	81 ff 88 74 4c 00    	cmp    $0x4c7488,%edi
40a516:	74 3e                	je     0x40a556
40a518:	83 7f 0c 04          	cmpl   $0x4,0xc(%edi)
40a51c:	0f 84 55 04 00 00    	je     0x40a977
40a522:	8b 77 08             	mov    0x8(%edi),%esi
40a525:	85 f6                	test   %esi,%esi
40a527:	0f 85 5c 04 00 00    	jne    0x40a989
40a52d:	8b 47 0c             	mov    0xc(%edi),%eax
40a530:	83 f8 05             	cmp    $0x5,%eax
40a533:	0f 8d 9c 62 03 00    	jge    0x4407d5
40a539:	68 88 74 4c 00       	push   $0x4c7488
40a53e:	8b cf                	mov    %edi,%ecx
40a540:	c7 47 0c 01 00 00 00 	movl   $0x1,0xc(%edi)
40a547:	c7 07 00 00 00 00    	movl   $0x0,(%edi)
40a54d:	e8 6e f5 ff ff       	call   0x409ac0
40a552:	8b 74 24 24          	mov    0x24(%esp),%esi
40a556:	8b 54 24 08          	mov    0x8(%esp),%edx
40a55a:	8b 45 0c             	mov    0xc(%ebp),%eax
40a55d:	46                   	inc    %esi
40a55e:	89 74 24 24          	mov    %esi,0x24(%esp)
40a562:	8b 08                	mov    (%eax),%ecx
40a564:	8b 45 08             	mov    0x8(%ebp),%eax
40a567:	8b 40 04             	mov    0x4(%eax),%eax
40a56a:	8b 04 88             	mov    (%eax,%ecx,4),%eax
40a56d:	83 fe 01             	cmp    $0x1,%esi
40a570:	0f 85 c8 04 00 00    	jne    0x40aa3e
40a576:	8b f7                	mov    %edi,%esi
40a578:	8b 4e 08             	mov    0x8(%esi),%ecx
40a57b:	8b 00                	mov    (%eax),%eax
40a57d:	89 44 24 4c          	mov    %eax,0x4c(%esp)
40a581:	85 c9                	test   %ecx,%ecx
40a583:	0f 85 12 63 03 00    	jne    0x44089b
40a589:	8b 46 0c             	mov    0xc(%esi),%eax
40a58c:	83 f8 05             	cmp    $0x5,%eax
40a58f:	0f 8d 18 63 03 00    	jge    0x4408ad
40a595:	8b 44 24 4c          	mov    0x4c(%esp),%eax
40a599:	c7 46 0c 01 00 00 00 	movl   $0x1,0xc(%esi)
40a5a0:	89 06                	mov    %eax,(%esi)
40a5a2:	8b 75 0c             	mov    0xc(%ebp),%esi
40a5a5:	ff 06                	incl   (%esi)
40a5a7:	e9 5b fb ff ff       	jmp    0x40a107
40a5ac:	8b 44 24 18          	mov    0x18(%esp),%eax