411fdd:	e8 b8 de ff ff       	call   0x40fe9a
411fe2:	50                   	push   %eax
411fe3:	6a 01                	push   $0x1
411fe5:	8d 4d 8c             	lea    -0x74(%ebp),%ecx
411fe8:	e8 a9 c4 ff ff       	call   0x40e496
411fed:	8b 4e 54             	mov    0x54(%esi),%ecx
411ff0:	8b 41 14             	mov    0x14(%ecx),%eax
411ff3:	53                   	push   %ebx
411ff4:	53                   	push   %ebx
411ff5:	ff 75 e8             	push   -0x18(%ebp)
411ff8:	03 f8                	add    %eax,%edi
411ffa:	e8 9b de ff ff       	call   0x40fe9a
411fff:	50                   	push   %eax
412000:	ff 77 10             	push   0x10(%edi)
412003:	33 c0                	xor    %eax,%eax
412005:	66 8b 47 14          	mov    0x14(%edi),%ax
412009:	8d 4d 8c             	lea    -0x74(%ebp),%ecx
41200c:	50                   	push   %eax
41200d:	ff 77 08             	push   0x8(%edi)
412010:	e8 2b c5 ff ff       	call   0x40e540
412015:	8b 46 50             	mov    0x50(%esi),%eax
412018:	ff 30                	push   (%eax)
41201a:	8d 4d 8c             	lea    -0x74(%ebp),%ecx
41201d:	e8 9e f3 ff ff       	call   0x4113c0
412022:	0f b7 45 ee          	movzwl -0x12(%ebp),%eax
412026:	3d 81 00 00 00       	cmp    $0x81,%eax
41202b:	0f 8f 1d 02 00 00    	jg     0x41224e
412031:	0f 84 e5 01 00 00    	je     0x41221c
412037:	83 f8 08             	cmp    $0x8,%eax
41203a:	0f 8f fc 00 00 00    	jg     0x41213c
412040:	0f 84 ab 00 00 00    	je     0x4120f1
412046:	48                   	dec    %eax
412047:	48                   	dec    %eax
412048:	0f 84 9b 00 00 00    	je     0x4120e9
41204e:	48                   	dec    %eax
41204f:	74 79                	je     0x4120ca
412051:	48                   	dec    %eax
412052:	74 57                	je     0x4120ab
412054:	48                   	dec    %eax
412055:	74 4f                	je     0x4120a6
412057:	48                   	dec    %eax
412058:	74 26                	je     0x412080
41205a:	48                   	dec    %eax
41205b:	0f 85 33 02 00 00    	jne    0x412294
412061:	53                   	push   %ebx
412062:	6a 07                	push   $0x7
412064:	8d 4d bc             	lea    -0x44(%ebp),%ecx
412067:	e8 23 81 ff ff       	call   0x40a18f
41206c:	8b 4e 54             	mov    0x54(%esi),%ecx
41206f:	8d 45 c4             	lea    -0x3c(%ebp),%eax
412072:	50                   	push   %eax
412073:	ff 75 e8             	push   -0x18(%ebp)
412076:	e8 94 f0 ff ff       	call   0x41110f
41207b:	e9 14 02 00 00       	jmp    0x412294
412080:	53                   	push   %ebx
412081:	6a 06                	push   $0x6
412083:	8d 4d bc             	lea    -0x44(%ebp),%ecx
412086:	e8 04 81 ff ff       	call   0x40a18f
41208b:	ff 75 e8             	push   -0x18(%ebp)
41208e:	8b 4e 54             	mov    0x54(%esi),%ecx
412091:	e8 04 de ff ff       	call   0x40fe9a
412096:	8b 4d c4             	mov    -0x3c(%ebp),%ecx
412099:	89 08                	mov    %ecx,(%eax)
41209b:	8b 4d c8             	mov    -0x38(%ebp),%ecx
41209e:	89 48 04             	mov    %ecx,0x4(%eax)
4120a1:	e9 ee 01 00 00       	jmp    0x412294
4120a6:	53                   	push   %ebx
4120a7:	6a 05                	push   $0x5
4120a9:	eb b9                	jmp    0x412064
4120ab:	53                   	push   %ebx
4120ac:	6a 04                	push   $0x4
4120ae:	8d 4d bc             	lea    -0x44(%ebp),%ecx
4120b1:	e8 d9 80 ff ff       	call   0x40a18f
4120b6:	8b 4e 54             	mov    0x54(%esi),%ecx
4120b9:	8d 45 c4             	lea    -0x3c(%ebp),%eax
4120bc:	50                   	push   %eax
4120bd:	ff 75 e8             	push   -0x18(%ebp)
4120c0:	e8 12 f0 ff ff       	call   0x4110d7
4120c5:	e9 ca 01 00 00       	jmp    0x412294
4120ca:	53                   	push   %ebx
4120cb:	6a 03                	push   $0x3
4120cd:	8d 4d bc             	lea    -0x44(%ebp),%ecx
4120d0:	e8 ba 80 ff ff       	call   0x40a18f
4120d5:	8b 4e 54             	mov    0x54(%esi),%ecx
4120d8:	8d 45 c4             	lea    -0x3c(%ebp),%eax
4120db:	50                   	push   %eax
4120dc:	ff 75 e8             	push   -0x18(%ebp)
4120df:	e8 bb ef ff ff       	call   0x41109f
4120e4:	e9 ab 01 00 00       	jmp    0x412294
4120e9:	53                   	push   %ebx
4120ea:	6a 02                	push   $0x2
4120ec:	e9 12 01 00 00       	jmp    0x412203
4120f1:	53                   	push   %ebx
4120f2:	6a 08                	push   $0x8
4120f4:	8d 4d bc             	lea    -0x44(%ebp),%ecx
4120f7:	e8 93 80 ff ff       	call   0x40a18f
4120fc:	8b 4e 54             	mov    0x54(%esi),%ecx
4120ff:	8d 45 d8             	lea    -0x28(%ebp),%eax
412102:	50                   	push   %eax
412103:	ff 75 e8             	push   -0x18(%ebp)
412106:	89 5d d8             	mov    %ebx,-0x28(%ebp)
412109:	e8 39 f0 ff ff       	call   0x411147
41210e:	39 5d d8             	cmp    %ebx,-0x28(%ebp)
412111:	74 09                	je     0x41211c
412113:	ff 75 d8             	push   -0x28(%ebp)
412116:	ff 15 08 05 4b 00    	call   *0x4b0508
41211c:	ff 75 c4             	push   -0x3c(%ebp)
41211f:	ff 15 94 04 4b 00    	call   *0x4b0494
412125:	8b 4e 54             	mov    0x54(%esi),%ecx
412128:	89 45 d8             	mov    %eax,-0x28(%ebp)
41212b:	8d 45 d8             	lea    -0x28(%ebp),%eax
41212e:	50                   	push   %eax
41212f:	ff 75 e8             	push   -0x18(%ebp)
412132:	e8 48 f0 ff ff       	call   0x41117f
412137:	e9 58 01 00 00       	jmp    0x412294
41213c:	83 e8 0b             	sub    $0xb,%eax
41213f:	0f 84 bb 00 00 00    	je     0x412200
412145:	83 e8 03             	sub    $0x3,%eax
412148:	0f 84 93 00 00 00    	je     0x4121e1
41214e:	48                   	dec    %eax
41214f:	48                   	dec    %eax
412150:	74 6a                	je     0x4121bc
412152:	48                   	dec    %eax
412153:	74 48                	je     0x41219d
412155:	48                   	dec    %eax
412156:	74 26                	je     0x41217e
412158:	48                   	dec    %eax
412159:	0f 85 35 01 00 00    	jne    0x412294
41215f:	53                   	push   %ebx
412160:	6a 13                	push   $0x13
412162:	8d 4d bc             	lea    -0x44(%ebp),%ecx
412165:	e8 25 80 ff ff       	call   0x40a18f
41216a:	8b 4e 54             	mov    0x54(%esi),%ecx
41216d:	8d 45 c4             	lea    -0x3c(%ebp),%eax
412170:	50                   	push   %eax
412171:	ff 75 e8             	push   -0x18(%ebp)
412174:	e8 02 f1 ff ff       	call   0x41127b
412179:	e9 16 01 00 00       	jmp    0x412294
41217e:	53                   	push   %ebx
41217f:	6a 12                	push   $0x12
412181:	8d 4d bc             	lea    -0x44(%ebp),%ecx
412184:	e8 06 80 ff ff       	call   0x40a18f
412189:	8b 4e 54             	mov    0x54(%esi),%ecx
41218c:	8d 45 c4             	lea    -0x3c(%ebp),%eax
41218f:	50                   	push   %eax
412190:	ff 75 e8             	push   -0x18(%ebp)
412193:	e8 b9 f0 ff ff       	call   0x411251
412198:	e9 f7 00 00 00       	jmp    0x412294
41219d:	53                   	push   %ebx
41219e:	6a 11                	push   $0x11
4121a0:	8d 4d bc             	lea    -0x44(%ebp),%ecx
4121a3:	e8 e7 7f ff ff       	call   0x40a18f
4121a8:	8b 4e 54             	mov    0x54(%esi),%ecx
4121ab:	8d 45 c4             	lea    -0x3c(%ebp),%eax
4121ae:	50                   	push   %eax
4121af:	ff 75 e8             	push   -0x18(%ebp)
4121b2:	e8 2a f0 ff ff       	call   0x4111e1
4121b7:	e9 d8 00 00 00       	jmp    0x412294
4121bc:	53                   	push   %ebx
4121bd:	6a 10                	push   $0x10
4121bf:	8d 4d bc             	lea    -0x44(%ebp),%ecx
4121c2:	e8 c8 7f ff ff       	call   0x40a18f
4121c7:	8a 45 c4             	mov    -0x3c(%ebp),%al
4121ca:	8b 4e 54             	mov    0x54(%esi),%ecx
4121cd:	88 45 f3             	mov    %al,-0xd(%ebp)
4121d0:	8d 45 f3             	lea    -0xd(%ebp),%eax
4121d3:	50                   	push   %eax
4121d4:	ff 75 e8             	push   -0x18(%ebp)
4121d7:	e8 3d f0 ff ff       	call   0x411219
4121dc:	e9 b3 00 00 00       	jmp    0x412294
4121e1:	53                   	push   %ebx
4121e2:	6a 0e                	push   $0xe
4121e4:	8d 4d bc             	lea    -0x44(%ebp),%ecx
4121e7:	e8 a3 7f ff ff       	call   0x40a18f
4121ec:	8b 4e 54             	mov    0x54(%esi),%ecx
4121ef:	8d 45 bc             	lea    -0x44(%ebp),%eax
4121f2:	50                   	push   %eax
4121f3:	ff 75 e8             	push   -0x18(%ebp)
4121f6:	e8 bc ef ff ff       	call   0x4111b7
4121fb:	e9 94 00 00 00       	jmp    0x412294
412200:	53                   	push   %ebx
412201:	6a 0b                	push   $0xb
412203:	8d 4d bc             	lea    -0x44(%ebp),%ecx
412206:	e8 84 7f ff ff       	call   0x40a18f
41220b:	8b 4e 54             	mov    0x54(%esi),%ecx
41220e:	8d 45 c4             	lea    -0x3c(%ebp),%eax
412211:	50                   	push   %eax
412212:	ff 75 e8             	push   -0x18(%ebp)
412215:	e8 5b ee ff ff       	call   0x411075
41221a:	eb 78                	jmp    0x412294
41221c:	53                   	push   %ebx
41221d:	6a 08                	push   $0x8
41221f:	8d 4d bc             	lea    -0x44(%ebp),%ecx
412222:	e8 68 7f ff ff       	call   0x40a18f
412227:	8b 4e 54             	mov    0x54(%esi),%ecx
41222a:	8b 41 14             	mov    0x14(%ecx),%eax
41222d:	8b 55 e0             	mov    -0x20(%ebp),%edx
412230:	53                   	push   %ebx
412231:	53                   	push   %ebx
412232:	ff 74 10 10          	push   0x10(%eax,%edx,1)
412236:	ff 75 e8             	push   -0x18(%ebp)
412239:	e8 5c dc ff ff       	call   0x40fe9a
41223e:	50                   	push   %eax
41223f:	6a ff                	push   $0xffffffff
412241:	ff 75 c4             	push   -0x3c(%ebp)
412244:	53                   	push   %ebx
412245:	53                   	push   %ebx
412246:	ff 15 a0 03 4b 00    	call   *0x4b03a0
41224c:	eb 46                	jmp    0x412294
41224e:	3d 82 00 00 00       	cmp    $0x82,%eax
412253:	75 3f                	jne    0x412294
412255:	53                   	push   %ebx
412256:	6a 08                	push   $0x8
412258:	8d 4d bc             	lea    -0x44(%ebp),%ecx
41225b:	e8 2f 7f ff ff       	call   0x40a18f
412260:	8b 7e 54             	mov    0x54(%esi),%edi
412263:	ff 75 e8             	push   -0x18(%ebp)
412266:	8b cf                	mov    %edi,%ecx
412268:	e8 2d dc ff ff       	call   0x40fe9a
41226d:	8b 4f 14             	mov    0x14(%edi),%ecx
412270:	8b 55 e0             	mov    -0x20(%ebp),%edx
412273:	8b 7c 11 10          	mov    0x10(%ecx,%edx,1),%edi
412277:	d1 ef                	shr    $1,%edi
412279:	8d 4f ff             	lea    -0x1(%edi),%ecx
41227c:	51                   	push   %ecx
41227d:	ff 75 c4             	push   -0x3c(%ebp)
412280:	89 45 d8             	mov    %eax,-0x28(%ebp)
412283:	50                   	push   %eax
412284:	e8 ad 87 00 00       	call   0x41aa36
412289:	8b 45 d8             	mov    -0x28(%ebp),%eax
41228c:	83 c4 0c             	add    $0xc,%esp
41228f:	66 89 5c 78 fe       	mov    %bx,-0x2(%eax,%edi,2)
412294:	8b 46 50             	mov    0x50(%esi),%eax
412297:	8d 4d 8c             	lea    -0x74(%ebp),%ecx
41229a:	89 48 08             	mov    %ecx,0x8(%eax)
41229d:	8b 4e 50             	mov    0x50(%esi),%ecx
4122a0:	e8 b7 f8 ff ff       	call   0x411b5c
4122a5:	8b 46 54             	mov    0x54(%esi),%eax
4122a8:	8b 4e 50             	mov    0x50(%esi),%ecx
4122ab:	ff 75 d0             	push   -0x30(%ebp)
4122ae:	8b 3d f4 04 4b 00    	mov    0x4b04f4,%edi
4122b4:	89 41 08             	mov    %eax,0x8(%ecx)
4122b7:	ff d7                	call   *%edi
4122b9:	8d 4d 8c             	lea    -0x74(%ebp),%ecx
4122bc:	88 5d fc             	mov    %bl,-0x4(%ebp)
4122bf:	e8 bb c1 ff ff       	call   0x40e47f
4122c4:	83 4d fc ff          	orl    $0xffffffff,-0x4(%ebp)
4122c8:	8d 45 bc             	lea    -0x44(%ebp),%eax
4122cb:	50                   	push   %eax
4122cc:	ff d7                	call   *%edi
4122ce:	39 5d d4             	cmp    %ebx,-0x2c(%ebp)
4122d1:	0f 85 7b fc ff ff    	jne    0x411f52
4122d7:	ff 45 e8             	incl   -0x18(%ebp)
4122da:	8b 45 e8             	mov    -0x18(%ebp),%eax
4122dd:	83 45 dc 28          	addl   $0x28,-0x24(%ebp)
4122e1:	83 45 e0 30          	addl   $0x30,-0x20(%ebp)
4122e5:	3b 46 10             	cmp    0x10(%esi),%eax
4122e8:	0f 8e 44 fc ff ff    	jle    0x411f32
4122ee:	39 5d e4             	cmp    %ebx,-0x1c(%ebp)
4122f1:	7e 03                	jle    0x4122f6
4122f3:	89 5e 44             	mov    %ebx,0x44(%esi)
4122f6:	33 c0                	xor    %eax,%eax
4122f8:	8b 4d f4             	mov    -0xc(%ebp),%ecx
4122fb:	5f                   	pop    %edi
4122fc:	5e                   	pop    %esi
4122fd:	5b                   	pop    %ebx
4122fe:	64 89 0d 00 00 00 00 	mov    %ecx,%fs:0x0
412305:	c9                   	leave
412306:	c3                   	ret
412307:	8d 4e 0c             	lea    0xc(%esi),%ecx
41230a:	39 19                	cmp    %ebx,(%ecx)
41230c:	75 12                	jne    0x412320
41230e:	8b 46 08             	mov    0x8(%esi),%eax
412311:	8b 10                	mov    (%eax),%edx
412313:	51                   	push   %ecx
412314:	68 6c 46 49 00       	push   $0x49466c
412319:	50                   	push   %eax
41231a:	ff 12                	call   *(%edx)
41231c:	3b c3                	cmp    %ebx,%eax
41231e:	7c d6                	jl     0x4122f6
412320:	39 5e 10             	cmp    %ebx,0x10(%esi)
412323:	89 5d ec             	mov    %ebx,-0x14(%ebp)
412326:	0f 8e 3e 01 00 00    	jle    0x41246a
41232c:	89 5d dc             	mov    %ebx,-0x24(%ebp)
41232f:	8b 46 14             	mov    0x14(%esi),%eax
412332:	8b 4d dc             	mov    -0x24(%ebp),%ecx
412335:	8b 44 08 24          	mov    0x24(%eax,%ecx,1),%eax
412339:	8b 40 04             	mov    0x4(%eax),%eax
41233c:	3b c3                	cmp    %ebx,%eax
41233e:	89 45 d4             	mov    %eax,-0x2c(%ebp)
412341:	0f 84 10 01 00 00    	je     0x412457
412347:	8d 04 7f             	lea    (%edi,%edi,2),%eax
41234a:	c1 e0 04             	shl    $0x4,%eax
41234d:	89 45 e0             	mov    %eax,-0x20(%ebp)
412350:	8b 4d dc             	mov    -0x24(%ebp),%ecx
412353:	8d 45 d4             	lea    -0x2c(%ebp),%eax
412356:	50                   	push   %eax
412357:	8b 46 14             	mov    0x14(%esi),%eax
41235a:	8b 4c 08 24          	mov    0x24(%eax,%ecx,1),%ecx
41235e:	e8 ff 50 ff ff       	call   0x407462
412363:	8b 38                	mov    (%eax),%edi
412365:	8d 87 a4 00 00 00    	lea    0xa4(%edi),%eax
41236b:	39 18                	cmp    %ebx,(%eax)
41236d:	0f 84 d1 00 00 00    	je     0x412444
412373:	ff 45 e4             	incl   -0x1c(%ebp)
412376:	83 7d e4 01          	cmpl   $0x1,-0x1c(%ebp)
41237a:	89 18                	mov    %ebx,(%eax)
41237c:	75 35                	jne    0x4123b3
41237e:	8b 46 0c             	mov    0xc(%esi),%eax
412381:	8b 08                	mov    (%eax),%ecx
412383:	8d 55 d0             	lea    -0x30(%ebp),%edx
412386:	52                   	push   %edx
412387:	50                   	push   %eax
412388:	ff 51 18             	call   *0x18(%ecx)
41238b:	3b c3                	cmp    %ebx,%eax
41238d:	0f 8c 65 ff ff ff    	jl     0x4122f8
412393:	83 7d d0 01          	cmpl   $0x1,-0x30(%ebp)
412397:	75 13                	jne    0x4123ac
412399:	8b 46 0c             	mov    0xc(%esi),%eax
41239c:	8b 08                	mov    (%eax),%ecx
41239e:	6a 01                	push   $0x1
4123a0:	50                   	push   %eax
4123a1:	ff 51 0c             	call   *0xc(%ecx)
4123a4:	3b c3                	cmp    %ebx,%eax
4123a6:	0f 8c 4c ff ff ff    	jl     0x4122f8
4123ac:	c7 46 44 01 00 00 00 	movl   $0x1,0x44(%esi)
4123b3:	8d 45 bc             	lea    -0x44(%ebp),%eax
4123b6:	50                   	push   %eax
4123b7:	c7 45 d8 10 00 00 00 	movl   $0x10,-0x28(%ebp)
4123be:	e8 f1 7f ff ff       	call   0x40a3b4
4123c3:	8d 8f a8 00 00 00    	lea    0xa8(%edi),%ecx
4123c9:	0f b7 01             	movzwl (%ecx),%eax
4123cc:	3b c3                	cmp    %ebx,%eax
4123ce:	c7 45 fc 02 00 00 00 	movl   $0x2,-0x4(%ebp)
4123d5:	89 4d cc             	mov    %ecx,-0x34(%ebp)
4123d8:	7c 17                	jl     0x4123f1
4123da:	83 f8 01             	cmp    $0x1,%eax
4123dd:	7e 0e                	jle    0x4123ed
4123df:	83 f8 08             	cmp    $0x8,%eax
4123e2:	0f 84 46 01 00 00    	je     0x41252e
4123e8:	83 f8 0a             	cmp    $0xa,%eax
4123eb:	75 04                	jne    0x4123f1
4123ed:	83 4d d8 ff          	orl    $0xffffffff,-0x28(%ebp)
4123f1:	51                   	push   %ecx
4123f2:	8d 4d bc             	lea    -0x44(%ebp),%ecx
4123f5:	e8 29 7f ff ff       	call   0x40a323
4123fa:	8b 46 3c             	mov    0x3c(%esi),%eax
4123fd:	8b 4d e0             	mov    -0x20(%ebp),%ecx
412400:	03 c1                	add    %ecx,%eax
412402:	89 5d a4             	mov    %ebx,-0x5c(%ebp)