405bdd:	8d 85 d4 fd ff ff    	lea    -0x22c(%ebp),%eax
405be3:	50                   	push   %eax
405be4:	53                   	push   %ebx
405be5:	e8 fe 07 00 00       	call   0x4063e8
405bea:	f6 85 a8 fd ff ff 10 	testb  $0x10,-0x258(%ebp)
405bf1:	74 15                	je     0x405c08
405bf3:	8b 45 0c             	mov    0xc(%ebp),%eax
405bf6:	83 e0 03             	and    $0x3,%eax
405bf9:	3c 03                	cmp    $0x3,%al
405bfb:	75 3f                	jne    0x405c3c
405bfd:	ff 75 0c             	push   0xc(%ebp)
405c00:	57                   	push   %edi
405c01:	e8 f4 fe ff ff       	call   0x405afa
405c06:	eb 34                	jmp    0x405c3c
405c08:	ff 75 fc             	push   -0x4(%ebp)
405c0b:	57                   	push   %edi
405c0c:	e8 a1 fe ff ff       	call   0x405ab2
405c11:	85 c0                	test   %eax,%eax
405c13:	75 1f                	jne    0x405c34
405c15:	39 45 fc             	cmp    %eax,-0x4(%ebp)
405c18:	74 12                	je     0x405c2c
405c1a:	57                   	push   %edi
405c1b:	6a f1                	push   $0xfffffff1
405c1d:	e8 2e f8 ff ff       	call   0x405450
405c22:	6a 00                	push   $0x0
405c24:	57                   	push   %edi
405c25:	e8 84 05 00 00       	call   0x4061ae
405c2a:	eb 10                	jmp    0x405c3c
405c2c:	ff 05 e8 a2 42 00    	incl   0x42a2e8
405c32:	eb 08                	jmp    0x405c3c
405c34:	57                   	push   %edi
405c35:	6a f2                	push   $0xfffffff2
405c37:	e8 14 f8 ff ff       	call   0x405450
405c3c:	8d 85 a8 fd ff ff    	lea    -0x258(%ebp),%eax
405c42:	50                   	push   %eax
405c43:	56                   	push   %esi
405c44:	ff 15 3c 81 40 00    	call   *0x40813c
405c4a:	85 c0                	test   %eax,%eax
405c4c:	0f 85 63 ff ff ff    	jne    0x405bb5
405c52:	56                   	push   %esi
405c53:	ff 15 4c 81 40 00    	call   *0x40814c
405c59:	83 7d 08 00          	cmpl   $0x0,0x8(%ebp)
405c5d:	74 05                	je     0x405c64
405c5f:	66 83 63 fe 00       	andw   $0x0,-0x2(%ebx)
405c64:	33 f6                	xor    %esi,%esi
405c66:	39 75 08             	cmp    %esi,0x8(%ebp)
405c69:	74 4b                	je     0x405cb6
405c6b:	39 75 f8             	cmp    %esi,-0x8(%ebp)
405c6e:	75 08                	jne    0x405c78
405c70:	ff 05 e8 a2 42 00    	incl   0x42a2e8
405c76:	eb 3e                	jmp    0x405cb6
405c78:	57                   	push   %edi
405c79:	e8 ad 0a 00 00       	call   0x40672b
405c7e:	85 c0                	test   %eax,%eax
405c80:	74 34                	je     0x405cb6
405c82:	57                   	push   %edi
405c83:	e8 35 00 00 00       	call   0x405cbd
405c88:	8b 45 fc             	mov    -0x4(%ebp),%eax
405c8b:	0c 01                	or     $0x1,%al
405c8d:	50                   	push   %eax
405c8e:	57                   	push   %edi
405c8f:	e8 1e fe ff ff       	call   0x405ab2
405c94:	85 c0                	test   %eax,%eax
405c96:	75 16                	jne    0x405cae
405c98:	39 75 fc             	cmp    %esi,-0x4(%ebp)
405c9b:	74 d3                	je     0x405c70
405c9d:	57                   	push   %edi
405c9e:	6a f1                	push   $0xfffffff1
405ca0:	e8 ab f7 ff ff       	call   0x405450
405ca5:	56                   	push   %esi
405ca6:	57                   	push   %edi
405ca7:	e8 02 05 00 00       	call   0x4061ae
405cac:	eb 08                	jmp    0x405cb6
405cae:	57                   	push   %edi
405caf:	6a e5                	push   $0xffffffe5
405cb1:	e8 9a f7 ff ff       	call   0x405450
405cb6:	5f                   	pop    %edi
405cb7:	5e                   	pop    %esi
405cb8:	5b                   	pop    %ebx
405cb9:	c9                   	leave
405cba:	c2 08 00             	ret    $0x8
405cbd:	56                   	push   %esi
405cbe:	8b 74 24 08          	mov    0x8(%esp),%esi
405cc2:	56                   	push   %esi
405cc3:	e8 36 07 00 00       	call   0x4063fe
405cc8:	8d 04 46             	lea    (%esi,%eax,2),%eax
405ccb:	50                   	push   %eax
405ccc:	56                   	push   %esi
405ccd:	ff 15 f8 81 40 00    	call   *0x4081f8
405cd3:	66 83 38 5c          	cmpw   $0x5c,(%eax)
405cd7:	74 0b                	je     0x405ce4
405cd9:	68 14 a0 40 00       	push   $0x40a014
405cde:	56                   	push   %esi
405cdf:	e8 20 07 00 00       	call   0x406404
405ce4:	8b c6                	mov    %esi,%eax
405ce6:	5e                   	pop    %esi
405ce7:	c2 04 00             	ret    $0x4
405cea:	8b 44 24 04          	mov    0x4(%esp),%eax
405cee:	eb 0e                	jmp    0x405cfe
405cf0:	66 3b 4c 24 08       	cmp    0x8(%esp),%cx
405cf5:	74 0f                	je     0x405d06
405cf7:	50                   	push   %eax
405cf8:	ff 15 48 82 40 00    	call   *0x408248
405cfe:	66 8b 08             	mov    (%eax),%cx
405d01:	66 85 c9             	test   %cx,%cx
405d04:	75 ea                	jne    0x405cf0
405d06:	c2 08 00             	ret    $0x8
405d09:	56                   	push   %esi
405d0a:	8b 74 24 08          	mov    0x8(%esp),%esi
405d0e:	56                   	push   %esi
405d0f:	e8 ea 06 00 00       	call   0x4063fe
405d14:	8d 04 46             	lea    (%esi,%eax,2),%eax
405d17:	66 83 38 5c          	cmpw   $0x5c,(%eax)
405d1b:	74 0c                	je     0x405d29
405d1d:	50                   	push   %eax
405d1e:	56                   	push   %esi
405d1f:	ff 15 f8 81 40 00    	call   *0x4081f8
405d25:	3b c6                	cmp    %esi,%eax
405d27:	77 ee                	ja     0x405d17
405d29:	66 83 20 00          	andw   $0x0,(%eax)
405d2d:	83 c0 02             	add    $0x2,%eax
405d30:	5e                   	pop    %esi
405d31:	c2 04 00             	ret    $0x4
405d34:	8b 54 24 04          	mov    0x4(%esp),%edx
405d38:	66 8b 0a             	mov    (%edx),%cx
405d3b:	8b c1                	mov    %ecx,%eax
405d3d:	0c 20                	or     $0x20,%al
405d3f:	66 83 f9 5c          	cmp    $0x5c,%cx
405d43:	75 06                	jne    0x405d4b
405d45:	66 39 4a 02          	cmp    %cx,0x2(%edx)
405d49:	74 13                	je     0x405d5e
405d4b:	66 3d 61 00          	cmp    $0x61,%ax
405d4f:	72 12                	jb     0x405d63
405d51:	66 3d 7a 00          	cmp    $0x7a,%ax
405d55:	77 0c                	ja     0x405d63
405d57:	66 83 7a 02 3a       	cmpw   $0x3a,0x2(%edx)
405d5c:	75 05                	jne    0x405d63
405d5e:	33 c0                	xor    %eax,%eax
405d60:	40                   	inc    %eax
405d61:	eb 02                	jmp    0x405d65
405d63:	33 c0                	xor    %eax,%eax
405d65:	c2 04 00             	ret    $0x4
405d68:	53                   	push   %ebx
405d69:	56                   	push   %esi
405d6a:	8b 35 48 82 40 00    	mov    0x408248,%esi
405d70:	57                   	push   %edi
405d71:	8b 7c 24 10          	mov    0x10(%esp),%edi
405d75:	57                   	push   %edi
405d76:	ff d6                	call   *%esi
405d78:	8b d8                	mov    %eax,%ebx
405d7a:	53                   	push   %ebx
405d7b:	ff d6                	call   *%esi
405d7d:	66 8b 0f             	mov    (%edi),%cx
405d80:	66 85 c9             	test   %cx,%cx
405d83:	74 12                	je     0x405d97
405d85:	66 83 3b 3a          	cmpw   $0x3a,(%ebx)
405d89:	75 0c                	jne    0x405d97
405d8b:	66 83 7b 02 5c       	cmpw   $0x5c,0x2(%ebx)
405d90:	75 05                	jne    0x405d97
405d92:	50                   	push   %eax
405d93:	ff d6                	call   *%esi
405d95:	eb 28                	jmp    0x405dbf
405d97:	66 83 f9 5c          	cmp    $0x5c,%cx
405d9b:	75 20                	jne    0x405dbd
405d9d:	66 39 4f 02          	cmp    %cx,0x2(%edi)
405da1:	75 1a                	jne    0x405dbd
405da3:	6a 02                	push   $0x2
405da5:	5e                   	pop    %esi
405da6:	6a 5c                	push   $0x5c
405da8:	50                   	push   %eax
405da9:	4e                   	dec    %esi
405daa:	e8 3b ff ff ff       	call   0x405cea
405daf:	66 83 38 00          	cmpw   $0x0,(%eax)
405db3:	74 08                	je     0x405dbd
405db5:	40                   	inc    %eax
405db6:	40                   	inc    %eax
405db7:	85 f6                	test   %esi,%esi
405db9:	75 eb                	jne    0x405da6
405dbb:	eb 02                	jmp    0x405dbf
405dbd:	33 c0                	xor    %eax,%eax
405dbf:	5f                   	pop    %edi
405dc0:	5e                   	pop    %esi
405dc1:	5b                   	pop    %ebx
405dc2:	c2 04 00             	ret    $0x4
405dc5:	56                   	push   %esi
405dc6:	57                   	push   %edi
405dc7:	ff 74 24 0c          	push   0xc(%esp)
405dcb:	be 30 5f 42 00       	mov    $0x425f30,%esi
405dd0:	56                   	push   %esi
405dd1:	e8 12 06 00 00       	call   0x4063e8
405dd6:	56                   	push   %esi
405dd7:	e8 8c ff ff ff       	call   0x405d68
405ddc:	8b f8                	mov    %eax,%edi
405dde:	85 ff                	test   %edi,%edi
405de0:	75 04                	jne    0x405de6
405de2:	33 c0                	xor    %eax,%eax
405de4:	eb 58                	jmp    0x405e3e
405de6:	57                   	push   %edi
405de7:	e8 90 08 00 00       	call   0x40667c
405dec:	f6 05 5c a2 42 00 80 	testb  $0x80,0x42a25c
405df3:	74 0e                	je     0x405e03
405df5:	66 8b 07             	mov    (%edi),%ax
405df8:	66 85 c0             	test   %ax,%ax
405dfb:	74 e5                	je     0x405de2
405dfd:	66 3d 5c 00          	cmp    $0x5c,%ax
405e01:	74 df                	je     0x405de2
405e03:	2b fe                	sub    %esi,%edi
405e05:	d1 ff                	sar    $1,%edi
405e07:	eb 14                	jmp    0x405e1d
405e09:	e8 1d 09 00 00       	call   0x40672b
405e0e:	85 c0                	test   %eax,%eax
405e10:	74 05                	je     0x405e17
405e12:	f6 00 10             	testb  $0x10,(%eax)
405e15:	74 cb                	je     0x405de2
405e17:	56                   	push   %esi
405e18:	e8 ec fe ff ff       	call   0x405d09
405e1d:	56                   	push   %esi
405e1e:	e8 db 05 00 00       	call   0x4063fe
405e23:	3b c7                	cmp    %edi,%eax
405e25:	56                   	push   %esi
405e26:	7f e1                	jg     0x405e09
405e28:	e8 90 fe ff ff       	call   0x405cbd
405e2d:	56                   	push   %esi
405e2e:	ff 15 94 80 40 00    	call   *0x408094
405e34:	33 c9                	xor    %ecx,%ecx
405e36:	83 f8 ff             	cmp    $0xffffffff,%eax
405e39:	0f 95 c1             	setne  %cl
405e3c:	8b c1                	mov    %ecx,%eax
405e3e:	5f                   	pop    %edi
405e3f:	5e                   	pop    %esi
405e40:	c2 04 00             	ret    $0x4
405e43:	55                   	push   %ebp
405e44:	8b ec                	mov    %esp,%ebp
405e46:	51                   	push   %ecx
405e47:	53                   	push   %ebx
405e48:	56                   	push   %esi
405e49:	57                   	push   %edi
405e4a:	8b 3d 50 81 40 00    	mov    0x408150,%edi
405e50:	ff 75 0c             	push   0xc(%ebp)
405e53:	ff d7                	call   *%edi
405e55:	8b 75 08             	mov    0x8(%ebp),%esi
405e58:	89 45 fc             	mov    %eax,-0x4(%ebp)
405e5b:	eb 27                	jmp    0x405e84
405e5d:	8b 45 fc             	mov    -0x4(%ebp),%eax
405e60:	ff 75 0c             	push   0xc(%ebp)
405e63:	8a 1c 30             	mov    (%eax,%esi,1),%bl
405e66:	80 24 30 00          	andb   $0x0,(%eax,%esi,1)
405e6a:	56                   	push   %esi
405e6b:	ff 15 d8 80 40 00    	call   *0x4080d8
405e71:	85 c0                	test   %eax,%eax
405e73:	8b 45 fc             	mov    -0x4(%ebp),%eax
405e76:	88 1c 30             	mov    %bl,(%eax,%esi,1)
405e79:	74 1a                	je     0x405e95
405e7b:	56                   	push   %esi
405e7c:	ff 15 fc 81 40 00    	call   *0x4081fc
405e82:	8b f0                	mov    %eax,%esi
405e84:	56                   	push   %esi
405e85:	ff d7                	call   *%edi
405e87:	3b 45 fc             	cmp    -0x4(%ebp),%eax
405e8a:	7d d1                	jge    0x405e5d
405e8c:	33 c0                	xor    %eax,%eax
405e8e:	5f                   	pop    %edi
405e8f:	5e                   	pop    %esi
405e90:	5b                   	pop    %ebx
405e91:	c9                   	leave
405e92:	c2 08 00             	ret    $0x8
405e95:	8b c6                	mov    %esi,%eax
405e97:	eb f5                	jmp    0x405e8e
405e99:	8b 4c 24 04          	mov    0x4(%esp),%ecx
405e9d:	56                   	push   %esi
405e9e:	8b 74 24 10          	mov    0x10(%esp),%esi
405ea2:	85 f6                	test   %esi,%esi
405ea4:	76 0f                	jbe    0x405eb5
405ea6:	8b 44 24 0c          	mov    0xc(%esp),%eax
405eaa:	2b c1                	sub    %ecx,%eax
405eac:	8a 14 08             	mov    (%eax,%ecx,1),%dl
405eaf:	88 11                	mov    %dl,(%ecx)
405eb1:	41                   	inc    %ecx
405eb2:	4e                   	dec    %esi
405eb3:	75 f7                	jne    0x405eac
405eb5:	5e                   	pop    %esi
405eb6:	c2 0c 00             	ret    $0xc
405eb9:	56                   	push   %esi
405eba:	ff 74 24 08          	push   0x8(%esp)
405ebe:	ff 15 94 80 40 00    	call   *0x408094
405ec4:	8b f0                	mov    %eax,%esi
405ec6:	83 fe ff             	cmp    $0xffffffff,%esi
405ec9:	74 0d                	je     0x405ed8
405ecb:	24 fe                	and    $0xfe,%al
405ecd:	50                   	push   %eax
405ece:	ff 74 24 0c          	push   0xc(%esp)
405ed2:	ff 15 74 80 40 00    	call   *0x408074
405ed8:	8b c6                	mov    %esi,%eax
405eda:	5e                   	pop    %esi
405edb:	c2 04 00             	ret    $0x4
405ede:	ff 74 24 04          	push   0x4(%esp)
405ee2:	ff 15 94 80 40 00    	call   *0x408094
405ee8:	8b c8                	mov    %eax,%ecx
405eea:	6a 00                	push   $0x0
405eec:	41                   	inc    %ecx
405eed:	f7 d9                	neg    %ecx
405eef:	1b c9                	sbb    %ecx,%ecx
405ef1:	23 c8                	and    %eax,%ecx
405ef3:	51                   	push   %ecx
405ef4:	ff 74 24 14          	push   0x14(%esp)
405ef8:	6a 00                	push   $0x0
405efa:	6a 01                	push   $0x1
405efc:	ff 74 24 1c          	push   0x1c(%esp)
405f00:	ff 74 24 1c          	push   0x1c(%esp)
405f04:	ff 15 80 80 40 00    	call   *0x408080
405f0a:	c2 0c 00             	ret    $0xc
405f0d:	55                   	push   %ebp
405f0e:	8b ec                	mov    %esp,%ebp
405f10:	51                   	push   %ecx
405f11:	51                   	push   %ecx
405f12:	56                   	push   %esi
405f13:	8b 75 08             	mov    0x8(%ebp),%esi
405f16:	57                   	push   %edi
405f17:	6a 64                	push   $0x64
405f19:	5f                   	pop    %edi
405f1a:	a1 88 a5 40 00       	mov    0x40a588,%eax
405f1f:	4f                   	dec    %edi
405f20:	89 45 f8             	mov    %eax,-0x8(%ebp)
405f23:	a1 8c a5 40 00       	mov    0x40a58c,%eax
405f28:	89 45 fc             	mov    %eax,-0x4(%ebp)
405f2b:	ff 15 7c 80 40 00    	call   *0x40807c
405f31:	6a 1a                	push   $0x1a
405f33:	33 d2                	xor    %edx,%edx
405f35:	59                   	pop    %ecx
405f36:	f7 f1                	div    %ecx
405f38:	56                   	push   %esi
405f39:	8d 45 f8             	lea    -0x8(%ebp),%eax
405f3c:	6a 00                	push   $0x0
405f3e:	50                   	push   %eax
405f3f:	ff 75 0c             	push   0xc(%ebp)
405f42:	66 01 55 fc          	add    %dx,-0x4(%ebp)
405f46:	ff 15 dc 80 40 00    	call   *0x4080dc
405f4c:	85 c0                	test   %eax,%eax
405f4e:	75 0d                	jne    0x405f5d
405f50:	85 ff                	test   %edi,%edi
405f52:	75 c6                	jne    0x405f1a
405f54:	66 21 3e             	and    %di,(%esi)
405f57:	5f                   	pop    %edi
405f58:	5e                   	pop    %esi
405f59:	c9                   	leave
405f5a:	c2 08 00             	ret    $0x8
405f5d:	8b c6                	mov    %esi,%eax
405f5f:	eb f6                	jmp    0x405f57
405f61:	55                   	push   %ebp
405f62:	8b ec                	mov    %esp,%ebp