4051a2:	33 c0                	xor    %eax,%eax
4051a4:	e8 2b ff ff ff       	call   0x4050d4
4051a9:	5b                   	pop    %ebx
4051aa:	5d                   	pop    %ebp
4051ab:	c2 08 00             	ret    $0x8
4051ae:	8b c0                	mov    %eax,%eax
4051b0:	53                   	push   %ebx
4051b1:	56                   	push   %esi
4051b2:	57                   	push   %edi
4051b3:	55                   	push   %ebp
4051b4:	83 c4 ec             	add    $0xffffffec,%esp
4051b7:	89 14 24             	mov    %edx,(%esp)
4051ba:	8b f0                	mov    %eax,%esi
4051bc:	bd 01 00 00 00       	mov    $0x1,%ebp
4051c1:	33 ff                	xor    %edi,%edi
4051c3:	c7 44 24 08 00 00 00 	movl   $0x0,0x8(%esp)
4051ca:	00
4051cb:	c7 44 24 0c 00 00 00 	movl   $0x0,0xc(%esp)
4051d2:	00
4051d3:	85 f6                	test   %esi,%esi
4051d5:	75 0b                	jne    0x4051e2
4051d7:	8b 04 24             	mov    (%esp),%eax
4051da:	89 28                	mov    %ebp,(%eax)
4051dc:	e9 ee 01 00 00       	jmp    0x4053cf
4051e1:	45                   	inc    %ebp
4051e2:	80 7c 2e ff 20       	cmpb   $0x20,-0x1(%esi,%ebp,1)
4051e7:	74 f8                	je     0x4051e1
4051e9:	c6 44 24 10 00       	movb   $0x0,0x10(%esp)
4051ee:	8a 44 2e ff          	mov    -0x1(%esi,%ebp,1),%al
4051f2:	3c 2d                	cmp    $0x2d,%al
4051f4:	75 08                	jne    0x4051fe
4051f6:	c6 44 24 10 01       	movb   $0x1,0x10(%esp)
4051fb:	45                   	inc    %ebp
4051fc:	eb 05                	jmp    0x405203
4051fe:	3c 2b                	cmp    $0x2b,%al
405200:	75 01                	jne    0x405203
405202:	45                   	inc    %ebp
405203:	b3 01                	mov    $0x1,%bl
405205:	80 7c 2e ff 24       	cmpb   $0x24,-0x1(%esi,%ebp,1)
40520a:	74 28                	je     0x405234
40520c:	8a 44 2e ff          	mov    -0x1(%esi,%ebp,1),%al
405210:	e8 ef d8 ff ff       	call   0x402b04
405215:	3c 58                	cmp    $0x58,%al
405217:	74 1b                	je     0x405234
405219:	80 7c 2e ff 30       	cmpb   $0x30,-0x1(%esi,%ebp,1)
40521e:	0f 85 da 00 00 00    	jne    0x4052fe
405224:	8a 04 2e             	mov    (%esi,%ebp,1),%al
405227:	e8 d8 d8 ff ff       	call   0x402b04
40522c:	3c 58                	cmp    $0x58,%al
40522e:	0f 85 ca 00 00 00    	jne    0x4052fe
405234:	80 7c 2e ff 30       	cmpb   $0x30,-0x1(%esi,%ebp,1)
405239:	75 01                	jne    0x40523c
40523b:	45                   	inc    %ebp
40523c:	45                   	inc    %ebp
40523d:	8a 44 2e ff          	mov    -0x1(%esi,%ebp,1),%al
405241:	8b d0                	mov    %eax,%edx
405243:	80 c2 d0             	add    $0xd0,%dl
405246:	80 ea 0a             	sub    $0xa,%dl
405249:	72 12                	jb     0x40525d
40524b:	80 c2 f9             	add    $0xf9,%dl
40524e:	80 ea 06             	sub    $0x6,%dl
405251:	72 17                	jb     0x40526a
405253:	80 c2 e6             	add    $0xe6,%dl
405256:	80 ea 06             	sub    $0x6,%dl
405259:	72 1c                	jb     0x405277
40525b:	eb 7a                	jmp    0x4052d7
40525d:	8b f8                	mov    %eax,%edi
40525f:	81 e7 ff 00 00 00    	and    $0xff,%edi
405265:	83 ef 30             	sub    $0x30,%edi
405268:	eb 18                	jmp    0x405282
40526a:	8b f8                	mov    %eax,%edi
40526c:	81 e7 ff 00 00 00    	and    $0xff,%edi
405272:	83 ef 37             	sub    $0x37,%edi
405275:	eb 0b                	jmp    0x405282
405277:	8b f8                	mov    %eax,%edi
405279:	81 e7 ff 00 00 00    	and    $0xff,%edi
40527f:	83 ef 57             	sub    $0x57,%edi
405282:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
405287:	75 09                	jne    0x405292
405289:	83 7c 24 08 00       	cmpl   $0x0,0x8(%esp)
40528e:	72 47                	jb     0x4052d7
405290:	eb 02                	jmp    0x405294
405292:	7c 43                	jl     0x4052d7
405294:	81 7c 24 0c ff ff ff 	cmpl   $0xfffffff,0xc(%esp)
40529b:	0f
40529c:	75 09                	jne    0x4052a7
40529e:	83 7c 24 08 ff       	cmpl   $0xffffffff,0x8(%esp)
4052a3:	76 04                	jbe    0x4052a9
4052a5:	eb 30                	jmp    0x4052d7
4052a7:	7f 2e                	jg     0x4052d7
4052a9:	8b c7                	mov    %edi,%eax
4052ab:	99                   	cltd
4052ac:	52                   	push   %edx
4052ad:	50                   	push   %eax
4052ae:	8b 44 24 10          	mov    0x10(%esp),%eax
4052b2:	8b 54 24 14          	mov    0x14(%esp),%edx
4052b6:	0f a4 c2 04          	shld   $0x4,%eax,%edx
4052ba:	c1 e0 04             	shl    $0x4,%eax
4052bd:	03 04 24             	add    (%esp),%eax
4052c0:	13 54 24 04          	adc    0x4(%esp),%edx
4052c4:	83 c4 08             	add    $0x8,%esp
4052c7:	89 44 24 08          	mov    %eax,0x8(%esp)
4052cb:	89 54 24 0c          	mov    %edx,0xc(%esp)
4052cf:	45                   	inc    %ebp
4052d0:	33 db                	xor    %ebx,%ebx
4052d2:	e9 66 ff ff ff       	jmp    0x40523d
4052d7:	80 7c 24 10 00       	cmpb   $0x0,0x10(%esp)
4052dc:	0f 84 d3 00 00 00    	je     0x4053b5
4052e2:	8b 44 24 08          	mov    0x8(%esp),%eax
4052e6:	8b 54 24 0c          	mov    0xc(%esp),%edx
4052ea:	f7 d8                	neg    %eax
4052ec:	83 d2 00             	adc    $0x0,%edx
4052ef:	f7 da                	neg    %edx
4052f1:	89 44 24 08          	mov    %eax,0x8(%esp)
4052f5:	89 54 24 0c          	mov    %edx,0xc(%esp)
4052f9:	e9 b7 00 00 00       	jmp    0x4053b5
4052fe:	8a 44 2e ff          	mov    -0x1(%esi,%ebp,1),%al
405302:	8b d0                	mov    %eax,%edx
405304:	80 c2 d0             	add    $0xd0,%dl
405307:	80 ea 0a             	sub    $0xa,%dl
40530a:	73 62                	jae    0x40536e
40530c:	8b f8                	mov    %eax,%edi
40530e:	81 e7 ff 00 00 00    	and    $0xff,%edi
405314:	83 ef 30             	sub    $0x30,%edi
405317:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
40531c:	75 09                	jne    0x405327
40531e:	83 7c 24 08 00       	cmpl   $0x0,0x8(%esp)
405323:	72 49                	jb     0x40536e
405325:	eb 02                	jmp    0x405329
405327:	7c 45                	jl     0x40536e
405329:	81 7c 24 0c cc cc cc 	cmpl   $0xccccccc,0xc(%esp)
405330:	0c
405331:	75 0c                	jne    0x40533f
405333:	81 7c 24 08 cc cc cc 	cmpl   $0xcccccccc,0x8(%esp)
40533a:	cc
40533b:	76 04                	jbe    0x405341
40533d:	eb 2f                	jmp    0x40536e
40533f:	7f 2d                	jg     0x40536e
405341:	6a 00                	push   $0x0
405343:	6a 0a                	push   $0xa
405345:	8b 44 24 10          	mov    0x10(%esp),%eax
405349:	8b 54 24 14          	mov    0x14(%esp),%edx
40534d:	e8 66 fc ff ff       	call   0x404fb8
405352:	52                   	push   %edx
405353:	50                   	push   %eax
405354:	8b c7                	mov    %edi,%eax
405356:	99                   	cltd
405357:	03 04 24             	add    (%esp),%eax
40535a:	13 54 24 04          	adc    0x4(%esp),%edx
40535e:	83 c4 08             	add    $0x8,%esp
405361:	89 44 24 08          	mov    %eax,0x8(%esp)
405365:	89 54 24 0c          	mov    %edx,0xc(%esp)
405369:	45                   	inc    %ebp
40536a:	33 db                	xor    %ebx,%ebx
40536c:	eb 90                	jmp    0x4052fe
40536e:	80 7c 24 10 00       	cmpb   $0x0,0x10(%esp)
405373:	74 17                	je     0x40538c
405375:	8b 44 24 08          	mov    0x8(%esp),%eax
405379:	8b 54 24 0c          	mov    0xc(%esp),%edx
40537d:	f7 d8                	neg    %eax
40537f:	83 d2 00             	adc    $0x0,%edx
405382:	f7 da                	neg    %edx
405384:	89 44 24 08          	mov    %eax,0x8(%esp)
405388:	89 54 24 0c          	mov    %edx,0xc(%esp)
40538c:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
405391:	75 05                	jne    0x405398
405393:	83 7c 24 08 00       	cmpl   $0x0,0x8(%esp)
405398:	74 1b                	je     0x4053b5
40539a:	83 7c 24 0c 00       	cmpl   $0x0,0xc(%esp)
40539f:	75 0a                	jne    0x4053ab
4053a1:	83 7c 24 08 00       	cmpl   $0x0,0x8(%esp)
4053a6:	0f 92 c0             	setb   %al
4053a9:	eb 03                	jmp    0x4053ae
4053ab:	0f 9c c0             	setl   %al
4053ae:	3a 44 24 10          	cmp    0x10(%esp),%al
4053b2:	74 01                	je     0x4053b5
4053b4:	4d                   	dec    %ebp
4053b5:	80 7c 2e ff 00       	cmpb   $0x0,-0x1(%esi,%ebp,1)
4053ba:	0f 95 c0             	setne  %al
4053bd:	0a d8                	or     %al,%bl
4053bf:	74 07                	je     0x4053c8
4053c1:	8b 04 24             	mov    (%esp),%eax
4053c4:	89 28                	mov    %ebp,(%eax)
4053c6:	eb 07                	jmp    0x4053cf
4053c8:	8b 04 24             	mov    (%esp),%eax
4053cb:	33 d2                	xor    %edx,%edx
4053cd:	89 10                	mov    %edx,(%eax)
4053cf:	8b 44 24 08          	mov    0x8(%esp),%eax
4053d3:	8b 54 24 0c          	mov    0xc(%esp),%edx
4053d7:	83 c4 14             	add    $0x14,%esp
4053da:	5d                   	pop    %ebp
4053db:	5f                   	pop    %edi
4053dc:	5e                   	pop    %esi
4053dd:	5b                   	pop    %ebx
4053de:	c3                   	ret
4053df:	90                   	nop
4053e0:	85 c0                	test   %eax,%eax
4053e2:	74 03                	je     0x4053e7
4053e4:	8b 40 fc             	mov    -0x4(%eax),%eax
4053e7:	c3                   	ret
4053e8:	e8 f3 ff ff ff       	call   0x4053e0
4053ed:	48                   	dec    %eax
4053ee:	c3                   	ret
4053ef:	90                   	nop
4053f0:	55                   	push   %ebp
4053f1:	8b ec                	mov    %esp,%ebp
4053f3:	ff 75 08             	push   0x8(%ebp)
4053f6:	e8 49 fa ff ff       	call   0x404e44
4053fb:	5d                   	pop    %ebp
4053fc:	c2 04 00             	ret    $0x4
4053ff:	90                   	nop
405400:	e9 13 f8 ff ff       	jmp    0x404c18
405405:	c3                   	ret
405406:	8b c0                	mov    %eax,%eax
405408:	e8 af 02 00 00       	call   0x4056bc
40540d:	c3                   	ret
40540e:	8b c0                	mov    %eax,%eax
405410:	55                   	push   %ebp
405411:	8b ec                	mov    %esp,%ebp
405413:	83 c4 e0             	add    $0xffffffe0,%esp
405416:	53                   	push   %ebx
405417:	56                   	push   %esi
405418:	57                   	push   %edi
405419:	89 4d f8             	mov    %ecx,-0x8(%ebp)
40541c:	8b f2                	mov    %edx,%esi
40541e:	89 45 fc             	mov    %eax,-0x4(%ebp)
405421:	8b 5d fc             	mov    -0x4(%ebp),%ebx
405424:	8b 1b                	mov    (%ebx),%ebx
405426:	8b 45 08             	mov    0x8(%ebp),%eax
405429:	8b 38                	mov    (%eax),%edi
40542b:	85 ff                	test   %edi,%edi
40542d:	7f 1a                	jg     0x405449
40542f:	85 ff                	test   %edi,%edi
405431:	7d 07                	jge    0x40543a
405433:	b0 04                	mov    $0x4,%al
405435:	e8 9a d4 ff ff       	call   0x4028d4
40543a:	8b 45 fc             	mov    -0x4(%ebp),%eax
40543d:	8b d6                	mov    %esi,%edx
40543f:	e8 c4 ff ff ff       	call   0x405408
405444:	e9 4a 01 00 00       	jmp    0x405593
405449:	33 c0                	xor    %eax,%eax
40544b:	89 45 f0             	mov    %eax,-0x10(%ebp)
40544e:	85 db                	test   %ebx,%ebx
405450:	74 0b                	je     0x40545d
405452:	83 eb 04             	sub    $0x4,%ebx
405455:	8b 03                	mov    (%ebx),%eax
405457:	89 45 f0             	mov    %eax,-0x10(%ebp)
40545a:	83 eb 04             	sub    $0x4,%ebx
40545d:	33 c0                	xor    %eax,%eax
40545f:	8a 46 01             	mov    0x1(%esi),%al
405462:	01 c6                	add    %eax,%esi
405464:	8b c6                	mov    %esi,%eax
405466:	8b 50 02             	mov    0x2(%eax),%edx
405469:	89 55 e8             	mov    %edx,-0x18(%ebp)
40546c:	8b 50 06             	mov    0x6(%eax),%edx
40546f:	85 d2                	test   %edx,%edx
405471:	74 04                	je     0x405477
405473:	8b 32                	mov    (%edx),%esi
405475:	eb 02                	jmp    0x405479
405477:	33 f6                	xor    %esi,%esi
405479:	8b c7                	mov    %edi,%eax
40547b:	f7 6d e8             	imull  -0x18(%ebp)
40547e:	89 45 e4             	mov    %eax,-0x1c(%ebp)
405481:	8b 45 e4             	mov    -0x1c(%ebp),%eax
405484:	99                   	cltd
405485:	f7 ff                	idiv   %edi
405487:	3b 45 e8             	cmp    -0x18(%ebp),%eax
40548a:	74 07                	je     0x405493
40548c:	b0 04                	mov    $0x4,%al
40548e:	e8 41 d4 ff ff       	call   0x4028d4
405493:	83 45 e4 08          	addl   $0x8,-0x1c(%ebp)
405497:	85 db                	test   %ebx,%ebx
405499:	74 05                	je     0x4054a0
40549b:	83 3b 01             	cmpl   $0x1,(%ebx)
40549e:	75 35                	jne    0x4054d5
4054a0:	89 5d e0             	mov    %ebx,-0x20(%ebp)
4054a3:	3b 7d f0             	cmp    -0x10(%ebp),%edi
4054a6:	7d 1d                	jge    0x4054c5
4054a8:	85 f6                	test   %esi,%esi
4054aa:	74 19                	je     0x4054c5
4054ac:	8b c3                	mov    %ebx,%eax
4054ae:	83 c0 08             	add    $0x8,%eax
4054b1:	8b d7                	mov    %edi,%edx
4054b3:	0f af 55 e8          	imul   -0x18(%ebp),%edx
4054b7:	03 c2                	add    %edx,%eax
4054b9:	8b 4d f0             	mov    -0x10(%ebp),%ecx
4054bc:	2b cf                	sub    %edi,%ecx
4054be:	8b d6                	mov    %esi,%edx
4054c0:	e8 3b ff ff ff       	call   0x405400
4054c5:	8d 45 e0             	lea    -0x20(%ebp),%eax
4054c8:	8b 55 e4             	mov    -0x1c(%ebp),%edx
4054cb:	e8 e8 d2 ff ff       	call   0x4027b8
4054d0:	8b 5d e0             	mov    -0x20(%ebp),%ebx
4054d3:	eb 5e                	jmp    0x405533
4054d5:	ff 0b                	decl   (%ebx)
4054d7:	8b 45 e4             	mov    -0x1c(%ebp),%eax
4054da:	e8 99 d2 ff ff       	call   0x402778
4054df:	8b d8                	mov    %eax,%ebx
4054e1:	8b 45 f0             	mov    -0x10(%ebp),%eax
4054e4:	89 45 ec             	mov    %eax,-0x14(%ebp)
4054e7:	3b 7d ec             	cmp    -0x14(%ebp),%edi
4054ea:	7d 03                	jge    0x4054ef
4054ec:	89 7d ec             	mov    %edi,-0x14(%ebp)
4054ef:	85 f6                	test   %esi,%esi
4054f1:	74 2a                	je     0x40551d
4054f3:	8b 55 ec             	mov    -0x14(%ebp),%edx
4054f6:	0f af 55 e8          	imul   -0x18(%ebp),%edx
4054fa:	8b c3                	mov    %ebx,%eax
4054fc:	83 c0 08             	add    $0x8,%eax
4054ff:	33 c9                	xor    %ecx,%ecx
405501:	e8 66 d8 ff ff       	call   0x402d6c
405506:	8b 45 ec             	mov    -0x14(%ebp),%eax
405509:	50                   	push   %eax
40550a:	8b 55 fc             	mov    -0x4(%ebp),%edx
40550d:	8b 12                	mov    (%edx),%edx
40550f:	8b c3                	mov    %ebx,%eax
405511:	83 c0 08             	add    $0x8,%eax
405514:	8b ce                	mov    %esi,%ecx
405516:	e8 d5 fe ff ff       	call   0x4053f0
40551b:	eb 16                	jmp    0x405533
40551d:	8b 4d ec             	mov    -0x14(%ebp),%ecx
405520:	0f af 4d e8          	imul   -0x18(%ebp),%ecx
405524:	8b d3                	mov    %ebx,%edx
405526:	83 c2 08             	add    $0x8,%edx
405529:	8b 45 fc             	mov    -0x4(%ebp),%eax
40552c:	8b 00                	mov    (%eax),%eax
40552e:	e8 41 d4 ff ff       	call   0x402974
405533:	c7 03 01 00 00 00    	movl   $0x1,(%ebx)
405539:	83 c3 04             	add    $0x4,%ebx
40553c:	89 3b                	mov    %edi,(%ebx)
40553e:	83 c3 04             	add    $0x4,%ebx
405541:	8b d7                	mov    %edi,%edx
405543:	2b 55 f0             	sub    -0x10(%ebp),%edx
405546:	0f af 55 e8          	imul   -0x18(%ebp),%edx
40554a:	8b 45 e8             	mov    -0x18(%ebp),%eax
40554d:	0f af 45 f0          	imul   -0x10(%ebp),%eax
405551:	03 c3                	add    %ebx,%eax
405553:	33 c9                	xor    %ecx,%ecx
405555:	e8 12 d8 ff ff       	call   0x402d6c
40555a:	83 7d f8 01          	cmpl   $0x1,-0x8(%ebp)
40555e:	7e 2e                	jle    0x40558e
405560:	83 45 08 04          	addl   $0x4,0x8(%ebp)
405564:	ff 4d f8             	decl   -0x8(%ebp)
405567:	4f                   	dec    %edi
405568:	85 ff                	test   %edi,%edi
40556a:	7c 22                	jl     0x40558e
40556c:	47                   	inc    %edi
40556d:	c7 45 f4 00 00 00 00 	movl   $0x0,-0xc(%ebp)
405574:	8b 45 08             	mov    0x8(%ebp),%eax
405577:	50                   	push   %eax