40c139:	ff 75 0c             	push   0xc(%ebp)
40c13c:	ff 75 08             	push   0x8(%ebp)
40c13f:	e8 ec fe ff ff       	call   0x40c030
40c144:	83 c4 0c             	add    $0xc,%esp
40c147:	89 45 e4             	mov    %eax,-0x1c(%ebp)
40c14a:	eb 16                	jmp    0x40c162
40c14c:	e8 84 99 ff ff       	call   0x405ad5
40c151:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40c157:	e8 8c 99 ff ff       	call   0x405ae8
40c15c:	89 38                	mov    %edi,(%eax)
40c15e:	83 4d e4 ff          	orl    $0xffffffff,-0x1c(%ebp)
40c162:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40c169:	e8 09 00 00 00       	call   0x40c177
40c16e:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40c171:	e8 ab e2 ff ff       	call   0x40a421
40c176:	c3                   	ret
40c177:	ff 75 08             	push   0x8(%ebp)
40c17a:	e8 59 91 00 00       	call   0x4152d8
40c17f:	59                   	pop    %ecx
40c180:	c3                   	ret
40c181:	8b ff                	mov    %edi,%edi
40c183:	55                   	push   %ebp
40c184:	8b ec                	mov    %esp,%ebp
40c186:	8b 45 08             	mov    0x8(%ebp),%eax
40c189:	56                   	push   %esi
40c18a:	33 f6                	xor    %esi,%esi
40c18c:	3b c6                	cmp    %esi,%eax
40c18e:	75 1d                	jne    0x40c1ad
40c190:	e8 40 99 ff ff       	call   0x405ad5
40c195:	56                   	push   %esi
40c196:	56                   	push   %esi
40c197:	56                   	push   %esi
40c198:	56                   	push   %esi
40c199:	56                   	push   %esi
40c19a:	c7 00 16 00 00 00    	movl   $0x16,(%eax)
40c1a0:	e8 80 90 ff ff       	call   0x405225
40c1a5:	83 c4 14             	add    $0x14,%esp
40c1a8:	83 c8 ff             	or     $0xffffffff,%eax
40c1ab:	eb 03                	jmp    0x40c1b0
40c1ad:	8b 40 10             	mov    0x10(%eax),%eax
40c1b0:	5e                   	pop    %esi
40c1b1:	5d                   	pop    %ebp
40c1b2:	c3                   	ret
40c1b3:	6a 0c                	push   $0xc
40c1b5:	68 48 97 42 00       	push   $0x429748
40c1ba:	e8 1d e2 ff ff       	call   0x40a3dc
40c1bf:	6a 0e                	push   $0xe
40c1c1:	e8 1e d7 ff ff       	call   0x4098e4
40c1c6:	59                   	pop    %ecx
40c1c7:	83 65 fc 00          	andl   $0x0,-0x4(%ebp)
40c1cb:	8b 75 08             	mov    0x8(%ebp),%esi
40c1ce:	8b 4e 04             	mov    0x4(%esi),%ecx
40c1d1:	85 c9                	test   %ecx,%ecx
40c1d3:	74 2f                	je     0x40c204
40c1d5:	a1 84 09 43 00       	mov    0x430984,%eax
40c1da:	ba 80 09 43 00       	mov    $0x430980,%edx
40c1df:	89 45 e4             	mov    %eax,-0x1c(%ebp)
40c1e2:	85 c0                	test   %eax,%eax
40c1e4:	74 11                	je     0x40c1f7
40c1e6:	39 08                	cmp    %ecx,(%eax)
40c1e8:	75 2c                	jne    0x40c216
40c1ea:	8b 48 04             	mov    0x4(%eax),%ecx
40c1ed:	89 4a 04             	mov    %ecx,0x4(%edx)
40c1f0:	50                   	push   %eax
40c1f1:	e8 2a 8e ff ff       	call   0x405020
40c1f6:	59                   	pop    %ecx
40c1f7:	ff 76 04             	push   0x4(%esi)
40c1fa:	e8 21 8e ff ff       	call   0x405020
40c1ff:	59                   	pop    %ecx
40c200:	83 66 04 00          	andl   $0x0,0x4(%esi)
40c204:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40c20b:	e8 0a 00 00 00       	call   0x40c21a
40c210:	e8 0c e2 ff ff       	call   0x40a421
40c215:	c3                   	ret
40c216:	8b d0                	mov    %eax,%edx
40c218:	eb c5                	jmp    0x40c1df
40c21a:	6a 0e                	push   $0xe
40c21c:	e8 e9 d5 ff ff       	call   0x40980a
40c221:	59                   	pop    %ecx
40c222:	c3                   	ret
40c223:	cc                   	int3
40c224:	cc                   	int3
40c225:	cc                   	int3
40c226:	cc                   	int3
40c227:	cc                   	int3
40c228:	cc                   	int3
40c229:	cc                   	int3
40c22a:	cc                   	int3
40c22b:	cc                   	int3
40c22c:	cc                   	int3
40c22d:	cc                   	int3
40c22e:	cc                   	int3
40c22f:	cc                   	int3
40c230:	8b 54 24 04          	mov    0x4(%esp),%edx
40c234:	8b 4c 24 08          	mov    0x8(%esp),%ecx
40c238:	f7 c2 03 00 00 00    	test   $0x3,%edx
40c23e:	75 3c                	jne    0x40c27c
40c240:	8b 02                	mov    (%edx),%eax
40c242:	3a 01                	cmp    (%ecx),%al
40c244:	75 2e                	jne    0x40c274
40c246:	0a c0                	or     %al,%al
40c248:	74 26                	je     0x40c270
40c24a:	3a 61 01             	cmp    0x1(%ecx),%ah
40c24d:	75 25                	jne    0x40c274
40c24f:	0a e4                	or     %ah,%ah
40c251:	74 1d                	je     0x40c270
40c253:	c1 e8 10             	shr    $0x10,%eax
40c256:	3a 41 02             	cmp    0x2(%ecx),%al
40c259:	75 19                	jne    0x40c274
40c25b:	0a c0                	or     %al,%al
40c25d:	74 11                	je     0x40c270
40c25f:	3a 61 03             	cmp    0x3(%ecx),%ah
40c262:	75 10                	jne    0x40c274
40c264:	83 c1 04             	add    $0x4,%ecx
40c267:	83 c2 04             	add    $0x4,%edx
40c26a:	0a e4                	or     %ah,%ah
40c26c:	75 d2                	jne    0x40c240
40c26e:	8b ff                	mov    %edi,%edi
40c270:	33 c0                	xor    %eax,%eax
40c272:	c3                   	ret
40c273:	90                   	nop
40c274:	1b c0                	sbb    %eax,%eax
40c276:	d1 e0                	shl    $1,%eax
40c278:	83 c0 01             	add    $0x1,%eax
40c27b:	c3                   	ret
40c27c:	f7 c2 01 00 00 00    	test   $0x1,%edx
40c282:	74 18                	je     0x40c29c
40c284:	8a 02                	mov    (%edx),%al
40c286:	83 c2 01             	add    $0x1,%edx
40c289:	3a 01                	cmp    (%ecx),%al
40c28b:	75 e7                	jne    0x40c274
40c28d:	83 c1 01             	add    $0x1,%ecx
40c290:	0a c0                	or     %al,%al
40c292:	74 dc                	je     0x40c270
40c294:	f7 c2 02 00 00 00    	test   $0x2,%edx
40c29a:	74 a4                	je     0x40c240
40c29c:	66 8b 02             	mov    (%edx),%ax
40c29f:	83 c2 02             	add    $0x2,%edx
40c2a2:	3a 01                	cmp    (%ecx),%al
40c2a4:	75 ce                	jne    0x40c274
40c2a6:	0a c0                	or     %al,%al
40c2a8:	74 c6                	je     0x40c270
40c2aa:	3a 61 01             	cmp    0x1(%ecx),%ah
40c2ad:	75 c5                	jne    0x40c274
40c2af:	0a e4                	or     %ah,%ah
40c2b1:	74 bd                	je     0x40c270
40c2b3:	83 c1 02             	add    $0x2,%ecx
40c2b6:	eb 88                	jmp    0x40c240
40c2b8:	8b ff                	mov    %edi,%edi
40c2ba:	55                   	push   %ebp
40c2bb:	8b ec                	mov    %esp,%ebp
40c2bd:	56                   	push   %esi
40c2be:	8b 75 08             	mov    0x8(%ebp),%esi
40c2c1:	57                   	push   %edi
40c2c2:	56                   	push   %esi
40c2c3:	e8 f9 8e 00 00       	call   0x4151c1
40c2c8:	59                   	pop    %ecx
40c2c9:	83 f8 ff             	cmp    $0xffffffff,%eax
40c2cc:	74 50                	je     0x40c31e
40c2ce:	a1 60 12 c7 00       	mov    0xc71260,%eax
40c2d3:	83 fe 01             	cmp    $0x1,%esi
40c2d6:	75 09                	jne    0x40c2e1
40c2d8:	f6 80 84 00 00 00 01 	testb  $0x1,0x84(%eax)
40c2df:	75 0b                	jne    0x40c2ec
40c2e1:	83 fe 02             	cmp    $0x2,%esi
40c2e4:	75 1c                	jne    0x40c302
40c2e6:	f6 40 44 01          	testb  $0x1,0x44(%eax)
40c2ea:	74 16                	je     0x40c302
40c2ec:	6a 02                	push   $0x2
40c2ee:	e8 ce 8e 00 00       	call   0x4151c1
40c2f3:	6a 01                	push   $0x1
40c2f5:	8b f8                	mov    %eax,%edi
40c2f7:	e8 c5 8e 00 00       	call   0x4151c1
40c2fc:	59                   	pop    %ecx
40c2fd:	59                   	pop    %ecx
40c2fe:	3b c7                	cmp    %edi,%eax
40c300:	74 1c                	je     0x40c31e
40c302:	56                   	push   %esi
40c303:	e8 b9 8e 00 00       	call   0x4151c1
40c308:	59                   	pop    %ecx
40c309:	50                   	push   %eax
40c30a:	ff 15 14 a1 41 00    	call   *0x41a114
40c310:	85 c0                	test   %eax,%eax
40c312:	75 0a                	jne    0x40c31e
40c314:	ff 15 98 a0 41 00    	call   *0x41a098
40c31a:	8b f8                	mov    %eax,%edi
40c31c:	eb 02                	jmp    0x40c320
40c31e:	33 ff                	xor    %edi,%edi
40c320:	56                   	push   %esi
40c321:	e8 15 8e 00 00       	call   0x41513b
40c326:	8b c6                	mov    %esi,%eax
40c328:	c1 f8 05             	sar    $0x5,%eax
40c32b:	8b 04 85 60 12 c7 00 	mov    0xc71260(,%eax,4),%eax
40c332:	83 e6 1f             	and    $0x1f,%esi
40c335:	c1 e6 06             	shl    $0x6,%esi
40c338:	59                   	pop    %ecx
40c339:	c6 44 30 04 00       	movb   $0x0,0x4(%eax,%esi,1)
40c33e:	85 ff                	test   %edi,%edi
40c340:	74 0c                	je     0x40c34e
40c342:	57                   	push   %edi
40c343:	e8 b3 97 ff ff       	call   0x405afb
40c348:	59                   	pop    %ecx
40c349:	83 c8 ff             	or     $0xffffffff,%eax
40c34c:	eb 02                	jmp    0x40c350
40c34e:	33 c0                	xor    %eax,%eax
40c350:	5f                   	pop    %edi
40c351:	5e                   	pop    %esi
40c352:	5d                   	pop    %ebp
40c353:	c3                   	ret
40c354:	6a 10                	push   $0x10
40c356:	68 68 97 42 00       	push   $0x429768
40c35b:	e8 7c e0 ff ff       	call   0x40a3dc
40c360:	8b 45 08             	mov    0x8(%ebp),%eax
40c363:	83 f8 fe             	cmp    $0xfffffffe,%eax
40c366:	75 1b                	jne    0x40c383
40c368:	e8 7b 97 ff ff       	call   0x405ae8
40c36d:	83 20 00             	andl   $0x0,(%eax)
40c370:	e8 60 97 ff ff       	call   0x405ad5
40c375:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40c37b:	83 c8 ff             	or     $0xffffffff,%eax
40c37e:	e9 8e 00 00 00       	jmp    0x40c411
40c383:	33 ff                	xor    %edi,%edi
40c385:	3b c7                	cmp    %edi,%eax
40c387:	7c 08                	jl     0x40c391
40c389:	3b 05 44 12 c7 00    	cmp    0xc71244,%eax
40c38f:	72 21                	jb     0x40c3b2
40c391:	e8 52 97 ff ff       	call   0x405ae8
40c396:	89 38                	mov    %edi,(%eax)
40c398:	e8 38 97 ff ff       	call   0x405ad5
40c39d:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40c3a3:	57                   	push   %edi
40c3a4:	57                   	push   %edi
40c3a5:	57                   	push   %edi
40c3a6:	57                   	push   %edi
40c3a7:	57                   	push   %edi
40c3a8:	e8 78 8e ff ff       	call   0x405225
40c3ad:	83 c4 14             	add    $0x14,%esp
40c3b0:	eb c9                	jmp    0x40c37b
40c3b2:	8b c8                	mov    %eax,%ecx
40c3b4:	c1 f9 05             	sar    $0x5,%ecx
40c3b7:	8d 1c 8d 60 12 c7 00 	lea    0xc71260(,%ecx,4),%ebx
40c3be:	8b f0                	mov    %eax,%esi
40c3c0:	83 e6 1f             	and    $0x1f,%esi
40c3c3:	c1 e6 06             	shl    $0x6,%esi
40c3c6:	8b 0b                	mov    (%ebx),%ecx
40c3c8:	0f be 4c 31 04       	movsbl 0x4(%ecx,%esi,1),%ecx
40c3cd:	83 e1 01             	and    $0x1,%ecx
40c3d0:	74 bf                	je     0x40c391
40c3d2:	50                   	push   %eax
40c3d3:	e8 60 8e 00 00       	call   0x415238
40c3d8:	59                   	pop    %ecx
40c3d9:	89 7d fc             	mov    %edi,-0x4(%ebp)
40c3dc:	8b 03                	mov    (%ebx),%eax
40c3de:	f6 44 30 04 01       	testb  $0x1,0x4(%eax,%esi,1)
40c3e3:	74 0e                	je     0x40c3f3
40c3e5:	ff 75 08             	push   0x8(%ebp)
40c3e8:	e8 cb fe ff ff       	call   0x40c2b8
40c3ed:	59                   	pop    %ecx
40c3ee:	89 45 e4             	mov    %eax,-0x1c(%ebp)
40c3f1:	eb 0f                	jmp    0x40c402
40c3f3:	e8 dd 96 ff ff       	call   0x405ad5
40c3f8:	c7 00 09 00 00 00    	movl   $0x9,(%eax)
40c3fe:	83 4d e4 ff          	orl    $0xffffffff,-0x1c(%ebp)
40c402:	c7 45 fc fe ff ff ff 	movl   $0xfffffffe,-0x4(%ebp)
40c409:	e8 09 00 00 00       	call   0x40c417
40c40e:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40c411:	e8 0b e0 ff ff       	call   0x40a421
40c416:	c3                   	ret
40c417:	ff 75 08             	push   0x8(%ebp)
40c41a:	e8 b9 8e 00 00       	call   0x4152d8
40c41f:	59                   	pop    %ecx
40c420:	c3                   	ret
40c421:	8b ff                	mov    %edi,%edi
40c423:	55                   	push   %ebp
40c424:	8b ec                	mov    %esp,%ebp
40c426:	56                   	push   %esi
40c427:	8b 75 08             	mov    0x8(%ebp),%esi
40c42a:	8b 46 0c             	mov    0xc(%esi),%eax
40c42d:	a8 83                	test   $0x83,%al
40c42f:	74 1e                	je     0x40c44f
40c431:	a8 08                	test   $0x8,%al
40c433:	74 1a                	je     0x40c44f
40c435:	ff 76 08             	push   0x8(%esi)
40c438:	e8 e3 8b ff ff       	call   0x405020
40c43d:	81 66 0c f7 fb ff ff 	andl   $0xfffffbf7,0xc(%esi)
40c444:	33 c0                	xor    %eax,%eax
40c446:	59                   	pop    %ecx
40c447:	89 06                	mov    %eax,(%esi)
40c449:	89 46 08             	mov    %eax,0x8(%esi)
40c44c:	89 46 04             	mov    %eax,0x4(%esi)
40c44f:	5e                   	pop    %esi
40c450:	5d                   	pop    %ebp
40c451:	c3                   	ret
40c452:	8b ff                	mov    %edi,%edi
40c454:	55                   	push   %ebp
40c455:	8b ec                	mov    %esp,%ebp
40c457:	53                   	push   %ebx
40c458:	56                   	push   %esi
40c459:	8b 75 08             	mov    0x8(%ebp),%esi
40c45c:	8b 46 0c             	mov    0xc(%esi),%eax
40c45f:	8b c8                	mov    %eax,%ecx
40c461:	80 e1 03             	and    $0x3,%cl
40c464:	33 db                	xor    %ebx,%ebx
40c466:	80 f9 02             	cmp    $0x2,%cl
40c469:	75 40                	jne    0x40c4ab
40c46b:	a9 08 01 00 00       	test   $0x108,%eax
40c470:	74 39                	je     0x40c4ab
40c472:	8b 46 08             	mov    0x8(%esi),%eax
40c475:	57                   	push   %edi
40c476:	8b 3e                	mov    (%esi),%edi
40c478:	2b f8                	sub    %eax,%edi
40c47a:	85 ff                	test   %edi,%edi
40c47c:	7e 2c                	jle    0x40c4aa
40c47e:	57                   	push   %edi
40c47f:	50                   	push   %eax
40c480:	56                   	push   %esi
40c481:	e8 fb fc ff ff       	call   0x40c181
40c486:	59                   	pop    %ecx
40c487:	50                   	push   %eax
40c488:	e8 d2 65 00 00       	call   0x412a5f
40c48d:	83 c4 0c             	add    $0xc,%esp
40c490:	3b c7                	cmp    %edi,%eax
40c492:	75 0f                	jne    0x40c4a3
40c494:	8b 46 0c             	mov    0xc(%esi),%eax
40c497:	84 c0                	test   %al,%al
40c499:	79 0f                	jns    0x40c4aa
40c49b:	83 e0 fd             	and    $0xfffffffd,%eax
40c49e:	89 46 0c             	mov    %eax,0xc(%esi)
40c4a1:	eb 07                	jmp    0x40c4aa
40c4a3:	83 4e 0c 20          	orl    $0x20,0xc(%esi)
40c4a7:	83 cb ff             	or     $0xffffffff,%ebx
40c4aa:	5f                   	pop    %edi
40c4ab:	8b 46 08             	mov    0x8(%esi),%eax
40c4ae:	83 66 04 00          	andl   $0x0,0x4(%esi)
40c4b2:	89 06                	mov    %eax,(%esi)
40c4b4:	5e                   	pop    %esi
40c4b5:	8b c3                	mov    %ebx,%eax
40c4b7:	5b                   	pop    %ebx
40c4b8:	5d                   	pop    %ebp
40c4b9:	c3                   	ret
40c4ba:	8b ff                	mov    %edi,%edi
40c4bc:	55                   	push   %ebp
40c4bd:	8b ec                	mov    %esp,%ebp
40c4bf:	56                   	push   %esi
40c4c0:	8b 75 08             	mov    0x8(%ebp),%esi
40c4c3:	85 f6                	test   %esi,%esi
40c4c5:	75 09                	jne    0x40c4d0
40c4c7:	56                   	push   %esi
40c4c8:	e8 35 00 00 00       	call   0x40c502
40c4cd:	59                   	pop    %ecx