40e7c3:	5d                   	pop    %ebp
40e7c4:	c3                   	ret
40e7c5:	8d 40 00             	lea    0x0(%eax),%eax
40e7c8:	85 c0                	test   %eax,%eax
40e7ca:	74 05                	je     0x40e7d1
40e7cc:	e8 a3 fd ff ff       	call   0x40e574
40e7d1:	c3                   	ret
40e7d2:	8b c0                	mov    %eax,%eax
40e7d4:	53                   	push   %ebx
40e7d5:	85 c0                	test   %eax,%eax
40e7d7:	74 2c                	je     0x40e805
40e7d9:	8b d8                	mov    %eax,%ebx
40e7db:	81 eb 05 00 02 80    	sub    $0x80020005,%ebx
40e7e1:	74 07                	je     0x40e7ea
40e7e3:	83 eb 05             	sub    $0x5,%ebx
40e7e6:	74 0d                	je     0x40e7f5
40e7e8:	eb 16                	jmp    0x40e800
40e7ea:	8b c2                	mov    %edx,%eax
40e7ec:	8b d1                	mov    %ecx,%edx
40e7ee:	e8 a1 fb ff ff       	call   0x40e394
40e7f3:	eb 10                	jmp    0x40e805
40e7f5:	8b c2                	mov    %edx,%eax
40e7f7:	8b d1                	mov    %ecx,%edx
40e7f9:	e8 86 fc ff ff       	call   0x40e484
40e7fe:	eb 05                	jmp    0x40e805
40e800:	e8 6f fd ff ff       	call   0x40e574
40e805:	5b                   	pop    %ebx
40e806:	c3                   	ret
40e807:	90                   	nop
40e808:	55                   	push   %ebp
40e809:	8b ec                	mov    %esp,%ebp
40e80b:	6a 00                	push   $0x0
40e80d:	33 c0                	xor    %eax,%eax
40e80f:	55                   	push   %ebp
40e810:	68 52 e8 40 00       	push   $0x40e852
40e815:	64 ff 30             	push   %fs:(%eax)
40e818:	64 89 20             	mov    %esp,%fs:(%eax)
40e81b:	8d 55 fc             	lea    -0x4(%ebp),%edx
40e81e:	a1 e8 d9 46 00       	mov    0x46d9e8,%eax
40e823:	e8 d4 72 ff ff       	call   0x405afc
40e828:	8b 4d fc             	mov    -0x4(%ebp),%ecx
40e82b:	b2 01                	mov    $0x1,%dl
40e82d:	a1 dc e2 40 00       	mov    0x40e2dc,%eax
40e832:	e8 31 cd ff ff       	call   0x40b568
40e837:	e8 98 51 ff ff       	call   0x4039d4
40e83c:	33 c0                	xor    %eax,%eax
40e83e:	5a                   	pop    %edx
40e83f:	59                   	pop    %ecx
40e840:	59                   	pop    %ecx
40e841:	64 89 10             	mov    %edx,%fs:(%eax)
40e844:	68 59 e8 40 00       	push   $0x40e859
40e849:	8d 45 fc             	lea    -0x4(%ebp),%eax
40e84c:	e8 47 57 ff ff       	call   0x403f98
40e851:	c3                   	ret
40e852:	e9 45 51 ff ff       	jmp    0x40399c
40e857:	eb f0                	jmp    0x40e849
40e859:	59                   	pop    %ecx
40e85a:	5d                   	pop    %ebp
40e85b:	c3                   	ret
40e85c:	53                   	push   %ebx
40e85d:	8b d8                	mov    %eax,%ebx
40e85f:	8b c3                	mov    %ebx,%eax
40e861:	e8 8e 02 00 00       	call   0x40eaf4
40e866:	66 c7 03 01 00       	movw   $0x1,(%ebx)
40e86b:	5b                   	pop    %ebx
40e86c:	c3                   	ret
40e86d:	8d 40 00             	lea    0x0(%eax),%eax
40e870:	55                   	push   %ebp
40e871:	8b ec                	mov    %esp,%ebp
40e873:	53                   	push   %ebx
40e874:	8b 4d 08             	mov    0x8(%ebp),%ecx
40e877:	81 c1 00 fd ff ff    	add    $0xfffffd00,%ecx
40e87d:	8b 54 c1 04          	mov    0x4(%ecx,%eax,8),%edx
40e881:	03 14 c1             	add    (%ecx,%eax,8),%edx
40e884:	8b 5d 08             	mov    0x8(%ebp),%ebx
40e887:	3b 94 83 00 ff ff ff 	cmp    -0x100(%ebx,%eax,4),%edx
40e88e:	0f 9f c2             	setg   %dl
40e891:	48                   	dec    %eax
40e892:	84 d2                	test   %dl,%dl
40e894:	74 04                	je     0x40e89a
40e896:	85 c0                	test   %eax,%eax
40e898:	7d e3                	jge    0x40e87d
40e89a:	8b c2                	mov    %edx,%eax
40e89c:	5b                   	pop    %ebx
40e89d:	5d                   	pop    %ebp
40e89e:	c3                   	ret
40e89f:	90                   	nop
40e8a0:	55                   	push   %ebp
40e8a1:	8b ec                	mov    %esp,%ebp
40e8a3:	53                   	push   %ebx
40e8a4:	56                   	push   %esi
40e8a5:	b2 01                	mov    $0x1,%dl
40e8a7:	8b 4d 08             	mov    0x8(%ebp),%ecx
40e8aa:	ff 84 81 00 ff ff ff 	incl   -0x100(%ecx,%eax,4)
40e8b1:	8b 4d 08             	mov    0x8(%ebp),%ecx
40e8b4:	8b 8c c1 04 fd ff ff 	mov    -0x2fc(%ecx,%eax,8),%ecx
40e8bb:	8b d9                	mov    %ecx,%ebx
40e8bd:	8b 75 08             	mov    0x8(%ebp),%esi
40e8c0:	03 9c c6 00 fd ff ff 	add    -0x300(%esi,%eax,8),%ebx
40e8c7:	8b 75 08             	mov    0x8(%ebp),%esi
40e8ca:	3b 9c 86 00 ff ff ff 	cmp    -0x100(%esi,%eax,4),%ebx
40e8d1:	7f 22                	jg     0x40e8f5
40e8d3:	85 c0                	test   %eax,%eax
40e8d5:	75 04                	jne    0x40e8db
40e8d7:	33 d2                	xor    %edx,%edx
40e8d9:	eb 1a                	jmp    0x40e8f5
40e8db:	8b 55 08             	mov    0x8(%ebp),%edx
40e8de:	8b 55 08             	mov    0x8(%ebp),%edx
40e8e1:	89 8c 82 00 ff ff ff 	mov    %ecx,-0x100(%edx,%eax,4)
40e8e8:	8b 55 08             	mov    0x8(%ebp),%edx
40e8eb:	52                   	push   %edx
40e8ec:	48                   	dec    %eax
40e8ed:	e8 ae ff ff ff       	call   0x40e8a0
40e8f2:	59                   	pop    %ecx
40e8f3:	8b d0                	mov    %eax,%edx
40e8f5:	8b c2                	mov    %edx,%eax
40e8f7:	5e                   	pop    %esi
40e8f8:	5b                   	pop    %ebx
40e8f9:	5d                   	pop    %ebp
40e8fa:	c3                   	ret
40e8fb:	90                   	nop
40e8fc:	55                   	push   %ebp
40e8fd:	8b ec                	mov    %esp,%ebp
40e8ff:	81 c4 e8 fc ff ff    	add    $0xfffffce8,%esp
40e905:	53                   	push   %ebx
40e906:	56                   	push   %esi
40e907:	57                   	push   %edi
40e908:	89 85 fc fc ff ff    	mov    %eax,-0x304(%ebp)
40e90e:	8b 85 fc fc ff ff    	mov    -0x304(%ebp),%eax
40e914:	f6 40 01 20          	testb  $0x20,0x1(%eax)
40e918:	75 0a                	jne    0x40e924
40e91a:	b8 57 00 07 80       	mov    $0x80070057,%eax
40e91f:	e8 a4 fe ff ff       	call   0x40e7c8
40e924:	8b 85 fc fc ff ff    	mov    -0x304(%ebp),%eax
40e92a:	66 8b 00             	mov    (%eax),%ax
40e92d:	8b d0                	mov    %eax,%edx
40e92f:	66 81 e2 ff 0f       	and    $0xfff,%dx
40e934:	66 83 fa 0c          	cmp    $0xc,%dx
40e938:	0f 85 22 01 00 00    	jne    0x40ea60
40e93e:	8b 95 fc fc ff ff    	mov    -0x304(%ebp),%edx
40e944:	f6 c4 40             	test   $0x40,%ah
40e947:	74 13                	je     0x40e95c
40e949:	8b 85 fc fc ff ff    	mov    -0x304(%ebp),%eax
40e94f:	8b 40 08             	mov    0x8(%eax),%eax
40e952:	8b 00                	mov    (%eax),%eax
40e954:	89 85 f8 fc ff ff    	mov    %eax,-0x308(%ebp)
40e95a:	eb 0f                	jmp    0x40e96b
40e95c:	8b 85 fc fc ff ff    	mov    -0x304(%ebp),%eax
40e962:	8b 40 08             	mov    0x8(%eax),%eax
40e965:	89 85 f8 fc ff ff    	mov    %eax,-0x308(%ebp)
40e96b:	8b 85 f8 fc ff ff    	mov    -0x308(%ebp),%eax
40e971:	0f b7 00             	movzwl (%eax),%eax
40e974:	89 85 f0 fc ff ff    	mov    %eax,-0x310(%ebp)
40e97a:	8b 9d f0 fc ff ff    	mov    -0x310(%ebp),%ebx
40e980:	4b                   	dec    %ebx
40e981:	85 db                	test   %ebx,%ebx
40e983:	7c 6b                	jl     0x40e9f0
40e985:	43                   	inc    %ebx
40e986:	33 ff                	xor    %edi,%edi
40e988:	8d b5 00 fd ff ff    	lea    -0x300(%ebp),%esi
40e98e:	8b c6                	mov    %esi,%eax
40e990:	89 85 e8 fc ff ff    	mov    %eax,-0x318(%ebp)
40e996:	8b 85 e8 fc ff ff    	mov    -0x318(%ebp),%eax
40e99c:	83 c0 04             	add    $0x4,%eax
40e99f:	50                   	push   %eax
40e9a0:	8d 47 01             	lea    0x1(%edi),%eax
40e9a3:	50                   	push   %eax
40e9a4:	8b 85 f8 fc ff ff    	mov    -0x308(%ebp),%eax
40e9aa:	50                   	push   %eax
40e9ab:	e8 28 f0 ff ff       	call   0x40d9d8
40e9b0:	e8 13 fe ff ff       	call   0x40e7c8
40e9b5:	8d 85 f4 fc ff ff    	lea    -0x30c(%ebp),%eax
40e9bb:	50                   	push   %eax
40e9bc:	8d 47 01             	lea    0x1(%edi),%eax
40e9bf:	50                   	push   %eax
40e9c0:	8b 85 f8 fc ff ff    	mov    -0x308(%ebp),%eax
40e9c6:	50                   	push   %eax
40e9c7:	e8 14 f0 ff ff       	call   0x40d9e0
40e9cc:	e8 f7 fd ff ff       	call   0x40e7c8
40e9d1:	8b 85 e8 fc ff ff    	mov    -0x318(%ebp),%eax
40e9d7:	8b 95 f4 fc ff ff    	mov    -0x30c(%ebp),%edx
40e9dd:	2b 50 04             	sub    0x4(%eax),%edx
40e9e0:	42                   	inc    %edx
40e9e1:	8b 85 e8 fc ff ff    	mov    -0x318(%ebp),%eax
40e9e7:	89 10                	mov    %edx,(%eax)
40e9e9:	47                   	inc    %edi
40e9ea:	83 c6 08             	add    $0x8,%esi
40e9ed:	4b                   	dec    %ebx
40e9ee:	75 9e                	jne    0x40e98e
40e9f0:	8b 9d f0 fc ff ff    	mov    -0x310(%ebp),%ebx
40e9f6:	4b                   	dec    %ebx
40e9f7:	85 db                	test   %ebx,%ebx
40e9f9:	7c 1a                	jl     0x40ea15
40e9fb:	43                   	inc    %ebx
40e9fc:	8d 85 04 fd ff ff    	lea    -0x2fc(%ebp),%eax
40ea02:	8d 95 00 ff ff ff    	lea    -0x100(%ebp),%edx
40ea08:	8b 08                	mov    (%eax),%ecx
40ea0a:	89 0a                	mov    %ecx,(%edx)
40ea0c:	83 c2 04             	add    $0x4,%edx
40ea0f:	83 c0 08             	add    $0x8,%eax
40ea12:	4b                   	dec    %ebx
40ea13:	75 f3                	jne    0x40ea08
40ea15:	55                   	push   %ebp
40ea16:	8b 9d f0 fc ff ff    	mov    -0x310(%ebp),%ebx
40ea1c:	4b                   	dec    %ebx
40ea1d:	8b c3                	mov    %ebx,%eax
40ea1f:	e8 4c fe ff ff       	call   0x40e870
40ea24:	59                   	pop    %ecx
40ea25:	84 c0                	test   %al,%al
40ea27:	74 2a                	je     0x40ea53
40ea29:	8d 85 ec fc ff ff    	lea    -0x314(%ebp),%eax
40ea2f:	50                   	push   %eax
40ea30:	8d 85 00 ff ff ff    	lea    -0x100(%ebp),%eax
40ea36:	50                   	push   %eax
40ea37:	8b 85 f8 fc ff ff    	mov    -0x308(%ebp),%eax
40ea3d:	50                   	push   %eax
40ea3e:	e8 a5 ef ff ff       	call   0x40d9e8
40ea43:	e8 80 fd ff ff       	call   0x40e7c8
40ea48:	8b 85 ec fc ff ff    	mov    -0x314(%ebp),%eax
40ea4e:	e8 a1 00 00 00       	call   0x40eaf4
40ea53:	55                   	push   %ebp
40ea54:	8b c3                	mov    %ebx,%eax
40ea56:	e8 45 fe ff ff       	call   0x40e8a0
40ea5b:	59                   	pop    %ecx
40ea5c:	84 c0                	test   %al,%al
40ea5e:	75 b5                	jne    0x40ea15
40ea60:	8b 85 fc fc ff ff    	mov    -0x304(%ebp),%eax
40ea66:	50                   	push   %eax
40ea67:	e8 08 eb ff ff       	call   0x40d574
40ea6c:	e8 57 fd ff ff       	call   0x40e7c8
40ea71:	5f                   	pop    %edi
40ea72:	5e                   	pop    %esi
40ea73:	5b                   	pop    %ebx
40ea74:	8b e5                	mov    %ebp,%esp
40ea76:	5d                   	pop    %ebp
40ea77:	c3                   	ret
40ea78:	53                   	push   %ebx
40ea79:	56                   	push   %esi
40ea7a:	51                   	push   %ecx
40ea7b:	8b d8                	mov    %eax,%ebx
40ea7d:	66 8b 33             	mov    (%ebx),%si
40ea80:	66 83 fe 14          	cmp    $0x14,%si
40ea84:	73 0d                	jae    0x40ea93
40ea86:	53                   	push   %ebx
40ea87:	e8 e8 ea ff ff       	call   0x40d574
40ea8c:	e8 37 fd ff ff       	call   0x40e7c8
40ea91:	eb 5b                	jmp    0x40eaee
40ea93:	66 81 fe 00 01       	cmp    $0x100,%si
40ea98:	75 0f                	jne    0x40eaa9
40ea9a:	66 c7 03 00 00       	movw   $0x0,(%ebx)
40ea9f:	8d 43 08             	lea    0x8(%ebx),%eax
40eaa2:	e8 f1 54 ff ff       	call   0x403f98
40eaa7:	eb 45                	jmp    0x40eaee
40eaa9:	66 81 fe 01 01       	cmp    $0x101,%si
40eaae:	75 0a                	jne    0x40eaba
40eab0:	8b c3                	mov    %ebx,%eax
40eab2:	ff 15 10 e8 46 00    	call   *0x46e810
40eab8:	eb 34                	jmp    0x40eaee
40eaba:	66 f7 c6 00 20       	test   $0x2000,%si
40eabf:	74 09                	je     0x40eaca
40eac1:	8b c3                	mov    %ebx,%eax
40eac3:	e8 34 fe ff ff       	call   0x40e8fc
40eac8:	eb 24                	jmp    0x40eaee
40eaca:	8b d4                	mov    %esp,%edx
40eacc:	8b c6                	mov    %esi,%eax
40eace:	e8 0d 1a 00 00       	call   0x4104e0
40ead3:	84 c0                	test   %al,%al
40ead5:	74 0c                	je     0x40eae3
40ead7:	8b d3                	mov    %ebx,%edx
40ead9:	8b 04 24             	mov    (%esp),%eax
40eadc:	8b 08                	mov    (%eax),%ecx
40eade:	ff 51 24             	call   *0x24(%ecx)
40eae1:	eb 0b                	jmp    0x40eaee
40eae3:	53                   	push   %ebx
40eae4:	e8 8b ea ff ff       	call   0x40d574
40eae9:	e8 da fc ff ff       	call   0x40e7c8
40eaee:	5a                   	pop    %edx
40eaef:	5e                   	pop    %esi
40eaf0:	5b                   	pop    %ebx
40eaf1:	c3                   	ret
40eaf2:	8b c0                	mov    %eax,%eax
40eaf4:	66 f7 00 e8 bf       	testw  $0xbfe8,(%eax)
40eaf9:	75 06                	jne    0x40eb01
40eafb:	66 c7 00 00 00       	movw   $0x0,(%eax)
40eb00:	c3                   	ret
40eb01:	e8 72 ff ff ff       	call   0x40ea78
40eb06:	c3                   	ret
40eb07:	90                   	nop
40eb08:	50                   	push   %eax
40eb09:	e8 e6 ff ff ff       	call   0x40eaf4
40eb0e:	58                   	pop    %eax
40eb0f:	c3                   	ret
40eb10:	55                   	push   %ebp
40eb11:	8b ec                	mov    %esp,%ebp
40eb13:	53                   	push   %ebx
40eb14:	8b 4d 08             	mov    0x8(%ebp),%ecx
40eb17:	81 c1 00 fd ff ff    	add    $0xfffffd00,%ecx
40eb1d:	8b 54 c1 04          	mov    0x4(%ecx,%eax,8),%edx
40eb21:	03 14 c1             	add    (%ecx,%eax,8),%edx
40eb24:	8b 5d 08             	mov    0x8(%ebp),%ebx
40eb27:	3b 94 83 00 ff ff ff 	cmp    -0x100(%ebx,%eax,4),%edx
40eb2e:	0f 9f c2             	setg   %dl
40eb31:	48                   	dec    %eax
40eb32:	84 d2                	test   %dl,%dl
40eb34:	74 04                	je     0x40eb3a
40eb36:	85 c0                	test   %eax,%eax
40eb38:	7d e3                	jge    0x40eb1d
40eb3a:	8b c2                	mov    %edx,%eax
40eb3c:	5b                   	pop    %ebx
40eb3d:	5d                   	pop    %ebp
40eb3e:	c3                   	ret
40eb3f:	90                   	nop
40eb40:	55                   	push   %ebp
40eb41:	8b ec                	mov    %esp,%ebp
40eb43:	53                   	push   %ebx
40eb44:	56                   	push   %esi
40eb45:	b2 01                	mov    $0x1,%dl
40eb47:	8b 4d 08             	mov    0x8(%ebp),%ecx
40eb4a:	ff 84 81 00 ff ff ff 	incl   -0x100(%ecx,%eax,4)
40eb51:	8b 4d 08             	mov    0x8(%ebp),%ecx
40eb54:	8b 8c c1 04 fd ff ff 	mov    -0x2fc(%ecx,%eax,8),%ecx
40eb5b:	8b d9                	mov    %ecx,%ebx
40eb5d:	8b 75 08             	mov    0x8(%ebp),%esi
40eb60:	03 9c c6 00 fd ff ff 	add    -0x300(%esi,%eax,8),%ebx
40eb67:	8b 75 08             	mov    0x8(%ebp),%esi
40eb6a:	3b 9c 86 00 ff ff ff 	cmp    -0x100(%esi,%eax,4),%ebx
40eb71:	7f 22                	jg     0x40eb95
40eb73:	85 c0                	test   %eax,%eax
40eb75:	75 04                	jne    0x40eb7b
40eb77:	33 d2                	xor    %edx,%edx
40eb79:	eb 1a                	jmp    0x40eb95
40eb7b:	8b 55 08             	mov    0x8(%ebp),%edx
40eb7e:	8b 55 08             	mov    0x8(%ebp),%edx
40eb81:	89 8c 82 00 ff ff ff 	mov    %ecx,-0x100(%edx,%eax,4)
40eb88:	8b 55 08             	mov    0x8(%ebp),%edx
40eb8b:	52                   	push   %edx
40eb8c:	48                   	dec    %eax
40eb8d:	e8 ae ff ff ff       	call   0x40eb40
40eb92:	59                   	pop    %ecx
40eb93:	8b d0                	mov    %eax,%edx
40eb95:	8b c2                	mov    %edx,%eax
40eb97:	5e                   	pop    %esi
40eb98:	5b                   	pop    %ebx
40eb99:	5d                   	pop    %ebp
40eb9a:	c3                   	ret
40eb9b:	90                   	nop
40eb9c:	55                   	push   %ebp
40eb9d:	8b ec                	mov    %esp,%ebp
40eb9f:	81 c4 e0 fc ff ff    	add    $0xfffffce0,%esp
40eba5:	53                   	push   %ebx