40f0db:	8b 7d 08             	mov    0x8(%ebp),%edi
40f0de:	8b d0                	mov    %eax,%edx
40f0e0:	8b f2                	mov    %edx,%esi
40f0e2:	25 80 00 00 00       	and    $0x80,%eax
40f0e7:	83 e6 40             	and    $0x40,%esi
40f0ea:	c1 e6 02             	shl    $0x2,%esi
40f0ed:	83 27 00             	andl   $0x0,(%edi)
40f0f0:	83 67 04 00          	andl   $0x0,0x4(%edi)
40f0f4:	8b 0f                	mov    (%edi),%ecx
40f0f6:	81 e1 7f fe ff ff    	and    $0xfffffe7f,%ecx
40f0fc:	0b f1                	or     %ecx,%esi
40f0fe:	0b f0                	or     %eax,%esi
40f100:	81 e2 3f ff ff ff    	and    $0xffffff3f,%edx
40f106:	74 08                	je     0x40f110
40f108:	83 fa 02             	cmp    $0x2,%edx
40f10b:	0f 94 c0             	sete   %al
40f10e:	eb 02                	jmp    0x40f112
40f110:	b0 01                	mov    $0x1,%al
40f112:	0f b6 d0             	movzbl %al,%edx
40f115:	83 e6 ef             	and    $0xffffffef,%esi
40f118:	c1 e2 04             	shl    $0x4,%edx
40f11b:	0b d6                	or     %esi,%edx
40f11d:	0f b6 c8             	movzbl %al,%ecx
40f120:	83 e2 f7             	and    $0xfffffff7,%edx
40f123:	c1 e1 03             	shl    $0x3,%ecx
40f126:	0b d1                	or     %ecx,%edx
40f128:	8b c7                	mov    %edi,%eax
40f12a:	89 17                	mov    %edx,(%edi)
40f12c:	5f                   	pop    %edi
40f12d:	5e                   	pop    %esi
40f12e:	5d                   	pop    %ebp
40f12f:	c2 08 00             	ret    $0x8
40f132:	8b ff                	mov    %edi,%edi
40f134:	55                   	push   %ebp
40f135:	8b ec                	mov    %esp,%ebp
40f137:	56                   	push   %esi
40f138:	57                   	push   %edi
40f139:	ff 75 0c             	push   0xc(%ebp)
40f13c:	b9 44 b9 07 01       	mov    $0x107b944,%ecx
40f141:	e8 70 04 00 00       	call   0x40f5b6
40f146:	8b 7d 08             	mov    0x8(%ebp),%edi
40f149:	8b d0                	mov    %eax,%edx
40f14b:	8b f2                	mov    %edx,%esi
40f14d:	25 80 00 00 00       	and    $0x80,%eax
40f152:	83 e6 40             	and    $0x40,%esi
40f155:	c1 e6 02             	shl    $0x2,%esi
40f158:	83 27 00             	andl   $0x0,(%edi)
40f15b:	83 67 04 00          	andl   $0x0,0x4(%edi)
40f15f:	8b 0f                	mov    (%edi),%ecx
40f161:	81 e1 7f fe ff ff    	and    $0xfffffe7f,%ecx
40f167:	0b f1                	or     %ecx,%esi
40f169:	0b f0                	or     %eax,%esi
40f16b:	81 e2 3f ff ff ff    	and    $0xffffff3f,%edx
40f171:	74 08                	je     0x40f17b
40f173:	83 fa 02             	cmp    $0x2,%edx
40f176:	0f 94 c0             	sete   %al
40f179:	eb 02                	jmp    0x40f17d
40f17b:	b0 01                	mov    $0x1,%al
40f17d:	0f b6 d0             	movzbl %al,%edx
40f180:	83 e6 ef             	and    $0xffffffef,%esi
40f183:	c1 e2 04             	shl    $0x4,%edx
40f186:	0b d6                	or     %esi,%edx
40f188:	0f b6 c8             	movzbl %al,%ecx
40f18b:	83 e2 f7             	and    $0xfffffff7,%edx
40f18e:	c1 e1 03             	shl    $0x3,%ecx
40f191:	0b d1                	or     %ecx,%edx
40f193:	8b c7                	mov    %edi,%eax
40f195:	89 17                	mov    %edx,(%edi)
40f197:	5f                   	pop    %edi
40f198:	5e                   	pop    %esi
40f199:	5d                   	pop    %ebp
40f19a:	c2 08 00             	ret    $0x8
40f19d:	8b ff                	mov    %edi,%edi
40f19f:	55                   	push   %ebp
40f1a0:	8b ec                	mov    %esp,%ebp
40f1a2:	57                   	push   %edi
40f1a3:	8b 7d 08             	mov    0x8(%ebp),%edi
40f1a6:	8b 07                	mov    (%edi),%eax
40f1a8:	85 c0                	test   %eax,%eax
40f1aa:	74 15                	je     0x40f1c1
40f1ac:	83 27 00             	andl   $0x0,(%edi)
40f1af:	8b 08                	mov    (%eax),%ecx
40f1b1:	56                   	push   %esi
40f1b2:	50                   	push   %eax
40f1b3:	8b 71 08             	mov    0x8(%ecx),%esi
40f1b6:	8b ce                	mov    %esi,%ecx
40f1b8:	ff 15 78 64 42 00    	call   *0x426478
40f1be:	ff d6                	call   *%esi
40f1c0:	5e                   	pop    %esi
40f1c1:	8b c7                	mov    %edi,%eax
40f1c3:	5f                   	pop    %edi
40f1c4:	5d                   	pop    %ebp
40f1c5:	c2 04 00             	ret    $0x4
40f1c8:	8b ff                	mov    %edi,%edi
40f1ca:	55                   	push   %ebp
40f1cb:	8b ec                	mov    %esp,%ebp
40f1cd:	51                   	push   %ecx
40f1ce:	56                   	push   %esi
40f1cf:	89 4d fc             	mov    %ecx,-0x4(%ebp)
40f1d2:	8d 75 fc             	lea    -0x4(%ebp),%esi
40f1d5:	83 ec 48             	sub    $0x48,%esp
40f1d8:	8b cc                	mov    %esp,%ecx
40f1da:	8d 41 08             	lea    0x8(%ecx),%eax
40f1dd:	c7 00 5c 10 40 00    	movl   $0x40105c,(%eax)
40f1e3:	89 70 04             	mov    %esi,0x4(%eax)
40f1e6:	89 41 40             	mov    %eax,0x40(%ecx)
40f1e9:	8b ca                	mov    %edx,%ecx
40f1eb:	e8 d9 00 00 00       	call   0x40f2c9
40f1f0:	5e                   	pop    %esi
40f1f1:	c9                   	leave
40f1f2:	c3                   	ret
40f1f3:	8b ff                	mov    %edi,%edi
40f1f5:	55                   	push   %ebp
40f1f6:	8b ec                	mov    %esp,%ebp
40f1f8:	83 ec 0c             	sub    $0xc,%esp
40f1fb:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40f1ff:	56                   	push   %esi
40f200:	57                   	push   %edi
40f201:	bf 80 00 00 00       	mov    $0x80,%edi
40f206:	8d 47 ff             	lea    -0x1(%edi),%eax
40f209:	50                   	push   %eax
40f20a:	6a 00                	push   $0x0
40f20c:	8d 4d fc             	lea    -0x4(%ebp),%ecx
40f20f:	e8 3e 02 00 00       	call   0x40f452
40f214:	8b f0                	mov    %eax,%esi
40f216:	85 f6                	test   %esi,%esi
40f218:	78 72                	js     0x40f28c
40f21a:	8b 75 fc             	mov    -0x4(%ebp),%esi
40f21d:	57                   	push   %edi
40f21e:	56                   	push   %esi
40f21f:	6a 00                	push   $0x0
40f221:	ff 15 c8 60 42 00    	call   *0x4260c8
40f227:	85 c0                	test   %eax,%eax
40f229:	0f 94 c1             	sete   %cl
40f22c:	85 c0                	test   %eax,%eax
40f22e:	74 08                	je     0x40f238
40f230:	3b c7                	cmp    %edi,%eax
40f232:	73 04                	jae    0x40f238
40f234:	b0 01                	mov    $0x1,%al
40f236:	eb 02                	jmp    0x40f23a
40f238:	32 c0                	xor    %al,%al
40f23a:	84 c9                	test   %cl,%cl
40f23c:	75 38                	jne    0x40f276
40f23e:	84 c0                	test   %al,%al
40f240:	75 13                	jne    0x40f255
40f242:	b8 e8 7f 00 00       	mov    $0x7fe8,%eax
40f247:	3b f8                	cmp    %eax,%edi
40f249:	74 6b                	je     0x40f2b6
40f24b:	03 ff                	add    %edi,%edi
40f24d:	3b f8                	cmp    %eax,%edi
40f24f:	76 b5                	jbe    0x40f206
40f251:	8b f8                	mov    %eax,%edi
40f253:	eb b1                	jmp    0x40f206
40f255:	8b 4d 08             	mov    0x8(%ebp),%ecx
40f258:	8d 45 f8             	lea    -0x8(%ebp),%eax
40f25b:	3b c8                	cmp    %eax,%ecx
40f25d:	74 08                	je     0x40f267
40f25f:	56                   	push   %esi
40f260:	e8 cd ef ff ff       	call   0x40e232
40f265:	33 f6                	xor    %esi,%esi
40f267:	85 f6                	test   %esi,%esi
40f269:	74 07                	je     0x40f272
40f26b:	56                   	push   %esi
40f26c:	ff 15 dc 62 42 00    	call   *0x4262dc
40f272:	33 c0                	xor    %eax,%eax
40f274:	eb 3a                	jmp    0x40f2b0
40f276:	8b 4d 04             	mov    0x4(%ebp),%ecx
40f279:	ba 22 01 00 00       	mov    $0x122,%edx
40f27e:	68 54 1f 40 00       	push   $0x401f54
40f283:	e8 25 7d ff ff       	call   0x406fad
40f288:	8b f0                	mov    %eax,%esi
40f28a:	eb 13                	jmp    0x40f29f
40f28c:	8b 4d 04             	mov    0x4(%ebp),%ecx
40f28f:	ba 09 01 00 00       	mov    $0x109,%edx
40f294:	56                   	push   %esi
40f295:	68 54 1f 40 00       	push   $0x401f54
40f29a:	e8 f1 7c ff ff       	call   0x406f90
40f29f:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
40f2a3:	74 09                	je     0x40f2ae
40f2a5:	ff 75 fc             	push   -0x4(%ebp)
40f2a8:	ff 15 dc 62 42 00    	call   *0x4262dc
40f2ae:	8b c6                	mov    %esi,%eax
40f2b0:	5f                   	pop    %edi
40f2b1:	5e                   	pop    %esi
40f2b2:	c9                   	leave
40f2b3:	c2 04 00             	ret    $0x4
40f2b6:	8b 4d 04             	mov    0x4(%ebp),%ecx
40f2b9:	ba 35 01 00 00       	mov    $0x135,%edx
40f2be:	68 54 1f 40 00       	push   $0x401f54
40f2c3:	e8 13 7d ff ff       	call   0x406fdb
40f2c8:	cc                   	int3
40f2c9:	8b ff                	mov    %edi,%edi
40f2cb:	55                   	push   %ebp
40f2cc:	8b ec                	mov    %esp,%ebp
40f2ce:	81 ec 1c 02 00 00    	sub    $0x21c,%esp
40f2d4:	a1 10 42 42 00       	mov    0x424210,%eax
40f2d9:	33 c5                	xor    %ebp,%eax
40f2db:	89 45 fc             	mov    %eax,-0x4(%ebp)
40f2de:	83 a5 f4 fd ff ff 00 	andl   $0x0,-0x20c(%ebp)
40f2e5:	33 c0                	xor    %eax,%eax
40f2e7:	21 85 f0 fd ff ff    	and    %eax,-0x210(%ebp)
40f2ed:	53                   	push   %ebx
40f2ee:	56                   	push   %esi
40f2ef:	57                   	push   %edi
40f2f0:	66 89 85 f8 fd ff ff 	mov    %ax,-0x208(%ebp)
40f2f7:	bf 00 01 00 00       	mov    $0x100,%edi
40f2fc:	8d 85 f0 fd ff ff    	lea    -0x210(%ebp),%eax
40f302:	8b d9                	mov    %ecx,%ebx
40f304:	50                   	push   %eax
40f305:	57                   	push   %edi
40f306:	8d 85 f8 fd ff ff    	lea    -0x208(%ebp),%eax
40f30c:	50                   	push   %eax
40f30d:	8d 4d 08             	lea    0x8(%ebp),%ecx
40f310:	e8 4b 02 00 00       	call   0x40f560
40f315:	8b f0                	mov    %eax,%esi
40f317:	85 f6                	test   %esi,%esi
40f319:	0f 88 01 01 00 00    	js     0x40f420
40f31f:	8b 85 f0 fd ff ff    	mov    -0x210(%ebp),%eax
40f325:	8d 8d f4 fd ff ff    	lea    -0x20c(%ebp),%ecx
40f32b:	3b c7                	cmp    %edi,%eax
40f32d:	0f 87 83 00 00 00    	ja     0x40f3b6
40f333:	48                   	dec    %eax
40f334:	50                   	push   %eax
40f335:	8d 85 f8 fd ff ff    	lea    -0x208(%ebp),%eax
40f33b:	50                   	push   %eax
40f33c:	e8 11 01 00 00       	call   0x40f452
40f341:	8b f0                	mov    %eax,%esi
40f343:	85 f6                	test   %esi,%esi
40f345:	79 2f                	jns    0x40f376
40f347:	56                   	push   %esi
40f348:	68 54 1f 40 00       	push   $0x401f54
40f34d:	6a 6e                	push   $0x6e
40f34f:	8b 4d 04             	mov    0x4(%ebp),%ecx
40f352:	5a                   	pop    %edx
40f353:	e8 38 7c ff ff       	call   0x406f90
40f358:	83 bd f4 fd ff ff 00 	cmpl   $0x0,-0x20c(%ebp)
40f35f:	0f 84 bb 00 00 00    	je     0x40f420
40f365:	ff b5 f4 fd ff ff    	push   -0x20c(%ebp)
40f36b:	ff 15 dc 62 42 00    	call   *0x4262dc
40f371:	e9 aa 00 00 00       	jmp    0x40f420
40f376:	8b b5 f4 fd ff ff    	mov    -0x20c(%ebp),%esi
40f37c:	8d 85 e8 fd ff ff    	lea    -0x218(%ebp),%eax
40f382:	3b d8                	cmp    %eax,%ebx
40f384:	74 0a                	je     0x40f390
40f386:	56                   	push   %esi
40f387:	8b cb                	mov    %ebx,%ecx
40f389:	e8 a4 ee ff ff       	call   0x40e232
40f38e:	33 f6                	xor    %esi,%esi
40f390:	85 f6                	test   %esi,%esi
40f392:	74 07                	je     0x40f39b
40f394:	56                   	push   %esi
40f395:	ff 15 dc 62 42 00    	call   *0x4262dc
40f39b:	8d 4d 08             	lea    0x8(%ebp),%ecx
40f39e:	e8 f4 01 00 00       	call   0x40f597
40f3a3:	33 c0                	xor    %eax,%eax
40f3a5:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40f3a8:	5f                   	pop    %edi
40f3a9:	5e                   	pop    %esi
40f3aa:	33 cd                	xor    %ebp,%ecx
40f3ac:	5b                   	pop    %ebx
40f3ad:	e8 be 24 01 00       	call   0x421870
40f3b2:	c9                   	leave
40f3b3:	c2 48 00             	ret    $0x48
40f3b6:	48                   	dec    %eax
40f3b7:	50                   	push   %eax
40f3b8:	6a 00                	push   $0x0
40f3ba:	e8 93 00 00 00       	call   0x40f452
40f3bf:	8b f0                	mov    %eax,%esi
40f3c1:	85 f6                	test   %esi,%esi
40f3c3:	79 0a                	jns    0x40f3cf
40f3c5:	56                   	push   %esi
40f3c6:	68 54 1f 40 00       	push   $0x401f54
40f3cb:	6a 74                	push   $0x74
40f3cd:	eb 80                	jmp    0x40f34f
40f3cf:	8b b5 f4 fd ff ff    	mov    -0x20c(%ebp),%esi
40f3d5:	8d 85 ec fd ff ff    	lea    -0x214(%ebp),%eax
40f3db:	83 a5 ec fd ff ff 00 	andl   $0x0,-0x214(%ebp)
40f3e2:	8d 4d 08             	lea    0x8(%ebp),%ecx
40f3e5:	50                   	push   %eax
40f3e6:	ff b5 f0 fd ff ff    	push   -0x210(%ebp)
40f3ec:	56                   	push   %esi
40f3ed:	e8 6e 01 00 00       	call   0x40f560
40f3f2:	8b f8                	mov    %eax,%edi
40f3f4:	85 ff                	test   %edi,%edi
40f3f6:	79 37                	jns    0x40f42f
40f3f8:	8b 4d 04             	mov    0x4(%ebp),%ecx
40f3fb:	57                   	push   %edi
40f3fc:	68 54 1f 40 00       	push   $0x401f54
40f401:	6a 77                	push   $0x77
40f403:	5a                   	pop    %edx
40f404:	e8 87 7b ff ff       	call   0x406f90
40f409:	83 bd f4 fd ff ff 00 	cmpl   $0x0,-0x20c(%ebp)
40f410:	74 0c                	je     0x40f41e
40f412:	ff b5 f4 fd ff ff    	push   -0x20c(%ebp)
40f418:	ff 15 dc 62 42 00    	call   *0x4262dc
40f41e:	8b f7                	mov    %edi,%esi
40f420:	8d 4d 08             	lea    0x8(%ebp),%ecx
40f423:	e8 6f 01 00 00       	call   0x40f597
40f428:	8b c6                	mov    %esi,%eax
40f42a:	e9 76 ff ff ff       	jmp    0x40f3a5
40f42f:	8b 85 f0 fd ff ff    	mov    -0x210(%ebp),%eax
40f435:	3b 85 ec fd ff ff    	cmp    -0x214(%ebp),%eax
40f43b:	0f 84 3b ff ff ff    	je     0x40f37c
40f441:	8b 4d 04             	mov    0x4(%ebp),%ecx
40f444:	68 54 1f 40 00       	push   $0x401f54
40f449:	6a 7a                	push   $0x7a
40f44b:	5a                   	pop    %edx
40f44c:	e8 8a 7b ff ff       	call   0x406fdb
40f451:	cc                   	int3
40f452:	8b ff                	mov    %edi,%edi
40f454:	55                   	push   %ebp
40f455:	8b ec                	mov    %esp,%ebp
40f457:	51                   	push   %ecx
40f458:	51                   	push   %ecx
40f459:	8b 55 08             	mov    0x8(%ebp),%edx
40f45c:	56                   	push   %esi
40f45d:	57                   	push   %edi
40f45e:	ff 75 0c             	push   0xc(%ebp)
40f461:	8b f9                	mov    %ecx,%edi
40f463:	8d 4d fc             	lea    -0x4(%ebp),%ecx
40f466:	e8 78 06 00 00       	call   0x40fae3
40f46b:	8b f0                	mov    %eax,%esi
40f46d:	3b fe                	cmp    %esi,%edi
40f46f:	74 0c                	je     0x40f47d
40f471:	ff 36                	push   (%esi)
40f473:	8b cf                	mov    %edi,%ecx
40f475:	e8 b8 ed ff ff       	call   0x40e232
40f47a:	83 26 00             	andl   $0x0,(%esi)
40f47d:	83 7d fc 00          	cmpl   $0x0,-0x4(%ebp)
40f481:	74 09                	je     0x40f48c
40f483:	ff 75 fc             	push   -0x4(%ebp)
40f486:	ff 15 dc 62 42 00    	call   *0x4262dc
40f48c:	8b 07                	mov    (%edi),%eax
40f48e:	f7 d8                	neg    %eax
40f490:	5f                   	pop    %edi
40f491:	1b c0                	sbb    %eax,%eax
40f493:	25 f2 ff f8 7f       	and    $0x7ff8fff2,%eax
40f498:	05 0e 00 07 80       	add    $0x8007000e,%eax
40f49d:	5e                   	pop    %esi
40f49e:	c9                   	leave
40f49f:	c2 08 00             	ret    $0x8
40f4a2:	cc                   	int3
40f4a3:	cc                   	int3
40f4a4:	cc                   	int3
40f4a5:	cc                   	int3
40f4a6:	cc                   	int3
40f4a7:	cc                   	int3
40f4a8:	cc                   	int3
40f4a9:	cc                   	int3
40f4aa:	cc                   	int3