40c056:	8b 00                	mov    (%eax),%eax
40c058:	ff 75 d0             	push   -0x30(%ebp)
40c05b:	ff 50 0c             	call   *0xc(%eax)
40c05e:	db e2                	fnclex
40c060:	89 45 88             	mov    %eax,-0x78(%ebp)
40c063:	83 7d 88 00          	cmpl   $0x0,-0x78(%ebp)
40c067:	7d 1a                	jge    0x40c083
40c069:	6a 0c                	push   $0xc
40c06b:	68 c0 47 40 00       	push   $0x4047c0
40c070:	ff 75 d0             	push   -0x30(%ebp)
40c073:	ff 75 88             	push   -0x78(%ebp)
40c076:	e8 59 54 ff ff       	call   0x4014d4
40c07b:	89 85 3c ff ff ff    	mov    %eax,-0xc4(%ebp)
40c081:	eb 07                	jmp    0x40c08a
40c083:	83 a5 3c ff ff ff 00 	andl   $0x0,-0xc4(%ebp)
40c08a:	8d 45 90             	lea    -0x70(%ebp),%eax
40c08d:	50                   	push   %eax
40c08e:	6a 04                	push   $0x4
40c090:	8d 45 e8             	lea    -0x18(%ebp),%eax
40c093:	50                   	push   %eax
40c094:	8b 45 d0             	mov    -0x30(%ebp),%eax
40c097:	8b 00                	mov    (%eax),%eax
40c099:	ff 75 d0             	push   -0x30(%ebp)
40c09c:	ff 50 0c             	call   *0xc(%eax)
40c09f:	db e2                	fnclex
40c0a1:	89 45 88             	mov    %eax,-0x78(%ebp)
40c0a4:	83 7d 88 00          	cmpl   $0x0,-0x78(%ebp)
40c0a8:	7d 1a                	jge    0x40c0c4
40c0aa:	6a 0c                	push   $0xc
40c0ac:	68 c0 47 40 00       	push   $0x4047c0
40c0b1:	ff 75 d0             	push   -0x30(%ebp)
40c0b4:	ff 75 88             	push   -0x78(%ebp)
40c0b7:	e8 18 54 ff ff       	call   0x4014d4
40c0bc:	89 85 38 ff ff ff    	mov    %eax,-0xc8(%ebp)
40c0c2:	eb 07                	jmp    0x40c0cb
40c0c4:	83 a5 38 ff ff ff 00 	andl   $0x0,-0xc8(%ebp)
40c0cb:	6a 20                	push   $0x20
40c0cd:	8d 45 b4             	lea    -0x4c(%ebp),%eax
40c0d0:	50                   	push   %eax
40c0d1:	e8 92 53 ff ff       	call   0x401468
40c0d6:	8d 45 b4             	lea    -0x4c(%ebp),%eax
40c0d9:	50                   	push   %eax
40c0da:	8b 45 e8             	mov    -0x18(%ebp),%eax
40c0dd:	99                   	cltd
40c0de:	2b c2                	sub    %edx,%eax
40c0e0:	d1 f8                	sar    $1,%eax
40c0e2:	50                   	push   %eax
40c0e3:	8d 45 a4             	lea    -0x5c(%ebp),%eax
40c0e6:	50                   	push   %eax
40c0e7:	e8 2e 53 ff ff       	call   0x40141a
40c0ec:	8d 55 a4             	lea    -0x5c(%ebp),%edx
40c0ef:	8b 8d 7c ff ff ff    	mov    -0x84(%ebp),%ecx
40c0f5:	83 c1 04             	add    $0x4,%ecx
40c0f8:	e8 8f 53 ff ff       	call   0x40148c
40c0fd:	8d 45 a4             	lea    -0x5c(%ebp),%eax
40c100:	50                   	push   %eax
40c101:	8d 45 b4             	lea    -0x4c(%ebp),%eax
40c104:	50                   	push   %eax
40c105:	6a 02                	push   $0x2
40c107:	e8 86 53 ff ff       	call   0x401492
40c10c:	83 c4 0c             	add    $0xc,%esp
40c10f:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax
40c115:	83 c0 04             	add    $0x4,%eax
40c118:	50                   	push   %eax
40c119:	8d 45 c8             	lea    -0x38(%ebp),%eax
40c11c:	50                   	push   %eax
40c11d:	e8 1c 53 ff ff       	call   0x40143e
40c122:	50                   	push   %eax
40c123:	e8 8e 53 ff ff       	call   0x4014b6
40c128:	89 45 8c             	mov    %eax,-0x74(%ebp)
40c12b:	8d 45 90             	lea    -0x70(%ebp),%eax
40c12e:	50                   	push   %eax
40c12f:	ff 75 e8             	push   -0x18(%ebp)
40c132:	ff 75 8c             	push   -0x74(%ebp)
40c135:	8b 45 d0             	mov    -0x30(%ebp),%eax
40c138:	8b 00                	mov    (%eax),%eax
40c13a:	ff 75 d0             	push   -0x30(%ebp)
40c13d:	ff 50 0c             	call   *0xc(%eax)
40c140:	db e2                	fnclex
40c142:	89 45 88             	mov    %eax,-0x78(%ebp)
40c145:	83 7d 88 00          	cmpl   $0x0,-0x78(%ebp)
40c149:	7d 1a                	jge    0x40c165
40c14b:	6a 0c                	push   $0xc
40c14d:	68 c0 47 40 00       	push   $0x4047c0
40c152:	ff 75 d0             	push   -0x30(%ebp)
40c155:	ff 75 88             	push   -0x78(%ebp)
40c158:	e8 77 53 ff ff       	call   0x4014d4
40c15d:	89 85 34 ff ff ff    	mov    %eax,-0xcc(%ebp)
40c163:	eb 07                	jmp    0x40c16c
40c165:	83 a5 34 ff ff ff 00 	andl   $0x0,-0xcc(%ebp)
40c16c:	8d 4d c8             	lea    -0x38(%ebp),%ecx
40c16f:	e8 48 53 ff ff       	call   0x4014bc
40c174:	8d 45 90             	lea    -0x70(%ebp),%eax
40c177:	50                   	push   %eax
40c178:	6a 04                	push   $0x4
40c17a:	8d 45 e8             	lea    -0x18(%ebp),%eax
40c17d:	50                   	push   %eax
40c17e:	8b 45 d0             	mov    -0x30(%ebp),%eax
40c181:	8b 00                	mov    (%eax),%eax
40c183:	ff 75 d0             	push   -0x30(%ebp)
40c186:	ff 50 0c             	call   *0xc(%eax)
40c189:	db e2                	fnclex
40c18b:	89 45 88             	mov    %eax,-0x78(%ebp)
40c18e:	83 7d 88 00          	cmpl   $0x0,-0x78(%ebp)
40c192:	7d 1a                	jge    0x40c1ae
40c194:	6a 0c                	push   $0xc
40c196:	68 c0 47 40 00       	push   $0x4047c0
40c19b:	ff 75 d0             	push   -0x30(%ebp)
40c19e:	ff 75 88             	push   -0x78(%ebp)
40c1a1:	e8 2e 53 ff ff       	call   0x4014d4
40c1a6:	89 85 30 ff ff ff    	mov    %eax,-0xd0(%ebp)
40c1ac:	eb 07                	jmp    0x40c1b5
40c1ae:	83 a5 30 ff ff ff 00 	andl   $0x0,-0xd0(%ebp)
40c1b5:	6a 20                	push   $0x20
40c1b7:	8d 45 b4             	lea    -0x4c(%ebp),%eax
40c1ba:	50                   	push   %eax
40c1bb:	e8 a8 52 ff ff       	call   0x401468
40c1c0:	8d 45 b4             	lea    -0x4c(%ebp),%eax
40c1c3:	50                   	push   %eax
40c1c4:	8b 45 e8             	mov    -0x18(%ebp),%eax
40c1c7:	99                   	cltd
40c1c8:	2b c2                	sub    %edx,%eax
40c1ca:	d1 f8                	sar    $1,%eax
40c1cc:	50                   	push   %eax
40c1cd:	8d 45 a4             	lea    -0x5c(%ebp),%eax
40c1d0:	50                   	push   %eax
40c1d1:	e8 44 52 ff ff       	call   0x40141a
40c1d6:	8d 45 a4             	lea    -0x5c(%ebp),%eax
40c1d9:	50                   	push   %eax
40c1da:	e8 95 52 ff ff       	call   0x401474
40c1df:	8b d0                	mov    %eax,%edx
40c1e1:	8d 4d c8             	lea    -0x38(%ebp),%ecx
40c1e4:	e8 d9 52 ff ff       	call   0x4014c2
40c1e9:	8b d0                	mov    %eax,%edx
40c1eb:	8b 8d 7c ff ff ff    	mov    -0x84(%ebp),%ecx
40c1f1:	83 c1 14             	add    $0x14,%ecx
40c1f4:	e8 cf 52 ff ff       	call   0x4014c8
40c1f9:	8d 4d c8             	lea    -0x38(%ebp),%ecx
40c1fc:	e8 bb 52 ff ff       	call   0x4014bc
40c201:	8d 45 a4             	lea    -0x5c(%ebp),%eax
40c204:	50                   	push   %eax
40c205:	8d 45 b4             	lea    -0x4c(%ebp),%eax
40c208:	50                   	push   %eax
40c209:	6a 02                	push   $0x2
40c20b:	e8 82 52 ff ff       	call   0x401492
40c210:	83 c4 0c             	add    $0xc,%esp
40c213:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax
40c219:	ff 70 14             	push   0x14(%eax)
40c21c:	e8 95 52 ff ff       	call   0x4014b6
40c221:	89 45 8c             	mov    %eax,-0x74(%ebp)
40c224:	8d 45 90             	lea    -0x70(%ebp),%eax
40c227:	50                   	push   %eax
40c228:	ff 75 e8             	push   -0x18(%ebp)
40c22b:	ff 75 8c             	push   -0x74(%ebp)
40c22e:	8b 45 d0             	mov    -0x30(%ebp),%eax
40c231:	8b 00                	mov    (%eax),%eax
40c233:	ff 75 d0             	push   -0x30(%ebp)
40c236:	ff 50 0c             	call   *0xc(%eax)
40c239:	db e2                	fnclex
40c23b:	89 45 88             	mov    %eax,-0x78(%ebp)
40c23e:	83 7d 88 00          	cmpl   $0x0,-0x78(%ebp)
40c242:	7d 1a                	jge    0x40c25e
40c244:	6a 0c                	push   $0xc
40c246:	68 c0 47 40 00       	push   $0x4047c0
40c24b:	ff 75 d0             	push   -0x30(%ebp)
40c24e:	ff 75 88             	push   -0x78(%ebp)
40c251:	e8 7e 52 ff ff       	call   0x4014d4
40c256:	89 85 2c ff ff ff    	mov    %eax,-0xd4(%ebp)
40c25c:	eb 07                	jmp    0x40c265
40c25e:	83 a5 2c ff ff ff 00 	andl   $0x0,-0xd4(%ebp)
40c265:	8d 45 90             	lea    -0x70(%ebp),%eax
40c268:	50                   	push   %eax
40c269:	6a 04                	push   $0x4
40c26b:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax
40c271:	83 c0 18             	add    $0x18,%eax
40c274:	50                   	push   %eax
40c275:	8b 45 d0             	mov    -0x30(%ebp),%eax
40c278:	8b 00                	mov    (%eax),%eax
40c27a:	ff 75 d0             	push   -0x30(%ebp)
40c27d:	ff 50 0c             	call   *0xc(%eax)
40c280:	db e2                	fnclex
40c282:	89 45 88             	mov    %eax,-0x78(%ebp)
40c285:	83 7d 88 00          	cmpl   $0x0,-0x78(%ebp)
40c289:	7d 1a                	jge    0x40c2a5
40c28b:	6a 0c                	push   $0xc
40c28d:	68 c0 47 40 00       	push   $0x4047c0
40c292:	ff 75 d0             	push   -0x30(%ebp)
40c295:	ff 75 88             	push   -0x78(%ebp)
40c298:	e8 37 52 ff ff       	call   0x4014d4
40c29d:	89 85 28 ff ff ff    	mov    %eax,-0xd8(%ebp)
40c2a3:	eb 07                	jmp    0x40c2ac
40c2a5:	83 a5 28 ff ff ff 00 	andl   $0x0,-0xd8(%ebp)
40c2ac:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax
40c2b2:	83 78 18 00          	cmpl   $0x0,0x18(%eax)
40c2b6:	0f 8e 9a 00 00 00    	jle    0x40c356
40c2bc:	6a 00                	push   $0x0
40c2be:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax
40c2c4:	8b 40 18             	mov    0x18(%eax),%eax
40c2c7:	48                   	dec    %eax
40c2c8:	50                   	push   %eax
40c2c9:	6a 01                	push   $0x1
40c2cb:	6a 11                	push   $0x11
40c2cd:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax
40c2d3:	83 c0 1c             	add    $0x1c,%eax
40c2d6:	50                   	push   %eax
40c2d7:	6a 01                	push   $0x1
40c2d9:	68 80 00 00 00       	push   $0x80
40c2de:	e8 21 52 ff ff       	call   0x401504
40c2e3:	83 c4 1c             	add    $0x1c,%esp
40c2e6:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax
40c2ec:	ff 70 1c             	push   0x1c(%eax)
40c2ef:	8d 45 cc             	lea    -0x34(%ebp),%eax
40c2f2:	50                   	push   %eax
40c2f3:	e8 e8 51 ff ff       	call   0x4014e0
40c2f8:	8d 45 90             	lea    -0x70(%ebp),%eax
40c2fb:	50                   	push   %eax
40c2fc:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax
40c302:	ff 70 18             	push   0x18(%eax)
40c305:	8b 45 cc             	mov    -0x34(%ebp),%eax
40c308:	33 c9                	xor    %ecx,%ecx
40c30a:	2b 48 14             	sub    0x14(%eax),%ecx
40c30d:	8b 45 cc             	mov    -0x34(%ebp),%eax
40c310:	8b 40 0c             	mov    0xc(%eax),%eax
40c313:	03 c1                	add    %ecx,%eax
40c315:	50                   	push   %eax
40c316:	8b 45 d0             	mov    -0x30(%ebp),%eax
40c319:	8b 00                	mov    (%eax),%eax
40c31b:	ff 75 d0             	push   -0x30(%ebp)
40c31e:	ff 50 0c             	call   *0xc(%eax)
40c321:	db e2                	fnclex
40c323:	89 45 88             	mov    %eax,-0x78(%ebp)
40c326:	83 7d 88 00          	cmpl   $0x0,-0x78(%ebp)
40c32a:	7d 1a                	jge    0x40c346
40c32c:	6a 0c                	push   $0xc
40c32e:	68 c0 47 40 00       	push   $0x4047c0
40c333:	ff 75 d0             	push   -0x30(%ebp)
40c336:	ff 75 88             	push   -0x78(%ebp)
40c339:	e8 96 51 ff ff       	call   0x4014d4
40c33e:	89 85 24 ff ff ff    	mov    %eax,-0xdc(%ebp)
40c344:	eb 07                	jmp    0x40c34d
40c346:	83 a5 24 ff ff ff 00 	andl   $0x0,-0xdc(%ebp)
40c34d:	8d 45 cc             	lea    -0x34(%ebp),%eax
40c350:	50                   	push   %eax
40c351:	e8 84 51 ff ff       	call   0x4014da
40c356:	e9 f1 00 00 00       	jmp    0x40c44c
40c35b:	8d 45 90             	lea    -0x70(%ebp),%eax
40c35e:	50                   	push   %eax
40c35f:	6a 04                	push   $0x4
40c361:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax
40c367:	83 c0 18             	add    $0x18,%eax
40c36a:	50                   	push   %eax
40c36b:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40c36e:	8b 00                	mov    (%eax),%eax
40c370:	ff 75 e4             	push   -0x1c(%ebp)
40c373:	ff 50 0c             	call   *0xc(%eax)
40c376:	db e2                	fnclex
40c378:	89 45 88             	mov    %eax,-0x78(%ebp)
40c37b:	83 7d 88 00          	cmpl   $0x0,-0x78(%ebp)
40c37f:	7d 1a                	jge    0x40c39b
40c381:	6a 0c                	push   $0xc
40c383:	68 c0 47 40 00       	push   $0x4047c0
40c388:	ff 75 e4             	push   -0x1c(%ebp)
40c38b:	ff 75 88             	push   -0x78(%ebp)
40c38e:	e8 41 51 ff ff       	call   0x4014d4
40c393:	89 85 20 ff ff ff    	mov    %eax,-0xe0(%ebp)
40c399:	eb 07                	jmp    0x40c3a2
40c39b:	83 a5 20 ff ff ff 00 	andl   $0x0,-0xe0(%ebp)
40c3a2:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax
40c3a8:	83 78 18 00          	cmpl   $0x0,0x18(%eax)
40c3ac:	0f 8e 9a 00 00 00    	jle    0x40c44c
40c3b2:	6a 00                	push   $0x0
40c3b4:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax
40c3ba:	8b 40 18             	mov    0x18(%eax),%eax
40c3bd:	48                   	dec    %eax
40c3be:	50                   	push   %eax
40c3bf:	6a 01                	push   $0x1
40c3c1:	6a 11                	push   $0x11
40c3c3:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax
40c3c9:	83 c0 1c             	add    $0x1c,%eax
40c3cc:	50                   	push   %eax
40c3cd:	6a 01                	push   $0x1
40c3cf:	68 80 00 00 00       	push   $0x80
40c3d4:	e8 2b 51 ff ff       	call   0x401504
40c3d9:	83 c4 1c             	add    $0x1c,%esp
40c3dc:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax
40c3e2:	ff 70 1c             	push   0x1c(%eax)
40c3e5:	8d 45 cc             	lea    -0x34(%ebp),%eax
40c3e8:	50                   	push   %eax
40c3e9:	e8 f2 50 ff ff       	call   0x4014e0
40c3ee:	8d 45 90             	lea    -0x70(%ebp),%eax
40c3f1:	50                   	push   %eax
40c3f2:	8b 85 7c ff ff ff    	mov    -0x84(%ebp),%eax
40c3f8:	ff 70 18             	push   0x18(%eax)
40c3fb:	8b 45 cc             	mov    -0x34(%ebp),%eax
40c3fe:	33 c9                	xor    %ecx,%ecx
40c400:	2b 48 14             	sub    0x14(%eax),%ecx
40c403:	8b 45 cc             	mov    -0x34(%ebp),%eax
40c406:	8b 40 0c             	mov    0xc(%eax),%eax
40c409:	03 c1                	add    %ecx,%eax
40c40b:	50                   	push   %eax
40c40c:	8b 45 e4             	mov    -0x1c(%ebp),%eax
40c40f:	8b 00                	mov    (%eax),%eax
40c411:	ff 75 e4             	push   -0x1c(%ebp)
40c414:	ff 50 0c             	call   *0xc(%eax)
40c417:	db e2                	fnclex
40c419:	89 45 88             	mov    %eax,-0x78(%ebp)
40c41c:	83 7d 88 00          	cmpl   $0x0,-0x78(%ebp)
40c420:	7d 1a                	jge    0x40c43c
40c422:	6a 0c                	push   $0xc
40c424:	68 c0 47 40 00       	push   $0x4047c0
40c429:	ff 75 e4             	push   -0x1c(%ebp)
40c42c:	ff 75 88             	push   -0x78(%ebp)
40c42f:	e8 a0 50 ff ff       	call   0x4014d4
40c434:	89 85 1c ff ff ff    	mov    %eax,-0xe4(%ebp)
40c43a:	eb 07                	jmp    0x40c443
40c43c:	83 a5 1c ff ff ff 00 	andl   $0x0,-0xe4(%ebp)
40c443:	8d 45 cc             	lea    -0x34(%ebp),%eax
40c446:	50                   	push   %eax
40c447:	e8 8e 50 ff ff       	call   0x4014da
40c44c:	83 a5 7c ff ff ff 00 	andl   $0x0,-0x84(%ebp)
40c453:	8d 45 84             	lea    -0x7c(%ebp),%eax
40c456:	50                   	push   %eax
40c457:	e8 7e 50 ff ff       	call   0x4014da
40c45c:	e9 ea fa ff ff       	jmp    0x40bf4b
40c461:	83 65 80 00          	andl   $0x0,-0x80(%ebp)
40c465:	66 83 4d dc ff       	orw    $0xffff,-0x24(%ebp)
40c46a:	68 d5 c4 40 00       	push   $0x40c4d5
40c46f:	eb 2c                	jmp    0x40c49d
40c471:	8d 45 cc             	lea    -0x34(%ebp),%eax
40c474:	50                   	push   %eax
40c475:	e8 60 50 ff ff       	call   0x4014da
40c47a:	8d 4d c8             	lea    -0x38(%ebp),%ecx
40c47d:	e8 3a 50 ff ff       	call   0x4014bc
40c482:	8d 4d c4             	lea    -0x3c(%ebp),%ecx
40c485:	e8 62 50 ff ff       	call   0x4014ec
40c48a:	8d 45 a4             	lea    -0x5c(%ebp),%eax
40c48d:	50                   	push   %eax
40c48e:	8d 45 b4             	lea    -0x4c(%ebp),%eax
40c491:	50                   	push   %eax
40c492:	6a 02                	push   $0x2
40c494:	e8 f9 4f ff ff       	call   0x401492
40c499:	83 c4 0c             	add    $0xc,%esp
40c49c:	c3                   	ret
40c49d:	8d 45 84             	lea    -0x7c(%ebp),%eax
40c4a0:	50                   	push   %eax
40c4a1:	e8 34 50 ff ff       	call   0x4014da
40c4a6:	8d 45 ec             	lea    -0x14(%ebp),%eax
40c4a9:	50                   	push   %eax
40c4aa:	6a 00                	push   $0x0
40c4ac:	e8 1d 50 ff ff       	call   0x4014ce