40f003:	33 db                	xor    %ebx,%ebx
40f005:	8b f1                	mov    %ecx,%esi
40f007:	57                   	push   %edi
40f008:	8b 7d 0c             	mov    0xc(%ebp),%edi
40f00b:	39 5d 14             	cmp    %ebx,0x14(%ebp)
40f00e:	74 33                	je     0x40f043
40f010:	8b 4d 08             	mov    0x8(%ebp),%ecx
40f013:	8b d7                	mov    %edi,%edx
40f015:	e8 07 e7 ff ff       	call   0x40d721
40f01a:	85 c0                	test   %eax,%eax
40f01c:	75 25                	jne    0x40f043
40f01e:	8d 45 14             	lea    0x14(%ebp),%eax
40f021:	89 5d 14             	mov    %ebx,0x14(%ebp)
40f024:	50                   	push   %eax
40f025:	56                   	push   %esi
40f026:	53                   	push   %ebx
40f027:	ff 75 10             	push   0x10(%ebp)
40f02a:	53                   	push   %ebx
40f02b:	53                   	push   %ebx
40f02c:	53                   	push   %ebx
40f02d:	ff 37                	push   (%edi)
40f02f:	ff 75 08             	push   0x8(%ebp)
40f032:	ff 15 6c 20 41 00    	call   *0x41206c
40f038:	85 c0                	test   %eax,%eax
40f03a:	75 1e                	jne    0x40f05a
40f03c:	8b ce                	mov    %esi,%ecx
40f03e:	e8 09 ff ff ff       	call   0x40ef4c
40f043:	56                   	push   %esi
40f044:	ff 75 10             	push   0x10(%ebp)
40f047:	53                   	push   %ebx
40f048:	ff 37                	push   (%edi)
40f04a:	ff 75 08             	push   0x8(%ebp)
40f04d:	ff 15 14 20 41 00    	call   *0x412014
40f053:	85 c0                	test   %eax,%eax
40f055:	75 03                	jne    0x40f05a
40f057:	40                   	inc    %eax
40f058:	eb 02                	jmp    0x40f05c
40f05a:	33 c0                	xor    %eax,%eax
40f05c:	5f                   	pop    %edi
40f05d:	5e                   	pop    %esi
40f05e:	5b                   	pop    %ebx
40f05f:	5d                   	pop    %ebp
40f060:	c2 10 00             	ret    $0x10
40f063:	83 21 00             	andl   $0x0,(%ecx)
40f066:	8b c1                	mov    %ecx,%eax
40f068:	c3                   	ret
40f069:	56                   	push   %esi
40f06a:	8b f1                	mov    %ecx,%esi
40f06c:	57                   	push   %edi
40f06d:	33 ff                	xor    %edi,%edi
40f06f:	39 3e                	cmp    %edi,(%esi)
40f071:	74 05                	je     0x40f078
40f073:	e8 d4 fe ff ff       	call   0x40ef4c
40f078:	8d 4e 30             	lea    0x30(%esi),%ecx
40f07b:	e8 1e 67 ff ff       	call   0x40579e
40f080:	8b 4e 20             	mov    0x20(%esi),%ecx
40f083:	e8 a5 69 ff ff       	call   0x405a2d
40f088:	89 7e 20             	mov    %edi,0x20(%esi)
40f08b:	8b 4e 1c             	mov    0x1c(%esi),%ecx
40f08e:	e8 9a 69 ff ff       	call   0x405a2d
40f093:	89 7e 1c             	mov    %edi,0x1c(%esi)
40f096:	8b 4e 18             	mov    0x18(%esi),%ecx
40f099:	e8 8f 69 ff ff       	call   0x405a2d
40f09e:	89 7e 18             	mov    %edi,0x18(%esi)
40f0a1:	8b 4e 14             	mov    0x14(%esi),%ecx
40f0a4:	e8 84 69 ff ff       	call   0x405a2d
40f0a9:	89 7e 14             	mov    %edi,0x14(%esi)
40f0ac:	8b 4e 10             	mov    0x10(%esi),%ecx
40f0af:	e8 79 69 ff ff       	call   0x405a2d
40f0b4:	8d 4e 04             	lea    0x4(%esi),%ecx
40f0b7:	89 7e 10             	mov    %edi,0x10(%esi)
40f0ba:	e8 8d fe ff ff       	call   0x40ef4c
40f0bf:	5f                   	pop    %edi
40f0c0:	8b ce                	mov    %esi,%ecx
40f0c2:	5e                   	pop    %esi
40f0c3:	e9 84 fe ff ff       	jmp    0x40ef4c
40f0c8:	55                   	push   %ebp
40f0c9:	8b ec                	mov    %esp,%ebp
40f0cb:	83 ec 14             	sub    $0x14,%esp
40f0ce:	53                   	push   %ebx
40f0cf:	56                   	push   %esi
40f0d0:	57                   	push   %edi
40f0d1:	8b f9                	mov    %ecx,%edi
40f0d3:	8d 4d fc             	lea    -0x4(%ebp),%ecx
40f0d6:	e8 4a e3 ff ff       	call   0x40d425
40f0db:	6a 0a                	push   $0xa
40f0dd:	5a                   	pop    %edx
40f0de:	8d 4d f0             	lea    -0x10(%ebp),%ecx
40f0e1:	e8 ee 41 ff ff       	call   0x4032d4
40f0e6:	51                   	push   %ecx
40f0e7:	51                   	push   %ecx
40f0e8:	8d 47 10             	lea    0x10(%edi),%eax
40f0eb:	50                   	push   %eax
40f0ec:	51                   	push   %ecx
40f0ed:	8b cf                	mov    %edi,%ecx
40f0ef:	e8 18 fe ff ff       	call   0x40ef0c
40f0f4:	8b cf                	mov    %edi,%ecx
40f0f6:	8b f0                	mov    %eax,%esi
40f0f8:	e8 4f fe ff ff       	call   0x40ef4c
40f0fd:	33 db                	xor    %ebx,%ebx
40f0ff:	85 f6                	test   %esi,%esi
40f101:	0f 84 be 00 00 00    	je     0x40f1c5
40f107:	39 5d 08             	cmp    %ebx,0x8(%ebp)
40f10a:	0f 84 b5 00 00 00    	je     0x40f1c5
40f110:	8b 57 0c             	mov    0xc(%edi),%edx
40f113:	8d 4d f8             	lea    -0x8(%ebp),%ecx
40f116:	8d 77 20             	lea    0x20(%edi),%esi
40f119:	e8 3d e6 ff ff       	call   0x40d75b
40f11e:	50                   	push   %eax
40f11f:	8b ce                	mov    %esi,%ecx
40f121:	e8 3e 41 ff ff       	call   0x403264
40f126:	8b 4d f8             	mov    -0x8(%ebp),%ecx
40f129:	e8 ff 68 ff ff       	call   0x405a2d
40f12e:	8b ce                	mov    %esi,%ecx
40f130:	e8 da e5 ff ff       	call   0x40d70f
40f135:	8d 47 4c             	lea    0x4c(%edi),%eax
40f138:	50                   	push   %eax
40f139:	8d 4d f8             	lea    -0x8(%ebp),%ecx
40f13c:	e8 19 43 ff ff       	call   0x40345a
40f141:	68 44 26 41 00       	push   $0x412644
40f146:	8b ce                	mov    %esi,%ecx
40f148:	e8 4a 41 ff ff       	call   0x403297
40f14d:	8d 4d f8             	lea    -0x8(%ebp),%ecx
40f150:	51                   	push   %ecx
40f151:	8b c8                	mov    %eax,%ecx
40f153:	e8 0a 40 ff ff       	call   0x403162
40f158:	8b 4d f8             	mov    -0x8(%ebp),%ecx
40f15b:	e8 cd 68 ff ff       	call   0x405a2d
40f160:	53                   	push   %ebx
40f161:	ff 36                	push   (%esi)
40f163:	ff 75 fc             	push   -0x4(%ebp)
40f166:	ff 15 34 21 41 00    	call   *0x412134
40f16c:	85 c0                	test   %eax,%eax
40f16e:	0f 84 20 01 00 00    	je     0x40f294
40f174:	51                   	push   %ecx
40f175:	51                   	push   %ecx
40f176:	54                   	push   %esp
40f177:	8b ce                	mov    %esi,%ecx
40f179:	e8 d0 3e ff ff       	call   0x40304e
40f17e:	51                   	push   %ecx
40f17f:	51                   	push   %ecx
40f180:	54                   	push   %esp
40f181:	8d 4f 30             	lea    0x30(%edi),%ecx
40f184:	e8 1c 63 ff ff       	call   0x4054a5
40f189:	8d 4d f4             	lea    -0xc(%ebp),%ecx
40f18c:	e8 a1 6a ff ff       	call   0x405c32
40f191:	83 c4 10             	add    $0x10,%esp
40f194:	8d 77 10             	lea    0x10(%edi),%esi
40f197:	8b cf                	mov    %edi,%ecx
40f199:	53                   	push   %ebx
40f19a:	68 3f 00 0f 00       	push   $0xf003f
40f19f:	56                   	push   %esi
40f1a0:	68 01 00 00 80       	push   $0x80000001
40f1a5:	e8 54 fe ff ff       	call   0x40effe
40f1aa:	6a 03                	push   $0x3
40f1ac:	8d 45 f4             	lea    -0xc(%ebp),%eax
40f1af:	8b cf                	mov    %edi,%ecx
40f1b1:	50                   	push   %eax
40f1b2:	8d 47 18             	lea    0x18(%edi),%eax
40f1b5:	50                   	push   %eax
40f1b6:	e8 10 fe ff ff       	call   0x40efcb
40f1bb:	8d 4d f4             	lea    -0xc(%ebp),%ecx
40f1be:	e8 a3 3c ff ff       	call   0x402e66
40f1c3:	eb 03                	jmp    0x40f1c8
40f1c5:	8d 77 10             	lea    0x10(%edi),%esi
40f1c8:	39 1f                	cmp    %ebx,(%edi)
40f1ca:	75 13                	jne    0x40f1df
40f1cc:	53                   	push   %ebx
40f1cd:	68 3f 00 0f 00       	push   $0xf003f
40f1d2:	56                   	push   %esi
40f1d3:	68 01 00 00 80       	push   $0x80000001
40f1d8:	8b cf                	mov    %edi,%ecx
40f1da:	e8 1f fe ff ff       	call   0x40effe
40f1df:	39 5d 0c             	cmp    %ebx,0xc(%ebp)
40f1e2:	74 73                	je     0x40f257
40f1e4:	39 5d 08             	cmp    %ebx,0x8(%ebp)
40f1e7:	75 0c                	jne    0x40f1f5
40f1e9:	8d 4d fc             	lea    -0x4(%ebp),%ecx
40f1ec:	51                   	push   %ecx
40f1ed:	8d 4f 20             	lea    0x20(%edi),%ecx
40f1f0:	e8 6f 40 ff ff       	call   0x403264
40f1f5:	53                   	push   %ebx
40f1f6:	68 06 00 02 00       	push   $0x20006
40f1fb:	8d 47 14             	lea    0x14(%edi),%eax
40f1fe:	50                   	push   %eax
40f1ff:	ff 77 08             	push   0x8(%edi)
40f202:	8d 4f 04             	lea    0x4(%edi),%ecx
40f205:	e8 f4 fd ff ff       	call   0x40effe
40f20a:	85 c0                	test   %eax,%eax
40f20c:	0f 84 82 00 00 00    	je     0x40f294
40f212:	8d 47 54             	lea    0x54(%edi),%eax
40f215:	50                   	push   %eax
40f216:	8d 4d 08             	lea    0x8(%ebp),%ecx
40f219:	e8 3c 42 ff ff       	call   0x40345a
40f21e:	6a 01                	push   $0x1
40f220:	8d 47 20             	lea    0x20(%edi),%eax
40f223:	50                   	push   %eax
40f224:	8d 4d f4             	lea    -0xc(%ebp),%ecx
40f227:	e8 de 3b ff ff       	call   0x402e0a
40f22c:	50                   	push   %eax
40f22d:	8d 45 08             	lea    0x8(%ebp),%eax
40f230:	50                   	push   %eax
40f231:	8d 4f 04             	lea    0x4(%edi),%ecx
40f234:	e8 92 fd ff ff       	call   0x40efcb
40f239:	8b 4d 08             	mov    0x8(%ebp),%ecx
40f23c:	8b f0                	mov    %eax,%esi
40f23e:	e8 ea 67 ff ff       	call   0x405a2d
40f243:	8d 4d f4             	lea    -0xc(%ebp),%ecx
40f246:	e8 1b 3c ff ff       	call   0x402e66
40f24b:	85 f6                	test   %esi,%esi
40f24d:	74 45                	je     0x40f294
40f24f:	8d 4f 04             	lea    0x4(%edi),%ecx
40f252:	e8 f5 fc ff ff       	call   0x40ef4c
40f257:	ff 77 20             	push   0x20(%edi)
40f25a:	8d 4d 08             	lea    0x8(%ebp),%ecx
40f25d:	e8 b0 41 ff ff       	call   0x403412
40f262:	68 20 46 41 00       	push   $0x414620
40f267:	8d 4d 0c             	lea    0xc(%ebp),%ecx
40f26a:	e8 a3 41 ff ff       	call   0x403412
40f26f:	50                   	push   %eax
40f270:	8d 4d 08             	lea    0x8(%ebp),%ecx
40f273:	e8 ea 3e ff ff       	call   0x403162
40f278:	8b 4d 0c             	mov    0xc(%ebp),%ecx
40f27b:	e8 ad 67 ff ff       	call   0x405a2d
40f280:	ff 75 08             	push   0x8(%ebp)
40f283:	ff 15 dc 21 41 00    	call   *0x4121dc
40f289:	8b 4d 08             	mov    0x8(%ebp),%ecx
40f28c:	33 db                	xor    %ebx,%ebx
40f28e:	43                   	inc    %ebx
40f28f:	e8 99 67 ff ff       	call   0x405a2d
40f294:	8b 4d f0             	mov    -0x10(%ebp),%ecx
40f297:	e8 91 67 ff ff       	call   0x405a2d
40f29c:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40f29f:	e8 89 67 ff ff       	call   0x405a2d
40f2a4:	5f                   	pop    %edi
40f2a5:	5e                   	pop    %esi
40f2a6:	8b c3                	mov    %ebx,%eax
40f2a8:	5b                   	pop    %ebx
40f2a9:	c9                   	leave
40f2aa:	c2 08 00             	ret    $0x8
40f2ad:	55                   	push   %ebp
40f2ae:	8b ec                	mov    %esp,%ebp
40f2b0:	83 ec 18             	sub    $0x18,%esp
40f2b3:	53                   	push   %ebx
40f2b4:	8b 5d 08             	mov    0x8(%ebp),%ebx
40f2b7:	56                   	push   %esi
40f2b8:	57                   	push   %edi
40f2b9:	8b f9                	mov    %ecx,%edi
40f2bb:	53                   	push   %ebx
40f2bc:	8d 4f 30             	lea    0x30(%edi),%ecx
40f2bf:	e8 2a 30 ff ff       	call   0x4022ee
40f2c4:	e8 ce e8 ff ff       	call   0x40db97
40f2c9:	83 f8 01             	cmp    $0x1,%eax
40f2cc:	75 09                	jne    0x40f2d7
40f2ce:	6a 23                	push   $0x23
40f2d0:	b9 02 00 00 80       	mov    $0x80000002,%ecx
40f2d5:	eb 07                	jmp    0x40f2de
40f2d7:	6a 1a                	push   $0x1a
40f2d9:	b9 01 00 00 80       	mov    $0x80000001,%ecx
40f2de:	58                   	pop    %eax
40f2df:	89 4f 08             	mov    %ecx,0x8(%edi)
40f2e2:	8d 77 10             	lea    0x10(%edi),%esi
40f2e5:	68 30 45 41 00       	push   $0x414530
40f2ea:	8d 4d 08             	lea    0x8(%ebp),%ecx
40f2ed:	89 47 0c             	mov    %eax,0xc(%edi)
40f2f0:	e8 1d 41 ff ff       	call   0x403412
40f2f5:	50                   	push   %eax
40f2f6:	8b ce                	mov    %esi,%ecx
40f2f8:	e8 67 3f ff ff       	call   0x403264
40f2fd:	8b 4d 08             	mov    0x8(%ebp),%ecx
40f300:	e8 28 67 ff ff       	call   0x405a2d
40f305:	8d 43 30             	lea    0x30(%ebx),%eax
40f308:	50                   	push   %eax
40f309:	8d 4d 08             	lea    0x8(%ebp),%ecx
40f30c:	e8 49 41 ff ff       	call   0x40345a
40f311:	8d 45 08             	lea    0x8(%ebp),%eax
40f314:	8b ce                	mov    %esi,%ecx
40f316:	50                   	push   %eax
40f317:	e8 46 3e ff ff       	call   0x403162
40f31c:	8b 4d 08             	mov    0x8(%ebp),%ecx
40f31f:	e8 09 67 ff ff       	call   0x405a2d
40f324:	68 98 45 41 00       	push   $0x414598
40f329:	8d 4d 08             	lea    0x8(%ebp),%ecx
40f32c:	e8 e1 40 ff ff       	call   0x403412
40f331:	50                   	push   %eax
40f332:	8d 4f 18             	lea    0x18(%edi),%ecx
40f335:	e8 2a 3f ff ff       	call   0x403264
40f33a:	8b 4d 08             	mov    0x8(%ebp),%ecx
40f33d:	e8 eb 66 ff ff       	call   0x405a2d
40f342:	68 a4 45 41 00       	push   $0x4145a4
40f347:	8d 4d 08             	lea    0x8(%ebp),%ecx
40f34a:	e8 c3 40 ff ff       	call   0x403412
40f34f:	50                   	push   %eax
40f350:	8d 4f 1c             	lea    0x1c(%edi),%ecx
40f353:	e8 0c 3f ff ff       	call   0x403264
40f358:	8b 4d 08             	mov    0x8(%ebp),%ecx
40f35b:	e8 cd 66 ff ff       	call   0x405a2d
40f360:	68 c0 45 41 00       	push   $0x4145c0
40f365:	8d 4d 08             	lea    0x8(%ebp),%ecx
40f368:	e8 a5 40 ff ff       	call   0x403412
40f36d:	50                   	push   %eax
40f36e:	8d 4f 14             	lea    0x14(%edi),%ecx
40f371:	e8 ee 3e ff ff       	call   0x403264
40f376:	8b 4d 08             	mov    0x8(%ebp),%ecx
40f379:	e8 af 66 ff ff       	call   0x405a2d
40f37e:	6a 00                	push   $0x0
40f380:	68 3f 00 0f 00       	push   $0xf003f
40f385:	56                   	push   %esi
40f386:	68 01 00 00 80       	push   $0x80000001
40f38b:	8b cf                	mov    %edi,%ecx
40f38d:	e8 6c fc ff ff       	call   0x40effe
40f392:	89 47 24             	mov    %eax,0x24(%edi)
40f395:	85 c0                	test   %eax,%eax
40f397:	0f 84 9b 00 00 00    	je     0x40f438
40f39d:	33 f6                	xor    %esi,%esi
40f39f:	89 75 f4             	mov    %esi,-0xc(%ebp)
40f3a2:	89 75 f8             	mov    %esi,-0x8(%ebp)
40f3a5:	39 73 18             	cmp    %esi,0x18(%ebx)
40f3a8:	74 68                	je     0x40f412
40f3aa:	8d 45 f4             	lea    -0xc(%ebp),%eax
40f3ad:	8b cf                	mov    %edi,%ecx
40f3af:	50                   	push   %eax
40f3b0:	8d 47 18             	lea    0x18(%edi),%eax
40f3b3:	50                   	push   %eax
40f3b4:	e8 a8 fb ff ff       	call   0x40ef61
40f3b9:	85 c0                	test   %eax,%eax
40f3bb:	74 52                	je     0x40f40f
40f3bd:	8d 45 08             	lea    0x8(%ebp),%eax
40f3c0:	50                   	push   %eax
40f3c1:	51                   	push   %ecx
40f3c2:	51                   	push   %ecx
40f3c3:	8d 45 f4             	lea    -0xc(%ebp),%eax
40f3c6:	8b cc                	mov    %esp,%ecx
40f3c8:	50                   	push   %eax
40f3c9:	e8 ab 3a ff ff       	call   0x402e79
40f3ce:	51                   	push   %ecx
40f3cf:	51                   	push   %ecx
40f3d0:	54                   	push   %esp
40f3d1:	8b cb                	mov    %ebx,%ecx
40f3d3:	e8 cd 60 ff ff       	call   0x4054a5
40f3d8:	8d 4d ec             	lea    -0x14(%ebp),%ecx
40f3db:	e8 52 68 ff ff       	call   0x405c32
40f3e0:	83 c4 10             	add    $0x10,%esp
40f3e3:	8b c8                	mov    %eax,%ecx
40f3e5:	e8 1e 39 ff ff       	call   0x402d08
40f3ea:	50                   	push   %eax
40f3eb:	8d 4f 20             	lea    0x20(%edi),%ecx
40f3ee:	e8 71 3e ff ff       	call   0x403264
40f3f3:	8b 4d 08             	mov    0x8(%ebp),%ecx
40f3f6:	e8 32 66 ff ff       	call   0x405a2d