40e3cb:	8b 0d 10 28 40 00    	mov    0x402810,%ecx
40e3d1:	89 4d ec             	mov    %ecx,-0x14(%ebp)
40e3d4:	8d 4d e4             	lea    -0x1c(%ebp),%ecx
40e3d7:	51                   	push   %ecx
40e3d8:	ff 75 e0             	push   -0x20(%ebp)
40e3db:	89 45 e8             	mov    %eax,-0x18(%ebp)
40e3de:	8d 47 08             	lea    0x8(%edi),%eax
40e3e1:	50                   	push   %eax
40e3e2:	51                   	push   %ecx
40e3e3:	8d 4d e8             	lea    -0x18(%ebp),%ecx
40e3e6:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
40e3e9:	e8 74 fe ff ff       	call   0x40e262
40e3ee:	89 45 d8             	mov    %eax,-0x28(%ebp)
40e3f1:	6a 10                	push   $0x10
40e3f3:	5a                   	pop    %edx
40e3f4:	85 c0                	test   %eax,%eax
40e3f6:	75 74                	jne    0x40e46c
40e3f8:	8b 4d e0             	mov    -0x20(%ebp),%ecx
40e3fb:	85 c9                	test   %ecx,%ecx
40e3fd:	74 04                	je     0x40e403
40e3ff:	8b f1                	mov    %ecx,%esi
40e401:	eb 69                	jmp    0x40e46c
40e403:	b8 c8 00 00 00       	mov    $0xc8,%eax
40e408:	3b d8                	cmp    %eax,%ebx
40e40a:	73 02                	jae    0x40e40e
40e40c:	8b d8                	mov    %eax,%ebx
40e40e:	3b 5d e4             	cmp    -0x1c(%ebp),%ebx
40e411:	73 03                	jae    0x40e416
40e413:	8b 5d e4             	mov    -0x1c(%ebp),%ebx
40e416:	3b da                	cmp    %edx,%ebx
40e418:	73 02                	jae    0x40e41c
40e41a:	8b da                	mov    %edx,%ebx
40e41c:	8b 45 dc             	mov    -0x24(%ebp),%eax
40e41f:	85 c0                	test   %eax,%eax
40e421:	74 11                	je     0x40e434
40e423:	50                   	push   %eax
40e424:	33 c9                	xor    %ecx,%ecx
40e426:	51                   	push   %ecx
40e427:	ff 15 a0 c1 42 00    	call   *0x42c1a0
40e42d:	50                   	push   %eax
40e42e:	ff 15 a4 c1 42 00    	call   *0x42c1a4
40e434:	53                   	push   %ebx
40e435:	6a 00                	push   $0x0
40e437:	ff 15 a0 c1 42 00    	call   *0x42c1a0
40e43d:	50                   	push   %eax
40e43e:	ff 15 9c c1 42 00    	call   *0x42c19c
40e444:	8b f0                	mov    %eax,%esi
40e446:	89 75 dc             	mov    %esi,-0x24(%ebp)
40e449:	85 f6                	test   %esi,%esi
40e44b:	0f 84 a3 00 00 00    	je     0x40e4f4
40e451:	8d 45 e4             	lea    -0x1c(%ebp),%eax
40e454:	89 5d e4             	mov    %ebx,-0x1c(%ebp)
40e457:	50                   	push   %eax
40e458:	56                   	push   %esi
40e459:	8d 47 08             	lea    0x8(%edi),%eax
40e45c:	50                   	push   %eax
40e45d:	51                   	push   %ecx
40e45e:	8d 4d e8             	lea    -0x18(%ebp),%ecx
40e461:	e8 fc fd ff ff       	call   0x40e262
40e466:	6a 10                	push   $0x10
40e468:	89 45 d8             	mov    %eax,-0x28(%ebp)
40e46b:	5a                   	pop    %edx
40e46c:	3d 23 00 00 c0       	cmp    $0xc0000023,%eax
40e471:	74 90                	je     0x40e403
40e473:	85 c0                	test   %eax,%eax
40e475:	0f 85 52 01 00 00    	jne    0x40e5cd
40e47b:	85 f6                	test   %esi,%esi
40e47d:	0f 84 4a 01 00 00    	je     0x40e5cd
40e483:	8b 55 e4             	mov    -0x1c(%ebp),%edx
40e486:	83 fa 04             	cmp    $0x4,%edx
40e489:	76 05                	jbe    0x40e490
40e48b:	8a 06                	mov    (%esi),%al
40e48d:	88 47 0c             	mov    %al,0xc(%edi)
40e490:	6a 10                	push   $0x10
40e492:	59                   	pop    %ecx
40e493:	3b d1                	cmp    %ecx,%edx
40e495:	0f 82 dd 00 00 00    	jb     0x40e578
40e49b:	80 7f 0c 02          	cmpb   $0x2,0xc(%edi)
40e49f:	0f 85 d3 00 00 00    	jne    0x40e578
40e4a5:	0f b7 46 02          	movzwl 0x2(%esi),%eax
40e4a9:	66 3b c1             	cmp    %cx,%ax
40e4ac:	0f 82 c6 00 00 00    	jb     0x40e578
40e4b2:	0f b7 46 04          	movzwl 0x4(%esi),%eax
40e4b6:	6b c8 0c             	imul   $0xc,%eax,%ecx
40e4b9:	0f b7 46 06          	movzwl 0x6(%esi),%eax
40e4bd:	c1 e0 04             	shl    $0x4,%eax
40e4c0:	03 c8                	add    %eax,%ecx
40e4c2:	0f b7 46 02          	movzwl 0x2(%esi),%eax
40e4c6:	03 c8                	add    %eax,%ecx
40e4c8:	3b d1                	cmp    %ecx,%edx
40e4ca:	0f 82 a5 00 00 00    	jb     0x40e575
40e4d0:	0f b7 4e 04          	movzwl 0x4(%esi),%ecx
40e4d4:	33 c0                	xor    %eax,%eax
40e4d6:	89 45 e0             	mov    %eax,-0x20(%ebp)
40e4d9:	66 85 c9             	test   %cx,%cx
40e4dc:	74 4d                	je     0x40e52b
40e4de:	89 45 d8             	mov    %eax,-0x28(%ebp)
40e4e1:	39 45 d4             	cmp    %eax,-0x2c(%ebp)
40e4e4:	75 18                	jne    0x40e4fe
40e4e6:	8b 0d 14 28 40 00    	mov    0x402814,%ecx
40e4ec:	8b 15 18 28 40 00    	mov    0x402818,%edx
40e4f2:	eb 16                	jmp    0x40e50a
40e4f4:	b8 9a 00 00 c0       	mov    $0xc000009a,%eax
40e4f9:	e9 e9 00 00 00       	jmp    0x40e5e7
40e4fe:	8b 0d 04 28 40 00    	mov    0x402804,%ecx
40e504:	8b 15 08 28 40 00    	mov    0x402808,%edx
40e50a:	89 4d f0             	mov    %ecx,-0x10(%ebp)
40e50d:	8d 4d d8             	lea    -0x28(%ebp),%ecx
40e510:	51                   	push   %ecx
40e511:	50                   	push   %eax
40e512:	8d 45 e0             	lea    -0x20(%ebp),%eax
40e515:	89 55 f4             	mov    %edx,-0xc(%ebp)
40e518:	50                   	push   %eax
40e519:	51                   	push   %ecx
40e51a:	8d 4d f0             	lea    -0x10(%ebp),%ecx
40e51d:	e8 40 fd ff ff       	call   0x40e262
40e522:	8b 45 e0             	mov    -0x20(%ebp),%eax
40e525:	8b 55 e4             	mov    -0x1c(%ebp),%edx
40e528:	89 45 d0             	mov    %eax,-0x30(%ebp)
40e52b:	8d 4e 10             	lea    0x10(%esi),%ecx
40e52e:	89 77 14             	mov    %esi,0x14(%edi)
40e531:	89 4f 18             	mov    %ecx,0x18(%edi)
40e534:	0f b7 46 04          	movzwl 0x4(%esi),%eax
40e538:	6b c0 0c             	imul   $0xc,%eax,%eax
40e53b:	03 c1                	add    %ecx,%eax
40e53d:	89 47 1c             	mov    %eax,0x1c(%edi)
40e540:	33 c0                	xor    %eax,%eax
40e542:	39 45 d0             	cmp    %eax,-0x30(%ebp)
40e545:	0f 95 c0             	setne  %al
40e548:	89 47 20             	mov    %eax,0x20(%edi)
40e54b:	80 3e 02             	cmpb   $0x2,(%esi)
40e54e:	75 5a                	jne    0x40e5aa
40e550:	80 7e 01 02          	cmpb   $0x2,0x1(%esi)
40e554:	73 54                	jae    0x40e5aa
40e556:	0f b7 46 04          	movzwl 0x4(%esi),%eax
40e55a:	6b d0 0c             	imul   $0xc,%eax,%edx
40e55d:	0f b7 46 06          	movzwl 0x6(%esi),%eax
40e561:	c1 e0 04             	shl    $0x4,%eax
40e564:	03 d0                	add    %eax,%edx
40e566:	0f b7 46 02          	movzwl 0x2(%esi),%eax
40e56a:	03 d0                	add    %eax,%edx
40e56c:	c7 47 10 01 00 00 00 	movl   $0x1,0x10(%edi)
40e573:	eb 35                	jmp    0x40e5aa
40e575:	6a 10                	push   $0x10
40e577:	59                   	pop    %ecx
40e578:	89 4d e4             	mov    %ecx,-0x1c(%ebp)
40e57b:	33 c0                	xor    %eax,%eax
40e57d:	8b fe                	mov    %esi,%edi
40e57f:	ab                   	stos   %eax,%es:(%edi)
40e580:	ab                   	stos   %eax,%es:(%edi)
40e581:	ab                   	stos   %eax,%es:(%edi)
40e582:	ab                   	stos   %eax,%es:(%edi)
40e583:	8b 7d f4             	mov    -0xc(%ebp),%edi
40e586:	66 89 4e 02          	mov    %cx,0x2(%esi)
40e58a:	66 c7 06 02 02       	movw   $0x202,(%esi)
40e58f:	8b 55 e4             	mov    -0x1c(%ebp),%edx
40e592:	89 77 14             	mov    %esi,0x14(%edi)
40e595:	0f b7 4e 02          	movzwl 0x2(%esi),%ecx
40e599:	03 ce                	add    %esi,%ecx
40e59b:	89 4f 18             	mov    %ecx,0x18(%edi)
40e59e:	0f b7 46 04          	movzwl 0x4(%esi),%eax
40e5a2:	6b c0 0c             	imul   $0xc,%eax,%eax
40e5a5:	03 c1                	add    %ecx,%eax
40e5a7:	89 47 1c             	mov    %eax,0x1c(%edi)
40e5aa:	8b 4d dc             	mov    -0x24(%ebp),%ecx
40e5ad:	89 77 24             	mov    %esi,0x24(%edi)
40e5b0:	89 57 28             	mov    %edx,0x28(%edi)
40e5b3:	85 c9                	test   %ecx,%ecx
40e5b5:	75 05                	jne    0x40e5bc
40e5b7:	bb c8 00 00 00       	mov    $0xc8,%ebx
40e5bc:	33 c0                	xor    %eax,%eax
40e5be:	89 5f 2c             	mov    %ebx,0x2c(%edi)
40e5c1:	3b f1                	cmp    %ecx,%esi
40e5c3:	0f 94 c0             	sete   %al
40e5c6:	89 47 30             	mov    %eax,0x30(%edi)
40e5c9:	33 c0                	xor    %eax,%eax
40e5cb:	eb 1a                	jmp    0x40e5e7
40e5cd:	8b 45 dc             	mov    -0x24(%ebp),%eax
40e5d0:	85 c0                	test   %eax,%eax
40e5d2:	74 10                	je     0x40e5e4
40e5d4:	50                   	push   %eax
40e5d5:	6a 00                	push   $0x0
40e5d7:	ff 15 a0 c1 42 00    	call   *0x42c1a0
40e5dd:	50                   	push   %eax
40e5de:	ff 15 a4 c1 42 00    	call   *0x42c1a4
40e5e4:	8b 45 d8             	mov    -0x28(%ebp),%eax
40e5e7:	8b 4d f8             	mov    -0x8(%ebp),%ecx
40e5ea:	5f                   	pop    %edi
40e5eb:	5e                   	pop    %esi
40e5ec:	33 cd                	xor    %ebp,%ecx
40e5ee:	5b                   	pop    %ebx
40e5ef:	e8 ec 94 01 00       	call   0x427ae0
40e5f4:	c9                   	leave
40e5f5:	c2 0c 00             	ret    $0xc
40e5f8:	8b ff                	mov    %edi,%edi
40e5fa:	55                   	push   %ebp
40e5fb:	8b ec                	mov    %esp,%ebp
40e5fd:	b8 24 10 00 00       	mov    $0x1024,%eax
40e602:	e8 69 9d 01 00       	call   0x428370
40e607:	a1 74 b6 42 00       	mov    0x42b674,%eax
40e60c:	33 c5                	xor    %ebp,%eax
40e60e:	89 45 fc             	mov    %eax,-0x4(%ebp)
40e611:	8b 41 14             	mov    0x14(%ecx),%eax
40e614:	53                   	push   %ebx
40e615:	56                   	push   %esi
40e616:	33 f6                	xor    %esi,%esi
40e618:	89 95 e8 ef ff ff    	mov    %edx,-0x1018(%ebp)
40e61e:	21 b5 e4 ef ff ff    	and    %esi,-0x101c(%ebp)
40e624:	33 db                	xor    %ebx,%ebx
40e626:	57                   	push   %edi
40e627:	8b 79 1c             	mov    0x1c(%ecx),%edi
40e62a:	89 8d dc ef ff ff    	mov    %ecx,-0x1024(%ebp)
40e630:	66 3b 58 06          	cmp    0x6(%eax),%bx
40e634:	0f 83 2c 01 00 00    	jae    0x40e766
40e63a:	8b 5d 08             	mov    0x8(%ebp),%ebx
40e63d:	83 c7 04             	add    $0x4,%edi
40e640:	39 57 fc             	cmp    %edx,-0x4(%edi)
40e643:	0f 85 01 01 00 00    	jne    0x40e74a
40e649:	66 39 5f 08          	cmp    %bx,0x8(%edi)
40e64d:	0f 85 f7 00 00 00    	jne    0x40e74a
40e653:	f7 47 08 00 00 01 00 	testl  $0x10000,0x8(%edi)
40e65a:	74 0a                	je     0x40e666
40e65c:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)
40e660:	0f 84 e4 00 00 00    	je     0x40e74a
40e666:	8b 07                	mov    (%edi),%eax
40e668:	89 85 f0 ef ff ff    	mov    %eax,-0x1010(%ebp)
40e66e:	8b 47 04             	mov    0x4(%edi),%eax
40e671:	89 85 f4 ef ff ff    	mov    %eax,-0x100c(%ebp)
40e677:	8d 85 ec ef ff ff    	lea    -0x1014(%ebp),%eax
40e67d:	c7 85 ec ef ff ff 00 	movl   $0x1000,-0x1014(%ebp)
40e684:	10 00 00
40e687:	50                   	push   %eax
40e688:	8d 85 f8 ef ff ff    	lea    -0x1008(%ebp),%eax
40e68e:	50                   	push   %eax
40e68f:	8d 85 e0 ef ff ff    	lea    -0x1020(%ebp),%eax
40e695:	50                   	push   %eax
40e696:	51                   	push   %ecx
40e697:	8d 8d f0 ef ff ff    	lea    -0x1010(%ebp),%ecx
40e69d:	e8 c0 fb ff ff       	call   0x40e262
40e6a2:	8b f0                	mov    %eax,%esi
40e6a4:	85 f6                	test   %esi,%esi
40e6a6:	0f 85 86 00 00 00    	jne    0x40e732
40e6ac:	8a 85 ec ef ff ff    	mov    -0x1014(%ebp),%al
40e6b2:	8b b5 e8 ef ff ff    	mov    -0x1018(%ebp),%esi
40e6b8:	24 07                	and    $0x7,%al
40e6ba:	0f b6 c0             	movzbl %al,%eax
40e6bd:	f7 d8                	neg    %eax
40e6bf:	1b c0                	sbb    %eax,%eax
40e6c1:	33 c9                	xor    %ecx,%ecx
40e6c3:	f7 d0                	not    %eax
40e6c5:	23 85 ec ef ff ff    	and    -0x1014(%ebp),%eax
40e6cb:	8b d0                	mov    %eax,%edx
40e6cd:	89 85 ec ef ff ff    	mov    %eax,-0x1014(%ebp)
40e6d3:	c1 ea 03             	shr    $0x3,%edx
40e6d6:	85 d2                	test   %edx,%edx
40e6d8:	74 18                	je     0x40e6f2
40e6da:	39 b4 cd f8 ef ff ff 	cmp    %esi,-0x1008(%ebp,%ecx,8)
40e6e1:	75 0a                	jne    0x40e6ed
40e6e3:	66 39 9c cd fc ef ff 	cmp    %bx,-0x1004(%ebp,%ecx,8)
40e6ea:	ff
40e6eb:	74 27                	je     0x40e714
40e6ed:	41                   	inc    %ecx
40e6ee:	3b ca                	cmp    %edx,%ecx
40e6f0:	72 e8                	jb     0x40e6da
40e6f2:	8d 48 08             	lea    0x8(%eax),%ecx
40e6f5:	81 f9 00 10 00 00    	cmp    $0x1000,%ecx
40e6fb:	77 17                	ja     0x40e714
40e6fd:	8b c1                	mov    %ecx,%eax
40e6ff:	89 b4 d5 f8 ef ff ff 	mov    %esi,-0x1008(%ebp,%edx,8)
40e706:	66 89 9c d5 fc ef ff 	mov    %bx,-0x1004(%ebp,%edx,8)
40e70d:	ff
40e70e:	89 85 ec ef ff ff    	mov    %eax,-0x1014(%ebp)
40e714:	6a 01                	push   $0x1
40e716:	ff b5 e0 ef ff ff    	push   -0x1020(%ebp)
40e71c:	8d 95 f8 ef ff ff    	lea    -0x1008(%ebp),%edx
40e722:	51                   	push   %ecx
40e723:	51                   	push   %ecx
40e724:	50                   	push   %eax
40e725:	8d 8d f0 ef ff ff    	lea    -0x1010(%ebp),%ecx
40e72b:	e8 87 fb ff ff       	call   0x40e2b7
40e730:	8b f0                	mov    %eax,%esi
40e732:	81 fe 01 00 00 c0    	cmp    $0xc0000001,%esi
40e738:	0f 84 39 ff ff ff    	je     0x40e677
40e73e:	8b 95 e8 ef ff ff    	mov    -0x1018(%ebp),%edx
40e744:	8b 8d dc ef ff ff    	mov    -0x1024(%ebp),%ecx
40e74a:	8b 41 14             	mov    0x14(%ecx),%eax
40e74d:	83 c7 10             	add    $0x10,%edi
40e750:	ff 85 e4 ef ff ff    	incl   -0x101c(%ebp)
40e756:	0f b7 40 06          	movzwl 0x6(%eax),%eax
40e75a:	39 85 e4 ef ff ff    	cmp    %eax,-0x101c(%ebp)
40e760:	0f 82 da fe ff ff    	jb     0x40e640
40e766:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e769:	8b c6                	mov    %esi,%eax
40e76b:	5f                   	pop    %edi
40e76c:	5e                   	pop    %esi
40e76d:	33 cd                	xor    %ebp,%ecx
40e76f:	5b                   	pop    %ebx
40e770:	e8 6b 93 01 00       	call   0x427ae0
40e775:	c9                   	leave
40e776:	c2 08 00             	ret    $0x8
40e779:	8b ff                	mov    %edi,%edi
40e77b:	55                   	push   %ebp
40e77c:	8b ec                	mov    %esp,%ebp
40e77e:	83 e4 f8             	and    $0xfffffff8,%esp
40e781:	81 ec 04 01 00 00    	sub    $0x104,%esp
40e787:	a1 74 b6 42 00       	mov    0x42b674,%eax
40e78c:	33 c4                	xor    %esp,%eax
40e78e:	89 84 24 00 01 00 00 	mov    %eax,0x100(%esp)
40e795:	53                   	push   %ebx
40e796:	56                   	push   %esi
40e797:	57                   	push   %edi
40e798:	51                   	push   %ecx
40e799:	8d 44 24 44          	lea    0x44(%esp),%eax
40e79d:	8b fa                	mov    %edx,%edi
40e79f:	50                   	push   %eax
40e7a0:	8b d9                	mov    %ecx,%ebx
40e7a2:	33 d2                	xor    %edx,%edx
40e7a4:	51                   	push   %ecx
40e7a5:	8d 4c 24 18          	lea    0x18(%esp),%ecx
40e7a9:	e8 c1 fb ff ff       	call   0x40e36f
40e7ae:	8b f0                	mov    %eax,%esi
40e7b0:	85 f6                	test   %esi,%esi
40e7b2:	75 2b                	jne    0x40e7df
40e7b4:	ff 75 08             	push   0x8(%ebp)
40e7b7:	8b d3                	mov    %ebx,%edx
40e7b9:	8d 4c 24 10          	lea    0x10(%esp),%ecx
40e7bd:	57                   	push   %edi
40e7be:	e8 35 fe ff ff       	call   0x40e5f8
40e7c3:	83 7c 24 3c 00       	cmpl   $0x0,0x3c(%esp)
40e7c8:	8b f0                	mov    %eax,%esi
40e7ca:	74 13                	je     0x40e7df
40e7cc:	ff 74 24 30          	push   0x30(%esp)
40e7d0:	6a 00                	push   $0x0
40e7d2:	ff 15 a0 c1 42 00    	call   *0x42c1a0
40e7d8:	50                   	push   %eax
40e7d9:	ff 15 a4 c1 42 00    	call   *0x42c1a4
40e7df:	8b 8c 24 0c 01 00 00 	mov    0x10c(%esp),%ecx
40e7e6:	8b c6                	mov    %esi,%eax
40e7e8:	5f                   	pop    %edi
40e7e9:	5e                   	pop    %esi
40e7ea:	5b                   	pop    %ebx
40e7eb:	33 cc                	xor    %esp,%ecx
40e7ed:	e8 ee 92 01 00       	call   0x427ae0
40e7f2:	8b e5                	mov    %ebp,%esp
40e7f4:	5d                   	pop    %ebp
40e7f5:	c2 04 00             	ret    $0x4
40e7f8:	8b ff                	mov    %edi,%edi
40e7fa:	55                   	push   %ebp
40e7fb:	8b ec                	mov    %esp,%ebp
40e7fd:	51                   	push   %ecx