4213a5:	57                   	push   %edi
4213a6:	8d 4e 3c             	lea    0x3c(%esi),%ecx
4213a9:	8b b9 04 04 00 00    	mov    0x404(%ecx),%edi
4213af:	85 ff                	test   %edi,%edi
4213b1:	75 02                	jne    0x4213b5
4213b3:	8b f9                	mov    %ecx,%edi
4213b5:	e8 85 ec ff ff       	call   0x42003f
4213ba:	8b 55 08             	mov    0x8(%ebp),%edx
4213bd:	48                   	dec    %eax
4213be:	8d 0c 47             	lea    (%edi,%eax,2),%ecx
4213c1:	89 4d f8             	mov    %ecx,-0x8(%ebp)
4213c4:	8b c1                	mov    %ecx,%eax
4213c6:	89 4e 30             	mov    %ecx,0x30(%esi)
4213c9:	89 4d fc             	mov    %ecx,-0x4(%ebp)
4213cc:	8b 5e 24             	mov    0x24(%esi),%ebx
4213cf:	8b fa                	mov    %edx,%edi
4213d1:	85 db                	test   %ebx,%ebx
4213d3:	7f 04                	jg     0x4213d9
4213d5:	85 d2                	test   %edx,%edx
4213d7:	74 1d                	je     0x4213f6
4213d9:	83 e7 07             	and    $0x7,%edi
4213dc:	c1 ea 03             	shr    $0x3,%edx
4213df:	8d 43 ff             	lea    -0x1(%ebx),%eax
4213e2:	83 c7 30             	add    $0x30,%edi
4213e5:	89 46 24             	mov    %eax,0x24(%esi)
4213e8:	66 89 39             	mov    %di,(%ecx)
4213eb:	83 46 30 fe          	addl   $0xfffffffe,0x30(%esi)
4213ef:	8b 46 30             	mov    0x30(%esi),%eax
4213f2:	8b c8                	mov    %eax,%ecx
4213f4:	eb d6                	jmp    0x4213cc
4213f6:	8b 4d f8             	mov    -0x8(%ebp),%ecx
4213f9:	2b c8                	sub    %eax,%ecx
4213fb:	d1 f9                	sar    $1,%ecx
4213fd:	83 c0 02             	add    $0x2,%eax
421400:	89 4e 34             	mov    %ecx,0x34(%esi)
421403:	5f                   	pop    %edi
421404:	89 46 30             	mov    %eax,0x30(%esi)
421407:	5e                   	pop    %esi
421408:	5b                   	pop    %ebx
421409:	c9                   	leave
42140a:	c2 08 00             	ret    $0x8
42140d:	8b ff                	mov    %edi,%edi
42140f:	55                   	push   %ebp
421410:	8b ec                	mov    %esp,%ebp
421412:	51                   	push   %ecx
421413:	51                   	push   %ecx
421414:	53                   	push   %ebx
421415:	56                   	push   %esi
421416:	8b f1                	mov    %ecx,%esi
421418:	57                   	push   %edi
421419:	8d 4e 3c             	lea    0x3c(%esi),%ecx
42141c:	8b b9 04 04 00 00    	mov    0x404(%ecx),%edi
421422:	85 ff                	test   %edi,%edi
421424:	75 02                	jne    0x421428
421426:	8b f9                	mov    %ecx,%edi
421428:	e8 fa eb ff ff       	call   0x420027
42142d:	8b 5d 08             	mov    0x8(%ebp),%ebx
421430:	48                   	dec    %eax
421431:	03 f8                	add    %eax,%edi
421433:	89 7d f8             	mov    %edi,-0x8(%ebp)
421436:	8b c7                	mov    %edi,%eax
421438:	89 7e 30             	mov    %edi,0x30(%esi)
42143b:	89 7d fc             	mov    %edi,-0x4(%ebp)
42143e:	8b 4e 24             	mov    0x24(%esi),%ecx
421441:	85 c9                	test   %ecx,%ecx
421443:	7f 04                	jg     0x421449
421445:	85 db                	test   %ebx,%ebx
421447:	74 38                	je     0x421481
421449:	49                   	dec    %ecx
42144a:	33 d2                	xor    %edx,%edx
42144c:	6a 0a                	push   $0xa
42144e:	89 4e 24             	mov    %ecx,0x24(%esi)
421451:	8b c3                	mov    %ebx,%eax
421453:	59                   	pop    %ecx
421454:	f7 f1                	div    %ecx
421456:	8b c3                	mov    %ebx,%eax
421458:	6a 0a                	push   $0xa
42145a:	5b                   	pop    %ebx
42145b:	8d 4a 30             	lea    0x30(%edx),%ecx
42145e:	33 d2                	xor    %edx,%edx
421460:	f7 f3                	div    %ebx
421462:	8b d8                	mov    %eax,%ebx
421464:	80 f9 39             	cmp    $0x39,%cl
421467:	7e 0c                	jle    0x421475
421469:	8a 45 0c             	mov    0xc(%ebp),%al
42146c:	34 01                	xor    $0x1,%al
42146e:	c0 e0 05             	shl    $0x5,%al
421471:	04 07                	add    $0x7,%al
421473:	02 c8                	add    %al,%cl
421475:	88 0f                	mov    %cl,(%edi)
421477:	ff 4e 30             	decl   0x30(%esi)
42147a:	8b 46 30             	mov    0x30(%esi),%eax
42147d:	8b f8                	mov    %eax,%edi
42147f:	eb bd                	jmp    0x42143e
421481:	8b 7d f8             	mov    -0x8(%ebp),%edi
421484:	2b f8                	sub    %eax,%edi
421486:	40                   	inc    %eax
421487:	89 7e 34             	mov    %edi,0x34(%esi)
42148a:	5f                   	pop    %edi
42148b:	89 46 30             	mov    %eax,0x30(%esi)
42148e:	5e                   	pop    %esi
42148f:	5b                   	pop    %ebx
421490:	c9                   	leave
421491:	c2 08 00             	ret    $0x8
421494:	8b ff                	mov    %edi,%edi
421496:	55                   	push   %ebp
421497:	8b ec                	mov    %esp,%ebp
421499:	51                   	push   %ecx
42149a:	51                   	push   %ecx
42149b:	53                   	push   %ebx
42149c:	56                   	push   %esi
42149d:	8b f1                	mov    %ecx,%esi
42149f:	57                   	push   %edi
4214a0:	8d 4e 3c             	lea    0x3c(%esi),%ecx
4214a3:	8b b9 04 04 00 00    	mov    0x404(%ecx),%edi
4214a9:	85 ff                	test   %edi,%edi
4214ab:	75 02                	jne    0x4214af
4214ad:	8b f9                	mov    %ecx,%edi
4214af:	e8 8b eb ff ff       	call   0x42003f
4214b4:	8b 5d 08             	mov    0x8(%ebp),%ebx
4214b7:	8d 3c 47             	lea    (%edi,%eax,2),%edi
4214ba:	83 c7 fe             	add    $0xfffffffe,%edi
4214bd:	89 7d f8             	mov    %edi,-0x8(%ebp)
4214c0:	8b c7                	mov    %edi,%eax
4214c2:	89 7e 30             	mov    %edi,0x30(%esi)
4214c5:	89 7d fc             	mov    %edi,-0x4(%ebp)
4214c8:	8b 4e 24             	mov    0x24(%esi),%ecx
4214cb:	85 c9                	test   %ecx,%ecx
4214cd:	7f 04                	jg     0x4214d3
4214cf:	85 db                	test   %ebx,%ebx
4214d1:	74 46                	je     0x421519
4214d3:	49                   	dec    %ecx
4214d4:	33 d2                	xor    %edx,%edx
4214d6:	6a 0a                	push   $0xa
4214d8:	89 4e 24             	mov    %ecx,0x24(%esi)
4214db:	8b c3                	mov    %ebx,%eax
4214dd:	59                   	pop    %ecx
4214de:	f7 f1                	div    %ecx
4214e0:	8b c3                	mov    %ebx,%eax
4214e2:	83 c2 30             	add    $0x30,%edx
4214e5:	0f b7 ca             	movzwl %dx,%ecx
4214e8:	33 d2                	xor    %edx,%edx
4214ea:	6a 0a                	push   $0xa
4214ec:	5b                   	pop    %ebx
4214ed:	f7 f3                	div    %ebx
4214ef:	8b d8                	mov    %eax,%ebx
4214f1:	83 f9 39             	cmp    $0x39,%ecx
4214f4:	76 11                	jbe    0x421507
4214f6:	8a 45 0c             	mov    0xc(%ebp),%al
4214f9:	34 01                	xor    $0x1,%al
4214fb:	c0 e0 05             	shl    $0x5,%al
4214fe:	04 07                	add    $0x7,%al
421500:	02 c1                	add    %cl,%al
421502:	66 98                	cbtw
421504:	0f b7 c8             	movzwl %ax,%ecx
421507:	66 0f be c1          	movsbw %cl,%ax
42150b:	66 89 07             	mov    %ax,(%edi)
42150e:	83 46 30 fe          	addl   $0xfffffffe,0x30(%esi)
421512:	8b 46 30             	mov    0x30(%esi),%eax
421515:	8b f8                	mov    %eax,%edi
421517:	eb af                	jmp    0x4214c8
421519:	8b 7d f8             	mov    -0x8(%ebp),%edi
42151c:	2b f8                	sub    %eax,%edi
42151e:	d1 ff                	sar    $1,%edi
421520:	83 c0 02             	add    $0x2,%eax
421523:	89 7e 34             	mov    %edi,0x34(%esi)
421526:	5f                   	pop    %edi
421527:	89 46 30             	mov    %eax,0x30(%esi)
42152a:	5e                   	pop    %esi
42152b:	5b                   	pop    %ebx
42152c:	c9                   	leave
42152d:	c2 08 00             	ret    $0x8
421530:	8b ff                	mov    %edi,%edi
421532:	55                   	push   %ebp
421533:	8b ec                	mov    %esp,%ebp
421535:	51                   	push   %ecx
421536:	53                   	push   %ebx
421537:	56                   	push   %esi
421538:	8b f1                	mov    %ecx,%esi
42153a:	57                   	push   %edi
42153b:	8d 4e 3c             	lea    0x3c(%esi),%ecx
42153e:	8b b9 04 04 00 00    	mov    0x404(%ecx),%edi
421544:	85 ff                	test   %edi,%edi
421546:	75 02                	jne    0x42154a
421548:	8b f9                	mov    %ecx,%edi
42154a:	e8 d8 ea ff ff       	call   0x420027
42154f:	8a 7d 0c             	mov    0xc(%ebp),%bh
421552:	8b 55 08             	mov    0x8(%ebp),%edx
421555:	8d 48 ff             	lea    -0x1(%eax),%ecx
421558:	03 cf                	add    %edi,%ecx
42155a:	89 4e 30             	mov    %ecx,0x30(%esi)
42155d:	8b c1                	mov    %ecx,%eax
42155f:	89 4d fc             	mov    %ecx,-0x4(%ebp)
421562:	8b 7e 24             	mov    0x24(%esi),%edi
421565:	85 ff                	test   %edi,%edi
421567:	7f 04                	jg     0x42156d
421569:	85 d2                	test   %edx,%edx
42156b:	74 30                	je     0x42159d
42156d:	8d 47 ff             	lea    -0x1(%edi),%eax
421570:	89 46 24             	mov    %eax,0x24(%esi)
421573:	8a c2                	mov    %dl,%al
421575:	24 0f                	and    $0xf,%al
421577:	c1 ea 04             	shr    $0x4,%edx
42157a:	04 30                	add    $0x30,%al
42157c:	8a d8                	mov    %al,%bl
42157e:	3c 39                	cmp    $0x39,%al
421580:	76 0b                	jbe    0x42158d
421582:	8a c7                	mov    %bh,%al
421584:	34 01                	xor    $0x1,%al
421586:	c0 e0 05             	shl    $0x5,%al
421589:	04 07                	add    $0x7,%al
42158b:	02 c3                	add    %bl,%al
42158d:	8b 7d fc             	mov    -0x4(%ebp),%edi
421590:	88 07                	mov    %al,(%edi)
421592:	ff 4e 30             	decl   0x30(%esi)
421595:	8b 46 30             	mov    0x30(%esi),%eax
421598:	89 45 fc             	mov    %eax,-0x4(%ebp)
42159b:	eb c5                	jmp    0x421562
42159d:	2b c8                	sub    %eax,%ecx
42159f:	40                   	inc    %eax
4215a0:	89 4e 34             	mov    %ecx,0x34(%esi)
4215a3:	5f                   	pop    %edi
4215a4:	89 46 30             	mov    %eax,0x30(%esi)
4215a7:	5e                   	pop    %esi
4215a8:	5b                   	pop    %ebx
4215a9:	c9                   	leave
4215aa:	c2 08 00             	ret    $0x8
4215ad:	8b ff                	mov    %edi,%edi
4215af:	55                   	push   %ebp
4215b0:	8b ec                	mov    %esp,%ebp
4215b2:	51                   	push   %ecx
4215b3:	53                   	push   %ebx
4215b4:	56                   	push   %esi
4215b5:	8b f1                	mov    %ecx,%esi
4215b7:	57                   	push   %edi
4215b8:	8d 4e 3c             	lea    0x3c(%esi),%ecx
4215bb:	8b b9 04 04 00 00    	mov    0x404(%ecx),%edi
4215c1:	85 ff                	test   %edi,%edi
4215c3:	75 02                	jne    0x4215c7
4215c5:	8b f9                	mov    %ecx,%edi
4215c7:	e8 73 ea ff ff       	call   0x42003f
4215cc:	48                   	dec    %eax
4215cd:	8d 0c 47             	lea    (%edi,%eax,2),%ecx
4215d0:	8b 7d 08             	mov    0x8(%ebp),%edi
4215d3:	89 4d fc             	mov    %ecx,-0x4(%ebp)
4215d6:	8b c1                	mov    %ecx,%eax
4215d8:	89 4e 30             	mov    %ecx,0x30(%esi)
4215db:	8b d9                	mov    %ecx,%ebx
4215dd:	8a 4d 0c             	mov    0xc(%ebp),%cl
4215e0:	8b 56 24             	mov    0x24(%esi),%edx
4215e3:	85 d2                	test   %edx,%edx
4215e5:	7f 04                	jg     0x4215eb
4215e7:	85 ff                	test   %edi,%edi
4215e9:	74 35                	je     0x421620
4215eb:	8d 42 ff             	lea    -0x1(%edx),%eax
4215ee:	89 46 24             	mov    %eax,0x24(%esi)
4215f1:	8b c7                	mov    %edi,%eax
4215f3:	83 e0 0f             	and    $0xf,%eax
4215f6:	c1 ef 04             	shr    $0x4,%edi
4215f9:	83 c0 30             	add    $0x30,%eax
4215fc:	0f b7 d0             	movzwl %ax,%edx
4215ff:	83 fa 39             	cmp    $0x39,%edx
421602:	76 0e                	jbe    0x421612
421604:	8a c1                	mov    %cl,%al
421606:	34 01                	xor    $0x1,%al
421608:	c0 e0 05             	shl    $0x5,%al
42160b:	04 07                	add    $0x7,%al
42160d:	02 c2                	add    %dl,%al
42160f:	0f b6 d0             	movzbl %al,%edx
421612:	66 89 13             	mov    %dx,(%ebx)
421615:	83 46 30 fe          	addl   $0xfffffffe,0x30(%esi)
421619:	8b 46 30             	mov    0x30(%esi),%eax
42161c:	8b d8                	mov    %eax,%ebx
42161e:	eb c0                	jmp    0x4215e0
421620:	8b 4d fc             	mov    -0x4(%ebp),%ecx
421623:	2b c8                	sub    %eax,%ecx
421625:	d1 f9                	sar    $1,%ecx
421627:	83 c0 02             	add    $0x2,%eax
42162a:	89 4e 34             	mov    %ecx,0x34(%esi)
42162d:	5f                   	pop    %edi
42162e:	89 46 30             	mov    %eax,0x30(%esi)
421631:	5e                   	pop    %esi
421632:	5b                   	pop    %ebx
421633:	c9                   	leave
421634:	c2 08 00             	ret    $0x8
421637:	8b ff                	mov    %edi,%edi
421639:	55                   	push   %ebp
42163a:	8b ec                	mov    %esp,%ebp
42163c:	51                   	push   %ecx
42163d:	51                   	push   %ecx
42163e:	53                   	push   %ebx
42163f:	56                   	push   %esi
421640:	8b f1                	mov    %ecx,%esi
421642:	57                   	push   %edi
421643:	8d 4e 3c             	lea    0x3c(%esi),%ecx
421646:	8b b9 04 04 00 00    	mov    0x404(%ecx),%edi
42164c:	85 ff                	test   %edi,%edi
42164e:	75 02                	jne    0x421652
421650:	8b f9                	mov    %ecx,%edi
421652:	e8 d0 e9 ff ff       	call   0x420027
421657:	8b 5d 08             	mov    0x8(%ebp),%ebx
42165a:	8d 48 ff             	lea    -0x1(%eax),%ecx
42165d:	03 cf                	add    %edi,%ecx
42165f:	8b 7d 0c             	mov    0xc(%ebp),%edi
421662:	89 4d f8             	mov    %ecx,-0x8(%ebp)
421665:	8b d1                	mov    %ecx,%edx
421667:	89 4e 30             	mov    %ecx,0x30(%esi)
42166a:	89 4d fc             	mov    %ecx,-0x4(%ebp)
42166d:	8b 46 24             	mov    0x24(%esi),%eax
421670:	85 c0                	test   %eax,%eax
421672:	7f 09                	jg     0x42167d
421674:	8b c3                	mov    %ebx,%eax
421676:	0b c7                	or     %edi,%eax
421678:	74 20                	je     0x42169a
42167a:	8b 46 24             	mov    0x24(%esi),%eax
42167d:	48                   	dec    %eax
42167e:	89 46 24             	mov    %eax,0x24(%esi)
421681:	8a c3                	mov    %bl,%al
421683:	24 07                	and    $0x7,%al
421685:	0f ac fb 03          	shrd   $0x3,%edi,%ebx
421689:	04 30                	add    $0x30,%al
42168b:	88 01                	mov    %al,(%ecx)
42168d:	c1 ef 03             	shr    $0x3,%edi
421690:	ff 4e 30             	decl   0x30(%esi)
421693:	8b 56 30             	mov    0x30(%esi),%edx
421696:	8b ca                	mov    %edx,%ecx
421698:	eb d3                	jmp    0x42166d
42169a:	8b 4d f8             	mov    -0x8(%ebp),%ecx
42169d:	8d 42 01             	lea    0x1(%edx),%eax
4216a0:	2b ca                	sub    %edx,%ecx
4216a2:	89 4e 34             	mov    %ecx,0x34(%esi)
4216a5:	5f                   	pop    %edi
4216a6:	89 46 30             	mov    %eax,0x30(%esi)
4216a9:	5e                   	pop    %esi
4216aa:	5b                   	pop    %ebx
4216ab:	c9                   	leave
4216ac:	c2 0c 00             	ret    $0xc
4216af:	8b ff                	mov    %edi,%edi
4216b1:	55                   	push   %ebp
4216b2:	8b ec                	mov    %esp,%ebp
4216b4:	83 ec 10             	sub    $0x10,%esp
4216b7:	53                   	push   %ebx
4216b8:	56                   	push   %esi
4216b9:	8b f1                	mov    %ecx,%esi
4216bb:	57                   	push   %edi
4216bc:	8d 4e 3c             	lea    0x3c(%esi),%ecx
4216bf:	8b b9 04 04 00 00    	mov    0x404(%ecx),%edi
4216c5:	85 ff                	test   %edi,%edi
4216c7:	75 02                	jne    0x4216cb
4216c9:	8b f9                	mov    %ecx,%edi