40c349:	c2 0c 00             	ret    $0xc
40c34c:	8b ff                	mov    %edi,%edi
40c34e:	55                   	push   %ebp
40c34f:	8b ec                	mov    %esp,%ebp
40c351:	53                   	push   %ebx
40c352:	56                   	push   %esi
40c353:	8b f1                	mov    %ecx,%esi
40c355:	57                   	push   %edi
40c356:	8d 4e 40             	lea    0x40(%esi),%ecx
40c359:	8b b9 04 04 00 00    	mov    0x404(%ecx),%edi
40c35f:	85 ff                	test   %edi,%edi
40c361:	75 02                	jne    0x40c365
40c363:	8b f9                	mov    %ecx,%edi
40c365:	e8 ad fd ff ff       	call   0x40c117
40c36a:	8b 5d 08             	mov    0x8(%ebp),%ebx
40c36d:	48                   	dec    %eax
40c36e:	03 f8                	add    %eax,%edi
40c370:	89 7e 34             	mov    %edi,0x34(%esi)
40c373:	8b 4e 28             	mov    0x28(%esi),%ecx
40c376:	85 c9                	test   %ecx,%ecx
40c378:	7f 04                	jg     0x40c37e
40c37a:	85 db                	test   %ebx,%ebx
40c37c:	74 30                	je     0x40c3ae
40c37e:	33 d2                	xor    %edx,%edx
40c380:	8b c3                	mov    %ebx,%eax
40c382:	f7 75 0c             	divl   0xc(%ebp)
40c385:	49                   	dec    %ecx
40c386:	80 c2 30             	add    $0x30,%dl
40c389:	89 4e 28             	mov    %ecx,0x28(%esi)
40c38c:	8b d8                	mov    %eax,%ebx
40c38e:	80 fa 39             	cmp    $0x39,%dl
40c391:	7e 11                	jle    0x40c3a4
40c393:	80 7d 10 00          	cmpb   $0x0,0x10(%ebp)
40c397:	0f 94 c0             	sete   %al
40c39a:	fe c8                	dec    %al
40c39c:	24 e0                	and    $0xe0,%al
40c39e:	04 61                	add    $0x61,%al
40c3a0:	2c 3a                	sub    $0x3a,%al
40c3a2:	02 d0                	add    %al,%dl
40c3a4:	8b 46 34             	mov    0x34(%esi),%eax
40c3a7:	88 10                	mov    %dl,(%eax)
40c3a9:	ff 4e 34             	decl   0x34(%esi)
40c3ac:	eb c5                	jmp    0x40c373
40c3ae:	8b 46 34             	mov    0x34(%esi),%eax
40c3b1:	2b f8                	sub    %eax,%edi
40c3b3:	89 7e 38             	mov    %edi,0x38(%esi)
40c3b6:	40                   	inc    %eax
40c3b7:	5f                   	pop    %edi
40c3b8:	89 46 34             	mov    %eax,0x34(%esi)
40c3bb:	5e                   	pop    %esi
40c3bc:	5b                   	pop    %ebx
40c3bd:	5d                   	pop    %ebp
40c3be:	c2 0c 00             	ret    $0xc
40c3c1:	8b ff                	mov    %edi,%edi
40c3c3:	55                   	push   %ebp
40c3c4:	8b ec                	mov    %esp,%ebp
40c3c6:	51                   	push   %ecx
40c3c7:	51                   	push   %ecx
40c3c8:	53                   	push   %ebx
40c3c9:	56                   	push   %esi
40c3ca:	8b f1                	mov    %ecx,%esi
40c3cc:	57                   	push   %edi
40c3cd:	8d 4e 40             	lea    0x40(%esi),%ecx
40c3d0:	8b b9 04 04 00 00    	mov    0x404(%ecx),%edi
40c3d6:	85 ff                	test   %edi,%edi
40c3d8:	75 02                	jne    0x40c3dc
40c3da:	8b f9                	mov    %ecx,%edi
40c3dc:	e8 36 fd ff ff       	call   0x40c117
40c3e1:	8b 55 0c             	mov    0xc(%ebp),%edx
40c3e4:	48                   	dec    %eax
40c3e5:	8b 5d 08             	mov    0x8(%ebp),%ebx
40c3e8:	03 f8                	add    %eax,%edi
40c3ea:	89 7e 34             	mov    %edi,0x34(%esi)
40c3ed:	8b 4e 28             	mov    0x28(%esi),%ecx
40c3f0:	85 c9                	test   %ecx,%ecx
40c3f2:	7f 06                	jg     0x40c3fa
40c3f4:	8b c3                	mov    %ebx,%eax
40c3f6:	0b c2                	or     %edx,%eax
40c3f8:	74 3a                	je     0x40c434
40c3fa:	6a 00                	push   $0x0
40c3fc:	ff 75 10             	push   0x10(%ebp)
40c3ff:	8d 41 ff             	lea    -0x1(%ecx),%eax
40c402:	52                   	push   %edx
40c403:	53                   	push   %ebx
40c404:	89 46 28             	mov    %eax,0x28(%esi)
40c407:	e8 24 9f 01 00       	call   0x426330
40c40c:	80 c1 30             	add    $0x30,%cl
40c40f:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40c412:	8b d8                	mov    %eax,%ebx
40c414:	80 f9 39             	cmp    $0x39,%cl
40c417:	7e 11                	jle    0x40c42a
40c419:	80 7d 14 00          	cmpb   $0x0,0x14(%ebp)
40c41d:	0f 94 c0             	sete   %al
40c420:	fe c8                	dec    %al
40c422:	24 e0                	and    $0xe0,%al
40c424:	04 61                	add    $0x61,%al
40c426:	2c 3a                	sub    $0x3a,%al
40c428:	02 c8                	add    %al,%cl
40c42a:	8b 46 34             	mov    0x34(%esi),%eax
40c42d:	88 08                	mov    %cl,(%eax)
40c42f:	ff 4e 34             	decl   0x34(%esi)
40c432:	eb b9                	jmp    0x40c3ed
40c434:	8b 46 34             	mov    0x34(%esi),%eax
40c437:	2b f8                	sub    %eax,%edi
40c439:	89 7e 38             	mov    %edi,0x38(%esi)
40c43c:	40                   	inc    %eax
40c43d:	5f                   	pop    %edi
40c43e:	89 46 34             	mov    %eax,0x34(%esi)
40c441:	5e                   	pop    %esi
40c442:	5b                   	pop    %ebx
40c443:	8b e5                	mov    %ebp,%esp
40c445:	5d                   	pop    %ebp
40c446:	c2 10 00             	ret    $0x10
40c449:	8b ff                	mov    %edi,%edi
40c44b:	55                   	push   %ebp
40c44c:	8b ec                	mov    %esp,%ebp
40c44e:	51                   	push   %ecx
40c44f:	51                   	push   %ecx
40c450:	53                   	push   %ebx
40c451:	56                   	push   %esi
40c452:	8b f1                	mov    %ecx,%esi
40c454:	57                   	push   %edi
40c455:	8d 4e 40             	lea    0x40(%esi),%ecx
40c458:	8b b9 04 04 00 00    	mov    0x404(%ecx),%edi
40c45e:	85 ff                	test   %edi,%edi
40c460:	75 02                	jne    0x40c464
40c462:	8b f9                	mov    %ecx,%edi
40c464:	e8 ae fc ff ff       	call   0x40c117
40c469:	8b 55 0c             	mov    0xc(%ebp),%edx
40c46c:	48                   	dec    %eax
40c46d:	8b 5d 08             	mov    0x8(%ebp),%ebx
40c470:	03 f8                	add    %eax,%edi
40c472:	89 7e 34             	mov    %edi,0x34(%esi)
40c475:	8b 4e 28             	mov    0x28(%esi),%ecx
40c478:	85 c9                	test   %ecx,%ecx
40c47a:	7f 06                	jg     0x40c482
40c47c:	8b c3                	mov    %ebx,%eax
40c47e:	0b c2                	or     %edx,%eax
40c480:	74 3a                	je     0x40c4bc
40c482:	6a 00                	push   $0x0
40c484:	ff 75 10             	push   0x10(%ebp)
40c487:	8d 41 ff             	lea    -0x1(%ecx),%eax
40c48a:	52                   	push   %edx
40c48b:	53                   	push   %ebx
40c48c:	89 46 28             	mov    %eax,0x28(%esi)
40c48f:	e8 9c 9e 01 00       	call   0x426330
40c494:	80 c1 30             	add    $0x30,%cl
40c497:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40c49a:	8b d8                	mov    %eax,%ebx
40c49c:	80 f9 39             	cmp    $0x39,%cl
40c49f:	7e 11                	jle    0x40c4b2
40c4a1:	80 7d 14 00          	cmpb   $0x0,0x14(%ebp)
40c4a5:	0f 94 c0             	sete   %al
40c4a8:	fe c8                	dec    %al
40c4aa:	24 e0                	and    $0xe0,%al
40c4ac:	04 61                	add    $0x61,%al
40c4ae:	2c 3a                	sub    $0x3a,%al
40c4b0:	02 c8                	add    %al,%cl
40c4b2:	8b 46 34             	mov    0x34(%esi),%eax
40c4b5:	88 08                	mov    %cl,(%eax)
40c4b7:	ff 4e 34             	decl   0x34(%esi)
40c4ba:	eb b9                	jmp    0x40c475
40c4bc:	8b 46 34             	mov    0x34(%esi),%eax
40c4bf:	2b f8                	sub    %eax,%edi
40c4c1:	89 7e 38             	mov    %edi,0x38(%esi)
40c4c4:	40                   	inc    %eax
40c4c5:	5f                   	pop    %edi
40c4c6:	89 46 34             	mov    %eax,0x34(%esi)
40c4c9:	5e                   	pop    %esi
40c4ca:	5b                   	pop    %ebx
40c4cb:	8b e5                	mov    %ebp,%esp
40c4cd:	5d                   	pop    %ebp
40c4ce:	c2 10 00             	ret    $0x10
40c4d1:	8b ff                	mov    %edi,%edi
40c4d3:	55                   	push   %ebp
40c4d4:	8b ec                	mov    %esp,%ebp
40c4d6:	51                   	push   %ecx
40c4d7:	51                   	push   %ecx
40c4d8:	53                   	push   %ebx
40c4d9:	56                   	push   %esi
40c4da:	8b f1                	mov    %ecx,%esi
40c4dc:	57                   	push   %edi
40c4dd:	8d 4e 40             	lea    0x40(%esi),%ecx
40c4e0:	8b b9 04 04 00 00    	mov    0x404(%ecx),%edi
40c4e6:	85 ff                	test   %edi,%edi
40c4e8:	75 02                	jne    0x40c4ec
40c4ea:	8b f9                	mov    %ecx,%edi
40c4ec:	e8 26 fc ff ff       	call   0x40c117
40c4f1:	8b 55 0c             	mov    0xc(%ebp),%edx
40c4f4:	48                   	dec    %eax
40c4f5:	8b 5d 08             	mov    0x8(%ebp),%ebx
40c4f8:	03 f8                	add    %eax,%edi
40c4fa:	89 7e 34             	mov    %edi,0x34(%esi)
40c4fd:	8b 4e 28             	mov    0x28(%esi),%ecx
40c500:	85 c9                	test   %ecx,%ecx
40c502:	7f 06                	jg     0x40c50a
40c504:	8b c3                	mov    %ebx,%eax
40c506:	0b c2                	or     %edx,%eax
40c508:	74 3a                	je     0x40c544
40c50a:	6a 00                	push   $0x0
40c50c:	ff 75 10             	push   0x10(%ebp)
40c50f:	8d 41 ff             	lea    -0x1(%ecx),%eax
40c512:	52                   	push   %edx
40c513:	53                   	push   %ebx
40c514:	89 46 28             	mov    %eax,0x28(%esi)
40c517:	e8 14 9e 01 00       	call   0x426330
40c51c:	80 c1 30             	add    $0x30,%cl
40c51f:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40c522:	8b d8                	mov    %eax,%ebx
40c524:	80 f9 39             	cmp    $0x39,%cl
40c527:	7e 11                	jle    0x40c53a
40c529:	80 7d 14 00          	cmpb   $0x0,0x14(%ebp)
40c52d:	0f 94 c0             	sete   %al
40c530:	fe c8                	dec    %al
40c532:	24 e0                	and    $0xe0,%al
40c534:	04 61                	add    $0x61,%al
40c536:	2c 3a                	sub    $0x3a,%al
40c538:	02 c8                	add    %al,%cl
40c53a:	8b 46 34             	mov    0x34(%esi),%eax
40c53d:	88 08                	mov    %cl,(%eax)
40c53f:	ff 4e 34             	decl   0x34(%esi)
40c542:	eb b9                	jmp    0x40c4fd
40c544:	8b 46 34             	mov    0x34(%esi),%eax
40c547:	2b f8                	sub    %eax,%edi
40c549:	89 7e 38             	mov    %edi,0x38(%esi)
40c54c:	40                   	inc    %eax
40c54d:	5f                   	pop    %edi
40c54e:	89 46 34             	mov    %eax,0x34(%esi)
40c551:	5e                   	pop    %esi
40c552:	5b                   	pop    %ebx
40c553:	8b e5                	mov    %ebp,%esp
40c555:	5d                   	pop    %ebp
40c556:	c2 10 00             	ret    $0x10
40c559:	8b ff                	mov    %edi,%edi
40c55b:	55                   	push   %ebp
40c55c:	8b ec                	mov    %esp,%ebp
40c55e:	56                   	push   %esi
40c55f:	33 f6                	xor    %esi,%esi
40c561:	39 75 10             	cmp    %esi,0x10(%ebp)
40c564:	7e 1c                	jle    0x40c582
40c566:	57                   	push   %edi
40c567:	8b 7d 14             	mov    0x14(%ebp),%edi
40c56a:	8b 4d 08             	mov    0x8(%ebp),%ecx
40c56d:	57                   	push   %edi
40c56e:	ff 75 0c             	push   0xc(%ebp)
40c571:	e8 44 28 00 00       	call   0x40edba
40c576:	83 3f ff             	cmpl   $0xffffffff,(%edi)
40c579:	74 06                	je     0x40c581
40c57b:	46                   	inc    %esi
40c57c:	3b 75 10             	cmp    0x10(%ebp),%esi
40c57f:	7c e9                	jl     0x40c56a
40c581:	5f                   	pop    %edi
40c582:	5e                   	pop    %esi
40c583:	5d                   	pop    %ebp
40c584:	c3                   	ret
40c585:	8b ff                	mov    %edi,%edi
40c587:	55                   	push   %ebp
40c588:	8b ec                	mov    %esp,%ebp
40c58a:	56                   	push   %esi
40c58b:	33 f6                	xor    %esi,%esi
40c58d:	39 75 10             	cmp    %esi,0x10(%ebp)
40c590:	7e 21                	jle    0x40c5b3
40c592:	53                   	push   %ebx
40c593:	66 0f be 5d 0c       	movsbw 0xc(%ebp),%bx
40c598:	57                   	push   %edi
40c599:	8b 7d 14             	mov    0x14(%ebp),%edi
40c59c:	8b 4d 08             	mov    0x8(%ebp),%ecx
40c59f:	57                   	push   %edi
40c5a0:	53                   	push   %ebx
40c5a1:	e8 51 28 00 00       	call   0x40edf7
40c5a6:	83 3f ff             	cmpl   $0xffffffff,(%edi)
40c5a9:	74 06                	je     0x40c5b1
40c5ab:	46                   	inc    %esi
40c5ac:	3b 75 10             	cmp    0x10(%ebp),%esi
40c5af:	7c eb                	jl     0x40c59c
40c5b1:	5f                   	pop    %edi
40c5b2:	5b                   	pop    %ebx
40c5b3:	5e                   	pop    %esi
40c5b4:	5d                   	pop    %ebp
40c5b5:	c3                   	ret
40c5b6:	8b ff                	mov    %edi,%edi
40c5b8:	55                   	push   %ebp
40c5b9:	8b ec                	mov    %esp,%ebp
40c5bb:	56                   	push   %esi
40c5bc:	33 f6                	xor    %esi,%esi
40c5be:	39 75 10             	cmp    %esi,0x10(%ebp)
40c5c1:	7e 1c                	jle    0x40c5df
40c5c3:	57                   	push   %edi
40c5c4:	8b 7d 14             	mov    0x14(%ebp),%edi
40c5c7:	8b 4d 08             	mov    0x8(%ebp),%ecx
40c5ca:	57                   	push   %edi
40c5cb:	ff 75 0c             	push   0xc(%ebp)
40c5ce:	e8 64 28 00 00       	call   0x40ee37
40c5d3:	83 3f ff             	cmpl   $0xffffffff,(%edi)
40c5d6:	74 06                	je     0x40c5de
40c5d8:	46                   	inc    %esi
40c5d9:	3b 75 10             	cmp    0x10(%ebp),%esi
40c5dc:	7c e9                	jl     0x40c5c7
40c5de:	5f                   	pop    %edi
40c5df:	5e                   	pop    %esi
40c5e0:	5d                   	pop    %ebp
40c5e1:	c3                   	ret
40c5e2:	8b ff                	mov    %edi,%edi
40c5e4:	55                   	push   %ebp
40c5e5:	8b ec                	mov    %esp,%ebp
40c5e7:	51                   	push   %ecx
40c5e8:	33 c0                	xor    %eax,%eax
40c5ea:	89 4d fc             	mov    %ecx,-0x4(%ebp)
40c5ed:	89 01                	mov    %eax,(%ecx)
40c5ef:	89 41 04             	mov    %eax,0x4(%ecx)
40c5f2:	89 41 08             	mov    %eax,0x8(%ecx)
40c5f5:	89 41 0c             	mov    %eax,0xc(%ecx)
40c5f8:	89 41 10             	mov    %eax,0x10(%ecx)
40c5fb:	89 41 14             	mov    %eax,0x14(%ecx)
40c5fe:	89 41 18             	mov    %eax,0x18(%ecx)
40c601:	89 41 1c             	mov    %eax,0x1c(%ecx)
40c604:	89 41 20             	mov    %eax,0x20(%ecx)
40c607:	89 41 24             	mov    %eax,0x24(%ecx)
40c60a:	89 41 28             	mov    %eax,0x28(%ecx)
40c60d:	66 89 41 30          	mov    %ax,0x30(%ecx)
40c611:	89 41 38             	mov    %eax,0x38(%ecx)
40c614:	88 41 3c             	mov    %al,0x3c(%ecx)
40c617:	89 81 40 04 00 00    	mov    %eax,0x440(%ecx)
40c61d:	89 81 44 04 00 00    	mov    %eax,0x444(%ecx)
40c623:	8b c1                	mov    %ecx,%eax
40c625:	8b e5                	mov    %ebp,%esp
40c627:	5d                   	pop    %ebp
40c628:	c3                   	ret
40c629:	8b ff                	mov    %edi,%edi
40c62b:	55                   	push   %ebp
40c62c:	8b ec                	mov    %esp,%ebp
40c62e:	51                   	push   %ecx
40c62f:	33 d2                	xor    %edx,%edx
40c631:	89 4d fc             	mov    %ecx,-0x4(%ebp)
40c634:	33 c0                	xor    %eax,%eax
40c636:	89 11                	mov    %edx,(%ecx)
40c638:	66 89 41 32          	mov    %ax,0x32(%ecx)
40c63c:	8b c1                	mov    %ecx,%eax
40c63e:	89 51 04             	mov    %edx,0x4(%ecx)
40c641:	89 51 08             	mov    %edx,0x8(%ecx)
40c644:	89 51 0c             	mov    %edx,0xc(%ecx)
40c647:	89 51 10             	mov    %edx,0x10(%ecx)
40c64a:	89 51 14             	mov    %edx,0x14(%ecx)
40c64d:	89 51 18             	mov    %edx,0x18(%ecx)
40c650:	89 51 1c             	mov    %edx,0x1c(%ecx)
40c653:	89 51 20             	mov    %edx,0x20(%ecx)
40c656:	89 51 24             	mov    %edx,0x24(%ecx)
40c659:	89 51 28             	mov    %edx,0x28(%ecx)
40c65c:	88 51 30             	mov    %dl,0x30(%ecx)
40c65f:	89 51 38             	mov    %edx,0x38(%ecx)