40ee6f:	e9 a1 00 00 00       	jmp    0x40ef15
40ee74:	33 db                	xor    %ebx,%ebx
40ee76:	66 39 1e             	cmp    %bx,(%esi)
40ee79:	75 20                	jne    0x40ee9b
40ee7b:	8b 75 0c             	mov    0xc(%ebp),%esi
40ee7e:	39 5e 0c             	cmp    %ebx,0xc(%esi)
40ee81:	75 11                	jne    0x40ee94
40ee83:	6a 01                	push   $0x1
40ee85:	8b ce                	mov    %esi,%ecx
40ee87:	e8 fa 05 00 00       	call   0x40f486
40ee8c:	85 c0                	test   %eax,%eax
40ee8e:	0f 85 81 00 00 00    	jne    0x40ef15
40ee94:	8b 46 08             	mov    0x8(%esi),%eax
40ee97:	88 18                	mov    %bl,(%eax)
40ee99:	eb cf                	jmp    0x40ee6a
40ee9b:	53                   	push   %ebx
40ee9c:	53                   	push   %ebx
40ee9d:	53                   	push   %ebx
40ee9e:	53                   	push   %ebx
40ee9f:	6a ff                	push   $0xffffffff
40eea1:	56                   	push   %esi
40eea2:	53                   	push   %ebx
40eea3:	ff 75 14             	push   0x14(%ebp)
40eea6:	e8 9a 11 00 00       	call   0x410045
40eeab:	83 c4 20             	add    $0x20,%esp
40eeae:	85 c0                	test   %eax,%eax
40eeb0:	75 16                	jne    0x40eec8
40eeb2:	ff 15 48 c1 41 00    	call   *0x41c148
40eeb8:	50                   	push   %eax
40eeb9:	e8 df fd ff ff       	call   0x40ec9d
40eebe:	59                   	pop    %ecx
40eebf:	e8 0f fe ff ff       	call   0x40ecd3
40eec4:	8b 00                	mov    (%eax),%eax
40eec6:	eb 4d                	jmp    0x40ef15
40eec8:	57                   	push   %edi
40eec9:	8b 7d 0c             	mov    0xc(%ebp),%edi
40eecc:	3b 47 0c             	cmp    0xc(%edi),%eax
40eecf:	76 0c                	jbe    0x40eedd
40eed1:	50                   	push   %eax
40eed2:	8b cf                	mov    %edi,%ecx
40eed4:	e8 ad 05 00 00       	call   0x40f486
40eed9:	85 c0                	test   %eax,%eax
40eedb:	75 37                	jne    0x40ef14
40eedd:	53                   	push   %ebx
40eede:	53                   	push   %ebx
40eedf:	ff 77 0c             	push   0xc(%edi)
40eee2:	ff 77 08             	push   0x8(%edi)
40eee5:	6a ff                	push   $0xffffffff
40eee7:	56                   	push   %esi
40eee8:	53                   	push   %ebx
40eee9:	ff 75 14             	push   0x14(%ebp)
40eeec:	e8 54 11 00 00       	call   0x410045
40eef1:	83 c4 20             	add    $0x20,%esp
40eef4:	85 c0                	test   %eax,%eax
40eef6:	75 16                	jne    0x40ef0e
40eef8:	ff 15 48 c1 41 00    	call   *0x41c148
40eefe:	50                   	push   %eax
40eeff:	e8 99 fd ff ff       	call   0x40ec9d
40ef04:	59                   	pop    %ecx
40ef05:	e8 c9 fd ff ff       	call   0x40ecd3
40ef0a:	8b 00                	mov    (%eax),%eax
40ef0c:	eb 06                	jmp    0x40ef14
40ef0e:	48                   	dec    %eax
40ef0f:	89 47 10             	mov    %eax,0x10(%edi)
40ef12:	33 c0                	xor    %eax,%eax
40ef14:	5f                   	pop    %edi
40ef15:	5e                   	pop    %esi
40ef16:	5b                   	pop    %ebx
40ef17:	5d                   	pop    %ebp
40ef18:	c3                   	ret
40ef19:	8b ff                	mov    %edi,%edi
40ef1b:	55                   	push   %ebp
40ef1c:	8b ec                	mov    %esp,%ebp
40ef1e:	51                   	push   %ecx
40ef1f:	ff 75 10             	push   0x10(%ebp)
40ef22:	8d 45 ff             	lea    -0x1(%ebp),%eax
40ef25:	50                   	push   %eax
40ef26:	ff 75 0c             	push   0xc(%ebp)
40ef29:	ff 75 08             	push   0x8(%ebp)
40ef2c:	e8 67 fe ff ff       	call   0x40ed98
40ef31:	83 c4 10             	add    $0x10,%esp
40ef34:	c9                   	leave
40ef35:	c3                   	ret
40ef36:	8b ff                	mov    %edi,%edi
40ef38:	55                   	push   %ebp
40ef39:	8b ec                	mov    %esp,%ebp
40ef3b:	8b 45 0c             	mov    0xc(%ebp),%eax
40ef3e:	83 ec 28             	sub    $0x28,%esp
40ef41:	56                   	push   %esi
40ef42:	85 c0                	test   %eax,%eax
40ef44:	75 14                	jne    0x40ef5a
40ef46:	e8 88 fd ff ff       	call   0x40ecd3
40ef4b:	6a 16                	push   $0x16
40ef4d:	5e                   	pop    %esi
40ef4e:	89 30                	mov    %esi,(%eax)
40ef50:	e8 c1 fc ff ff       	call   0x40ec16
40ef55:	e9 bb 01 00 00       	jmp    0x40f115
40ef5a:	8b 75 08             	mov    0x8(%ebp),%esi
40ef5d:	53                   	push   %ebx
40ef5e:	33 db                	xor    %ebx,%ebx
40ef60:	57                   	push   %edi
40ef61:	89 18                	mov    %ebx,(%eax)
40ef63:	8b fb                	mov    %ebx,%edi
40ef65:	8b 06                	mov    (%esi),%eax
40ef67:	8b cb                	mov    %ebx,%ecx
40ef69:	89 7d d8             	mov    %edi,-0x28(%ebp)
40ef6c:	89 4d dc             	mov    %ecx,-0x24(%ebp)
40ef6f:	89 5d e0             	mov    %ebx,-0x20(%ebp)
40ef72:	85 c0                	test   %eax,%eax
40ef74:	74 61                	je     0x40efd7
40ef76:	8d 4d fc             	lea    -0x4(%ebp),%ecx
40ef79:	66 c7 45 fc 2a 3f    	movw   $0x3f2a,-0x4(%ebp)
40ef7f:	51                   	push   %ecx
40ef80:	50                   	push   %eax
40ef81:	88 5d fe             	mov    %bl,-0x2(%ebp)
40ef84:	e8 b7 48 00 00       	call   0x413840
40ef89:	59                   	pop    %ecx
40ef8a:	59                   	pop    %ecx
40ef8b:	8b 0e                	mov    (%esi),%ecx
40ef8d:	85 c0                	test   %eax,%eax
40ef8f:	75 16                	jne    0x40efa7
40ef91:	8d 45 d8             	lea    -0x28(%ebp),%eax
40ef94:	50                   	push   %eax
40ef95:	53                   	push   %ebx
40ef96:	53                   	push   %ebx
40ef97:	51                   	push   %ecx
40ef98:	e8 88 01 00 00       	call   0x40f125
40ef9d:	8b f0                	mov    %eax,%esi
40ef9f:	83 c4 10             	add    $0x10,%esp
40efa2:	89 75 f8             	mov    %esi,-0x8(%ebp)
40efa5:	eb 13                	jmp    0x40efba
40efa7:	8d 55 d8             	lea    -0x28(%ebp),%edx
40efaa:	52                   	push   %edx
40efab:	50                   	push   %eax
40efac:	51                   	push   %ecx
40efad:	e8 24 02 00 00       	call   0x40f1d6
40efb2:	83 c4 0c             	add    $0xc,%esp
40efb5:	89 45 f8             	mov    %eax,-0x8(%ebp)
40efb8:	8b f0                	mov    %eax,%esi
40efba:	85 f6                	test   %esi,%esi
40efbc:	0f 85 88 00 00 00    	jne    0x40f04a
40efc2:	8b 75 08             	mov    0x8(%ebp),%esi
40efc5:	83 c6 04             	add    $0x4,%esi
40efc8:	89 75 08             	mov    %esi,0x8(%ebp)
40efcb:	8b 06                	mov    (%esi),%eax
40efcd:	85 c0                	test   %eax,%eax
40efcf:	75 a5                	jne    0x40ef76
40efd1:	8b 7d d8             	mov    -0x28(%ebp),%edi
40efd4:	8b 4d dc             	mov    -0x24(%ebp),%ecx
40efd7:	8b c1                	mov    %ecx,%eax
40efd9:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40efdc:	2b c7                	sub    %edi,%eax
40efde:	8b f7                	mov    %edi,%esi
40efe0:	8b d0                	mov    %eax,%edx
40efe2:	89 75 f8             	mov    %esi,-0x8(%ebp)
40efe5:	c1 fa 02             	sar    $0x2,%edx
40efe8:	83 c0 03             	add    $0x3,%eax
40efeb:	42                   	inc    %edx
40efec:	c1 e8 02             	shr    $0x2,%eax
40efef:	3b ce                	cmp    %esi,%ecx
40eff1:	89 55 f4             	mov    %edx,-0xc(%ebp)
40eff4:	1b f6                	sbb    %esi,%esi
40eff6:	f7 d6                	not    %esi
40eff8:	23 f0                	and    %eax,%esi
40effa:	74 2f                	je     0x40f02b
40effc:	8b c7                	mov    %edi,%eax
40effe:	8b d3                	mov    %ebx,%edx
40f000:	8b 08                	mov    (%eax),%ecx
40f002:	8d 41 01             	lea    0x1(%ecx),%eax
40f005:	89 45 f0             	mov    %eax,-0x10(%ebp)
40f008:	8a 01                	mov    (%ecx),%al
40f00a:	41                   	inc    %ecx
40f00b:	84 c0                	test   %al,%al
40f00d:	75 f9                	jne    0x40f008
40f00f:	2b 4d f0             	sub    -0x10(%ebp),%ecx
40f012:	43                   	inc    %ebx
40f013:	8b 45 f8             	mov    -0x8(%ebp),%eax
40f016:	03 d9                	add    %ecx,%ebx
40f018:	83 c0 04             	add    $0x4,%eax
40f01b:	42                   	inc    %edx
40f01c:	89 45 f8             	mov    %eax,-0x8(%ebp)
40f01f:	3b d6                	cmp    %esi,%edx
40f021:	75 dd                	jne    0x40f000
40f023:	8b 55 f4             	mov    -0xc(%ebp),%edx
40f026:	89 5d fc             	mov    %ebx,-0x4(%ebp)
40f029:	33 db                	xor    %ebx,%ebx
40f02b:	6a 01                	push   $0x1
40f02d:	ff 75 fc             	push   -0x4(%ebp)
40f030:	52                   	push   %edx
40f031:	e8 3b c5 ff ff       	call   0x40b571
40f036:	8b f0                	mov    %eax,%esi
40f038:	83 c4 0c             	add    $0xc,%esp
40f03b:	85 f6                	test   %esi,%esi
40f03d:	75 13                	jne    0x40f052
40f03f:	83 ce ff             	or     $0xffffffff,%esi
40f042:	89 75 f8             	mov    %esi,-0x8(%ebp)
40f045:	e9 85 00 00 00       	jmp    0x40f0cf
40f04a:	8b 7d d8             	mov    -0x28(%ebp),%edi
40f04d:	e9 84 00 00 00       	jmp    0x40f0d6
40f052:	8b 45 f4             	mov    -0xc(%ebp),%eax
40f055:	89 7d f8             	mov    %edi,-0x8(%ebp)
40f058:	8d 04 86             	lea    (%esi,%eax,4),%eax
40f05b:	8b c8                	mov    %eax,%ecx
40f05d:	89 45 e8             	mov    %eax,-0x18(%ebp)
40f060:	8b c7                	mov    %edi,%eax
40f062:	89 4d f4             	mov    %ecx,-0xc(%ebp)
40f065:	3b 45 dc             	cmp    -0x24(%ebp),%eax
40f068:	74 5b                	je     0x40f0c5
40f06a:	8b d6                	mov    %esi,%edx
40f06c:	2b d7                	sub    %edi,%edx
40f06e:	89 55 e4             	mov    %edx,-0x1c(%ebp)
40f071:	8b 00                	mov    (%eax),%eax
40f073:	8b d0                	mov    %eax,%edx
40f075:	89 45 ec             	mov    %eax,-0x14(%ebp)
40f078:	8d 42 01             	lea    0x1(%edx),%eax
40f07b:	89 45 f0             	mov    %eax,-0x10(%ebp)
40f07e:	8a 02                	mov    (%edx),%al
40f080:	42                   	inc    %edx
40f081:	84 c0                	test   %al,%al
40f083:	75 f9                	jne    0x40f07e
40f085:	2b 55 f0             	sub    -0x10(%ebp),%edx
40f088:	8d 42 01             	lea    0x1(%edx),%eax
40f08b:	50                   	push   %eax
40f08c:	ff 75 ec             	push   -0x14(%ebp)
40f08f:	89 45 f0             	mov    %eax,-0x10(%ebp)
40f092:	8b 45 e8             	mov    -0x18(%ebp),%eax
40f095:	2b c1                	sub    %ecx,%eax
40f097:	03 45 fc             	add    -0x4(%ebp),%eax
40f09a:	50                   	push   %eax
40f09b:	51                   	push   %ecx
40f09c:	e8 90 47 00 00       	call   0x413831
40f0a1:	83 c4 10             	add    $0x10,%esp
40f0a4:	85 c0                	test   %eax,%eax
40f0a6:	75 72                	jne    0x40f11a
40f0a8:	8b 45 f8             	mov    -0x8(%ebp),%eax
40f0ab:	8b 55 e4             	mov    -0x1c(%ebp),%edx
40f0ae:	8b 4d f4             	mov    -0xc(%ebp),%ecx
40f0b1:	89 0c 02             	mov    %ecx,(%edx,%eax,1)
40f0b4:	83 c0 04             	add    $0x4,%eax
40f0b7:	03 4d f0             	add    -0x10(%ebp),%ecx
40f0ba:	89 4d f4             	mov    %ecx,-0xc(%ebp)
40f0bd:	89 45 f8             	mov    %eax,-0x8(%ebp)
40f0c0:	3b 45 dc             	cmp    -0x24(%ebp),%eax
40f0c3:	75 ac                	jne    0x40f071
40f0c5:	8b 45 0c             	mov    0xc(%ebp),%eax
40f0c8:	89 5d f8             	mov    %ebx,-0x8(%ebp)
40f0cb:	89 30                	mov    %esi,(%eax)
40f0cd:	8b f3                	mov    %ebx,%esi
40f0cf:	53                   	push   %ebx
40f0d0:	e8 6e fc ff ff       	call   0x40ed43
40f0d5:	59                   	pop    %ecx
40f0d6:	8b 45 dc             	mov    -0x24(%ebp),%eax
40f0d9:	8b d7                	mov    %edi,%edx
40f0db:	2b c2                	sub    %edx,%eax
40f0dd:	89 55 e4             	mov    %edx,-0x1c(%ebp)
40f0e0:	83 c0 03             	add    $0x3,%eax
40f0e3:	c1 e8 02             	shr    $0x2,%eax
40f0e6:	39 55 dc             	cmp    %edx,-0x24(%ebp)
40f0e9:	1b c9                	sbb    %ecx,%ecx
40f0eb:	f7 d1                	not    %ecx
40f0ed:	23 c8                	and    %eax,%ecx
40f0ef:	89 4d e8             	mov    %ecx,-0x18(%ebp)
40f0f2:	74 18                	je     0x40f10c
40f0f4:	8b f1                	mov    %ecx,%esi
40f0f6:	ff 37                	push   (%edi)
40f0f8:	e8 46 fc ff ff       	call   0x40ed43
40f0fd:	43                   	inc    %ebx
40f0fe:	8d 7f 04             	lea    0x4(%edi),%edi
40f101:	59                   	pop    %ecx
40f102:	3b de                	cmp    %esi,%ebx
40f104:	75 f0                	jne    0x40f0f6
40f106:	8b 7d d8             	mov    -0x28(%ebp),%edi
40f109:	8b 75 f8             	mov    -0x8(%ebp),%esi
40f10c:	57                   	push   %edi
40f10d:	e8 31 fc ff ff       	call   0x40ed43
40f112:	59                   	pop    %ecx
40f113:	5f                   	pop    %edi
40f114:	5b                   	pop    %ebx
40f115:	8b c6                	mov    %esi,%eax
40f117:	5e                   	pop    %esi
40f118:	c9                   	leave
40f119:	c3                   	ret
40f11a:	53                   	push   %ebx
40f11b:	53                   	push   %ebx
40f11c:	53                   	push   %ebx
40f11d:	53                   	push   %ebx
40f11e:	53                   	push   %ebx
40f11f:	e8 02 fb ff ff       	call   0x40ec26
40f124:	cc                   	int3
40f125:	8b ff                	mov    %edi,%edi
40f127:	55                   	push   %ebp
40f128:	8b ec                	mov    %esp,%ebp
40f12a:	51                   	push   %ecx
40f12b:	8b 4d 08             	mov    0x8(%ebp),%ecx
40f12e:	8d 51 01             	lea    0x1(%ecx),%edx
40f131:	8a 01                	mov    (%ecx),%al
40f133:	41                   	inc    %ecx
40f134:	84 c0                	test   %al,%al
40f136:	75 f9                	jne    0x40f131
40f138:	57                   	push   %edi
40f139:	8b 7d 10             	mov    0x10(%ebp),%edi
40f13c:	2b ca                	sub    %edx,%ecx
40f13e:	8b c7                	mov    %edi,%eax
40f140:	41                   	inc    %ecx
40f141:	f7 d0                	not    %eax
40f143:	89 4d fc             	mov    %ecx,-0x4(%ebp)
40f146:	3b c8                	cmp    %eax,%ecx
40f148:	76 06                	jbe    0x40f150
40f14a:	6a 0c                	push   $0xc
40f14c:	58                   	pop    %eax
40f14d:	5f                   	pop    %edi
40f14e:	c9                   	leave
40f14f:	c3                   	ret
40f150:	53                   	push   %ebx
40f151:	56                   	push   %esi
40f152:	8d 5f 01             	lea    0x1(%edi),%ebx
40f155:	03 d9                	add    %ecx,%ebx
40f157:	6a 01                	push   $0x1
40f159:	53                   	push   %ebx
40f15a:	e8 87 fb ff ff       	call   0x40ece6
40f15f:	8b f0                	mov    %eax,%esi
40f161:	59                   	pop    %ecx
40f162:	59                   	pop    %ecx
40f163:	85 ff                	test   %edi,%edi
40f165:	74 12                	je     0x40f179
40f167:	57                   	push   %edi
40f168:	ff 75 0c             	push   0xc(%ebp)
40f16b:	53                   	push   %ebx
40f16c:	56                   	push   %esi
40f16d:	e8 bf 46 00 00       	call   0x413831
40f172:	83 c4 10             	add    $0x10,%esp
40f175:	85 c0                	test   %eax,%eax
40f177:	75 50                	jne    0x40f1c9
40f179:	ff 75 fc             	push   -0x4(%ebp)
40f17c:	2b df                	sub    %edi,%ebx
40f17e:	8d 04 3e             	lea    (%esi,%edi,1),%eax
40f181:	ff 75 08             	push   0x8(%ebp)
40f184:	53                   	push   %ebx
40f185:	50                   	push   %eax
40f186:	e8 a6 46 00 00       	call   0x413831
40f18b:	83 c4 10             	add    $0x10,%esp
40f18e:	85 c0                	test   %eax,%eax
40f190:	75 37                	jne    0x40f1c9
40f192:	8b 5d 14             	mov    0x14(%ebp),%ebx
40f195:	8b cb                	mov    %ebx,%ecx
40f197:	e8 84 03 00 00       	call   0x40f520
40f19c:	33 ff                	xor    %edi,%edi
40f19e:	89 45 fc             	mov    %eax,-0x4(%ebp)
40f1a1:	85 c0                	test   %eax,%eax
40f1a3:	74 0c                	je     0x40f1b1