40bbf1:	5f                   	pop    %edi
40bbf2:	29 d7                	sub    %edx,%edi
40bbf4:	8b 54 24 04          	mov    0x4(%esp),%edx
40bbf8:	01 d7                	add    %edx,%edi
40bbfa:	57                   	push   %edi
40bbfb:	51                   	push   %ecx
40bbfc:	52                   	push   %edx
40bbfd:	89 e2                	mov    %esp,%edx
40bbff:	e8 60 fd ff ff       	call   0x40b964
40bc04:	83 c4 14             	add    $0x14,%esp
40bc07:	5f                   	pop    %edi
40bc08:	c3                   	ret
40bc09:	8d 40 00             	lea    0x0(%eax),%eax
40bc0c:	e8 43 fd ff ff       	call   0x40b954
40bc11:	5a                   	pop    %edx
40bc12:	58                   	pop    %eax
40bc13:	5a                   	pop    %edx
40bc14:	5a                   	pop    %edx
40bc15:	c3                   	ret
40bc16:	8b c0                	mov    %eax,%eax
40bc18:	56                   	push   %esi
40bc19:	57                   	push   %edi
40bc1a:	52                   	push   %edx
40bc1b:	e8 34 fd ff ff       	call   0x40b954
40bc20:	5a                   	pop    %edx
40bc21:	59                   	pop    %ecx
40bc22:	5f                   	pop    %edi
40bc23:	5e                   	pop    %esi
40bc24:	29 ce                	sub    %ecx,%esi
40bc26:	59                   	pop    %ecx
40bc27:	01 ce                	add    %ecx,%esi
40bc29:	56                   	push   %esi
40bc2a:	57                   	push   %edi
40bc2b:	51                   	push   %ecx
40bc2c:	52                   	push   %edx
40bc2d:	89 e2                	mov    %esp,%edx
40bc2f:	e8 30 fd ff ff       	call   0x40b964
40bc34:	83 c4 10             	add    $0x10,%esp
40bc37:	5f                   	pop    %edi
40bc38:	5e                   	pop    %esi
40bc39:	c3                   	ret
40bc3a:	8b c0                	mov    %eax,%eax
40bc3c:	e8 13 fd ff ff       	call   0x40b954
40bc41:	5a                   	pop    %edx
40bc42:	59                   	pop    %ecx
40bc43:	58                   	pop    %eax
40bc44:	29 d0                	sub    %edx,%eax
40bc46:	59                   	pop    %ecx
40bc47:	c3                   	ret
40bc48:	52                   	push   %edx
40bc49:	e8 06 fd ff ff       	call   0x40b954
40bc4e:	5a                   	pop    %edx
40bc4f:	52                   	push   %edx
40bc50:	03 54 24 10          	add    0x10(%esp),%edx
40bc54:	89 54 24 08          	mov    %edx,0x8(%esp)
40bc58:	89 e2                	mov    %esp,%edx
40bc5a:	e8 05 fd ff ff       	call   0x40b964
40bc5f:	83 c4 14             	add    $0x14,%esp
40bc62:	c3                   	ret
40bc63:	90                   	nop
40bc64:	e8 eb fc ff ff       	call   0x40b954
40bc69:	59                   	pop    %ecx
40bc6a:	5a                   	pop    %edx
40bc6b:	59                   	pop    %ecx
40bc6c:	58                   	pop    %eax
40bc6d:	29 d0                	sub    %edx,%eax
40bc6f:	c3                   	ret
40bc70:	52                   	push   %edx
40bc71:	e8 de fc ff ff       	call   0x40b954
40bc76:	8b 54 24 04          	mov    0x4(%esp),%edx
40bc7a:	03 54 24 10          	add    0x10(%esp),%edx
40bc7e:	89 54 24 0c          	mov    %edx,0xc(%esp)
40bc82:	89 e2                	mov    %esp,%edx
40bc84:	e8 db fc ff ff       	call   0x40b964
40bc89:	83 c4 14             	add    $0x14,%esp
40bc8c:	c3                   	ret
40bc8d:	8d 40 00             	lea    0x0(%eax),%eax
40bc90:	53                   	push   %ebx
40bc91:	89 c3                	mov    %eax,%ebx
40bc93:	52                   	push   %edx
40bc94:	e8 ab 1f 00 00       	call   0x40dc44
40bc99:	91                   	xchg   %eax,%ecx
40bc9a:	5a                   	pop    %edx
40bc9b:	e3 1d                	jecxz  0x40bcba
40bc9d:	8b 4b 4c             	mov    0x4c(%ebx),%ecx
40bca0:	0f b7 49 68          	movzwl 0x68(%ecx),%ecx
40bca4:	e3 14                	jecxz  0x40bcba
40bca6:	52                   	push   %edx
40bca7:	92                   	xchg   %eax,%edx
40bca8:	51                   	push   %ecx
40bca9:	e8 b6 e7 ff ff       	call   0x40a464
40bcae:	59                   	pop    %ecx
40bcaf:	50                   	push   %eax
40bcb0:	6a 00                	push   $0x0
40bcb2:	51                   	push   %ecx
40bcb3:	53                   	push   %ebx
40bcb4:	e8 83 08 00 00       	call   0x40c53c
40bcb9:	5a                   	pop    %edx
40bcba:	3b 93 a4 00 00 00    	cmp    0xa4(%ebx),%edx
40bcc0:	74 2d                	je     0x40bcef
40bcc2:	89 93 a4 00 00 00    	mov    %edx,0xa4(%ebx)
40bcc8:	31 c9                	xor    %ecx,%ecx
40bcca:	87 4b 48             	xchg   %ecx,0x48(%ebx)
40bccd:	e3 08                	jecxz  0x40bcd7
40bccf:	52                   	push   %edx
40bcd0:	51                   	push   %ecx
40bcd1:	e8 2a 8c ff ff       	call   0x404900
40bcd6:	5a                   	pop    %edx
40bcd7:	8b 8b ac 00 00 00    	mov    0xac(%ebx),%ecx
40bcdd:	e3 0a                	jecxz  0x40bce9
40bcdf:	91                   	xchg   %eax,%ecx
40bce0:	89 d1                	mov    %edx,%ecx
40bce2:	31 d2                	xor    %edx,%edx
40bce4:	e8 63 e8 ff ff       	call   0x40a54c
40bce9:	93                   	xchg   %eax,%ebx
40bcea:	e8 7d fd ff ff       	call   0x40ba6c
40bcef:	5b                   	pop    %ebx
40bcf0:	c3                   	ret
40bcf1:	8d 40 00             	lea    0x0(%eax),%eax
40bcf4:	92                   	xchg   %eax,%edx
40bcf5:	84 c0                	test   %al,%al
40bcf7:	8b 82 30 01 00 00    	mov    0x130(%edx),%eax
40bcfd:	8b 4a 30             	mov    0x30(%edx),%ecx
40bd00:	e3 0d                	jecxz  0x40bd0f
40bd02:	51                   	push   %ecx
40bd03:	74 06                	je     0x40bd0b
40bd05:	91                   	xchg   %eax,%ecx
40bd06:	e8 39 1f 00 00       	call   0x40dc44
40bd0b:	58                   	pop    %eax
40bd0c:	8b 40 1c             	mov    0x1c(%eax),%eax
40bd0f:	c3                   	ret
40bd10:	53                   	push   %ebx
40bd11:	93                   	xchg   %eax,%ebx
40bd12:	83 c4 e0             	add    $0xffffffe0,%esp
40bd15:	89 e2                	mov    %esp,%edx
40bd17:	6a 01                	push   $0x1
40bd19:	31 c9                	xor    %ecx,%ecx
40bd1b:	51                   	push   %ecx
40bd1c:	51                   	push   %ecx
40bd1d:	51                   	push   %ecx
40bd1e:	52                   	push   %edx
40bd1f:	e8 b8 92 ff ff       	call   0x404fdc
40bd24:	85 c0                	test   %eax,%eax
40bd26:	74 36                	je     0x40bd5e
40bd28:	66 83 7c 24 04 12    	cmpw   $0x12,0x4(%esp)
40bd2e:	75 08                	jne    0x40bd38
40bd30:	08 15 95 98 42 00    	or     %dl,0x429895
40bd36:	eb 1d                	jmp    0x40bd55
40bd38:	8b 8b 80 00 00 00    	mov    0x80(%ebx),%ecx
40bd3e:	93                   	xchg   %eax,%ebx
40bd3f:	89 e2                	mov    %esp,%edx
40bd41:	ff d1                	call   *%ecx
40bd43:	84 c0                	test   %al,%al
40bd45:	75 0e                	jne    0x40bd55
40bd47:	89 e0                	mov    %esp,%eax
40bd49:	50                   	push   %eax
40bd4a:	50                   	push   %eax
40bd4b:	e8 f8 8d ff ff       	call   0x404b48
40bd50:	e8 27 92 ff ff       	call   0x404f7c
40bd55:	66 83 7c 24 04 00    	cmpw   $0x0,0x4(%esp)
40bd5b:	0f 95 c0             	setne  %al
40bd5e:	83 c4 20             	add    $0x20,%esp
40bd61:	5b                   	pop    %ebx
40bd62:	c3                   	ret
40bd63:	90                   	nop
40bd64:	50                   	push   %eax
40bd65:	e8 a6 ff ff ff       	call   0x40bd10
40bd6a:	fe c8                	dec    %al
40bd6c:	58                   	pop    %eax
40bd6d:	74 f5                	je     0x40bd64
40bd6f:	c3                   	ret
40bd70:	66 83 7a 04 07       	cmpw   $0x7,0x4(%edx)
40bd75:	75 3c                	jne    0x40bdb3
40bd77:	53                   	push   %ebx
40bd78:	56                   	push   %esi
40bd79:	31 db                	xor    %ebx,%ebx
40bd7b:	43                   	inc    %ebx
40bd7c:	96                   	xchg   %eax,%esi
40bd7d:	8b 8e f2 00 00 00    	mov    0xf2(%esi),%ecx
40bd83:	e3 17                	jecxz  0x40bd9c
40bd85:	e3 16                	jecxz  0x40bd9d
40bd87:	91                   	xchg   %eax,%ecx
40bd88:	50                   	push   %eax
40bd89:	e8 e6 95 ff ff       	call   0x405374
40bd8e:	84 c0                	test   %al,%al
40bd90:	58                   	pop    %eax
40bd91:	74 0a                	je     0x40bd9d
40bd93:	ff 70 1c             	push   0x1c(%eax)
40bd96:	e8 7d 8d ff ff       	call   0x404b18
40bd9b:	43                   	inc    %ebx
40bd9c:	4b                   	dec    %ebx
40bd9d:	8b 0d 98 98 42 00    	mov    0x429898,%ecx
40bda3:	e3 0a                	jecxz  0x40bdaf
40bda5:	39 f1                	cmp    %esi,%ecx
40bda7:	74 06                	je     0x40bdaf
40bda9:	89 b1 f2 00 00 00    	mov    %esi,0xf2(%ecx)
40bdaf:	93                   	xchg   %eax,%ebx
40bdb0:	5e                   	pop    %esi
40bdb1:	5b                   	pop    %ebx
40bdb2:	c3                   	ret
40bdb3:	31 c0                	xor    %eax,%eax
40bdb5:	c3                   	ret
40bdb6:	8b c0                	mov    %eax,%eax
40bdb8:	53                   	push   %ebx
40bdb9:	93                   	xchg   %eax,%ebx
40bdba:	83 ec 10             	sub    $0x10,%esp
40bdbd:	92                   	xchg   %eax,%edx
40bdbe:	89 e2                	mov    %esp,%edx
40bdc0:	51                   	push   %ecx
40bdc1:	50                   	push   %eax
40bdc2:	89 d8                	mov    %ebx,%eax
40bdc4:	e8 33 fb ff ff       	call   0x40b8fc
40bdc9:	59                   	pop    %ecx
40bdca:	e3 08                	jecxz  0x40bdd4
40bdcc:	03 4c 24 04          	add    0x4(%esp),%ecx
40bdd0:	89 4c 24 0c          	mov    %ecx,0xc(%esp)
40bdd4:	59                   	pop    %ecx
40bdd5:	e3 08                	jecxz  0x40bddf
40bdd7:	03 4c 24 04          	add    0x4(%esp),%ecx
40bddb:	89 4c 24 0c          	mov    %ecx,0xc(%esp)
40bddf:	89 d8                	mov    %ebx,%eax
40bde1:	89 e2                	mov    %esp,%edx
40bde3:	e8 7c fb ff ff       	call   0x40b964
40bde8:	83 c4 10             	add    $0x10,%esp
40bdeb:	93                   	xchg   %eax,%ebx
40bdec:	5b                   	pop    %ebx
40bded:	c3                   	ret
40bdee:	8b c0                	mov    %eax,%eax
40bdf0:	53                   	push   %ebx
40bdf1:	93                   	xchg   %eax,%ebx
40bdf2:	56                   	push   %esi
40bdf3:	57                   	push   %edi
40bdf4:	89 d7                	mov    %edx,%edi
40bdf6:	8b 57 04             	mov    0x4(%edi),%edx
40bdf9:	66 81 ea 32 bd       	sub    $0xbd32,%dx
40bdfe:	66 83 fa 06          	cmp    $0x6,%dx
40be02:	77 61                	ja     0x40be65
40be04:	51                   	push   %ecx
40be05:	8b 83 a0 00 00 00    	mov    0xa0(%ebx),%eax
40be0b:	e8 54 e6 ff ff       	call   0x40a464
40be10:	96                   	xchg   %eax,%esi
40be11:	56                   	push   %esi
40be12:	ff 77 08             	push   0x8(%edi)
40be15:	e8 86 8b ff ff       	call   0x4049a0
40be1a:	f6 43 35 01          	testb  $0x1,0x35(%ebx)
40be1e:	74 13                	je     0x40be33
40be20:	6a 01                	push   $0x1
40be22:	ff 77 08             	push   0x8(%edi)
40be25:	e8 3e 8b ff ff       	call   0x404968
40be2a:	6a 05                	push   $0x5
40be2c:	e8 f7 8a ff ff       	call   0x404928
40be31:	eb 27                	jmp    0x40be5a
40be33:	8b 83 a4 00 00 00    	mov    0xa4(%ebx),%eax
40be39:	e8 26 e6 ff ff       	call   0x40a464
40be3e:	96                   	xchg   %eax,%esi
40be3f:	6a 02                	push   $0x2
40be41:	ff 77 08             	push   0x8(%edi)
40be44:	e8 1f 8b ff ff       	call   0x404968
40be49:	56                   	push   %esi
40be4a:	ff 77 08             	push   0x8(%edi)
40be4d:	e8 0e 8b ff ff       	call   0x404960
40be52:	89 d8                	mov    %ebx,%eax
40be54:	ff 15 44 61 42 00    	call   *0x426144
40be5a:	91                   	xchg   %eax,%ecx
40be5b:	58                   	pop    %eax
40be5c:	89 08                	mov    %ecx,(%eax)
40be5e:	b0 01                	mov    $0x1,%al
40be60:	e9 c0 00 00 00       	jmp    0x40bf25
40be65:	66 81 7f 04 05 b0    	cmpw   $0xb005,0x4(%edi)
40be6b:	75 73                	jne    0x40bee0
40be6d:	51                   	push   %ecx
40be6e:	0f b7 4f 0a          	movzwl 0xa(%edi),%ecx
40be72:	8b 73 4c             	mov    0x4c(%ebx),%esi
40be75:	66 3b 4e 20          	cmp    0x20(%esi),%cx
40be79:	75 1b                	jne    0x40be96
40be7b:	80 bb 2a 01 00 00 00 	cmpb   $0x0,0x12a(%ebx)
40be82:	7f 4e                	jg     0x40bed2
40be84:	89 d8                	mov    %ebx,%eax
40be86:	b2 01                	mov    $0x1,%dl
40be88:	e8 0b 15 00 00       	call   0x40d398
40be8d:	89 d8                	mov    %ebx,%eax
40be8f:	e8 98 00 00 00       	call   0x40bf2c
40be94:	eb 3c                	jmp    0x40bed2
40be96:	8b 43 4c             	mov    0x4c(%ebx),%eax
40be99:	66 3b 48 22          	cmp    0x22(%eax),%cx
40be9d:	8b 43 50             	mov    0x50(%ebx),%eax
40bea0:	8d 80 98 00 00 00    	lea    0x98(%eax),%eax
40bea6:	74 12                	je     0x40beba
40bea8:	83 c0 08             	add    $0x8,%eax
40beab:	66 3b 4e 24          	cmp    0x24(%esi),%cx
40beaf:	74 09                	je     0x40beba
40beb1:	83 e8 10             	sub    $0x10,%eax
40beb4:	66 3b 4e 26          	cmp    0x26(%esi),%cx
40beb8:	75 0b                	jne    0x40bec5
40beba:	8b 08                	mov    (%eax),%ecx
40bebc:	8b 40 04             	mov    0x4(%eax),%eax
40bebf:	89 da                	mov    %ebx,%edx
40bec1:	ff d1                	call   *%ecx
40bec3:	eb 0d                	jmp    0x40bed2
40bec5:	66 3b 4e 28          	cmp    0x28(%esi),%cx
40bec9:	75 14                	jne    0x40bedf
40becb:	89 d8                	mov    %ebx,%eax
40becd:	e8 9e db ff ff       	call   0x409a70
40bed2:	93                   	xchg   %eax,%ebx
40bed3:	89 fa                	mov    %edi,%edx
40bed5:	e8 fa fb ff ff       	call   0x40bad4
40beda:	e9 7b ff ff ff       	jmp    0x40be5a
40bedf:	59                   	pop    %ecx
40bee0:	31 c0                	xor    %eax,%eax
40bee2:	66 83 7f 04 07       	cmpw   $0x7,0x4(%edi)
40bee7:	75 3c                	jne    0x40bf25
40bee9:	89 01                	mov    %eax,(%ecx)
40beeb:	89 d8                	mov    %ebx,%eax
40beed:	e8 4e 00 00 00       	call   0x40bf40
40bef2:	85 c0                	test   %eax,%eax
40bef4:	0f 84 64 ff ff ff    	je     0x40be5e
40befa:	50                   	push   %eax
40befb:	8b 88 f2 00 00 00    	mov    0xf2(%eax),%ecx
40bf01:	e3 17                	jecxz  0x40bf1a
40bf03:	39 d9                	cmp    %ebx,%ecx
40bf05:	74 13                	je     0x40bf1a
40bf07:	91                   	xchg   %eax,%ecx
40bf08:	8b 40 50             	mov    0x50(%eax),%eax
40bf0b:	8b 88 a8 00 00 00    	mov    0xa8(%eax),%ecx
40bf11:	92                   	xchg   %eax,%edx
40bf12:	8b 82 ac 00 00 00    	mov    0xac(%edx),%eax
40bf18:	ff d1                	call   *%ecx
40bf1a:	58                   	pop    %eax
40bf1b:	89 98 f2 00 00 00    	mov    %ebx,0xf2(%eax)
40bf21:	31 c0                	xor    %eax,%eax
40bf23:	52                   	push   %edx
40bf24:	5a                   	pop    %edx
40bf25:	5f                   	pop    %edi
40bf26:	5e                   	pop    %esi
40bf27:	5b                   	pop    %ebx
40bf28:	c3                   	ret
40bf29:	8d 40 00             	lea    0x0(%eax),%eax
40bf2c:	50                   	push   %eax
40bf2d:	ff 50 68             	call   *0x68(%eax)
40bf30:	5a                   	pop    %edx
40bf31:	8b 42 50             	mov    0x50(%edx),%eax
40bf34:	8b 48 10             	mov    0x10(%eax),%ecx
40bf37:	8b 40 14             	mov    0x14(%eax),%eax
40bf3a:	ff d1                	call   *%ecx
40bf3c:	c3                   	ret
40bf3d:	8d 40 00             	lea    0x0(%eax),%eax
40bf40:	f6 40 36 08          	testb  $0x8,0x36(%eax)
40bf44:	74 07                	je     0x40bf4d
40bf46:	8b 40 30             	mov    0x30(%eax),%eax
40bf49:	85 c0                	test   %eax,%eax