40aff2:	57                   	push   %edi
40aff3:	89 7c 24 10          	mov    %edi,0x10(%esp)
40aff7:	ff 15 74 20 41 00    	call   *0x412074
40affd:	85 f6                	test   %esi,%esi
40afff:	0f 84 f0 00 00 00    	je     0x40b0f5
40b005:	56                   	push   %esi
40b006:	ff 15 d4 20 41 00    	call   *0x4120d4
40b00c:	85 c0                	test   %eax,%eax
40b00e:	0f 84 e1 00 00 00    	je     0x40b0f5
40b014:	8d 44 24 0c          	lea    0xc(%esp),%eax
40b018:	50                   	push   %eax
40b019:	57                   	push   %edi
40b01a:	6a 04                	push   $0x4
40b01c:	ff 15 78 20 41 00    	call   *0x412078
40b022:	ff 15 48 20 41 00    	call   *0x412048
40b028:	3d ea 00 00 00       	cmp    $0xea,%eax
40b02d:	75 28                	jne    0x40b057
40b02f:	6a 01                	push   $0x1
40b031:	ff 74 24 10          	push   0x10(%esp)
40b035:	33 d2                	xor    %edx,%edx
40b037:	6a 0e                	push   $0xe
40b039:	59                   	pop    %ecx
40b03a:	e8 64 e5 ff ff       	call   0x4095a3
40b03f:	8b d8                	mov    %eax,%ebx
40b041:	85 db                	test   %ebx,%ebx
40b043:	75 19                	jne    0x40b05e
40b045:	ff 15 48 20 41 00    	call   *0x412048
40b04b:	85 c0                	test   %eax,%eax
40b04d:	75 08                	jne    0x40b057
40b04f:	6a 08                	push   $0x8
40b051:	ff 15 74 20 41 00    	call   *0x412074
40b057:	33 c0                	xor    %eax,%eax
40b059:	e9 9a 00 00 00       	jmp    0x40b0f8
40b05e:	8d 44 24 0c          	lea    0xc(%esp),%eax
40b062:	50                   	push   %eax
40b063:	53                   	push   %ebx
40b064:	6a 04                	push   $0x4
40b066:	ff 15 78 20 41 00    	call   *0x412078
40b06c:	85 c0                	test   %eax,%eax
40b06e:	74 e7                	je     0x40b057
40b070:	57                   	push   %edi
40b071:	6a 01                	push   $0x1
40b073:	8b d6                	mov    %esi,%edx
40b075:	8b cb                	mov    %ebx,%ecx
40b077:	e8 1e f4 ff ff       	call   0x40a49a
40b07c:	85 c0                	test   %eax,%eax
40b07e:	74 75                	je     0x40b0f5
40b080:	8b ce                	mov    %esi,%ecx
40b082:	e8 71 01 00 00       	call   0x40b1f8
40b087:	83 f8 01             	cmp    $0x1,%eax
40b08a:	89 7c 24 0c          	mov    %edi,0xc(%esp)
40b08e:	8d 44 24 0c          	lea    0xc(%esp),%eax
40b092:	75 6b                	jne    0x40b0ff
40b094:	51                   	push   %ecx
40b095:	50                   	push   %eax
40b096:	33 d2                	xor    %edx,%edx
40b098:	8b ce                	mov    %esi,%ecx
40b09a:	e8 0c 02 00 00       	call   0x40b2ab
40b09f:	85 c0                	test   %eax,%eax
40b0a1:	74 b4                	je     0x40b057
40b0a3:	6a 01                	push   $0x1
40b0a5:	ff 74 24 10          	push   0x10(%esp)
40b0a9:	33 d2                	xor    %edx,%edx
40b0ab:	6a 0f                	push   $0xf
40b0ad:	59                   	pop    %ecx
40b0ae:	e8 f0 e4 ff ff       	call   0x4095a3
40b0b3:	8b f8                	mov    %eax,%edi
40b0b5:	85 ff                	test   %edi,%edi
40b0b7:	74 9e                	je     0x40b057
40b0b9:	51                   	push   %ecx
40b0ba:	8d 44 24 10          	lea    0x10(%esp),%eax
40b0be:	8b d7                	mov    %edi,%edx
40b0c0:	50                   	push   %eax
40b0c1:	8b ce                	mov    %esi,%ecx
40b0c3:	e8 e3 01 00 00       	call   0x40b2ab
40b0c8:	85 c0                	test   %eax,%eax
40b0ca:	74 8b                	je     0x40b057
40b0cc:	6a 00                	push   $0x0
40b0ce:	6a 01                	push   $0x1
40b0d0:	8b d7                	mov    %edi,%edx
40b0d2:	8b cb                	mov    %ebx,%ecx
40b0d4:	e8 c1 f3 ff ff       	call   0x40a49a
40b0d9:	85 c0                	test   %eax,%eax
40b0db:	74 18                	je     0x40b0f5
40b0dd:	ba 90 18 40 00       	mov    $0x401890,%edx
40b0e2:	6a 00                	push   $0x0
40b0e4:	6a 01                	push   $0x1
40b0e6:	8b cf                	mov    %edi,%ecx
40b0e8:	e8 ad f3 ff ff       	call   0x40a49a
40b0ed:	85 c0                	test   %eax,%eax
40b0ef:	0f 85 62 ff ff ff    	jne    0x40b057
40b0f5:	33 c0                	xor    %eax,%eax
40b0f7:	40                   	inc    %eax
40b0f8:	5f                   	pop    %edi
40b0f9:	5e                   	pop    %esi
40b0fa:	5b                   	pop    %ebx
40b0fb:	8b e5                	mov    %ebp,%esp
40b0fd:	5d                   	pop    %ebp
40b0fe:	c3                   	ret
40b0ff:	50                   	push   %eax
40b100:	57                   	push   %edi
40b101:	6a 07                	push   $0x7
40b103:	ff 15 78 20 41 00    	call   *0x412078
40b109:	ff 15 48 20 41 00    	call   *0x412048
40b10f:	3d ea 00 00 00       	cmp    $0xea,%eax
40b114:	0f 85 3d ff ff ff    	jne    0x40b057
40b11a:	6a 01                	push   $0x1
40b11c:	ff 74 24 10          	push   0x10(%esp)
40b120:	33 d2                	xor    %edx,%edx
40b122:	6a 0e                	push   $0xe
40b124:	59                   	pop    %ecx
40b125:	e8 79 e4 ff ff       	call   0x4095a3
40b12a:	8b f8                	mov    %eax,%edi
40b12c:	85 ff                	test   %edi,%edi
40b12e:	0f 84 23 ff ff ff    	je     0x40b057
40b134:	8d 44 24 0c          	lea    0xc(%esp),%eax
40b138:	50                   	push   %eax
40b139:	57                   	push   %edi
40b13a:	6a 07                	push   $0x7
40b13c:	ff 15 78 20 41 00    	call   *0x412078
40b142:	85 c0                	test   %eax,%eax
40b144:	0f 84 0d ff ff ff    	je     0x40b057
40b14a:	8b d6                	mov    %esi,%edx
40b14c:	eb 94                	jmp    0x40b0e2
40b14e:	8b ff                	mov    %edi,%edi
40b150:	55                   	push   %ebp
40b151:	8b ec                	mov    %esp,%ebp
40b153:	83 ec 44             	sub    $0x44,%esp
40b156:	a1 44 10 41 00       	mov    0x411044,%eax
40b15b:	33 c5                	xor    %ebp,%eax
40b15d:	89 45 fc             	mov    %eax,-0x4(%ebp)
40b160:	53                   	push   %ebx
40b161:	56                   	push   %esi
40b162:	57                   	push   %edi
40b163:	8b d9                	mov    %ecx,%ebx
40b165:	8d 7d c4             	lea    -0x3c(%ebp),%edi
40b168:	be a4 18 40 00       	mov    $0x4018a4,%esi
40b16d:	6a 0e                	push   $0xe
40b16f:	59                   	pop    %ecx
40b170:	f3 a5                	rep movsl %ds:(%esi),%es:(%edi)
40b172:	85 db                	test   %ebx,%ebx
40b174:	74 70                	je     0x40b1e6
40b176:	53                   	push   %ebx
40b177:	ff 15 d4 20 41 00    	call   *0x4120d4
40b17d:	85 c0                	test   %eax,%eax
40b17f:	74 65                	je     0x40b1e6
40b181:	8b cb                	mov    %ebx,%ecx
40b183:	e8 70 00 00 00       	call   0x40b1f8
40b188:	51                   	push   %ecx
40b189:	83 f8 01             	cmp    $0x1,%eax
40b18c:	75 3e                	jne    0x40b1cc
40b18e:	83 65 c0 00          	andl   $0x0,-0x40(%ebp)
40b192:	8d 45 c0             	lea    -0x40(%ebp),%eax
40b195:	50                   	push   %eax
40b196:	33 d2                	xor    %edx,%edx
40b198:	8b cb                	mov    %ebx,%ecx
40b19a:	e8 0c 01 00 00       	call   0x40b2ab
40b19f:	85 c0                	test   %eax,%eax
40b1a1:	74 25                	je     0x40b1c8
40b1a3:	6a 01                	push   $0x1
40b1a5:	ff 75 c0             	push   -0x40(%ebp)
40b1a8:	33 d2                	xor    %edx,%edx
40b1aa:	6a 0f                	push   $0xf
40b1ac:	59                   	pop    %ecx
40b1ad:	e8 f1 e3 ff ff       	call   0x4095a3
40b1b2:	85 c0                	test   %eax,%eax
40b1b4:	74 12                	je     0x40b1c8
40b1b6:	51                   	push   %ecx
40b1b7:	8d 4d c0             	lea    -0x40(%ebp),%ecx
40b1ba:	8b d0                	mov    %eax,%edx
40b1bc:	51                   	push   %ecx
40b1bd:	8b cb                	mov    %ebx,%ecx
40b1bf:	e8 e7 00 00 00       	call   0x40b2ab
40b1c4:	85 c0                	test   %eax,%eax
40b1c6:	75 1e                	jne    0x40b1e6
40b1c8:	33 c0                	xor    %eax,%eax
40b1ca:	eb 1d                	jmp    0x40b1e9
40b1cc:	51                   	push   %ecx
40b1cd:	8d 55 c4             	lea    -0x3c(%ebp),%edx
40b1d0:	8b cb                	mov    %ebx,%ecx
40b1d2:	e8 eb ec ff ff       	call   0x409ec2
40b1d7:	83 f8 ff             	cmp    $0xffffffff,%eax
40b1da:	74 0a                	je     0x40b1e6
40b1dc:	6a 35                	push   $0x35
40b1de:	ff 15 74 20 41 00    	call   *0x412074
40b1e4:	eb e2                	jmp    0x40b1c8
40b1e6:	33 c0                	xor    %eax,%eax
40b1e8:	40                   	inc    %eax
40b1e9:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40b1ec:	5f                   	pop    %edi
40b1ed:	5e                   	pop    %esi
40b1ee:	33 cd                	xor    %ebp,%ecx
40b1f0:	5b                   	pop    %ebx
40b1f1:	e8 da 3a 00 00       	call   0x40ecd0
40b1f6:	c9                   	leave
40b1f7:	c3                   	ret
40b1f8:	8b ff                	mov    %edi,%edi
40b1fa:	55                   	push   %ebp
40b1fb:	8b ec                	mov    %esp,%ebp
40b1fd:	83 ec 14             	sub    $0x14,%esp
40b200:	a1 44 10 41 00       	mov    0x411044,%eax
40b205:	33 c5                	xor    %ebp,%eax
40b207:	89 45 fc             	mov    %eax,-0x4(%ebp)
40b20a:	53                   	push   %ebx
40b20b:	56                   	push   %esi
40b20c:	57                   	push   %edi
40b20d:	8b f1                	mov    %ecx,%esi
40b20f:	33 ff                	xor    %edi,%edi
40b211:	85 f6                	test   %esi,%esi
40b213:	74 7a                	je     0x40b28f
40b215:	56                   	push   %esi
40b216:	ff 15 d4 20 41 00    	call   *0x4120d4
40b21c:	85 c0                	test   %eax,%eax
40b21e:	74 6f                	je     0x40b28f
40b220:	57                   	push   %edi
40b221:	57                   	push   %edi
40b222:	6a 10                	push   $0x10
40b224:	8b d6                	mov    %esi,%edx
40b226:	59                   	pop    %ecx
40b227:	e8 77 e3 ff ff       	call   0x4095a3
40b22c:	85 c0                	test   %eax,%eax
40b22e:	75 0e                	jne    0x40b23e
40b230:	ff 15 48 20 41 00    	call   *0x412048
40b236:	85 c0                	test   %eax,%eax
40b238:	75 60                	jne    0x40b29a
40b23a:	6a 08                	push   $0x8
40b23c:	eb 56                	jmp    0x40b294
40b23e:	68 38 17 40 00       	push   $0x401738
40b243:	50                   	push   %eax
40b244:	ff 15 60 22 41 00    	call   *0x412260
40b24a:	8b f0                	mov    %eax,%esi
40b24c:	59                   	pop    %ecx
40b24d:	59                   	pop    %ecx
40b24e:	85 f6                	test   %esi,%esi
40b250:	74 3d                	je     0x40b28f
40b252:	6a 00                	push   $0x0
40b254:	8b ce                	mov    %esi,%ecx
40b256:	e8 91 ea ff ff       	call   0x409cec
40b25b:	85 c0                	test   %eax,%eax
40b25d:	74 3b                	je     0x40b29a
40b25f:	8b ce                	mov    %esi,%ecx
40b261:	e8 cf e9 ff ff       	call   0x409c35
40b266:	3d ff 00 00 00       	cmp    $0xff,%eax
40b26b:	77 2d                	ja     0x40b29a
40b26d:	68 38 17 40 00       	push   $0x401738
40b272:	6a 00                	push   $0x0
40b274:	8d 5f 01             	lea    0x1(%edi),%ebx
40b277:	ff 15 60 22 41 00    	call   *0x412260
40b27d:	8b f0                	mov    %eax,%esi
40b27f:	8b fb                	mov    %ebx,%edi
40b281:	59                   	pop    %ecx
40b282:	59                   	pop    %ecx
40b283:	85 f6                	test   %esi,%esi
40b285:	75 cb                	jne    0x40b252
40b287:	83 fb 04             	cmp    $0x4,%ebx
40b28a:	75 03                	jne    0x40b28f
40b28c:	40                   	inc    %eax
40b28d:	eb 0d                	jmp    0x40b29c
40b28f:	68 4f 25 00 00       	push   $0x254f
40b294:	ff 15 74 20 41 00    	call   *0x412074
40b29a:	33 c0                	xor    %eax,%eax
40b29c:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40b29f:	5f                   	pop    %edi
40b2a0:	5e                   	pop    %esi
40b2a1:	33 cd                	xor    %ebp,%ecx
40b2a3:	5b                   	pop    %ebx
40b2a4:	e8 27 3a 00 00       	call   0x40ecd0
40b2a9:	c9                   	leave
40b2aa:	c3                   	ret
40b2ab:	8b ff                	mov    %edi,%edi
40b2ad:	55                   	push   %ebp
40b2ae:	8b ec                	mov    %esp,%ebp
40b2b0:	81 ec 14 0a 00 00    	sub    $0xa14,%esp
40b2b6:	a1 44 10 41 00       	mov    0x411044,%eax
40b2bb:	33 c5                	xor    %ebp,%eax
40b2bd:	89 45 fc             	mov    %eax,-0x4(%ebp)
40b2c0:	53                   	push   %ebx
40b2c1:	56                   	push   %esi
40b2c2:	57                   	push   %edi
40b2c3:	89 8d 18 f6 ff ff    	mov    %ecx,-0x9e8(%ebp)
40b2c9:	8d bd f0 f5 ff ff    	lea    -0xa10(%ebp),%edi
40b2cf:	6a 08                	push   $0x8
40b2d1:	33 c0                	xor    %eax,%eax
40b2d3:	8b f2                	mov    %edx,%esi
40b2d5:	8b 55 08             	mov    0x8(%ebp),%edx
40b2d8:	33 db                	xor    %ebx,%ebx
40b2da:	59                   	pop    %ecx
40b2db:	f3 ab                	rep stos %eax,%es:(%edi)
40b2dd:	8b bd 18 f6 ff ff    	mov    -0x9e8(%ebp),%edi
40b2e3:	89 b5 10 f6 ff ff    	mov    %esi,-0x9f0(%ebp)
40b2e9:	89 95 14 f6 ff ff    	mov    %edx,-0x9ec(%ebp)
40b2ef:	89 9d 1c f6 ff ff    	mov    %ebx,-0x9e4(%ebp)
40b2f5:	66 89 45 b2          	mov    %ax,-0x4e(%ebp)
40b2f9:	85 ff                	test   %edi,%edi
40b2fb:	0f 84 0d 01 00 00    	je     0x40b40e
40b301:	85 d2                	test   %edx,%edx
40b303:	0f 84 05 01 00 00    	je     0x40b40e
40b309:	39 02                	cmp    %eax,(%edx)
40b30b:	74 11                	je     0x40b31e
40b30d:	83 3a 02             	cmpl   $0x2,(%edx)
40b310:	0f 82 f8 00 00 00    	jb     0x40b40e
40b316:	85 f6                	test   %esi,%esi
40b318:	0f 84 f0 00 00 00    	je     0x40b40e
40b31e:	39 05 b4 14 41 00    	cmp    %eax,0x4114b4
40b324:	75 2c                	jne    0x40b352
40b326:	8d 85 20 f6 ff ff    	lea    -0x9e0(%ebp),%eax
40b32c:	50                   	push   %eax
40b32d:	68 02 02 00 00       	push   $0x202
40b332:	ff 15 c0 21 41 00    	call   *0x4121c0
40b338:	85 c0                	test   %eax,%eax
40b33a:	74 0c                	je     0x40b348
40b33c:	ff 15 bc 21 41 00    	call   *0x4121bc
40b342:	50                   	push   %eax
40b343:	e9 d2 00 00 00       	jmp    0x40b41a
40b348:	c7 05 b4 14 41 00 01 	movl   $0x1,0x4114b4
40b34f:	00 00 00
40b352:	8d 85 1c f6 ff ff    	lea    -0x9e4(%ebp),%eax
40b358:	50                   	push   %eax
40b359:	8d 85 f0 f5 ff ff    	lea    -0xa10(%ebp),%eax
40b35f:	50                   	push   %eax
40b360:	53                   	push   %ebx
40b361:	57                   	push   %edi
40b362:	ff 15 c8 21 41 00    	call   *0x4121c8
40b368:	85 c0                	test   %eax,%eax
40b36a:	0f 85 b0 00 00 00    	jne    0x40b420
40b370:	8b b5 1c f6 ff ff    	mov    -0x9e4(%ebp),%esi
40b376:	eb 40                	jmp    0x40b3b8
40b378:	6a 04                	push   $0x4
40b37a:	33 c0                	xor    %eax,%eax
40b37c:	66 89 85 b0 f7 ff ff 	mov    %ax,-0x850(%ebp)
40b383:	8d 45 b8             	lea    -0x48(%ebp),%eax
40b386:	6a 20                	push   $0x20
40b388:	50                   	push   %eax
40b389:	68 01 04 00 00       	push   $0x401
40b38e:	8d 85 b0 f7 ff ff    	lea    -0x850(%ebp),%eax
40b394:	50                   	push   %eax
40b395:	ff 76 10             	push   0x10(%esi)
40b398:	ff 76 18             	push   0x18(%esi)
40b39b:	ff 15 b8 21 41 00    	call   *0x4121b8
40b3a1:	85 c0                	test   %eax,%eax
40b3a3:	74 19                	je     0x40b3be
40b3a5:	3d fc 2a 00 00       	cmp    $0x2afc,%eax
40b3aa:	75 09                	jne    0x40b3b5
40b3ac:	66 39 9d b0 f7 ff ff 	cmp    %bx,-0x850(%ebp)
40b3b3:	75 09                	jne    0x40b3be
40b3b5:	8b 76 1c             	mov    0x1c(%esi),%esi
40b3b8:	85 f6                	test   %esi,%esi
40b3ba:	75 bc                	jne    0x40b378
40b3bc:	eb 40                	jmp    0x40b3fe
40b3be:	8d 85 b0 f7 ff ff    	lea    -0x850(%ebp),%eax