40b518:	8b 4e 40             	mov    0x40(%esi),%ecx
40b51b:	8b d7                	mov    %edi,%edx
40b51d:	e8 38 ff ff ff       	call   0x40b45a
40b522:	85 c0                	test   %eax,%eax
40b524:	75 7e                	jne    0x40b5a4
40b526:	8b 76 48             	mov    0x48(%esi),%esi
40b529:	e9 3e ff ff ff       	jmp    0x40b46c
40b52e:	83 f8 37             	cmp    $0x37,%eax
40b531:	0f 8e 4d ff ff ff    	jle    0x40b484
40b537:	83 f8 38             	cmp    $0x38,%eax
40b53a:	74 60                	je     0x40b59c
40b53c:	7e 81                	jle    0x40b4bf
40b53e:	83 f8 3a             	cmp    $0x3a,%eax
40b541:	0f 8e 3d ff ff ff    	jle    0x40b484
40b547:	e9 4c 18 01 00       	jmp    0x41cd98
40b54c:	57                   	push   %edi
40b54d:	53                   	push   %ebx
40b54e:	8d 56 3c             	lea    0x3c(%esi),%edx
40b551:	8b ce                	mov    %esi,%ecx
40b553:	e8 58 00 00 00       	call   0x40b5b0
40b558:	85 c0                	test   %eax,%eax
40b55a:	75 48                	jne    0x40b5a4
40b55c:	8b 76 40             	mov    0x40(%esi),%esi
40b55f:	e9 08 ff ff ff       	jmp    0x40b46c
40b564:	83 e8 01             	sub    $0x1,%eax
40b567:	0f 84 17 ff ff ff    	je     0x40b484
40b56d:	e9 4d ff ff ff       	jmp    0x40b4bf
40b572:	57                   	push   %edi
40b573:	50                   	push   %eax
40b574:	8d 53 04             	lea    0x4(%ebx),%edx
40b577:	8b ce                	mov    %esi,%ecx
40b579:	e8 32 00 00 00       	call   0x40b5b0
40b57e:	85 c0                	test   %eax,%eax
40b580:	75 22                	jne    0x40b5a4
40b582:	8b 44 24 0c          	mov    0xc(%esp),%eax
40b586:	8b 5b 14             	mov    0x14(%ebx),%ebx
40b589:	40                   	inc    %eax
40b58a:	89 44 24 0c          	mov    %eax,0xc(%esp)
40b58e:	83 f8 0c             	cmp    $0xc,%eax
40b591:	0f 8c 20 ff ff ff    	jl     0x40b4b7
40b597:	e9 23 ff ff ff       	jmp    0x40b4bf
40b59c:	8b 76 3c             	mov    0x3c(%esi),%esi
40b59f:	e9 c8 fe ff ff       	jmp    0x40b46c
40b5a4:	33 c0                	xor    %eax,%eax
40b5a6:	40                   	inc    %eax
40b5a7:	e9 15 ff ff ff       	jmp    0x40b4c1
40b5ac:	cc                   	int3
40b5ad:	cc                   	int3
40b5ae:	cc                   	int3
40b5af:	cc                   	int3
40b5b0:	8b ff                	mov    %edi,%edi
40b5b2:	55                   	push   %ebp
40b5b3:	8b ec                	mov    %esp,%ebp
40b5b5:	83 ec 1c             	sub    $0x1c,%esp
40b5b8:	53                   	push   %ebx
40b5b9:	56                   	push   %esi
40b5ba:	8b 32                	mov    (%edx),%esi
40b5bc:	89 55 e8             	mov    %edx,-0x18(%ebp)
40b5bf:	57                   	push   %edi
40b5c0:	85 f6                	test   %esi,%esi
40b5c2:	0f 84 a2 00 00 00    	je     0x40b66a
40b5c8:	8b 45 08             	mov    0x8(%ebp),%eax
40b5cb:	40                   	inc    %eax
40b5cc:	8d 04 81             	lea    (%ecx,%eax,4),%eax
40b5cf:	89 45 ec             	mov    %eax,-0x14(%ebp)
40b5d2:	8b 00                	mov    (%eax),%eax
40b5d4:	89 45 f8             	mov    %eax,-0x8(%ebp)
40b5d7:	85 c0                	test   %eax,%eax
40b5d9:	0f 84 5e 01 00 00    	je     0x40b73d
40b5df:	b9 02 40 00 00       	mov    $0x4002,%ecx
40b5e4:	8b f0                	mov    %eax,%esi
40b5e6:	e8 e5 26 00 00       	call   0x40dcd0
40b5eb:	8b d8                	mov    %eax,%ebx
40b5ed:	85 db                	test   %ebx,%ebx
40b5ef:	0f 84 27 18 01 00    	je     0x41ce1c
40b5f5:	8b 45 f8             	mov    -0x8(%ebp),%eax
40b5f8:	33 ff                	xor    %edi,%edi
40b5fa:	0f b7 08             	movzwl (%eax),%ecx
40b5fd:	66 85 c9             	test   %cx,%cx
40b600:	74 3e                	je     0x40b640
40b602:	8b c6                	mov    %esi,%eax
40b604:	83 c6 02             	add    $0x2,%esi
40b607:	89 45 f4             	mov    %eax,-0xc(%ebp)
40b60a:	81 ff 00 20 00 00    	cmp    $0x2000,%edi
40b610:	0f 8f 06 18 01 00    	jg     0x41ce1c
40b616:	66 83 f9 25          	cmp    $0x25,%cx
40b61a:	74 59                	je     0x40b675
40b61c:	66 89 0b             	mov    %cx,(%ebx)
40b61f:	8b f0                	mov    %eax,%esi
40b621:	83 c3 02             	add    $0x2,%ebx
40b624:	47                   	inc    %edi
40b625:	0f b7 4e 02          	movzwl 0x2(%esi),%ecx
40b629:	83 c6 02             	add    $0x2,%esi
40b62c:	66 85 c9             	test   %cx,%cx
40b62f:	75 d1                	jne    0x40b602
40b631:	81 ff 00 20 00 00    	cmp    $0x2000,%edi
40b637:	0f 8f df 17 01 00    	jg     0x41ce1c
40b63d:	8b 45 f8             	mov    -0x8(%ebp),%eax
40b640:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)
40b644:	0f 85 b4 00 00 00    	jne    0x40b6fe
40b64a:	8d 04 3f             	lea    (%edi,%edi,1),%eax
40b64d:	2b d8                	sub    %eax,%ebx
40b64f:	8d 14 bd 04 00 00 00 	lea    0x4(,%edi,4),%edx
40b656:	8b cb                	mov    %ebx,%ecx
40b658:	e8 c3 26 00 00       	call   0x40dd20
40b65d:	8b 4d e8             	mov    -0x18(%ebp),%ecx
40b660:	89 01                	mov    %eax,(%ecx)
40b662:	85 c0                	test   %eax,%eax
40b664:	0f 84 b2 17 01 00    	je     0x41ce1c
40b66a:	33 c0                	xor    %eax,%eax
40b66c:	5f                   	pop    %edi
40b66d:	5e                   	pop    %esi
40b66e:	5b                   	pop    %ebx
40b66f:	8b e5                	mov    %ebp,%esp
40b671:	5d                   	pop    %ebp
40b672:	c2 08 00             	ret    $0x8
40b675:	0f b7 16             	movzwl (%esi),%edx
40b678:	66 85 d2             	test   %dx,%dx
40b67b:	74 9f                	je     0x40b61c
40b67d:	83 fa 25             	cmp    $0x25,%edx
40b680:	74 9a                	je     0x40b61c
40b682:	80 3d 55 67 43 00 00 	cmpb   $0x0,0x436755
40b689:	74 7d                	je     0x40b708
40b68b:	ff 35 3c 67 43 00    	push   0x43673c
40b691:	8d 45 fc             	lea    -0x4(%ebp),%eax
40b694:	8b d6                	mov    %esi,%edx
40b696:	ff 35 40 67 43 00    	push   0x436740
40b69c:	33 c9                	xor    %ecx,%ecx
40b69e:	50                   	push   %eax
40b69f:	e8 5f 37 00 00       	call   0x40ee03
40b6a4:	89 45 f0             	mov    %eax,-0x10(%ebp)
40b6a7:	85 c0                	test   %eax,%eax
40b6a9:	74 5d                	je     0x40b708
40b6ab:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40b6ae:	8b 55 f4             	mov    -0xc(%ebp),%edx
40b6b1:	8d 34 4a             	lea    (%edx,%ecx,2),%esi
40b6b4:	8b c8                	mov    %eax,%ecx
40b6b6:	8d 51 02             	lea    0x2(%ecx),%edx
40b6b9:	8d a4 24 00 00 00 00 	lea    0x0(%esp),%esp
40b6c0:	66 8b 01             	mov    (%ecx),%ax
40b6c3:	83 c1 02             	add    $0x2,%ecx
40b6c6:	66 85 c0             	test   %ax,%ax
40b6c9:	75 f5                	jne    0x40b6c0
40b6cb:	2b ca                	sub    %edx,%ecx
40b6cd:	d1 f9                	sar    $1,%ecx
40b6cf:	89 4d fc             	mov    %ecx,-0x4(%ebp)
40b6d2:	8d 04 39             	lea    (%ecx,%edi,1),%eax
40b6d5:	3d 00 20 00 00       	cmp    $0x2000,%eax
40b6da:	0f 8f 3c 17 01 00    	jg     0x41ce1c
40b6e0:	ff 75 f0             	push   -0x10(%ebp)
40b6e3:	ba 01 20 00 00       	mov    $0x2001,%edx
40b6e8:	8b cb                	mov    %ebx,%ecx
40b6ea:	2b d7                	sub    %edi,%edx
40b6ec:	e8 af 3c 00 00       	call   0x40f3a0
40b6f1:	8b 45 fc             	mov    -0x4(%ebp),%eax
40b6f4:	03 f8                	add    %eax,%edi
40b6f6:	8d 1c 43             	lea    (%ebx,%eax,2),%ebx
40b6f9:	e9 27 ff ff ff       	jmp    0x40b625
40b6fe:	8b 4d ec             	mov    -0x14(%ebp),%ecx
40b701:	89 01                	mov    %eax,(%ecx)
40b703:	e9 42 ff ff ff       	jmp    0x40b64a
40b708:	0f b7 06             	movzwl (%esi),%eax
40b70b:	8b 0d 40 67 43 00    	mov    0x436740,%ecx
40b711:	8b d0                	mov    %eax,%edx
40b713:	89 45 f0             	mov    %eax,-0x10(%ebp)
40b716:	e8 da 4a 00 00       	call   0x4101f5
40b71b:	85 c0                	test   %eax,%eax
40b71d:	0f 85 bc 16 01 00    	jne    0x41cddf
40b723:	b8 25 00 00 00       	mov    $0x25,%eax
40b728:	66 89 03             	mov    %ax,(%ebx)
40b72b:	8b 45 f0             	mov    -0x10(%ebp),%eax
40b72e:	66 89 43 02          	mov    %ax,0x2(%ebx)
40b732:	83 c3 04             	add    $0x4,%ebx
40b735:	83 c7 02             	add    $0x2,%edi
40b738:	e9 e8 fe ff ff       	jmp    0x40b625
40b73d:	83 7d 0c 00          	cmpl   $0x0,0xc(%ebp)
40b741:	0f 84 8d 16 01 00    	je     0x41cdd4
40b747:	8b c6                	mov    %esi,%eax
40b749:	89 75 f8             	mov    %esi,-0x8(%ebp)
40b74c:	e9 8e fe ff ff       	jmp    0x40b5df
40b751:	cc                   	int3
40b752:	cc                   	int3
40b753:	cc                   	int3
40b754:	cc                   	int3
40b755:	cc                   	int3
40b756:	cc                   	int3
40b757:	cc                   	int3
40b758:	cc                   	int3
40b759:	cc                   	int3
40b75a:	cc                   	int3
40b75b:	cc                   	int3
40b75c:	cc                   	int3
40b75d:	cc                   	int3
40b75e:	cc                   	int3
40b75f:	cc                   	int3
40b760:	8b ff                	mov    %edi,%edi
40b762:	55                   	push   %ebp
40b763:	8b ec                	mov    %esp,%ebp
40b765:	83 e4 f8             	and    $0xfffffff8,%esp
40b768:	81 ec 34 02 00 00    	sub    $0x234,%esp
40b76e:	a1 b4 e0 42 00       	mov    0x42e0b4,%eax
40b773:	33 c4                	xor    %esp,%eax
40b775:	89 84 24 30 02 00 00 	mov    %eax,0x230(%esp)
40b77c:	53                   	push   %ebx
40b77d:	56                   	push   %esi
40b77e:	57                   	push   %edi
40b77f:	8b d9                	mov    %ecx,%ebx
40b781:	89 54 24 18          	mov    %edx,0x18(%esp)
40b785:	33 f6                	xor    %esi,%esi
40b787:	33 c0                	xor    %eax,%eax
40b789:	bf 01 00 00 00       	mov    $0x1,%edi
40b78e:	89 74 24 10          	mov    %esi,0x10(%esp)
40b792:	89 7c 24 14          	mov    %edi,0x14(%esp)
40b796:	89 44 24 1c          	mov    %eax,0x1c(%esp)
40b79a:	39 1d 48 67 43 00    	cmp    %ebx,0x436748
40b7a0:	0f 85 a9 17 01 00    	jne    0x41cf4f
40b7a6:	eb 08                	jmp    0x40b7b0
40b7a8:	8d a4 24 00 00 00 00 	lea    0x0(%esp),%esp
40b7af:	90                   	nop
40b7b0:	83 3d 9c 25 43 00 00 	cmpl   $0x0,0x43259c
40b7b7:	0f 85 69 16 01 00    	jne    0x41ce26
40b7bd:	80 3d 55 67 43 00 00 	cmpb   $0x0,0x436755
40b7c4:	c6 05 44 67 43 00 00 	movb   $0x0,0x436744
40b7cb:	74 08                	je     0x40b7d5
40b7cd:	85 ff                	test   %edi,%edi
40b7cf:	0f 85 d9 01 00 00    	jne    0x40b9ae
40b7d5:	8b cb                	mov    %ebx,%ecx
40b7d7:	e8 96 2a 00 00       	call   0x40e272
40b7dc:	8b f8                	mov    %eax,%edi
40b7de:	83 ff ff             	cmp    $0xffffffff,%edi
40b7e1:	0f 84 1c 17 01 00    	je     0x41cf03
40b7e7:	ff 73 10             	push   0x10(%ebx)
40b7ea:	8b d7                	mov    %edi,%edx
40b7ec:	b9 03 00 00 00       	mov    $0x3,%ecx
40b7f1:	e8 7a 0d 00 00       	call   0x40c570
40b7f6:	57                   	push   %edi
40b7f7:	8b f0                	mov    %eax,%esi
40b7f9:	ff 15 28 a3 44 00    	call   *0x44a328
40b7ff:	89 43 08             	mov    %eax,0x8(%ebx)
40b802:	83 c4 04             	add    $0x4,%esp
40b805:	8d 47 fd             	lea    -0x3(%edi),%eax
40b808:	33 c9                	xor    %ecx,%ecx
40b80a:	8b d7                	mov    %edi,%edx
40b80c:	83 f8 5b             	cmp    $0x5b,%eax
40b80f:	77 1a                	ja     0x40b82b
40b811:	83 ff 1f             	cmp    $0x1f,%edi
40b814:	0f 87 1a 16 01 00    	ja     0x41ce34
40b81a:	8b 04 8d ac 67 43 00 	mov    0x4367ac(,%ecx,4),%eax
40b821:	0f b3 d0             	btr    %edx,%eax
40b824:	89 04 8d ac 67 43 00 	mov    %eax,0x4367ac(,%ecx,4)
40b82b:	57                   	push   %edi
40b82c:	ff 15 84 a3 44 00    	call   *0x44a384
40b832:	83 c4 04             	add    $0x4,%esp
40b835:	85 f6                	test   %esi,%esi
40b837:	0f 84 52 01 00 00    	je     0x40b98f
40b83d:	83 fe 01             	cmp    $0x1,%esi
40b840:	0f 84 c7 16 01 00    	je     0x41cf0d
40b846:	81 3d ec 65 43 00 4a 	cmpl   $0x234a,0x4365ec
40b84d:	23 00 00
40b850:	0f 84 b7 16 01 00    	je     0x41cf0d
40b856:	83 fe ff             	cmp    $0xffffffff,%esi
40b859:	0f 84 36 01 00 00    	je     0x40b995
40b85f:	8b 7c 24 14          	mov    0x14(%esp),%edi
40b863:	8b 54 24 1c          	mov    0x1c(%esp),%edx
40b867:	85 ff                	test   %edi,%edi
40b869:	0f 85 af 01 00 00    	jne    0x40ba1e
40b86f:	8b 0e                	mov    (%esi),%ecx
40b871:	85 c9                	test   %ecx,%ecx
40b873:	75 0d                	jne    0x40b882
40b875:	8b 46 38             	mov    0x38(%esi),%eax
40b878:	66 83 38 3a          	cmpw   $0x3a,(%eax)
40b87c:	0f 84 0d 01 00 00    	je     0x40b98f
40b882:	85 d2                	test   %edx,%edx
40b884:	0f 85 a7 01 00 00    	jne    0x40ba31
40b88a:	83 3d c0 e0 42 00 01 	cmpl   $0x1,0x42e0c0
40b891:	8b c1                	mov    %ecx,%eax
40b893:	0f 84 fc 01 00 00    	je     0x40ba95
40b899:	83 f8 3b             	cmp    $0x3b,%eax
40b89c:	0f 84 9c 01 00 00    	je     0x40ba3e
40b8a2:	68 04 01 00 00       	push   $0x104
40b8a7:	8d 44 24 24          	lea    0x24(%esp),%eax
40b8ab:	c7 84 24 2c 02 00 00 	movl   $0x0,0x22c(%esp)
40b8b2:	00 00 00 00
40b8b6:	6a 00                	push   $0x0
40b8b8:	50                   	push   %eax
40b8b9:	c6 84 24 38 02 00 00 	movb   $0x1,0x238(%esp)
40b8c0:	01
40b8c1:	c7 84 24 3c 02 00 00 	movl   $0x104,0x23c(%esp)
40b8c8:	04 01 00 00
40b8cc:	e8 ec c6 00 00       	call   0x417fbd
40b8d1:	83 c4 0c             	add    $0xc,%esp
40b8d4:	80 bc 24 2c 02 00 00 	cmpb   $0x0,0x22c(%esp)
40b8db:	00
40b8dc:	0f 84 99 15 01 00    	je     0x41ce7b
40b8e2:	b8 e7 7f 00 00       	mov    $0x7fe7,%eax
40b8e7:	50                   	push   %eax
40b8e8:	8d 4c 24 24          	lea    0x24(%esp),%ecx
40b8ec:	e8 ff 2a 00 00       	call   0x40e3f0
40b8f1:	85 c0                	test   %eax,%eax
40b8f3:	0f 88 01 16 01 00    	js     0x41cefa
40b8f9:	85 f6                	test   %esi,%esi
40b8fb:	0f 84 84 15 01 00    	je     0x41ce85
40b901:	83 3e 00             	cmpl   $0x0,(%esi)
40b904:	75 1b                	jne    0x40b921
40b906:	8b 56 38             	mov    0x38(%esi),%edx
40b909:	8d 44 24 10          	lea    0x10(%esp),%eax
40b90d:	50                   	push   %eax
40b90e:	b9 2a 00 00 00       	mov    $0x2a,%ecx
40b913:	e8 78 34 00 00       	call   0x40ed90
40b918:	83 f8 ff             	cmp    $0xffffffff,%eax
40b91b:	0f 84 25 01 00 00    	je     0x40ba46
40b921:	8b d6                	mov    %esi,%edx
40b923:	b9 02 00 00 00       	mov    $0x2,%ecx
40b928:	e8 43 2b 00 00       	call   0x40e470
40b92d:	89 44 24 10          	mov    %eax,0x10(%esp)
40b931:	e8 da 29 00 00       	call   0x40e310
40b936:	ff 15 1c a0 44 00    	call   *0x44a01c
40b93c:	68 f0 c9 43 00       	push   $0x43c9f0
40b941:	50                   	push   %eax
40b942:	a3 a0 25 43 00       	mov    %eax,0x4325a0
40b947:	ff 15 9c a1 44 00    	call   *0x44a19c
40b94d:	e8 5d 29 00 00       	call   0x40e2af
40b952:	8b 74 24 10          	mov    0x10(%esp),%esi
40b956:	8b 84 24 28 02 00 00 	mov    0x228(%esp),%eax
40b95d:	c7 84 24 28 02 00 00 	movl   $0x0,0x228(%esp)
40b964:	00 00 00 00
40b968:	85 c0                	test   %eax,%eax
40b96a:	74 0a                	je     0x40b976
40b96c:	50                   	push   %eax
40b96d:	ff 15 e0 a3 44 00    	call   *0x44a3e0
40b973:	83 c4 04             	add    $0x4,%esp
40b976:	39 1d 48 67 43 00    	cmp    %ebx,0x436748
40b97c:	0f 85 cd 15 01 00    	jne    0x41cf4f
40b982:	8b 7c 24 14          	mov    0x14(%esp),%edi
40b986:	8b 54 24 18          	mov    0x18(%esp),%edx
40b98a:	e9 21 fe ff ff       	jmp    0x40b7b0
40b98f:	8b 74 24 10          	mov    0x10(%esp),%esi
40b993:	eb e1                	jmp    0x40b976
40b995:	8b 44 24 10          	mov    0x10(%esp),%eax
40b999:	8b 8c 24 3c 02 00 00 	mov    0x23c(%esp),%ecx
40b9a0:	5f                   	pop    %edi
40b9a1:	5e                   	pop    %esi
40b9a2:	5b                   	pop    %ebx
40b9a3:	33 cc                	xor    %esp,%ecx
40b9a5:	e8 86 b1 00 00       	call   0x416b30
40b9aa:	8b e5                	mov    %ebp,%esp
40b9ac:	5d                   	pop    %ebp
40b9ad:	c3                   	ret
40b9ae:	8b 42 38             	mov    0x38(%edx),%eax
40b9b1:	66 83 38 3a          	cmpw   $0x3a,(%eax)