414f29:	85 c0                	test   %eax,%eax
414f2b:	0f 88 3b 02 00 00    	js     0x41516c
414f31:	c7 06 01 00 00 00    	movl   $0x1,(%esi)
414f37:	8b f3                	mov    %ebx,%esi
414f39:	8d 4e 02             	lea    0x2(%esi),%ecx
414f3c:	66 8b 06             	mov    (%esi),%ax
414f3f:	83 c6 02             	add    $0x2,%esi
414f42:	66 3b c7             	cmp    %di,%ax
414f45:	75 f5                	jne    0x414f3c
414f47:	2b f1                	sub    %ecx,%esi
414f49:	d1 fe                	sar    $1,%esi
414f4b:	0f 84 4e bd 00 00    	je     0x420c9f
414f51:	8d 46 03             	lea    0x3(%esi),%eax
414f54:	3d e7 7f 00 00       	cmp    $0x7fe7,%eax
414f59:	0f 87 ce 01 00 00    	ja     0x41512d
414f5f:	8d 85 90 fb ff ff    	lea    -0x470(%ebp),%eax
414f65:	50                   	push   %eax
414f66:	53                   	push   %ebx
414f67:	ff 15 cc a0 44 00    	call   *0x44a0cc
414f6d:	83 f8 ff             	cmp    $0xffffffff,%eax
414f70:	0f 84 33 bd 00 00    	je     0x420ca9
414f76:	50                   	push   %eax
414f77:	ff 15 d8 a0 44 00    	call   *0x44a0d8
414f7d:	8b 8d b4 fb ff ff    	mov    -0x44c(%ebp),%ecx
414f83:	8b 85 90 fb ff ff    	mov    -0x470(%ebp),%eax
414f89:	a8 10                	test   $0x10,%al
414f8b:	0f 84 9c 01 00 00    	je     0x41512d
414f91:	a9 00 04 00 00       	test   $0x400,%eax
414f96:	0f 85 23 bd 00 00    	jne    0x420cbf
414f9c:	53                   	push   %ebx
414f9d:	8d 8d e0 fd ff ff    	lea    -0x220(%ebp),%ecx
414fa3:	e8 99 56 ff ff       	call   0x40a641
414fa8:	0f b7 44 73 fe       	movzwl -0x2(%ebx,%esi,2),%eax
414fad:	83 f8 3a             	cmp    $0x3a,%eax
414fb0:	74 16                	je     0x414fc8
414fb2:	83 f8 5c             	cmp    $0x5c,%eax
414fb5:	74 11                	je     0x414fc8
414fb7:	68 0c 25 40 00       	push   $0x40250c
414fbc:	8d 8d e0 fd ff ff    	lea    -0x220(%ebp),%ecx
414fc2:	e8 65 d3 ff ff       	call   0x41232c
414fc7:	46                   	inc    %esi
414fc8:	68 70 26 40 00       	push   $0x402670
414fcd:	8d 8d e0 fd ff ff    	lea    -0x220(%ebp),%ecx
414fd3:	e8 54 d3 ff ff       	call   0x41232c
414fd8:	8b 45 e8             	mov    -0x18(%ebp),%eax
414fdb:	85 c0                	test   %eax,%eax
414fdd:	0f 84 ed bc 00 00    	je     0x420cd0
414fe3:	8d 8d 90 fb ff ff    	lea    -0x470(%ebp),%ecx
414fe9:	51                   	push   %ecx
414fea:	50                   	push   %eax
414feb:	ff 15 cc a0 44 00    	call   *0x44a0cc
414ff1:	89 85 84 fb ff ff    	mov    %eax,-0x47c(%ebp)
414ff7:	83 f8 ff             	cmp    $0xffffffff,%eax
414ffa:	0f 84 2d 01 00 00    	je     0x41512d
415000:	83 3d 9c 25 43 00 00 	cmpl   $0x0,0x43259c
415007:	0f 85 04 01 00 00    	jne    0x415111
41500d:	8d 95 c4 fd ff ff    	lea    -0x23c(%ebp),%edx
415013:	33 db                	xor    %ebx,%ebx
415015:	8b ca                	mov    %edx,%ecx
415017:	8d 79 02             	lea    0x2(%ecx),%edi
41501a:	66 8b 01             	mov    (%ecx),%ax
41501d:	83 c1 02             	add    $0x2,%ecx
415020:	66 3b c3             	cmp    %bx,%ax
415023:	75 f5                	jne    0x41501a
415025:	2b cf                	sub    %edi,%ecx
415027:	d1 f9                	sar    $1,%ecx
415029:	75 1a                	jne    0x415045
41502b:	8d 95 bc fb ff ff    	lea    -0x444(%ebp),%edx
415031:	8b ca                	mov    %edx,%ecx
415033:	8d 79 02             	lea    0x2(%ecx),%edi
415036:	66 8b 01             	mov    (%ecx),%ax
415039:	83 c1 02             	add    $0x2,%ecx
41503c:	66 3b c3             	cmp    %bx,%ax
41503f:	75 f5                	jne    0x415036
415041:	2b cf                	sub    %edi,%ecx
415043:	d1 f9                	sar    $1,%ecx
415045:	8d 04 31             	lea    (%ecx,%esi,1),%eax
415048:	3d e7 7f 00 00       	cmp    $0x7fe7,%eax
41504d:	0f 83 af be 00 00    	jae    0x420f02
415053:	8b 45 e8             	mov    -0x18(%ebp),%eax
415056:	85 c0                	test   %eax,%eax
415058:	0f 84 7d bc 00 00    	je     0x420cdb
41505e:	52                   	push   %edx
41505f:	8b 55 f0             	mov    -0x10(%ebp),%edx
415062:	8d 0c 70             	lea    (%eax,%esi,2),%ecx
415065:	2b d6                	sub    %esi,%edx
415067:	e8 34 a3 ff ff       	call   0x40f3a0
41506c:	8b 9d 90 fb ff ff    	mov    -0x470(%ebp),%ebx
415072:	f6 c3 10             	test   $0x10,%bl
415075:	0f 84 e5 bc 00 00    	je     0x420d60
41507b:	6a 04                	push   $0x4
41507d:	b9 34 24 40 00       	mov    $0x402434,%ecx
415082:	8d 85 bc fb ff ff    	lea    -0x444(%ebp),%eax
415088:	5b                   	pop    %ebx
415089:	66 8b 10             	mov    (%eax),%dx
41508c:	66 3b 11             	cmp    (%ecx),%dx
41508f:	0f 85 c4 00 00 00    	jne    0x415159
415095:	66 85 d2             	test   %dx,%dx
415098:	74 17                	je     0x4150b1
41509a:	66 8b 50 02          	mov    0x2(%eax),%dx
41509e:	66 3b 51 02          	cmp    0x2(%ecx),%dx
4150a2:	0f 85 b1 00 00 00    	jne    0x415159
4150a8:	03 c3                	add    %ebx,%eax
4150aa:	03 cb                	add    %ebx,%ecx
4150ac:	66 85 d2             	test   %dx,%dx
4150af:	75 d8                	jne    0x415089
4150b1:	33 ff                	xor    %edi,%edi
4150b3:	8b c7                	mov    %edi,%eax
4150b5:	85 c0                	test   %eax,%eax
4150b7:	74 3d                	je     0x4150f6
4150b9:	b9 10 25 40 00       	mov    $0x402510,%ecx
4150be:	8d 85 bc fb ff ff    	lea    -0x444(%ebp),%eax
4150c4:	66 8b 10             	mov    (%eax),%dx
4150c7:	66 3b 11             	cmp    (%ecx),%dx
4150ca:	0f 85 95 00 00 00    	jne    0x415165
4150d0:	66 85 d2             	test   %dx,%dx
4150d3:	74 17                	je     0x4150ec
4150d5:	66 8b 50 02          	mov    0x2(%eax),%dx
4150d9:	66 3b 51 02          	cmp    0x2(%ecx),%dx
4150dd:	0f 85 82 00 00 00    	jne    0x415165
4150e3:	03 c3                	add    %ebx,%eax
4150e5:	03 cb                	add    %ebx,%ecx
4150e7:	66 85 d2             	test   %dx,%dx
4150ea:	75 d8                	jne    0x4150c4
4150ec:	8b c7                	mov    %edi,%eax
4150ee:	85 c0                	test   %eax,%eax
4150f0:	0f 85 f0 bb 00 00    	jne    0x420ce6
4150f6:	8d 85 90 fb ff ff    	lea    -0x470(%ebp),%eax
4150fc:	50                   	push   %eax
4150fd:	ff b5 84 fb ff ff    	push   -0x47c(%ebp)
415103:	ff 15 d4 a0 44 00    	call   *0x44a0d4
415109:	85 c0                	test   %eax,%eax
41510b:	0f 85 ef fe ff ff    	jne    0x415000
415111:	8b 9d 8c fb ff ff    	mov    -0x474(%ebp),%ebx
415117:	8b 85 84 fb ff ff    	mov    -0x47c(%ebp),%eax
41511d:	50                   	push   %eax
41511e:	ff 15 d8 a0 44 00    	call   *0x44a0d8
415124:	83 3d 9c 25 43 00 00 	cmpl   $0x0,0x43259c
41512b:	75 44                	jne    0x415171
41512d:	8b cb                	mov    %ebx,%ecx
41512f:	e8 3d 01 00 00       	call   0x415271
415134:	8b f0                	mov    %eax,%esi
415136:	8b 45 e8             	mov    -0x18(%ebp),%eax
415139:	89 7d e8             	mov    %edi,-0x18(%ebp)
41513c:	85 c0                	test   %eax,%eax
41513e:	74 08                	je     0x415148
415140:	50                   	push   %eax
415141:	ff 15 e0 a3 44 00    	call   *0x44a3e0
415147:	59                   	pop    %ecx
415148:	8b 4d fc             	mov    -0x4(%ebp),%ecx
41514b:	8b c6                	mov    %esi,%eax
41514d:	5f                   	pop    %edi
41514e:	5e                   	pop    %esi
41514f:	33 cd                	xor    %ebp,%ecx
415151:	5b                   	pop    %ebx
415152:	e8 d9 19 00 00       	call   0x416b30
415157:	c9                   	leave
415158:	c3                   	ret
415159:	1b c0                	sbb    %eax,%eax
41515b:	83 c8 01             	or     $0x1,%eax
41515e:	33 ff                	xor    %edi,%edi
415160:	e9 50 ff ff ff       	jmp    0x4150b5
415165:	1b c0                	sbb    %eax,%eax
415167:	83 c8 01             	or     $0x1,%eax
41516a:	eb 82                	jmp    0x4150ee
41516c:	6a 08                	push   $0x8
41516e:	5e                   	pop    %esi
41516f:	eb c5                	jmp    0x415136
415171:	8b f7                	mov    %edi,%esi
415173:	eb c1                	jmp    0x415136
415175:	8b ff                	mov    %edi,%edi
415177:	55                   	push   %ebp
415178:	8b ec                	mov    %esp,%ebp
41517a:	83 ec 48             	sub    $0x48,%esp
41517d:	a1 b4 e0 42 00       	mov    0x42e0b4,%eax
415182:	33 c5                	xor    %ebp,%eax
415184:	89 45 f8             	mov    %eax,-0x8(%ebp)
415187:	8b 45 14             	mov    0x14(%ebp),%eax
41518a:	89 45 c8             	mov    %eax,-0x38(%ebp)
41518d:	8b 45 18             	mov    0x18(%ebp),%eax
415190:	89 45 c4             	mov    %eax,-0x3c(%ebp)
415193:	8b 45 1c             	mov    0x1c(%ebp),%eax
415196:	53                   	push   %ebx
415197:	8b 5d 10             	mov    0x10(%ebp),%ebx
41519a:	89 45 cc             	mov    %eax,-0x34(%ebp)
41519d:	8b 45 20             	mov    0x20(%ebp),%eax
4151a0:	56                   	push   %esi
4151a1:	89 45 c0             	mov    %eax,-0x40(%ebp)
4151a4:	0f b7 41 04          	movzwl 0x4(%ecx),%eax
4151a8:	57                   	push   %edi
4151a9:	8b 7d 08             	mov    0x8(%ebp),%edi
4151ac:	50                   	push   %eax
4151ad:	89 55 bc             	mov    %edx,-0x44(%ebp)
4151b0:	89 4d d4             	mov    %ecx,-0x2c(%ebp)
4151b3:	ff 15 18 a4 44 00    	call   *0x44a418
4151b9:	59                   	pop    %ecx
4151ba:	8b 4d d4             	mov    -0x2c(%ebp),%ecx
4151bd:	83 c1 04             	add    $0x4,%ecx
4151c0:	0f b7 f0             	movzwl %ax,%esi
4151c3:	6a 02                	push   $0x2
4151c5:	5a                   	pop    %edx
4151c6:	8d 41 02             	lea    0x2(%ecx),%eax
4151c9:	89 45 d0             	mov    %eax,-0x30(%ebp)
4151cc:	66 8b 01             	mov    (%ecx),%ax
4151cf:	03 ca                	add    %edx,%ecx
4151d1:	66 85 c0             	test   %ax,%ax
4151d4:	75 f6                	jne    0x4151cc
4151d6:	2b 4d d0             	sub    -0x30(%ebp),%ecx
4151d9:	d1 f9                	sar    $1,%ecx
4151db:	83 f9 0e             	cmp    $0xe,%ecx
4151de:	0f 83 4b bd 00 00    	jae    0x420f2f
4151e4:	ff 75 d4             	push   -0x2c(%ebp)
4151e7:	8d 4d d8             	lea    -0x28(%ebp),%ecx
4151ea:	6a 10                	push   $0x10
4151ec:	5a                   	pop    %edx
4151ed:	e8 ae a1 ff ff       	call   0x40f3a0
4151f2:	8b 45 d4             	mov    -0x2c(%ebp),%eax
4151f5:	8d 4d d8             	lea    -0x28(%ebp),%ecx
4151f8:	83 c0 04             	add    $0x4,%eax
4151fb:	50                   	push   %eax
4151fc:	6a 10                	push   $0x10
4151fe:	5a                   	pop    %edx
4151ff:	e8 3c aa ff ff       	call   0x40fc40
415204:	8b 55 cc             	mov    -0x34(%ebp),%edx
415207:	8d 4d d8             	lea    -0x28(%ebp),%ecx
41520a:	e8 a0 f9 ff ff       	call   0x414baf
41520f:	85 c0                	test   %eax,%eax
415211:	74 11                	je     0x415224
415213:	8b 4d f8             	mov    -0x8(%ebp),%ecx
415216:	5f                   	pop    %edi
415217:	5e                   	pop    %esi
415218:	33 cd                	xor    %ebp,%ecx
41521a:	5b                   	pop    %ebx
41521b:	e8 10 19 00 00       	call   0x416b30
415220:	c9                   	leave
415221:	c2 1c 00             	ret    $0x1c
415224:	6a 02                	push   $0x2
415226:	5a                   	pop    %edx
415227:	e9 03 bd 00 00       	jmp    0x420f2f
41522c:	8b ff                	mov    %edi,%edi
41522e:	55                   	push   %ebp
41522f:	8b ec                	mov    %esp,%ebp
415231:	53                   	push   %ebx
415232:	56                   	push   %esi
415233:	57                   	push   %edi
415234:	6a 04                	push   $0x4
415236:	8b f9                	mov    %ecx,%edi
415238:	68 00 10 00 00       	push   $0x1000
41523d:	57                   	push   %edi
41523e:	6a 00                	push   $0x0
415240:	8b f7                	mov    %edi,%esi
415242:	ff 15 a8 a1 44 00    	call   *0x44a1a8
415248:	8b d8                	mov    %eax,%ebx
41524a:	85 db                	test   %ebx,%ebx
41524c:	0f 84 69 bd 00 00    	je     0x420fbb
415252:	8b 45 08             	mov    0x8(%ebp),%eax
415255:	8b 75 0c             	mov    0xc(%ebp),%esi
415258:	8b ce                	mov    %esi,%ecx
41525a:	89 38                	mov    %edi,(%eax)
41525c:	e8 89 c7 ff ff       	call   0x4119ea
415261:	89 1c b5 7c 67 43 00 	mov    %ebx,0x43677c(,%esi,4)
415268:	8b c3                	mov    %ebx,%eax
41526a:	5f                   	pop    %edi
41526b:	5e                   	pop    %esi
41526c:	5b                   	pop    %ebx
41526d:	5d                   	pop    %ebp
41526e:	c2 08 00             	ret    $0x8
415271:	8b ff                	mov    %edi,%edi
415273:	55                   	push   %ebp
415274:	8b ec                	mov    %esp,%ebp
415276:	83 ec 10             	sub    $0x10,%esp
415279:	a1 b4 e0 42 00       	mov    0x42e0b4,%eax
41527e:	33 c5                	xor    %ebp,%eax
415280:	89 45 fc             	mov    %eax,-0x4(%ebp)
415283:	56                   	push   %esi
415284:	57                   	push   %edi
415285:	8d 45 f0             	lea    -0x10(%ebp),%eax
415288:	8b f9                	mov    %ecx,%edi
41528a:	50                   	push   %eax
41528b:	8d 45 f4             	lea    -0xc(%ebp),%eax
41528e:	33 f6                	xor    %esi,%esi
415290:	50                   	push   %eax
415291:	6a 04                	push   $0x4
415293:	57                   	push   %edi
415294:	ff 15 a4 a0 44 00    	call   *0x44a0a4
41529a:	83 f8 03             	cmp    $0x3,%eax
41529d:	0f 84 76 bd 00 00    	je     0x421019
4152a3:	57                   	push   %edi
4152a4:	ff 15 c8 a0 44 00    	call   *0x44a0c8
4152aa:	85 c0                	test   %eax,%eax
4152ac:	0f 84 84 bd 00 00    	je     0x421036
4152b2:	8b c6                	mov    %esi,%eax
4152b4:	8b 4d fc             	mov    -0x4(%ebp),%ecx
4152b7:	5f                   	pop    %edi
4152b8:	33 cd                	xor    %ebp,%ecx
4152ba:	5e                   	pop    %esi
4152bb:	e8 70 18 00 00       	call   0x416b30
4152c0:	c9                   	leave
4152c1:	c3                   	ret
4152c2:	8b ff                	mov    %edi,%edi
4152c4:	55                   	push   %ebp
4152c5:	8b ec                	mov    %esp,%ebp
4152c7:	0f b7 d2             	movzwl %dx,%edx
4152ca:	8b c2                	mov    %edx,%eax
4152cc:	83 e8 21             	sub    $0x21,%eax
4152cf:	0f 84 de bd 00 00    	je     0x4210b3
4152d5:	83 e8 0a             	sub    $0xa,%eax
4152d8:	74 16                	je     0x4152f0
4152da:	48                   	dec    %eax
4152db:	83 e8 01             	sub    $0x1,%eax
4152de:	0f 85 ad bd 00 00    	jne    0x421091
4152e4:	8b 45 08             	mov    0x8(%ebp),%eax
4152e7:	f7 d8                	neg    %eax
4152e9:	89 41 04             	mov    %eax,0x4(%ecx)
4152ec:	5d                   	pop    %ebp
4152ed:	c2 04 00             	ret    $0x4
4152f0:	8b 45 08             	mov    0x8(%ebp),%eax
4152f3:	eb f4                	jmp    0x4152e9
4152f5:	8b ff                	mov    %edi,%edi
4152f7:	55                   	push   %ebp
4152f8:	8b ec                	mov    %esp,%ebp
4152fa:	83 e4 f8             	and    $0xfffffff8,%esp
4152fd:	81 ec 9c 02 00 00    	sub    $0x29c,%esp
415303:	a1 b4 e0 42 00       	mov    0x42e0b4,%eax
415308:	33 c4                	xor    %esp,%eax
41530a:	89 84 24 98 02 00 00 	mov    %eax,0x298(%esp)
415311:	33 c0                	xor    %eax,%eax
415313:	c6 84 24 88 02 00 00 	movb   $0x1,0x288(%esp)
41531a:	01
41531b:	53                   	push   %ebx
41531c:	89 44 24 20          	mov    %eax,0x20(%esp)
415320:	8b d9                	mov    %ecx,%ebx
415322:	33 c9                	xor    %ecx,%ecx
415324:	66 89 44 24 28       	mov    %ax,0x28(%esp)
415329:	56                   	push   %esi
41532a:	57                   	push   %edi
41532b:	89 4c 24 18          	mov    %ecx,0x18(%esp)
41532f:	8d 7c 24 52          	lea    0x52(%esp),%edi
415333:	89 4c 24 24          	mov    %ecx,0x24(%esp)
415337:	89 4c 24 2c          	mov    %ecx,0x2c(%esp)
41533b:	89 4c 24 32          	mov    %ecx,0x32(%esp)
41533f:	89 4c 24 36          	mov    %ecx,0x36(%esp)
415343:	89 4c 24 3a          	mov    %ecx,0x3a(%esp)
415347:	89 4c 24 3e          	mov    %ecx,0x3e(%esp)
41534b:	89 4c 24 42          	mov    %ecx,0x42(%esp)
41534f:	89 4c 24 46          	mov    %ecx,0x46(%esp)
415353:	89 4c 24 4a          	mov    %ecx,0x4a(%esp)
415357:	89 4c 24 4e          	mov    %ecx,0x4e(%esp)
41535b:	ab                   	stos   %eax,%es:(%edi)
41535c:	89 4c 24 10          	mov    %ecx,0x10(%esp)